/* =========================================================
   官网首页（落地页）样式
   主题与会员中心（member.css）保持一致：深色 + 蓝紫渐变
   色板：
   页面底色   #0d1526
   卡片/面板  rgba(255,255,255,.045)  + 细边框 rgba(255,255,255,.09)
   主色调     蓝紫渐变 #4f7cf7 → #7b5cf5
   主文本     #e9efff   次要 #8b98b8   弱 #5f6b8a
   ========================================================= */

:root {
    --accent: #4f7cf7;
    --accent2: #7b5cf5;
    --accent-grad: linear-gradient(135deg, #4f7cf7 0%, #7b5cf5 100%);
    --bg: #0d1526;
    --surface: rgba(255, 255, 255, 0.045);
    --surface2: rgba(255, 255, 255, 0.075);
    --border: rgba(255, 255, 255, 0.09);
    --border2: rgba(255, 255, 255, 0.17);
    --text: #e9efff;
    --muted: #8b98b8;
    --dim: #5f6b8a;
    --success: #40d392;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a {
    transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 顶部导航 ---------- */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 21, 38, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.brand-logo {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 26px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

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

.nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.nav-login {
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
}

.nav-login:hover {
    color: #fff;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid transparent;
    padding: 10px 22px;
    white-space: nowrap;
}

.btn-grad {
    background: var(--accent-grad);
    color: #fff;
    font-weight: 600;
}

.btn-grad:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(91, 108, 246, 0.35);
}

.btn-ghost {
    border-color: var(--border2);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 34px;
    font-size: 16px;
    border-radius: 12px;
}

/* ---------- Hero ---------- */
.hero {
    padding: 96px 0 76px;
    text-align: center;
    background: radial-gradient(900px 480px at 50% -120px, rgba(79, 124, 247, 0.28), rgba(79, 124, 247, 0) 65%);
}

.hero-tag {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid var(--border2);
    background: var(--surface);
    color: var(--muted);
    font-size: 13px;
    letter-spacing: 1px;
}

.hero h1 {
    margin: 24px auto 0;
    max-width: 860px;
    font-size: 46px;
    line-height: 1.28;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.hero h1 .grad {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    margin: 22px auto 0;
    max-width: 640px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.hero-cta {
    margin-top: 36px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-trust {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    color: var(--dim);
    font-size: 13px;
}

.hero-trust span::before {
    content: "✓";
    margin-right: 6px;
    color: var(--success);
}

/* ---------- 区块通用 ---------- */
.section {
    padding: 78px 0 0;
}

.section-head {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.section-head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

#features,
#pricing {
    scroll-margin-top: 76px;
}

/* ---------- 功能特性 ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 24px;
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--border2);
    background: var(--surface2);
}

.feature-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 124, 247, 0.9), rgba(123, 92, 245, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(79, 124, 247, 0.28);
}

.feature-card h3 {
    margin-top: 16px;
    font-size: 16.5px;
    color: #fff;
}

.feature-card p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.85;
}

/* ---------- 版本价格 ---------- */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 46px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px 24px 26px;
}

.plan.featured {
    border: 1px solid transparent;
    background: linear-gradient(#16213d, #16213d) padding-box, var(--accent-grad) border-box;
    box-shadow: 0 20px 50px rgba(79, 124, 247, 0.25);
    transform: translateY(-6px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-grad);
    color: #fff;
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-name {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}

.plan-desc {
    margin-top: 8px;
    min-height: 38px;
    color: var(--dim);
    font-size: 13px;
    line-height: 1.5;
}

.plan-price {
    margin-top: 16px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan-price .num {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

.plan-price .unit {
    color: var(--muted);
    font-size: 13px;
}

.plan-benefits {
    margin: 20px 0 26px;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.plan-benefits li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

.plan-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--success);
    font-size: 13px;
}

.plan-cta {
    width: 100%;
}

.plans-empty {
    margin-top: 46px;
    padding: 44px 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    border: 1px dashed var(--border);
    border-radius: 18px;
}

/* ---------- 底部 CTA ---------- */
.cta-band {
    padding: 90px 0 0;
}

.cta-inner {
    padding: 54px 40px;
    border-radius: 22px;
    text-align: center;
    border: 1px solid var(--border2);
    background: radial-gradient(700px 300px at 50% 0%, rgba(123, 92, 245, 0.35), rgba(123, 92, 245, 0) 70%),
                linear-gradient(135deg, rgba(79, 124, 247, 0.16), rgba(123, 92, 245, 0.16));
}

.cta-inner h2 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.cta-inner p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
}

/* ---------- 页脚 ---------- */
.footer {
    margin-top: 90px;
    border-top: 1px solid var(--border);
    padding: 26px 0 32px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--dim);
    font-size: 13px;
}

.footer-inner p {
    margin: 0;
}

.footer a {
    color: var(--dim);
    text-decoration: none;
}

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

.footer-links {
    display: flex;
    gap: 18px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

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

@media (max-width: 640px) {
    .hero {
        padding: 64px 0 54px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .plan.featured {
        transform: none;
    }

    .cta-inner {
        padding: 40px 22px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }
}
