* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #f3f5fb;
    --bg-accent: #f0f7ff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --brand: #3b82f6;
    --brand-soft: #dbeafe;
    --surface: #ffffff;
    --border: #e5e7eb;
    --radius-lg: 32px;
    --radius-md: 20px;
    --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.08);
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--text-main);
    background: radial-gradient(1200px circle at 10% 0, #e0f2fe, transparent 60%),
                linear-gradient(180deg, #f9fafb 0%, #f3f4f6 40%, #e5e7eb 100%);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    width: 100%;
    height: auto;
    display: block;
}

/* 导航 */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(248, 250, 252, 0.86);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo {
    font-weight: 600;
    letter-spacing: 0.04em;
}

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.nav-links a {
    position: relative;
    color: #4b5563;
    padding-bottom: 4px;
    transition: color 0.2s var(--ease);
}

.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #3b82f6;
    border-radius: 999px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: #111827;
}

main {
    padding-top: 80px;
}

/* Hero 区域：模仿 Laifen 分屏 */
.hero {
    padding: 80px 20px 72px;
}

.hero-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(32px, 4.2vw, 46px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.lede {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.hero-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.spec-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    font-size: 12px;
    color: #1d4ed8;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.btn.primary {
    background: #2563eb;
    color: white;
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.25);
}

.btn.primary:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn.ghost {
    border-color: #cbd5f5;
    color: #1d4ed8;
    background: #eff6ff;
}

.btn.ghost:hover {
    background: white;
}

.hero-visual {
    position: relative;
}

.hero-device {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: linear-gradient(135deg, #e5f0ff 0%, #ffffff 45%);
    min-height: 260px;
}

.hero-badge {
    position: absolute;
    left: 18px;
    bottom: -22px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    font-size: 12px;
    color: #1e293b;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.hero-badge strong {
    margin-left: 6px;
}

/* 通用分屏 Section */
.section {
    padding: 72px 20px;
}

.section.split {
    background: white;
}

.section.split.light {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 40%);
}

.section.split.tinted {
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 50%);
}

.section .section-media img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.section .section-copy {
    max-width: 480px;
}

.section.split .section-copy,
.section.split .section-media {
    max-width: 1120px;
    margin: 0 auto;
}

.section.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.section.split:nth-child(even) {
    grid-auto-flow: dense;
}

.section h2 {
    font-size: clamp(26px, 3vw, 34px);
    margin-bottom: 14px;
}

.section p {
    font-size: 15px;
    color: var(--text-muted);
}

.bullets {
    margin-top: 18px;
    list-style: none;
}

.bullets li {
    position: relative;
    padding-left: 16px;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.bullets li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #3b82f6;
}

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 20px;
}

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

.stat span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Panel 模块 */
.section.panel {
    background: #f3f4ff;
}

.panel-inner {
    max-width: 1120px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-md);
    padding: 32px 28px;
    box-shadow: var(--shadow-soft);
}

.panel-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.panel-card {
    padding: 16px 14px;
    border-radius: 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.panel-card h3 {
    font-size: 15px;
    margin-bottom: 6px;
}

/* CTA 区域 */
.section.cta {
    background: linear-gradient(135deg, #2563eb 0%, #38bdf8 60%);
    color: white;
}

.cta-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
}

.section.cta p {
    color: rgba(241, 245, 249, 0.9);
}

.section.cta a {
    color: white;
}

/* CTA 内的次级按钮，提升可读性 */
.section.cta .btn.ghost {
    background: rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 23, 42, 0.24);
    color: #0f172a;
}

.section.cta .btn.ghost:hover {
    background: rgba(15, 23, 42, 0.18);
}

/* 块与块之间的节奏优化 */
main > .hero + .section {
    margin-top: -8px;
}

.section.split + .section.split {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.section.panel + .section.cta {
    margin-top: 8px;
}

/* Footer */
.footer {
    padding: 40px 20px 44px;
    background: #f9fafb;
    color: #4b5563;
    border-top: 1px solid #e5e7eb;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.footer h4 {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 10px;
}

.footer p {
    font-size: 13px;
}

.footer a {
    display: block;
    font-size: 13px;
    color: #4b5563;
    margin-bottom: 4px;
    transition: color 0.2s var(--ease);
}

.footer a:hover {
    color: #111827;
}

.footer-copy {
    max-width: 1120px;
    margin: 0 auto;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
}

/* 动画基础 */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-animate="float"] {
    transform: translateY(18px);
}

[data-animate="float"].animated {
    transform: translateY(0);
}

/* 响应式 */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        inset: 64px 0 auto 0;
        background: rgba(248, 250, 252, 0.98);
        flex-direction: column;
        padding: 12px 20px 16px;
        transform: translateY(-110%);
        transition: transform 0.25s var(--ease);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid,
    .section.split {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .cta-inner {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 60px;
    }

    .nav-inner {
        padding: 0 16px;
    }

    .section {
        padding: 56px 16px;
    }
}