:root {
    color-scheme: light;
    --bg: #f8fafc;
    --panel: #ffffff;
    --text: #1f2937;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #ff8a5b;
    --primary-dark: #f36d37;
    --green: #13bfa6;
    --blue: #3b82f6;
    --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #fff4ee 0%, var(--bg) 360px);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

.site-header {
    width: min(1120px, calc(100% - 40px));
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand,
.site-nav,
.hero-actions,
.panel-head,
.timeline-item,
.feature,
.download-card,
.site-footer {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    font-weight: 900;
    font-size: 18px;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.site-nav {
    gap: 6px;
}

.site-nav a {
    padding: 9px 12px;
    border-radius: 12px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.site-nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.7);
}

.hero {
    width: min(1120px, calc(100% - 40px));
    min-height: calc(100vh - 190px);
    margin: 0 auto;
    padding: 56px 0 48px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
    gap: 64px;
    align-items: center;
}

.hero-copy {
    max-width: 640px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 620px;
    margin-bottom: 18px;
    font-size: 56px;
    line-height: 1.08;
    letter-spacing: 0;
}

.summary {
    max-width: 560px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    gap: 12px;
    flex-wrap: wrap;
}

.primary-action,
.secondary-action {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 15px;
}

.primary-action {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 14px 24px rgba(255, 138, 91, 0.28);
}

.primary-action:hover {
    background: var(--primary-dark);
}

.secondary-action {
    color: var(--text);
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-panel {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.panel-head {
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.panel-head img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
}

.panel-head strong,
.metric strong,
.feature strong,
.download-card strong {
    display: block;
    color: var(--text);
}

.panel-head span,
.metric span,
.feature span,
.download-card small,
.section-head p {
    color: var(--muted);
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 18px 0;
}

.metric {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

.metric span {
    font-size: 13px;
    font-weight: 700;
}

.metric strong {
    margin-top: 8px;
    font-size: 24px;
}

.timeline {
    display: grid;
    gap: 10px;
}

.timeline-item {
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.timeline-item i {
    width: 20px;
    color: var(--primary);
    text-align: center;
}

.timeline-item.active {
    color: var(--text);
    background: #fff5f1;
}

.feature-band {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.feature {
    gap: 12px;
    min-height: 76px;
    padding: 14px;
}

.feature i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: var(--green);
}

.feature:nth-child(2) i {
    background: var(--primary);
}

.feature:nth-child(3) i {
    background: var(--blue);
}

.feature:nth-child(4) i {
    background: #a855f7;
}

.feature span {
    display: block;
    margin-top: 4px;
    font-size: 13px;
}

.download-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 76px 0 72px;
}

.section-head {
    max-width: 560px;
    margin-bottom: 24px;
}

.section-head h2 {
    margin-bottom: 10px;
    font-size: 34px;
    letter-spacing: 0;
}

.section-head p {
    line-height: 1.8;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.download-card {
    min-height: 132px;
    padding: 20px;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.download-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 138, 91, 0.46);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.download-card i {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #fff;
    background: var(--text);
    font-size: 22px;
}

.download-card:nth-child(1) i {
    background: var(--green);
}

.download-card:nth-child(2) i {
    background: #111827;
}

.download-card:nth-child(3) i {
    background: var(--blue);
}

.download-card:nth-child(4) i {
    background: #2563eb;
}

.download-card span {
    min-width: 0;
    flex: 1;
}

.download-card strong {
    font-size: 18px;
}

.download-card small {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.4;
}

.download-card em {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: #fff1eb;
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.site-footer {
    width: min(1120px, calc(100% - 40px));
    min-height: 72px;
    margin: 0 auto;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.site-footer a:hover {
    color: var(--text);
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: auto;
        padding-top: 34px;
    }

    h1 {
        font-size: 44px;
    }

    .feature-band,
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .site-header {
        width: calc(100% - 24px);
        height: auto;
        padding: 14px 0;
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
    }

    .site-nav {
        width: 100%;
        justify-content: space-between;
    }

    .site-nav a {
        padding: 8px 6px;
        font-size: 13px;
    }

    .hero,
    .feature-band,
    .download-section,
    .site-footer {
        width: calc(100% - 24px);
    }

    .hero {
        padding: 28px 0 34px;
    }

    h1 {
        font-size: 34px;
    }

    .summary {
        font-size: 16px;
    }

    .hero-actions a {
        width: 100%;
    }

    .hero-panel {
        padding: 16px;
        border-radius: 22px;
    }

    .metric-grid,
    .feature-band,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .feature-band {
        padding: 10px;
    }

    .download-section {
        padding: 48px 0 52px;
    }

    .download-card {
        min-height: 104px;
    }

    .site-footer {
        padding: 18px 0 24px;
        align-items: flex-start;
        flex-direction: column;
    }
}
