:root {
    --bg: #f5f7fb;
    --bg-soft: #eef3f9;
    --surface: rgba(255, 255, 255, 0.96);
    --surface-soft: rgba(255, 255, 255, 0.9);
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.16);
    --line-strong: rgba(148, 163, 184, 0.24);
    --primary: #1d4ed8;
    --primary-strong: #163ca5;
    --teal: #0f766e;
    --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 20%),
        linear-gradient(180deg, #f8fafc 0%, var(--bg) 45%, var(--bg-soft) 100%);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.site-shell {
    min-height: 100vh;
}

.site-header,
.site-main {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    padding: 18px 0 0;
}

.header-inner {
    min-height: 72px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 12px;
    z-index: 20;
}

.header-inner.is-scrolled {
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.1);
}

.brand,
.site-nav,
.header-actions,
.hero-actions,
.footer-links,
.share-actions,
.drive-actions,
.share-tags,
.section-heading,
.cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.brand {
    min-width: 0;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    font-weight: 700;
}

.brand-text {
    font-size: 17px;
    font-weight: 700;
}

.site-nav a,
.footer-links a {
    color: var(--muted);
    font-size: 14px;
}

.primary-btn,
.ghost-btn,
.text-link {
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.18);
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    color: var(--text);
}

.text-link {
    min-height: auto;
    padding: 0;
    color: var(--muted);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
    transform: translateY(-1px);
}

.site-main {
    padding: 28px 0 48px;
}

.notice-card,
.hero-section,
.content-section,
.cta-section,
.site-footer {
    position: relative;
}

.notice-card {
    padding: 14px 16px;
    background: var(--surface-soft);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.notice-label,
.eyebrow {
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notice-label,
.eyebrow {
    color: var(--primary);
    background: rgba(29, 78, 216, 0.08);
}

.notice-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 14px;
}

.hero-section {
    margin-top: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 20px;
    align-items: center;
}

.hero-copy,
.hero-stage,
.capability-card,
.scene-card,
.panel-card,
.cta-section {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 30px;
}

.hero-copy h1,
.section-heading h2,
.cta-copy h2 {
    margin: 14px 0 0;
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-heading h2,
.cta-copy h2 {
    font-size: 32px;
}

.hero-copy p,
.section-heading p,
.capability-card p,
.scene-card p,
.panel-card p,
.cta-copy p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}

.hero-copy p {
    margin: 18px 0 0;
    max-width: 52ch;
}

.hero-actions {
    margin-top: 24px;
}

.hero-stats {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.stat-card strong {
    display: block;
    font-size: 28px;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.hero-stage {
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
}

.stage-window {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.stage-head {
    min-height: 52px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(226, 232, 240, 0.78);
}

.stage-dot-group {
    display: inline-flex;
    gap: 8px;
}

.stage-dot-group i {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 50%;
}

.stage-dot-group i:nth-child(1) {
    background: #fb7185;
}

.stage-dot-group i:nth-child(2) {
    background: #fbbf24;
}

.stage-dot-group i:nth-child(3) {
    background: #4ade80;
}

.stage-head-title {
    font-size: 13px;
}

.stage-body {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    min-height: 420px;
}

.stage-menu {
    padding: 16px;
    display: grid;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-item {
    min-height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: rgba(226, 232, 240, 0.7);
}

.menu-item.is-active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.stage-main {
    padding: 18px;
    display: grid;
    gap: 16px;
}

.stage-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stage-metric {
    padding: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.stage-metric strong {
    display: block;
    color: #fff;
    font-size: 28px;
}

.stage-metric span,
.stage-row em {
    color: rgba(226, 232, 240, 0.74);
    font-size: 13px;
}

.stage-list {
    display: grid;
    gap: 12px;
}

.stage-row {
    min-height: 64px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #fff;
}

.content-section {
    margin-top: 82px;
}

.section-heading {
    display: grid;
    gap: 8px;
    align-items: initial;
}

.section-heading p {
    margin: 0;
    max-width: 56ch;
}

.capability-grid,
.scene-grid,
.panel-grid {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.capability-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scene-grid,
.panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-card,
.scene-card,
.panel-card {
    padding: 22px;
}

.capability-card h3,
.scene-card h3,
.panel-card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.capability-card p,
.scene-card p,
.panel-card p {
    margin: 12px 0 0;
}

.panel-card span {
    display: inline-flex;
    min-height: 28px;
    padding: 0 10px;
    align-items: center;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.08);
    color: var(--teal);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.panel-card.is-active {
    border-color: rgba(29, 78, 216, 0.18);
    box-shadow: 0 18px 52px rgba(29, 78, 216, 0.08);
}

.cta-section {
    margin-top: 82px;
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: end;
}

.cta-copy p {
    margin: 12px 0 0;
    max-width: 52ch;
}

.site-footer {
    margin-top: 28px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer strong {
    display: block;
    font-size: 16px;
}

.site-footer p {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-section,
    .capability-grid,
    .scene-grid,
    .panel-grid,
    .cta-section {
        grid-template-columns: minmax(0, 1fr);
    }

    .stage-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .stage-menu {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 860px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .site-nav {
        display: none;
    }

    .hero-copy h1 {
        font-size: 38px;
    }

    .section-heading h2,
    .cta-copy h2 {
        font-size: 28px;
    }
}

@media (max-width: 720px) {
    .site-header,
    .site-main {
        width: min(100% - 24px, var(--container));
    }

    .header-actions,
    .hero-actions,
    .cta-actions {
        width: 100%;
    }

    .header-actions a,
    .hero-actions a,
    .cta-actions a {
        flex: 1 1 100%;
    }

    .hero-copy,
    .hero-stage,
    .capability-card,
    .scene-card,
    .panel-card,
    .cta-section {
        padding: 20px;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .hero-stats,
    .stage-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .stage-menu {
        grid-template-columns: minmax(0, 1fr);
    }

    .site-footer {
        display: grid;
    }
}
