/* ============================================================
 * Glocycle · 深色商业设计系统
 * 对标 AI 产品官网：近黑底色 / 翡翠绿 + 暖金 / 玻璃拟态 / 光晕
 * ============================================================ */

/* ==================== 设计 Token ==================== */
:root {
    --bg: #060a09;
    --bg-soft: #0a100e;
    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --card: #0d1412;
    --card-hi: #111a17;
    --line: rgba(255, 255, 255, .09);
    --line-strong: rgba(255, 255, 255, .16);

    --text: #e7f0eb;
    --text-strong: #f4faf6;
    --muted: #8ea39a;
    --faint: #64786f;

    --primary: #12a883;
    --primary-600: #0e8c6d;
    --primary-700: #0b6f57;
    --primary-300: #5fd6b4;
    --primary-50: rgba(18, 168, 131, .12);
    --primary-100: rgba(18, 168, 131, .22);
    --primary-glow: rgba(18, 168, 131, .45);

    --gold: #d4b06a;
    --gold-300: #e8cf9b;
    --gold-50: rgba(212, 176, 106, .14);

    --danger: #f07178;
    --danger-bg: rgba(240, 113, 120, .12);
    --warn: #e0a94f;
    --warn-bg: rgba(224, 169, 79, .13);
    --info: #5fb9d0;
    --info-bg: rgba(95, 185, 208, .12);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 30px;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
    --shadow: 0 24px 60px -28px rgba(0, 0, 0, .75);
    --shadow-lg: 0 40px 100px -40px rgba(0, 0, 0, .85);
    --glow-primary: 0 0 0 1px rgba(18, 168, 131, .35), 0 18px 50px -18px rgba(18, 168, 131, .55);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: rgba(18, 168, 131, .35); color: #fff; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes toastIn {
    from { opacity: 0; transform: translateY(16px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes auroraMove {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(40px, -30px, 0) scale(1.12); }
}
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(18, 168, 131, .55); }
    70% { box-shadow: 0 0 0 7px rgba(18, 168, 131, 0); }
    100% { box-shadow: 0 0 0 0 rgba(18, 168, 131, 0); }
}
@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

/* 滚动渐入 */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(8, 13, 11, .55);
    backdrop-filter: saturate(160%) blur(20px);
    -webkit-backdrop-filter: saturate(160%) blur(20px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.navbar.scrolled {
    background: rgba(8, 13, 11, .85);
    border-bottom-color: var(--line);
    box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .8);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.brand { display: flex; align-items: center; gap: 11px; cursor: pointer; flex-shrink: 0; }

.brand-mark {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: grid; place-items: center;
    background: linear-gradient(180deg, #f7fbf9, #e9f2ee);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 8px 22px -10px rgba(0,0,0,.55);
    color: #fff;
    overflow: hidden;
}
.brand-logo {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 3px;
    display: block;
}

.brand-text {
    display: flex; flex-direction: column;
    line-height: 1.1;
    font-weight: 800; font-size: 18px;
    letter-spacing: -.01em;
    color: var(--text-strong);
}
.brand-text small {
    font-size: 9.5px; font-weight: 500;
    letter-spacing: .16em;
    color: var(--gold);
    text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }

.nav-links > a.nav-item {
    position: relative;
    padding: 8px 13px;
    border-radius: 9px;
    font-size: 14px; font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: color .25s var(--ease), background .25s var(--ease);
    white-space: nowrap;
}
.nav-links > a.nav-item:hover { color: var(--text-strong); background: var(--surface-2); }
.nav-links > a.nav-item.active { color: var(--primary-300); font-weight: 600; }
.nav-links > a.nav-item.active::after {
    content: '';
    position: absolute; left: 13px; right: 13px; bottom: 1px;
    height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}

.nav-divider { width: 1px; height: 24px; background: var(--line); margin: 0 8px; }
.nav-auth { display: flex; align-items: center; gap: 9px; }

.user-chip {
    display: flex; align-items: center; gap: 8px;
    padding: 5px 8px 5px 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}
.user-avatar {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 13px; font-weight: 700; color: #fff;
    background: linear-gradient(135deg, var(--primary-600), var(--primary));
}
.user-name {
    font-size: 13px; font-weight: 600; color: var(--text-strong);
    max-width: 108px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.icon-btn {
    width: 29px; height: 29px; border-radius: 50%;
    border: none; background: transparent; color: var(--muted);
    cursor: pointer; display: grid; place-items: center;
    transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--danger-bg); color: var(--danger); }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 40px; height: 40px;
    border: 1px solid var(--line); border-radius: 10px;
    background: var(--surface);
    cursor: pointer; place-items: center; color: var(--text-strong);
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px;
    border: 1px solid transparent; border-radius: 11px;
    font-family: inherit; font-size: 14.5px; font-weight: 600; line-height: 1;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 13px; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }
.full-btn { width: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary-600), var(--primary));
    color: #fff;
    box-shadow: 0 12px 28px -12px var(--primary-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -12px var(--primary-glow);
}

.btn-gold {
    background: linear-gradient(135deg, #e0bd77, #c39a4f);
    color: #241b0c;
    box-shadow: 0 12px 28px -12px rgba(212, 176, 106, .7);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(212, 176, 106, .8); }

.btn-glass {
    background: var(--surface-2);
    color: var(--text-strong);
    border-color: var(--line-strong);
}
.btn-glass:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--text-strong);
    border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-300); background: var(--primary-50); }

.btn-success { background: var(--primary); color: #fff; }
.btn-success:hover { background: var(--primary-600); }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(240, 113, 120, .4); }
.btn-danger:hover { background: var(--danger-bg); }

/* ==================== 通用卡片 / 表单 ==================== */
.card {
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.page { display: none; padding-top: 70px; min-height: 100vh; }
.page.active { display: block; animation: fadeUp .45s var(--ease); }

.page-head { margin: 40px 0 26px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11.5px; font-weight: 700;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--primary-300);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    padding: 6px 13px; border-radius: 999px;
    margin-bottom: 15px;
}
.eyebrow::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%;
    background: var(--gold);
}

.page-title {
    font-size: 31px; font-weight: 900;
    letter-spacing: -.02em; color: var(--text-strong); line-height: 1.25;
}
.page-desc { color: var(--muted); margin-top: 8px; font-size: 15px; max-width: 660px; }

.section-head { text-align: center; margin: 0 auto 44px; max-width: 720px; }
.section-head h2 {
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 900; letter-spacing: -.02em;
    color: var(--text-strong); line-height: 1.25;
}
.section-head p { color: var(--muted); font-size: 15.5px; margin-top: 10px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: #a9bdb2; }

.input-wrap { position: relative; }
.input-wrap > svg {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #5c7168; pointer-events: none;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-family: inherit; font-size: 14.5px;
    color: var(--text-strong);
    background: rgba(0, 0, 0, .25);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.input-wrap input { padding-left: 42px; }
.form-group textarea { resize: vertical; min-height: 108px; }
.form-group select { cursor: pointer; appearance: auto; }
.form-group select option { background: #101915; color: var(--text-strong); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, .35);
    box-shadow: 0 0 0 4px rgba(18, 168, 131, .14);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #55695f; }
.form-hint { font-size: 12px; color: var(--faint); margin-top: 6px; }

.message {
    display: none;
    padding: 13px 17px; margin-bottom: 18px;
    border-radius: 12px; font-size: 14px; font-weight: 500;
    border: 1px solid transparent;
}
.message.success { background: var(--primary-50); color: var(--primary-300); border-color: var(--primary-100); }
.message.error { background: var(--danger-bg); color: var(--danger); border-color: rgba(240, 113, 120, .3); }

/* ==================== 首页 Hero ==================== */
.landing { padding-top: 0; }

.hero-section {
    position: relative;
    padding: 150px 24px 90px;
    text-align: center;
    overflow: hidden;
}
.hero-inner { position: relative; z-index: 3; max-width: 880px; margin: 0 auto; }

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}
.aurora-1 {
    width: 620px; height: 620px;
    top: -220px; left: 50%; margin-left: -310px;
    background: radial-gradient(circle, rgba(18, 168, 131, .4), transparent 65%);
    animation: auroraMove 14s ease-in-out infinite;
}
.aurora-2 {
    width: 480px; height: 480px;
    top: -80px; right: -160px;
    background: radial-gradient(circle, rgba(212, 176, 106, .22), transparent 65%);
    animation: auroraMove 18s ease-in-out infinite reverse;
}
.grid-mask {
    position: absolute; inset: 0; z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 0%, #000 20%, transparent 75%);
}

.hero-pill {
    position: relative; z-index: 3;
    display: inline-flex; align-items: center; gap: 9px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    backdrop-filter: blur(10px);
    font-size: 13px; font-weight: 500; color: #bccdc4;
    margin-bottom: 26px;
}
.pulse-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--primary-300);
    animation: pulseRing 2s infinite;
}

.hero-title {
    position: relative; z-index: 3;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.03em;
    color: var(--text-strong);
    margin-bottom: 22px;
}
.text-gradient {
    background: linear-gradient(100deg, var(--primary-300) 10%, #8ce7cb 45%, var(--gold-300) 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    position: relative; z-index: 3;
    font-size: clamp(15px, 1.6vw, 17.5px);
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 34px;
}
.hero-actions {
    position: relative; z-index: 3;
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.hero-note {
    position: relative; z-index: 3;
    margin-top: 18px; font-size: 12.5px; color: var(--faint);
}

/* 产品界面 Mockup */
.mockup {
    position: relative; z-index: 3;
    max-width: 980px;
    margin: 64px auto 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(18, 168, 131, .08), 0 30px 120px -40px rgba(18, 168, 131, .3);
    text-align: left;
}
.mockup::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(95, 214, 180, .6), rgba(212, 176, 106, .5), transparent);
}
.mockup-bar {
    display: flex; align-items: center; gap: 8px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, .25);
}
.mac-dot { width: 11px; height: 11px; border-radius: 50%; }
.mac-dot.red { background: #ff5f57; }
.mac-dot.yellow { background: #febc2e; }
.mac-dot.green { background: #28c840; }
.mockup-url {
    margin-left: 14px;
    padding: 5px 16px;
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--line);
    font-size: 12px; color: var(--faint);
    font-family: 'SF Mono', Consolas, monospace;
}
.mockup-body { display: grid; grid-template-columns: 168px 1fr; min-height: 330px; }

.mock-side {
    border-right: 1px solid var(--line);
    background: rgba(0, 0, 0, .2);
    padding: 18px 14px;
}
.ms-logo {
    display: flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 700; color: var(--text-strong);
    padding: 0 8px 16px;
}
.ms-nav {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 12.5px; color: var(--muted);
    margin-bottom: 3px;
}
.ms-nav.active {
    background: var(--primary-50);
    color: var(--primary-300);
    border: 1px solid var(--primary-100);
    font-weight: 600;
}

.mock-main { padding: 24px 26px; position: relative; }
.mm-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.mm-id { font-size: 11.5px; color: var(--faint); letter-spacing: .08em; }
.mm-name { font-size: 19px; font-weight: 800; color: var(--text-strong); margin-top: 3px; }
.mock-tag {
    flex-shrink: 0;
    font-size: 11.5px; font-weight: 600;
    padding: 5px 12px; border-radius: 999px;
    color: var(--primary-300);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
}

.mm-steps { display: flex; align-items: center; gap: 4px; margin-bottom: 26px; }
.mm-step { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--faint); white-space: nowrap; }
.mm-step span {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 11px; font-weight: 700;
    background: rgba(255,255,255,.07);
    border: 1px solid var(--line);
}
.mm-step.done { color: var(--muted); }
.mm-step.done span { background: var(--primary-700); border-color: var(--primary-600); color: #fff; }
.mm-step.current { color: var(--primary-300); font-weight: 600; }
.mm-step.current span { background: var(--primary); border-color: var(--primary-300); color: #fff; box-shadow: 0 0 0 4px rgba(18,168,131,.18); }
.mm-line { flex: 1; height: 2px; border-radius: 2px; background: var(--line); min-width: 18px; }
.mm-line.done { background: linear-gradient(90deg, var(--primary-700), var(--primary)); }

.mm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mm-card {
    padding: 15px 17px;
    border-radius: 13px;
    background: rgba(0,0,0,.28);
    border: 1px solid var(--line);
}
.mm-card small { display: block; font-size: 11px; color: var(--faint); margin-bottom: 6px; }
.mm-card strong { font-size: 19px; font-weight: 800; color: var(--text-strong); letter-spacing: -.01em; }
.mm-card strong.accent { color: var(--primary-300); }

.mm-float-toast {
    position: absolute;
    right: 22px; bottom: -18px;
    display: flex; align-items: center; gap: 9px;
    padding: 11px 17px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10221c, #0d1b16);
    border: 1px solid var(--primary-100);
    box-shadow: var(--shadow);
    font-size: 13px; font-weight: 600; color: var(--text-strong);
    animation: floaty 4.5s ease-in-out infinite;
}
.mt-icon {
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--primary); color: #fff;
}

/* 品类墙 */
.logo-wall { padding: 30px 24px 10px; text-align: center; }
.wall-label { font-size: 12.5px; color: var(--faint); letter-spacing: .14em; margin-bottom: 22px; }
.wall-items {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 14px 26px;
}
.wall-items span {
    font-size: 14.5px; font-weight: 600;
    color: #6e8379;
    letter-spacing: .02em;
    transition: color .3s;
}
.wall-items span:hover { color: var(--text-strong); }
.wall-items i {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--line-strong);
}
.wall-items i:last-child { display: none; }

/* 真实指标条 */
.metrics-section {
    max-width: 1080px;
    margin: 56px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.metric-item {
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
    padding: 34px 24px;
    text-align: center;
    transition: background .3s;
}
.metric-item:hover { background: var(--primary-50); }
.metric-num {
    font-size: clamp(30px, 3.6vw, 42px);
    font-weight: 900;
    letter-spacing: -.02em;
    color: var(--text-strong);
    line-height: 1;
    background: linear-gradient(180deg, #fff, #9fcabd);
    -webkit-background-clip: text;
    background-clip: text;
}
.metric-label { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ==================== Bento ==================== */
.bento-section { padding: 70px 0 30px; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.bento-card {
    position: relative;
    padding: 28px 26px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
    border: 1px solid var(--line);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.bento-card::after {
    content: '';
    position: absolute;
    width: 240px; height: 240px;
    top: -140px; right: -100px;
    background: radial-gradient(circle, rgba(18,168,131,.16), transparent 70%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
}
.bento-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}
.bento-card:hover::after { opacity: 1; }
.bento-lg { grid-column: span 2; }

.bento-icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center;
    color: var(--primary-300);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    margin-bottom: 16px;
}
.bento-card h3 { font-size: 17px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.bento-card p { font-size: 13.8px; color: var(--muted); line-height: 1.7; }

.bento-visual { margin-top: 20px; }
.bv-ticket {
    border-radius: 13px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.25);
    overflow: hidden;
}
.ticket-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 11px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row span { color: var(--faint); }
.ticket-row b { color: var(--text-strong); font-weight: 600; }
.ticket-row b.green { color: var(--primary-300); }
.ticket-row b.gold { color: var(--gold-300); }

.bv-chart {
    border-radius: 13px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,.25);
    padding: 18px 18px 14px;
}
.chart-bars {
    height: 110px;
    display: flex; align-items: flex-end; gap: 10px;
}
.chart-bars i {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, var(--primary-300), var(--primary-700));
    transform-origin: bottom;
    animation: barGrow .9s var(--ease) backwards;
}
.chart-bars i:nth-child(2) { animation-delay: .08s; }
.chart-bars i:nth-child(3) { animation-delay: .16s; }
.chart-bars i:nth-child(4) { animation-delay: .24s; }
.chart-bars i:nth-child(5) { animation-delay: .32s; }
.chart-bars i:nth-child(6) { animation-delay: .40s; }
.chart-bars i:nth-child(7) { animation-delay: .48s; }
.chart-foot {
    display: flex; justify-content: space-between;
    margin-top: 12px; font-size: 12px; color: var(--faint);
}
.chart-foot .green { color: var(--primary-300); font-weight: 600; }

/* ==================== 测算指标 ==================== */
.impact-section { padding: 80px 0 20px; text-align: center; }
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}
.impact-card {
    padding: 34px 20px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(212,176,106,.07), rgba(255,255,255,.015));
    border: 1px solid rgba(212, 176, 106, .2);
}
.impact-num {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 900; letter-spacing: -.02em;
    background: linear-gradient(120deg, var(--gold-300), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}
.impact-num span { font-size: .55em; }
.impact-card p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.impact-note { margin-top: 22px; font-size: 12px; color: var(--faint); }

/* ==================== 工作流 ==================== */
.flow-section { padding: 90px 0 30px; }
.flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.flow-card {
    position: relative;
    padding: 28px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.flow-card:hover { transform: translateY(-5px); border-color: var(--primary-100); background: var(--primary-50); }
.flow-index {
    font-size: 13px; font-weight: 800;
    letter-spacing: .14em;
    color: var(--primary-300);
    margin-bottom: 14px;
}
.flow-card h4 { font-size: 16.5px; font-weight: 700; color: var(--text-strong); margin-bottom: 8px; }
.flow-card p { font-size: 13.5px; color: var(--muted); }
.flow-actions { display: flex; gap: 13px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ==================== 双受众 ==================== */
.audience-section {
    padding: 90px 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.audience-card {
    padding: 38px 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
    border: 1px solid var(--line);
}
.audience-tag {
    display: inline-block;
    font-size: 11px; font-weight: 800; letter-spacing: .18em;
    color: var(--primary-300);
    padding: 5px 12px; border-radius: 999px;
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    margin-bottom: 18px;
}
.audience-tag.gold-tag { color: var(--gold-300); background: var(--gold-50); border-color: rgba(212,176,106,.3); }
.audience-card h3 { font-size: 23px; font-weight: 800; color: var(--text-strong); margin-bottom: 18px; }
.audience-list { margin-bottom: 26px; }
.audience-list li {
    position: relative;
    padding: 9px 0 9px 30px;
    font-size: 14.5px; color: #b3c5bb;
    border-bottom: 1px dashed var(--line);
}
.audience-list li:last-child { border-bottom: none; }
.audience-list li::before {
    content: '';
    position: absolute; left: 2px; top: 16px;
    width: 15px; height: 8px;
    border-left: 2px solid var(--primary-300);
    border-bottom: 2px solid var(--primary-300);
    transform: rotate(-45deg);
}
.gold-tag ~ h3 + .audience-list li::before { border-color: var(--gold); }

/* ==================== 定价 ==================== */
.pricing-section { padding: 90px 0 20px; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}
.price-card {
    position: relative;
    padding: 34px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
    background:
        radial-gradient(400px 220px at 50% -10%, rgba(212,176,106,.16), transparent 70%),
        linear-gradient(180deg, rgba(212,176,106,.08), rgba(255,255,255,.02));
    border-color: rgba(212, 176, 106, .45);
    box-shadow: 0 30px 70px -34px rgba(212, 176, 106, .4);
}
.featured-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    font-size: 11.5px; font-weight: 700;
    padding: 5px 15px; border-radius: 999px;
    color: #241b0c;
    background: linear-gradient(135deg, var(--gold-300), var(--gold));
    box-shadow: 0 8px 20px -8px rgba(212, 176, 106, .8);
    white-space: nowrap;
}
.price-card h4 { font-size: 18px; font-weight: 700; color: var(--text-strong); }
.price-num { font-size: 38px; font-weight: 900; color: var(--text-strong); letter-spacing: -.02em; margin: 12px 0 4px; }
.price-num small { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.price-desc { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.price-card ul { margin-bottom: 26px; }
.price-card li {
    position: relative;
    padding: 8px 0 8px 27px;
    font-size: 13.8px; color: #b3c5bb;
    border-bottom: 1px dashed var(--line);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
    content: '';
    position: absolute; left: 2px; top: 15px;
    width: 13px; height: 7px;
    border-left: 2px solid var(--primary-300);
    border-bottom: 2px solid var(--primary-300);
    transform: rotate(-45deg);
}

/* ==================== 定价：商家入驻模式 ==================== */
.free-strip {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1152px;
    margin: 10px auto 0;
    padding: 28px 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(520px 220px at 0% 0%, rgba(18,168,131,.15), transparent 65%),
        linear-gradient(180deg, rgba(18,168,131,.07), rgba(255,255,255,.02));
    border: 1px solid rgba(18,168,131,.32);
}
.free-strip-main { flex: 1.25; min-width: 0; }
.free-strip-badge {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: .12em;
    color: var(--primary-300);
    background: var(--primary-50);
    border: 1px solid rgba(18,168,131,.3);
    padding: 4px 11px; border-radius: 999px;
    margin-bottom: 12px;
}
.free-strip-main h3 { font-size: 19px; font-weight: 800; color: var(--text-strong); margin-bottom: 7px; }
.free-strip-main p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.free-strip-perks {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
}
.free-strip-perks li {
    position: relative;
    padding-left: 21px;
    font-size: 13px; color: #b3c5bb;
    white-space: nowrap;
}
.free-strip-perks li::before {
    content: '';
    position: absolute; left: 2px; top: 6px;
    width: 11px; height: 6px;
    border-left: 2px solid var(--primary-300);
    border-bottom: 2px solid var(--primary-300);
    transform: rotate(-45deg);
}
.free-strip .btn { flex-shrink: 0; }

.plan-group-label {
    text-align: center;
    font-size: 13px; font-weight: 600;
    color: var(--faint);
    letter-spacing: .04em;
    margin: 42px 0 20px;
}

.fee-row {
    display: flex;
    gap: 12px;
    margin: 14px 0 4px;
}
.fee-item {
    flex: 1;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(0,0,0,.25);
    border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 3px;
}
.fee-label { font-size: 11.5px; color: var(--faint); }
.fee-value { font-size: 24px; font-weight: 900; color: var(--text-strong); letter-spacing: -.01em; }
.fee-value small { font-size: 12px; font-weight: 500; color: var(--muted); }
.fee-value.accent {
    background: linear-gradient(135deg, var(--primary-300), var(--primary));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1152px;
    margin: 26px auto 0;
}
.addon-card {
    padding: 21px 19px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.025);
    border: 1px solid var(--line);
    transition: border-color .3s, transform .3s var(--ease);
}
.addon-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.addon-card h5 { font-size: 14px; font-weight: 700; color: var(--text-strong); margin-bottom: 7px; }
.addon-card p { font-size: 12.5px; color: var(--muted); line-height: 1.65; }

.price-rules {
    max-width: 840px;
    margin: 26px auto 0;
    display: grid;
    gap: 8px;
}
.price-rules li {
    position: relative;
    padding-left: 22px;
    font-size: 12.8px;
    color: var(--faint);
    line-height: 1.7;
}
.price-rules li::before {
    content: '';
    position: absolute; left: 4px; top: 9px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gold);
}
.price-rules strong { color: var(--muted); font-weight: 700; }

/* ==================== 最终 CTA ==================== */
.final-cta {
    position: relative;
    margin: 100px auto 30px;
    max-width: 1152px;
    border-radius: var(--radius-xl);
    padding: 74px 40px;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(600px 320px at 50% -20%, rgba(18,168,131,.28), transparent 65%),
        linear-gradient(135deg, #0a1f18, #0d2a21 55%, #16231a);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-lg);
}
.cta-glow {
    position: absolute;
    width: 420px; height: 420px;
    left: 50%; top: 50%;
    margin: -210px 0 0 -210px;
    background: radial-gradient(circle, rgba(212,176,106,.16), transparent 65%);
    pointer-events: none;
}
.final-cta h2 {
    position: relative;
    font-size: clamp(27px, 3.6vw, 40px);
    font-weight: 900; letter-spacing: -.02em;
    color: var(--text-strong);
    margin-bottom: 12px;
}
.final-cta p { position: relative; color: var(--muted); font-size: 15.5px; margin-bottom: 30px; }
.final-cta .hero-actions { position: relative; }

/* ==================== 商业页脚 ==================== */
.site-footer {
    border-top: 1px solid var(--line);
    margin-top: 90px;
    padding: 60px 0 34px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line);
}
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 16px; max-width: 300px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: var(--text-strong); margin-bottom: 16px; }
.footer-col a {
    display: block;
    font-size: 13.5px; color: var(--muted);
    padding: 6px 0;
    cursor: pointer;
    transition: color .2s;
}
.footer-col a:hover { color: var(--primary-300); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 8px;
    padding-top: 26px;
    font-size: 12.5px; color: var(--faint);
}

/* ==================== 退货页布局 ==================== */
.split-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 20px;
    align-items: start;
}
.card-sticky { position: sticky; top: 92px; }

.card-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px; font-weight: 700; color: var(--text-strong);
    margin-bottom: 20px;
}
.card-title .title-icon {
    width: 33px; height: 33px; border-radius: 10px;
    display: grid; place-items: center;
    background: var(--primary-50); color: var(--primary-300);
    border: 1px solid var(--primary-100);
}

/* ==================== 表格 ==================== */
.table-wrap { overflow-x: auto; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table th {
    text-align: left; padding: 12px 14px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--faint);
    background: rgba(0, 0, 0, .3);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
table td { padding: 14px; border-bottom: 1px solid var(--line); color: #b3c5bb; vertical-align: middle; }
table tbody tr { transition: background .2s; }
table tbody tr:hover { background: rgba(255,255,255,.025); }
table tbody tr:last-child td { border-bottom: none; }
.cell-strong { font-weight: 600; color: var(--text-strong); }
.cell-price { font-weight: 700; color: var(--primary-300); white-space: nowrap; }

.empty-state { text-align: center; padding: 46px 20px; color: var(--muted); }
.empty-state svg { margin-bottom: 12px; opacity: .5; }
.empty-state p { font-size: 14.5px; }
.empty-state small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--faint); }

.status {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 11px; border-radius: 999px;
    font-size: 12px; font-weight: 600; white-space: nowrap;
}
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.pending { background: var(--warn-bg); color: var(--warn); }
.status.approved { background: var(--primary-50); color: var(--primary-300); }
.status.rejected { background: var(--danger-bg); color: var(--danger); }
.status.for-sale { background: var(--info-bg); color: var(--info); }
.status.sold { background: rgba(255,255,255,.07); color: var(--muted); }

/* ==================== 二手商品 ==================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 20px;
}
.product-card {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    display: flex; flex-direction: column;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0; transition: opacity .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.product-card:hover::before { opacity: 1; }

.product-thumb {
    width: 100%; height: 126px;
    border-radius: 13px;
    margin-bottom: 17px;
    display: grid; place-items: center;
    background:
        radial-gradient(200px 120px at 80% 0%, rgba(212, 176, 106, .14), transparent 60%),
        linear-gradient(135deg, rgba(18,168,131,.12), rgba(255,255,255,.03));
    border: 1px solid var(--line);
    color: var(--primary-300);
}
.product-card h3 { font-size: 17px; font-weight: 700; color: var(--text-strong); margin-bottom: 7px; }
.condition-tag {
    display: inline-block; align-self: flex-start;
    font-size: 11.5px; font-weight: 600;
    color: var(--primary-300);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    padding: 3px 10px; border-radius: 999px;
    margin-bottom: 14px;
}
.price-row { display: flex; align-items: baseline; gap: 9px; margin: auto 0 14px; flex-wrap: wrap; }
.price { font-size: 26px; font-weight: 900; color: var(--text-strong); letter-spacing: -.02em; }
.price small { font-size: 14px; font-weight: 600; }
.original-price { font-size: 13px; color: var(--faint); text-decoration: line-through; }
.save-tag { font-size: 11.5px; font-weight: 700; color: var(--gold-300); background: var(--gold-50); padding: 3px 9px; border-radius: 7px; }
.product-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding-top: 15px; border-top: 1px dashed var(--line); margin-bottom: 13px;
}
.btn-block { width: 100%; }
.sold-mask {
    text-align: center; padding: 11px; border-radius: 11px;
    background: rgba(255,255,255,.06); color: var(--muted);
    font-size: 13.5px; font-weight: 600;
}

/* ==================== 聊天 ==================== */
.chat-card { height: 620px; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-header {
    display: flex; align-items: center; gap: 13px;
    padding: 17px 22px;
    border-bottom: 1px solid var(--line);
    background: rgba(0,0,0,.22);
}
.chat-avatar {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--primary-700), var(--primary));
    color: #fff;
}
.chat-header h4 { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.chat-online { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.chat-online::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: #2fd49a;
    box-shadow: 0 0 0 3px rgba(47, 212, 154, .16);
}
.chat-messages {
    flex: 1; overflow-y: auto; padding: 24px;
    background:
        radial-gradient(400px 240px at 100% 0%, rgba(18, 168, 131, .06), transparent 60%),
        rgba(0,0,0,.15);
    display: flex; flex-direction: column; gap: 16px;
}
.chat-messages::-webkit-scrollbar { width: 8px; }
.chat-messages::-webkit-scrollbar-track { background: transparent; }
.chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,.14); border-radius: 8px; }
.chat-messages::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.22); }

.bubble { max-width: 68%; }
.bubble .b-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; font-size: 12px; color: var(--faint); }
.bubble .b-meta strong { color: #8fb3a5; font-weight: 600; }
.bubble .b-meta span { font-size: 11px; }
.bubble .b-body {
    padding: 11px 15px;
    border-radius: 4px 16px 16px 16px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--line);
    font-size: 14.5px; color: var(--text);
    word-break: break-word;
}
.bubble.mine { align-self: flex-end; }
.bubble.mine .b-meta { justify-content: flex-end; }
.bubble.mine .b-meta strong { color: var(--primary-300); }
.bubble.mine .b-body {
    background: linear-gradient(135deg, var(--primary-600), var(--primary));
    color: #fff; border-color: transparent;
    border-radius: 16px 4px 16px 16px;
}
.bubble.system { align-self: center; max-width: 90%; }
.bubble.system .b-body {
    background: rgba(255,255,255,.05);
    border: 1px dashed var(--line-strong);
    color: var(--muted); font-size: 13px;
    border-radius: 999px; padding: 7px 18px; text-align: center;
}
.chat-input-bar { display: flex; gap: 12px; padding: 15px 19px; border-top: 1px solid var(--line); background: rgba(0,0,0,.22); }
.chat-input-bar input {
    flex: 1;
    padding: 12px 17px;
    border: 1px solid var(--line); border-radius: 12px;
    font-family: inherit; font-size: 14.5px;
    color: var(--text-strong);
    background: rgba(0,0,0,.3);
    transition: border-color .2s, box-shadow .2s;
}
.chat-input-bar input:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(18, 168, 131, .14);
}
.chat-input-bar input::placeholder { color: #55695f; }

/* ==================== 管理员 ==================== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.stat-card {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), border-color .3s;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.stat-num { font-size: 30px; font-weight: 900; color: var(--text-strong); letter-spacing: -.02em; line-height: 1.1; }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-section { margin-bottom: 30px; }
.admin-section h3 {
    font-size: 16.5px; font-weight: 700; color: var(--text-strong);
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 9px;
}
.admin-section h3::before {
    content: ''; width: 4px; height: 17px; border-radius: 3px;
    background: linear-gradient(180deg, var(--primary), var(--gold));
}

/* ==================== 登录注册弹窗 ==================== */
.auth-overlay {
    position: fixed; inset: 0; z-index: 200;
    display: none; align-items: center; justify-content: center;
    padding: 24px;
    background: rgba(3, 7, 6, .68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.auth-overlay.show { display: flex; }
.auth-modal {
    position: relative;
    width: 100%; max-width: 420px;
    background:
        radial-gradient(360px 200px at 50% -20%, rgba(18,168,131,.16), transparent 70%),
        linear-gradient(180deg, #111a16, #0c1310);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    padding: 34px 32px 28px;
    box-shadow: var(--shadow-lg);
    animation: modalIn .35s var(--ease);
}
.auth-modal-close {
    position: absolute; top: 15px; right: 15px;
    width: 33px; height: 33px; border-radius: 10px;
    border: none; background: rgba(255,255,255,.06);
    color: var(--muted); cursor: pointer;
    display: grid; place-items: center;
    transition: background .2s, color .2s;
}
.auth-modal-close:hover { background: var(--danger-bg); color: var(--danger); }

.auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    padding: 4px;
    background: rgba(0,0,0,.3);
    border: 1px solid var(--line);
    border-radius: 13px;
    margin: 20px 0 23px;
}
.auth-tab {
    padding: 10px; border: none; background: transparent; border-radius: 9px;
    font-family: inherit; font-size: 14px; font-weight: 600;
    color: var(--muted); cursor: pointer;
    transition: background .25s, color .25s, box-shadow .25s;
}
.auth-tab.active {
    background: var(--primary-600);
    color: #fff;
    box-shadow: 0 6px 16px -8px var(--primary-glow);
}
.auth-form { display: none; }
.auth-form.active { display: block; animation: fadeUp .3s var(--ease); }
.auth-switch { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 17px; }
.auth-switch a { color: var(--primary-300); font-weight: 600; cursor: pointer; }
.auth-switch a:hover { text-decoration: underline; }

/* 注册身份选择 */
.role-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-option { cursor: pointer; }
.role-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.role-card {
    display: flex; flex-direction: column; gap: 4px;
    padding: 12px 13px;
    border-radius: 12px;
    background: rgba(0,0,0,.22);
    border: 1px solid var(--line);
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.role-title { font-size: 14px; font-weight: 700; color: var(--text); }
.role-desc { font-size: 11.5px; color: var(--faint); line-height: 1.4; }
.role-option input:checked + .role-card {
    border-color: var(--primary);
    background: var(--primary-50);
    box-shadow: 0 0 0 1px var(--primary) inset;
}
.role-option input:checked + .role-card .role-title { color: var(--primary-300); }
.role-option input:focus-visible + .role-card { box-shadow: 0 0 0 2px rgba(95,214,180,.4); }

/* 导航身份标识 */
.user-role-tag {
    font-size: 10.5px; font-weight: 700; line-height: 1;
    padding: 3px 7px; border-radius: 999px;
    color: var(--primary-300);
    background: var(--primary-50);
    border: 1px solid rgba(18,168,131,.3);
    white-space: nowrap;
}
.user-role-tag.sho {
    color: var(--gold-300);
    background: var(--gold-50);
    border-color: rgba(212,176,106,.35);
}

/* 导航绑定入口与徽章 */
.user-name.bind-entry { cursor: pointer; }
.user-name.bind-entry:hover { color: var(--primary-300); text-decoration: underline; text-underline-offset: 3px; }
.nav-bind-badge {
    width: 19px; height: 19px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary-50);
    border: 1px solid rgba(18,168,131,.4);
    color: var(--primary-300);
    cursor: pointer;
    position: relative;
    transition: transform .2s;
}
.nav-bind-badge::before {
    content: '';
    width: 9px; height: 9px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/><path d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/></svg>") center/contain no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/><path d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/></svg>") center/contain no-repeat;
}
.nav-bind-badge:hover { transform: translateY(-1px); }

/* ==================== 平台账号绑定弹窗 ==================== */
.bind-modal { max-width: 470px; }
.bind-header { text-align: center; margin-bottom: 20px; }
.bind-header h3 { font-size: 19px; font-weight: 800; color: var(--text-strong); margin-bottom: 7px; }
.bind-header p { font-size: 13px; color: var(--muted); line-height: 1.65; }

.bind-step-label { font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 11px; }

.platform-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.platform-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 13px 6px 11px;
    border-radius: 12px;
    background: rgba(0,0,0,.22);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
}
.platform-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.platform-card.selected {
    border-color: var(--primary);
    background: var(--primary-50);
    box-shadow: 0 0 0 1px var(--primary) inset;
}
.platform-badge {
    width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 800; color: #fff;
    letter-spacing: .02em;
    flex-shrink: 0;
    user-select: none;
}
.platform-name {
    font-size: 12px; font-weight: 700; color: var(--text);
    text-align: center; line-height: 1.3;
}
.platform-name small { display: block; font-size: 10px; font-weight: 500; color: var(--faint); margin-top: 2px; }

.bind-selected {
    width: 100%;
    display: flex; align-items: center; gap: 11px;
    padding: 10px 13px;
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(0,0,0,.22);
    border: 1px solid var(--line);
    cursor: pointer;
    color: var(--text);
    transition: border-color .25s;
}
.bind-selected:hover { border-color: var(--line-strong); }
.bind-selected-name { flex: 1; font-size: 13.5px; font-weight: 700; text-align: left; }
.bind-selected svg { color: var(--faint); flex-shrink: 0; }

/* 已绑定状态 */
.bind-current {
    padding: 16px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(400px 160px at 0% 0%, rgba(18,168,131,.13), transparent 65%),
        rgba(255,255,255,.025);
    border: 1px solid rgba(18,168,131,.3);
    margin-bottom: 18px;
}
.bind-current-main { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; }
.bind-current-info { flex: 1; min-width: 0; }
.bind-current-platform { font-size: 14px; font-weight: 700; color: var(--text-strong); }
.bind-current-account {
    font-size: 12.5px; color: var(--muted); margin-top: 3px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bind-status-dot {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 700; color: var(--primary-300);
    white-space: nowrap;
}
.bind-status-dot i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(18,168,131,.18);
}
.auth-modal .brand { justify-content: center; }
.auth-modal .brand-text { align-items: center; }

/* ==================== Toast ==================== */
.toast-wrap {
    position: fixed; bottom: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 300;
    display: flex; flex-direction: column; gap: 10px; align-items: center;
    pointer-events: none;
}
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 20px; border-radius: 13px;
    font-size: 14px; font-weight: 500;
    background: linear-gradient(135deg, #16221c, #0e1713);
    border: 1px solid var(--line-strong);
    color: var(--text-strong);
    box-shadow: var(--shadow);
    animation: toastIn .3s var(--ease);
}
.toast.success { border-color: var(--primary-100); }
.toast.error { border-color: rgba(240,113,120,.4); }

/* ==================== 响应式 ==================== */
@media (max-width: 1020px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-lg { grid-column: span 2; }
    .flow-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-section { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; }
    .card-sticky { position: static; }
    .mockup-body { grid-template-columns: 1fr; }
    .mock-side { display: none; }
    .audience-section { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .addon-grid { grid-template-columns: repeat(2, 1fr); }
    .free-strip { flex-direction: column; align-items: flex-start; gap: 18px; }
    .free-strip .btn { width: 100%; }
}

@media (max-width: 860px) {
    .nav-toggle { display: grid; }
    .nav-links {
        position: fixed;
        top: 70px; left: 0; right: 0;
        flex-direction: column; align-items: stretch;
        gap: 5px;
        padding: 15px 20px 20px;
        background: rgba(9, 14, 12, .97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
        display: none;
    }
    .nav-links.open { display: flex; animation: fadeUp .28s var(--ease); }
    .nav-links > a.nav-item { padding: 12px 14px; font-size: 15px; }
    .nav-links > a.nav-item.active::after { display: none; }
    .nav-divider { display: none; }
    .nav-auth { padding: 8px 4px 0; }
    .nav-auth .btn { flex: 1; }

    .hero-section { padding: 128px 20px 70px; }
    .final-cta { padding: 54px 26px; }
    .mm-steps { flex-wrap: wrap; }
    .mm-line { display: none; }
    .mm-cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 560px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-lg { grid-column: span 1; }
    .flow-grid { grid-template-columns: 1fr; }
    .metrics-section { grid-template-columns: 1fr 1fr; }
    .metric-item { padding: 26px 16px; }
    .page-title { font-size: 25px; }
    .card { padding: 21px; }
    .wall-items i { display: none; }
    .wall-items { gap: 10px 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .audience-card { padding: 28px 23px; }
    .mockup-url { display: none; }
    .addon-grid { grid-template-columns: 1fr; }
    .free-strip-perks { grid-template-columns: 1fr; }
    .free-strip-perks li { white-space: normal; }
    .fee-value { font-size: 21px; }
}
