/* ============================================================
   天师府-道家文化 · 前台设计系统 v3
   电竞级 · 深色沉浸 Hero + 浅色主体 · 蓝青渐变
   ============================================================ */

:root {
    /* 品牌色阶 */
    --brand: #2563eb;
    --brand-deep: #1d4ed8;
    --brand-darker: #1e40af;
    --brand-darkest: #172554;
    --brand-soft: #60a5fa;
    --brand-lighter: #93c5fd;
    --brand-mist: #bfdbfe;
    --brand-mist-2: #dbeafe;
    --fuchsia: #06b6d4;

    /* 中性色 */
    --ink: #0f172a;
    --ink-2: #1e293b;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --line: #e6e8ef;
    --line-soft: #eef0f6;
    --bg: #f7f8fc;
    --bg-soft: #f1f3f9;

    /* 语义色 */
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #0ea5e9;

    /* 圆角 */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* 阴影（多层柔和） */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .05), 0 1px 2px rgba(15, 23, 42, .04);
    --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, .12), 0 4px 8px rgba(15, 23, 42, .04);
    --shadow-lg: 0 28px 60px -16px rgba(29, 78, 216, .22), 0 8px 20px rgba(15, 23, 42, .06);
    --shadow-brand: 0 14px 34px -10px rgba(37, 99, 235, .42);

    /* 渐变 */
    --grad: linear-gradient(135deg, #2563eb 0%, #3b82f6 55%, #06b6d4 100%);
    --grad-2: linear-gradient(120deg, #1d4ed8 0%, #60a5fa 100%);
    --grad-soft: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 55%, #ecfeff 100%);
    --grad-hero: linear-gradient(160deg, #0b1220 0%, #172554 42%, #1d4ed8 100%);
    --grad-enterprise: linear-gradient(150deg, #172554 0%, #1e40af 48%, #2563eb 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/static/fonts/inter-latin.woff2') format('woff2');
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; transition: color .18s ease, opacity .18s ease; }

::selection { background: rgba(37, 99, 235, .18); }

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .45);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ============ 通用工具 ============ */
.grad-text {
    background: linear-gradient(120deg, #60a5fa 0%, #bfdbfe 60%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.grad-text-dark {
    background: var(--grad-2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-muted-2 { color: var(--muted); }
.bg-soft { background: var(--bg-soft); }
.anchor { scroll-margin-top: 92px; }
.meta { color: var(--muted); }

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .55);
}

/* ============ 按钮 ============ */
.btn { border-radius: 12px; font-weight: 600; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.btn:active { transform: translateY(0) scale(.97); }

.btn-brand {
    background: var(--grad);
    border: none;
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-brand:hover, .btn-brand:focus {
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 55%, #06b6d4 100%);
    transform: translateY(-2px);
    box-shadow: 0 20px 44px -12px rgba(37, 99, 235, .55);
}

.btn-outline-brand {
    color: var(--brand);
    border: 1.5px solid var(--brand-lighter);
    background: #fff;
    font-weight: 600;
}
.btn-outline-brand:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
    transform: translateY(-1px);
}

.btn-ghost {
    background: #fff;
    border: 1.5px solid var(--line);
    color: var(--ink-2);
    font-weight: 600;
}
.btn-ghost:hover { border-color: var(--brand-lighter); color: var(--brand); background: #f5f9ff; }

.btn-white {
    background: #fff;
    color: var(--brand-deep);
    border: none;
    font-weight: 700;
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .35);
}
.btn-white:hover { transform: translateY(-2px); color: var(--brand-deep); box-shadow: 0 18px 40px -10px rgba(0, 0, 0, .4); }

.btn-wechat {
    background: linear-gradient(135deg, #09bb07, #06a006);
    border: none; color: #fff; font-weight: 600;
    box-shadow: 0 10px 24px -8px rgba(9, 187, 7, .5);
}
.btn-wechat:hover, .btn-wechat:focus, .btn-wechat:active { color: #fff; background: #06a006; transform: translateY(-2px); }

.btn-lg { border-radius: 14px; padding: .8rem 1.6rem; font-size: 1.05rem; }

/* ============ 导航栏（玻璃拟态） ============ */
.site-nav {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(22px);
    -webkit-backdrop-filter: saturate(180%) blur(22px);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 4px 20px -12px rgba(15, 23, 42, .18);
    padding: 8px 0;
}
.site-nav .brand { font-weight: 800; font-size: 17px; color: var(--ink); display: flex; align-items: center; }
.site-nav .brand .grad-text { background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav .nav-link {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 14.5px;
    padding: .5rem .95rem;
    border-radius: 10px;
    position: relative;
}
.site-nav .nav-link:hover { color: var(--brand); background: rgba(37, 99, 235, .06); }
.site-nav .nav-link.active { color: var(--brand); font-weight: 600; }
.site-nav .nav-link.active::after {
    content: ""; position: absolute; left: .95rem; right: .95rem; bottom: 2px;
    height: 2px; border-radius: 99px; background: var(--grad);
}
.navbar-toggler { border: 1px solid var(--line); border-radius: 10px; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }

.nav-user { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; padding: 4px 8px; border-radius: 99px; }
.nav-user:hover { color: var(--brand); background: rgba(37, 99, 235, .06); }
.nav-avatar {
    width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
    box-shadow: 0 4px 10px -3px rgba(37, 99, 235, .5);
}

/* ============ Hero（深色沉浸） ============ */
.hero,
.hero-2 {
    position: relative;
    overflow: hidden;
    background: var(--grad-hero);
    color: #fff;
}
.hero { padding: 88px 0 76px; text-align: center; }
.hero-2 { padding: 92px 0 120px; text-align: center; }

/* 首页 Hero 左右分栏 */
.hero-split { display: flex; align-items: center; gap: 56px; }
.hero-copy { flex: 1 1 52%; text-align: left; max-width: 600px; }
.hero-copy .hero-title-2 { margin: 22px 0 18px; text-align: left; font-size: clamp(36px, 4.4vw, 52px); }
.hero-copy .hero-sub-2 { margin: 0 0 30px; text-align: left; }
.hero-copy .hero-actions { justify-content: flex-start; }
.hero-copy .hero-meta { justify-content: flex-start; }
.hero-split .hero-device { flex: 1 1 48%; max-width: 620px; margin: 0; }

.hero-grid {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .12) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 24px 24px, 64px 64px, 64px 64px;
    mask-image: radial-gradient(ellipse 100% 90% at 50% 0%, #000 35%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 90% at 50% 0%, #000 35%, transparent 100%);
}

.hero .orb, .hero-2 .orb {
    position: absolute; border-radius: 50%; filter: blur(90px);
    opacity: .6; pointer-events: none;
}
.hero .orb-1, .hero-2 .orb-1 { width: 480px; height: 480px; background: #2563eb; top: -190px; right: -110px; }
.hero .orb-2, .hero-2 .orb-2 { width: 400px; height: 400px; background: #06b6d4; bottom: -170px; left: -120px; opacity: .35; }
.hero-2 .orb-3 { width: 300px; height: 300px; background: #1e40af; top: 38%; left: 40%; opacity: .5; }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: #bfdbfe;
    padding: 8px 18px; border-radius: 99px; font-size: 13px; font-weight: 600;
    letter-spacing: .3px;
}
.hero-eyebrow .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .22);
}

.hero-title, .hero-title-2 {
    font-weight: 800; letter-spacing: -1.4px; line-height: 1.12; color: #fff;
}
.hero-title { font-size: 50px; margin: 24px auto 18px; max-width: 800px; }
.hero-title-2 { font-size: clamp(42px, 6vw, 60px); margin: 24px auto 20px; max-width: 860px; }
.hero-sub, .hero-sub-2 {
    color: rgba(255, 255, 255, .72); font-size: 18px; line-height: 1.8;
    max-width: 680px; margin: 0 auto 32px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-actions .btn-ghost {
    background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .25); color: #fff;
    backdrop-filter: blur(8px);
}
.hero-actions .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; justify-content: center; }
.hero-meta span { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.hero-meta i { color: #4ade80; margin-right: 7px; }

/* ============ 客户端预览玻璃卡片 ============ */
.hero-device { position: relative; max-width: 700px; margin: 68px auto 0; }
.hero-device::before {
    content: ""; position: absolute; inset: -22% -14%; z-index: 0;
    background: radial-gradient(circle at 50% 40%, rgba(59, 130, 246, .28), transparent 62%);
    filter: blur(40px);
}
.device-window {
    position: relative; z-index: 1; border-radius: 24px; overflow: hidden;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(24px); -webkit-backdrop-filter: saturate(180%) blur(24px);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: 0 40px 90px -24px rgba(0, 0, 0, .55);
    transform: perspective(1200px) rotateX(4deg);
    transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.hero-device:hover .device-window { transform: perspective(1200px) rotateX(0); }
.device-bar {
    display: flex; align-items: center; gap: 6px; padding: 14px 18px;
    background: rgba(255, 255, 255, .6); border-bottom: 1px solid rgba(15, 23, 42, .06);
}
.device-bar span { width: 11px; height: 11px; border-radius: 50%; }
.device-bar span:nth-child(1) { background: #f87171; }
.device-bar span:nth-child(2) { background: #fbbf24; }
.device-bar span:nth-child(3) { background: #34d399; }
.device-bar b { margin-left: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.device-body { padding: 22px; color: var(--ink); }

.device-status { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.status-left { display: flex; align-items: center; gap: 13px; }
.status-ring {
    width: 48px; height: 48px; border-radius: 15px; background: var(--grad); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    box-shadow: 0 10px 24px -6px rgba(37, 99, 235, .5);
    animation: pulse-ring 2.2s ease-in-out infinite;
}
@keyframes pulse-ring {
    0%, 100% { box-shadow: 0 10px 24px -6px rgba(37, 99, 235, .5), 0 0 0 0 rgba(37, 99, 235, .35); }
    50% { box-shadow: 0 10px 24px -6px rgba(37, 99, 235, .5), 0 0 0 12px rgba(37, 99, 235, 0); }
}
.status-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.status-sub { font-size: 12px; color: var(--muted); }
.status-pill {
    font-size: 11px; font-weight: 700; color: var(--success); background: #dcfce7;
    padding: 4px 11px; border-radius: 99px;
}

.device-speed { display: flex; gap: 12px; margin-bottom: 18px; }
.speed-box {
    flex: 1; border: 1px solid rgba(15, 23, 42, .06); border-radius: 16px; padding: 15px;
    background: #fafbff; text-align: center;
}
.speed-arrow { width: 28px; height: 28px; border-radius: 9px; margin: 0 auto 7px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; }
.speed-arrow.down { background: linear-gradient(120deg, #2563eb, #3b82f6); }
.speed-arrow.up { background: linear-gradient(120deg, #10b981, #34d399); }
.speed-num { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; }
.speed-unit { font-size: 11px; color: var(--muted); }

.device-node-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.node-row {
    display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 13px;
    border: 1px solid rgba(15, 23, 42, .06); background: #fff;
    font-size: 13.5px; color: var(--ink);
}
.node-row.active { border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .05); }
.node-row .node-flag {
    width: 24px; height: 24px; border-radius: 8px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-soft); color: var(--brand);
    font-size: 11px; font-weight: 700; line-height: 1;
}
.node-row .node-name { flex: 1; font-weight: 600; }
.node-row .node-ping { color: var(--success); font-weight: 700; font-size: 12px; }
.node-row i { color: var(--brand); font-size: 14px; }
.device-btn {
    width: 100%; padding: 14px; border: none; border-radius: 14px; font-weight: 700; font-size: 15px;
    background: var(--grad); color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 99, 235, .5);
    transition: transform .15s ease, box-shadow .15s ease;
}
.device-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -10px rgba(37, 99, 235, .6); }

/* ============ 数据统计条 ============ */
.stats-band {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); position: relative; z-index: 5; margin-top: -60px; overflow: hidden;
}
.stat-cell { padding: 30px 16px; text-align: center; }
.stat-cell + .stat-cell { border-left: 1px solid var(--line-soft); }
.stat-num {
    font-size: 32px; font-weight: 800; letter-spacing: -.5px;
    background: var(--grad-2); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ============ 区块标题 ============ */
.section { padding: 92px 0; }
.section-head { margin-bottom: 56px; }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--brand); font-weight: 700; font-size: 13px;
    letter-spacing: .8px; text-transform: uppercase;
}
.section-eyebrow::before, .section-eyebrow::after {
    content: ""; width: 20px; height: 1.5px; background: var(--grad-2); border-radius: 99px;
}
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -.8px; margin: 12px 0 14px; color: var(--ink); }
.section-sub { color: var(--muted); font-size: 16.5px; max-width: 640px; margin: 0 auto; line-height: 1.75; }
.section-title-2 {
    display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; margin: 0 0 18px; color: var(--ink);
}
.section-title-2::before {
    content: ""; width: 5px; height: 20px; border-radius: 99px; background: var(--grad);
}

/* ============ 卡片 ============ */
.card-glass {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-xs); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-glass:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .2); }

.feature-card { padding: 32px; height: 100%; position: relative; overflow: hidden; }
.feature-card::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad); opacity: 0; transition: opacity .22s ease;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center;
    justify-content: center; font-size: 24px; color: #fff; margin-bottom: 20px;
    box-shadow: 0 10px 24px -8px rgba(15, 23, 42, .35);
}
.feature-card h5 { font-weight: 700; font-size: 17px; margin-bottom: 9px; color: var(--ink); }
.feature-card p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.72; }

.stat-icon {
    width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
    justify-content: center; font-size: 22px; color: #fff; flex-shrink: 0;
    box-shadow: 0 10px 22px -8px rgba(15, 23, 42, .3);
}
.subscribe-input { font-size: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.tech-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; height: 100%; display: flex; gap: 18px; align-items: flex-start;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .2); }
.tech-icon {
    width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff;
    box-shadow: 0 10px 22px -8px rgba(15, 23, 42, .35);
}
.tech-card h6 { font-weight: 700; margin-bottom: 5px; font-size: 15.5px; color: var(--ink); }
.tech-card p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.68; }

/* ============ 平台卡片 ============ */
.platform-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 26px; text-align: center; height: 100%; position: relative;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .25); }
.platform-card.featured { border: 2px solid var(--brand); box-shadow: 0 0 0 5px rgba(37, 99, 235, .08), var(--shadow-lg); }
.platform-card .badge-flag { position: absolute; top: 18px; right: 18px; }
.platform-icon {
    width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff;
    box-shadow: 0 14px 30px -10px rgba(15, 23, 42, .35);
}
.platform-card h6 { font-weight: 700; color: var(--ink); font-size: 16px; }
.platform-card p { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }

/* ============ 套餐卡片 ============ */
.plan-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    height: 100%; position: relative; overflow: hidden;
    transition: transform .22s ease, box-shadow .22s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-card.recommend { border: 2px solid var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .08), var(--shadow-lg); }
.plan-card.recommend::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(160deg, rgba(37, 99, 235, .06), transparent 55%);
}
.badge-recommend { position: absolute; top: 16px; right: 16px; }
.price { font-size: 38px; font-weight: 800; color: var(--brand); letter-spacing: -.8px; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.feature-item { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; }
.feature-item i { color: var(--success); margin-right: 9px; }

.plan-option { cursor: pointer; position: relative; transition: transform .2s, box-shadow .2s, border-color .2s; border-radius: var(--radius); }
.plan-option:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .3); }
.plan-option.selected { border: 2px solid var(--brand) !important; box-shadow: 0 0 0 4px rgba(37, 99, 235, .1), var(--shadow-lg); }
.plan-option .check { position: absolute; top: 14px; right: 14px; display: none; color: var(--brand); }
.plan-option.selected .check { display: block; }

.pay-option { cursor: pointer; border: 1.5px solid var(--line); border-radius: 13px; padding: 13px 16px; transition: all .18s ease; background: #fff; }
.pay-option:hover { border-color: var(--brand-lighter); }
.pay-option.selected { border-color: var(--brand); background: rgba(37, 99, 235, .05); box-shadow: 0 0 0 3px rgba(37, 99, 235, .08); }

/* ============ 企业服务横幅 ============ */
.enterprise {
    background: var(--grad-enterprise);
    border-radius: var(--radius-xl); padding: 64px; position: relative; overflow: hidden; color: #fff;
}
.enterprise::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .09) 1px, transparent 1px),
        radial-gradient(circle at 85% 15%, rgba(59, 130, 246, .28), transparent 45%);
    background-size: 26px 26px, 100% 100%;
}
.enterprise .inner { position: relative; z-index: 2; }
.enterprise .hero-eyebrow { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #bfdbfe; }
.ent-title { font-size: 36px; font-weight: 800; letter-spacing: -.6px; line-height: 1.25; }
.ent-item { display: flex; align-items: flex-start; gap: 15px; padding: 14px 0; }
.ent-item .ic {
    width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    display: flex; align-items: center; justify-content: center; font-size: 20px; color: #93c5fd;
}
.ent-item b { display: block; font-size: 15px; }
.ent-item span { display: block; font-size: 13px; color: rgba(255, 255, 255, .66); }

/* ============ CTA 横幅 ============ */
.cta-band {
    background: var(--grad); border-radius: var(--radius-xl); padding: 60px; color: #fff;
    position: relative; overflow: hidden;
}
.cta-band::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 24px 24px; opacity: .5;
}
.cta-band > * { position: relative; z-index: 2; }

/* ============ FAQ ============ */
.accordion-item { border: 1px solid var(--line) !important; border-radius: 14px !important; overflow: hidden; margin-bottom: 12px; background: #fff; }
.accordion-button { font-weight: 600; color: var(--ink); font-size: 15px; background: #fff; padding: 1.1rem 1.25rem; }
.accordion-button:not(.collapsed) { color: var(--brand); background: var(--grad-soft); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--line); }
.accordion-button:not(.collapsed)::after { filter: none; }
.accordion-body { color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* ============ 页脚 ============ */
.site-footer { background: #0f0a1f; color: #94a3b8; padding: 64px 0 30px; position: relative; overflow: hidden; }
.site-footer::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .6), transparent);
}
.site-footer h6 { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.site-footer a { color: #94a3b8; font-size: 13.5px; display: block; margin-bottom: 11px; transition: color .15s ease; }
.site-footer a:hover { color: #93c5fd; }
.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding-top: 22px; font-size: 13px; }

/* ============ 应用页头（登录后） ============ */
.page-head {
    position: relative; overflow: hidden; padding: 48px 0;
    background: var(--grad-hero); color: #fff;
}
.page-head::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000, transparent);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h3 { font-weight: 800; color: #fff; margin: 0; font-size: 28px; }
.page-head p { color: rgba(255, 255, 255, .72); }

/* ============ 表单 ============ */
.form-label { font-weight: 600; color: var(--ink); font-size: 14px; }
.form-control { border: 1.5px solid var(--line); border-radius: 11px; padding: .66rem .95rem; font-size: 14.5px; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(37, 99, 235, .12); }

/* ============ 表格 ============ */
.table { vertical-align: middle; --bs-table-hover-bg: #f5f9ff; }
.table th { color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13px; text-transform: none; }
.table td { font-size: 14px; color: var(--ink-2); }

/* ============ 徽章 ============ */
.badge { border-radius: 99px; font-weight: 600; padding: .5em .85em; font-size: 12px; }
.badge-brand { background: var(--grad); color: #fff; }
.badge-online { background: #dcfce7; color: var(--success); }
.badge-offline { background: #fee2e2; color: var(--danger); }

/* ============ 进度条 ============ */
.progress { height: 10px; border-radius: 99px; background: #eef0f6; overflow: hidden; }
.progress-bar { background: var(--grad); border-radius: 99px; }

/* ============ 头像 ============ */
.avatar {
    width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700;
    box-shadow: 0 12px 28px -8px rgba(37, 99, 235, .45); flex-shrink: 0;
}

/* ============ 节点卡片 ============ */
.node-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-xs); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.node-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .25); }
.region { font-size: 16px; font-weight: 700; color: var(--ink); }
.latency { font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1; }
.latency small { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ============ 登录/注册（分栏） ============ */
.auth-split { min-height: 100vh; display: flex; background: #fff; }
.auth-split .auth-left {
    flex: 1.15; display: none; align-items: center; justify-content: center;
    padding: 64px; color: #fff; position: relative; overflow: hidden;
    background: var(--grad-hero);
}
.auth-split .auth-left::after {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle, rgba(255, 255, 255, .1) 1px, transparent 1px),
        radial-gradient(circle at 80% 15%, rgba(59, 130, 246, .25), transparent 45%);
    background-size: 26px 26px, 100% 100%;
}
.auth-split .auth-left .inner { position: relative; z-index: 2; max-width: 460px; }
.auth-split .auth-left h2 { letter-spacing: -1px; }
.auth-split .auth-left .points { margin-top: 30px; }
.auth-split .auth-left .points .p { display: flex; align-items: center; gap: 13px; padding: 12px 0; }
.auth-split .auth-left .points .p i { color: #93c5fd; font-size: 18px; width: 26px; text-align: center; }
.auth-split .auth-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--bg); }

.auth-box {
    background: #fff;
    border: 1px solid var(--line); border-radius: 24px; padding: 40px;
    width: 100%; max-width: 430px; box-shadow: var(--shadow-lg);
}
.auth-bg {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px;
    background:
        radial-gradient(circle, rgba(37, 99, 235, .08) 1px, transparent 1px),
        radial-gradient(circle at 15% 20%, rgba(191, 219, 254, .6), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(219, 234, 254, .55), transparent 42%),
        #f7f8fc;
    background-size: 22px 22px, 100% 100%, 100% 100%, 100% 100%;
}

/* 输入框图标组 */
.input-icon { position: relative; }
.input-icon > .fa-solid, .input-icon > .fa-brands {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--muted-2); font-size: 15px; pointer-events: none; z-index: 2;
}
.input-icon .form-control { padding-left: 44px; }
.input-icon.has-suffix .form-control { padding-right: 46px; }
.password-toggle {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--muted-2); cursor: pointer; padding: 4px 6px; z-index: 2;
}
.password-toggle:hover { color: var(--brand); }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted-2); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============ 抽奖 ============ */
.draw-btn {
    width: 184px; height: 184px; border-radius: 50%; border: none; font-size: 22px; font-weight: 800;
    color: #fff; background: var(--grad); box-shadow: 0 18px 44px -10px rgba(37, 99, 235, .55);
    transition: transform .16s ease, box-shadow .16s ease; position: relative;
}
.draw-btn::after {
    content: ""; position: absolute; inset: -10px; border-radius: 50%;
    border: 2px dashed rgba(37, 99, 235, .35);
    animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.draw-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 56px -12px rgba(37, 99, 235, .65); }
.draw-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.prize-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-xs); text-align: center; padding: 20px 12px; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.prize-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prize-card .ico { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; margin: 0 auto 10px; }
.times-pill { font-size: 16px; }

/* ============ 用户中心侧边栏 ============ */
.user-layout { display: flex; gap: 26px; align-items: flex-start; }
.user-sidebar { width: 258px; flex-shrink: 0; }
.user-sidebar .side-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-xs);
}
.user-sidebar .side-user { display: flex; align-items: center; gap: 13px; }
.user-sidebar .side-user .avatar { width: 46px; height: 46px; font-size: 18px; }
.user-sidebar .side-user .uname { font-weight: 700; color: var(--ink); font-size: 15px; }
.user-sidebar .side-user .umeta { font-size: 12px; color: var(--muted); }
.user-sidebar .side-menu { list-style: none; padding: 0; margin: 0; }
.user-sidebar .side-menu a {
    display: flex; align-items: center; gap: 11px; padding: 11px 13px;
    border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500;
    transition: background .16s ease, color .16s ease; margin-bottom: 3px;
}
.user-sidebar .side-menu a:hover { background: var(--bg-soft); color: var(--ink); }
.user-sidebar .side-menu a.active { background: rgba(37, 99, 235, .08); color: var(--brand); font-weight: 600; }
.user-sidebar .side-menu a i { width: 18px; text-align: center; }
.user-content { flex: 1; min-width: 0; }

/* ============ 步骤 ============ */
.step { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step-num {
    width: 42px; height: 42px; border-radius: 13px; background: var(--grad); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex-shrink: 0;
    box-shadow: 0 8px 20px -6px rgba(37, 99, 235, .5);
}

/* ============ 日志 / 结果 ============ */
.log-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-xs); }
.log-line { color: var(--muted); font-size: 14px; line-height: 1.9; white-space: pre-wrap; }
.result-icon {
    width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 44px; margin: 0 auto; box-shadow: var(--shadow-md);
}

/* ============ 下载页 ============ */
.dl-hero { padding: 76px 0 76px; }
.app-icon {
    width: 108px; height: 108px; border-radius: 28px; background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 22px 50px -16px rgba(0, 0, 0, .5); margin: 0 auto; overflow: hidden;
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl-stat-strip { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.dl-platform {
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 38px 28px;
    height: 100%; text-align: center; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; position: relative; overflow: hidden;
}
.dl-platform:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(37, 99, 235, .3); }
.dl-platform.featured { border: 2px solid var(--brand); box-shadow: 0 0 0 5px rgba(37, 99, 235, .08), var(--shadow-lg); }
.dl-platform .badge-flag { position: absolute; top: 18px; right: 18px; }
.dl-platform .pname { font-size: 20px; font-weight: 800; }
.dl-platform .pver { color: var(--muted); font-size: 13px; margin: 5px 0 18px; }
.dl-platform ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; color: var(--muted); font-size: 14px; }
.dl-platform ul li { padding: 6px 0; }
.dl-platform ul li i { color: var(--brand); margin-right: 9px; }

/* ============ 动效 ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in { animation: revealUp .7s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes revealUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============ 响应式 ============ */
@media (max-width: 992px) {
    .hero, .hero-2 { padding: 64px 0 100px; }
    .hero-title, .hero-title-2 { font-size: 40px; }
    .device-window { transform: none; }
    .hero-meta { gap: 8px 16px; }
    .user-layout { flex-direction: column; }
    .user-sidebar { width: 100%; }
    .hero-split { flex-direction: column; gap: 48px; }
    .hero-copy { text-align: center; max-width: 100%; }
    .hero-copy .hero-title-2 { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-copy .hero-sub-2 { text-align: center; margin-left: auto; margin-right: auto; }
    .hero-copy .hero-actions, .hero-copy .hero-meta { justify-content: center; }
    .hero-split .hero-device { max-width: 620px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .hero-title, .hero-title-2 { font-size: 33px; }
    .hero-sub, .hero-sub-2 { font-size: 16px; }
    .section { padding: 64px 0; }
    .section-title { font-size: 27px; }
    .stat-cell { border-left: none !important; border-bottom: 1px solid var(--line-soft); }
    .stat-cell:last-child { border-bottom: none; }
    .enterprise { padding: 36px 22px; }
    .cta-band { padding: 38px 22px; }
    .auth-split .auth-left { display: none; }
    .auth-box { padding: 30px 22px; }
    .page-head { padding: 36px 0; }
}
