:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --text: #111827;
    --text-light: #6b7280;
    --brand-50: #f0f9ff;
    --brand-100: #e0f2fe;
    --brand-200: #bae6fd;
    --brand-300: #7dd3fc;
    --brand-400: #38bdf8;
    --brand-500: #0ea5e9;
    --brand-600: #0284c7;
    --brand-700: #0369a1;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: #ffffff;
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Nav */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 14px 40px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    transition: box-shadow .25s ease;
}
.landing-nav.scrolled { box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06); }
.landing-brand { display: flex; align-items: center; gap: 12px; }
.landing-brand .site-logo {
    flex-shrink: 0;
}
.landing-mark {
    width: 38px; height: 38px; border-radius: 8px;
    background: var(--brand-600);
    color: #fff; display: grid; place-items: center;
    font-weight: 700; font-size: 16px;
}
.landing-brand strong { font-size: 17px; font-weight: 600; color: var(--text); }
.landing-brand span { display: block; font-size: 11px; color: var(--text-light); }
.landing-nav-links { display: flex; align-items: center; gap: 28px; }
.landing-nav-links a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .15s; }
.landing-nav-links a:hover { color: var(--brand-600); }
.landing-nav-actions { display: flex; gap: 10px; }
.btn-nav-ghost {
    padding: 9px 18px; border-radius: 6px; font-size: 14px; font-weight: 500;
    color: var(--text); border: 1px solid var(--brand-200);
    transition: background .15s;
}
.btn-nav-ghost:hover { background: #f8fafc; }
.btn-nav-primary {
    padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 500;
    background: var(--brand-600);
    color: #fff;
    transition: background .15s;
}
.btn-nav-primary:hover { background: var(--brand-700); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 110px 40px 80px;
    position: relative;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: var(--bg);
}
.hero-inner {
    max-width: 1100px; margin: 0 auto; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    position: relative; z-index: 1;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px; border-radius: 6px;
    background: #f8fafc; border: 1px solid var(--brand-200);
    font-size: 13px; font-weight: 500; color: var(--brand-700);
    margin-bottom: 20px;
}
.hero-badge::before {
    content: ''; width: 6px; height: 6px;
    background: var(--brand-500); border-radius: 50%;
}
.hero h1 {
    font-size: clamp(32px, 4.5vw, 48px); font-weight: 700;
    line-height: 1.2; letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--text);
}
.hero h1 em {
    font-style: normal;
    color: var(--brand-600);
}
.hero-desc { font-size: 16px; color: var(--text-light); line-height: 1.75; margin-bottom: 28px; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px;
}
.hero-mock { border-radius: 8px; overflow: hidden; border: 1px solid var(--brand-100); }
.mock-bar { display: flex; gap: 6px; padding: 10px 14px; background: #f8fafc; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-200); }
.mock-dot:first-child { background: #fca5a5; }
.mock-dot:nth-child(2) { background: #fde68a; }
.mock-dot:nth-child(3) { background: #86efac; }
.mock-body { padding: 20px; background: #fff; }
.mock-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 16px; }
.mock-stat { background: #f8fafc; border-radius: 8px; padding: 12px; border: 1px solid var(--brand-100); }
.mock-stat .n { font-size: 18px; font-weight: 600; color: var(--text); }
.mock-stat .l { font-size: 11px; color: var(--text-light); }
.mock-chart {
    height: 72px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--brand-100);
}

/* Features */
.section { padding: 80px 40px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-label {
    text-align: center; font-size: 12px; font-weight: 600;
    color: var(--brand-600); letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.section-title { text-align: center; font-size: 28px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.section-desc { text-align: center; color: var(--text-light); max-width: 520px; margin: 0 auto 40px; font-size: 15px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
    background: #ffffff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 24px;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.feature-card:hover {
    border-color: var(--brand-300);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
}
.feature-icon {
    width: 44px; height: 44px; border-radius: 8px;
    background: var(--brand-50);
    color: var(--brand-600);
    display: grid; place-items: center; margin-bottom: 16px;
    font-size: 20px; font-weight: 600;
}
.feature-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-light); line-height: 1.65; }

/* Pricing preview */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pricing-card {
    background: #ffffff; border: 1px solid #e2e8f0;
    border-radius: 12px; padding: 24px; text-align: center;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.pricing-card:hover {
    border-color: var(--brand-200);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
}
.pricing-card.popular {
    border-color: var(--brand-300);
    background: var(--brand-50);
}
.pricing-card h4 { font-size: 17px; margin-bottom: 6px; font-weight: 600; }
.pricing-card .amount { font-size: 32px; font-weight: 700; color: var(--text); }
.pricing-card .amount small { font-size: 14px; font-weight: 400; color: var(--text-light); }
.pricing-card ul { list-style: none; margin: 18px 0; text-align: left; font-size: 13px; color: var(--text); }
.pricing-card ul li { padding: 7px 0; border-bottom: 1px solid #eef2f6; }

/* CTA */
.cta {
    padding: 64px 40px;
    background: var(--brand-600);
    color: #fff; text-align: center;
}
.cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.cta p { opacity: 0.9; margin-bottom: 24px; font-size: 15px; }
.cta .btn-nav-primary { background: #fff; color: var(--brand-700); }
.cta .btn-nav-primary:hover { background: #f8fafc; }

/* Footer */
.landing-footer {
    padding: 40px;
    border-top: 1px solid #e2e8f0;
    display: flex; justify-content: space-between; align-items: flex-start;
    max-width: 1100px; margin: 0 auto;
    font-size: 13px; color: var(--text-light);
}
.footer-cols { display: flex; gap: 48px; }
.footer-col h5 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.footer-col a { display: block; margin-top: 6px; transition: color .15s; color: var(--text-light); }
.footer-col a:hover { color: var(--brand-600); }

.reveal { opacity: 0; transform: translateY(16px); transition: all .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
    .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
    .landing-nav-links { display: none; }
    .landing-footer { flex-direction: column; gap: 24px; }
}
