:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-sub: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --accent-soft: rgba(37, 99, 235, 0.1);
    --gold: linear-gradient(135deg, #f59e0b, #ea580c);
    --purple: #7c3aed;
    --purple-soft: rgba(124, 58, 237, 0.12);
    --radius: 14px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b0e14;
        --surface: #131823;
        --surface-sub: #1a2130;
        --text: #f1f5f9;
        --muted: #94a3b8;
        --border: #242c3d;
        --accent: #3b82f6;
        --accent-hover: #60a5fa;
        --accent-soft: rgba(59, 130, 246, 0.18);
        --purple: #a78bfa;
        --purple-soft: rgba(167, 139, 250, 0.16);
    }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; font-weight: 700; }
.brand-text small { font-size: 11px; color: var(--muted); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
}
.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }

.lang-btn {
    border: 1px solid var(--border);
    background: var(--surface-sub);
    color: var(--text);
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Hero */
.hero {
    text-align: center;
    padding: 72px 20px 44px;
}
.hero-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12.5px;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero h1 {
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.18;
    font-weight: 800;
    max-width: 780px;
    margin: 0 auto 16px;
    letter-spacing: -0.02em;
}
.hero-sub {
    max-width: 640px;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 16px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}
.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: var(--muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.12s, background 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent { background: var(--purple); color: #fff; }
.btn-accent:hover { opacity: 0.92; }
.btn-coffee { background: var(--gold); color: #fff; padding: 11px 22px; }
.btn-coffee:hover { opacity: 0.92; }

/* Sections */
.section { padding: 48px 20px; }
.sec-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
}
.sec-sub {
    text-align: center;
    color: var(--muted);
    max-width: 580px;
    margin: 0 auto 30px;
}

/* Feature Grid */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 26px;
}
.feat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.feat-ico { font-size: 24px; margin-bottom: 10px; }
.feat-card h3 { font-size: 15.5px; margin-bottom: 6px; }
.feat-card p { font-size: 13.5px; color: var(--muted); }

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: stretch;
}
.price-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}
.price-card.featured {
    border-color: var(--accent);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
    background: linear-gradient(180deg, var(--accent-soft), var(--surface) 38%);
}
.pc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.pc-head h3 { font-size: 17px; font-weight: 700; }
.pc-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
}
.pc-tag.muted { background: var(--surface-sub); color: var(--muted); }
.pc-tag.gold { background: var(--gold); color: #fff; }

.billing-toggle {
    display: inline-flex;
    background: var(--surface-sub);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 2px;
}
.bt-opt {
    border: none;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    cursor: pointer;
}
.bt-opt.active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.pc-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}
.pc-price .amt { font-size: 32px; font-weight: 800; line-height: 1.1; }
.pc-price .orig { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.pc-price .unit { font-size: 13px; color: var(--muted); }

.pc-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; min-height: 42px; }
.pc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13.5px;
    margin-bottom: 22px;
    flex: 1;
}
.pc-btn { width: 100%; }

.checkout-notice {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent);
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 26px;
}
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.step-num {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.step-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; color: var(--muted); }

/* Support Banner */
.support-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 30px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.08));
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.support-text h2 { font-size: 20px; margin-bottom: 6px; }
.support-text p { color: var(--muted); font-size: 14px; max-width: 600px; }

/* Legal Pages */
.legal-card {
    max-width: 820px;
    margin: 36px auto 60px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 38px;
}
.legal-card h1 { font-size: 26px; margin-bottom: 8px; }
.legal-card .meta { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.legal-card h2 { font-size: 17px; margin: 22px 0 8px; }
.legal-card p, .legal-card li { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.legal-card ul { padding-left: 20px; margin-bottom: 12px; }
.legal-card a { color: var(--accent); }

/* Footer */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 26px 0;
    margin-top: 32px;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 8px;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--muted); opacity: 0.8; }

@media (max-width: 900px) {
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .support-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
    .feat-grid { grid-template-columns: 1fr; }
    .nav-links a { display: none; }
    .legal-card { padding: 24px 20px; }
}
