/* ============================================================
   OBS魔改相机 — 全局样式系统 · 极夜科技风
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');
/* ── CSS 自定义属性（设计令牌）──────────────────────────────── */

:root {
    /* 背景色 */
    --bg-primary: #070e1c;
    --bg-secondary: #070e1c;
    --bg-tertiary: #0b1628;
    --bg-card: rgba(10, 24, 50, 0.72);
    --bg-card-hover: rgba(14, 32, 66, 0.88);
    /* 科技主色 */
    --color-blue: #38b6ff;
    --color-blue-light: #60caff;
    --color-sky: #00dfff;
    --color-cyan: #00f5d4;
    --color-indigo: #8b7cff;
    /* 文字色 */
    --text-primary: #ddf0ff;
    --text-secondary: #7ab4d8;
    --text-muted: #44728e;
    --text-faint: #254a62;
    --text-inverse: #05101f;
    /* 边框色 */
    --border: rgba(56, 182, 255, 0.1);
    --border-strong: rgba(56, 182, 255, 0.2);
    --border-blue: rgba(56, 182, 255, 0.45);
    /* 渐变 */
    --gradient-main: linear-gradient(135deg, #1a7fff, #00dfff);
    --gradient-soft: linear-gradient(135deg, rgba(26, 127, 255, 0.12), rgba(0, 223, 255, 0.08));
    --gradient-hero: linear-gradient(160deg, #040c1a 0%, #070e1c 50%, #04091a 100%);
    /* 阴影 */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.55);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-blue: 0 8px 28px rgba(26, 127, 255, 0.4);
    --shadow-blue-lg: 0 16px 48px rgba(26, 127, 255, 0.5);
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    /* 字体 */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    /* 导航高度 */
    --navbar-h: 64px;
}

/* ── Reset & Base ─────────────────────────────────────────── */

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

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: #070e1c;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── 滚动条 ────────────────────────────────────────────────── */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #040a14;
}

::-webkit-scrollbar-thumb {
    background: rgba(56, 182, 255, 0.25);
    border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(56, 182, 255, 0.5);
}

/* ── 页面加载动画 ──────────────────────────────────────────── */

.page-loader {
    position: fixed;
    inset: 0;
    background: #07101f;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-ring {
    width: 52px;
    height: 52px;
    border: 3px solid var(--bg-tertiary);
    border-top-color: var(--color-blue);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loader-inner {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 2px solid transparent;
    border-top-color: var(--color-sky);
    border-radius: 50%;
    animation: spin 0.6s linear infinite reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── 背景装饰 ──────────────────────────────────────────────── */

/* 科技点阵 */

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(56, 182, 255, 0.12) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* 霓虹极光 */

.bg-blob {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: blob-float 14s ease-in-out infinite;
}

/* 右上 — 电青霓虹 */

.bg-blob-1 {
    width: 900px;
    height: 900px;
    background: radial-gradient(ellipse at center, rgba(0, 180, 255, 0.38) 0%, rgba(0, 120, 255, 0.2) 40%, transparent 68%);
    filter: blur(100px);
    top: -320px;
    right: -250px;
    animation-delay: 0s;
}

/* 左下 — 霓虹紫 */

.bg-blob-2 {
    width: 750px;
    height: 750px;
    background: radial-gradient(ellipse at center, rgba(140, 60, 255, 0.35) 0%, rgba(100, 30, 220, 0.18) 45%, transparent 68%);
    filter: blur(120px);
    bottom: -200px;
    left: -200px;
    animation-delay: -7s;
}

/* 右下 — 青绿极光 */

.bg-blob-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0, 240, 200, 0.22) 0%, rgba(0, 180, 255, 0.12) 50%, transparent 70%);
    filter: blur(90px);
    bottom: 0;
    right: 5%;
    animation-delay: -4s;
}

/* 左上 — 玫红点缀 */

.bg-blob-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(255, 60, 180, 0.2) 0%, rgba(200, 0, 255, 0.1) 50%, transparent 70%);
    filter: blur(80px);
    top: 15%;
    left: -80px;
    animation-delay: -11s;
    animation-duration: 18s;
}

@keyframes blob-float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(22px, -40px) scale(1.05);
    }
    50% {
        transform: translate(-18px, 22px) scale(0.96);
    }
    75% {
        transform: translate(28px, 12px) scale(1.03);
    }
}

/* ── 页面包装 ──────────────────────────────────────────────── */

.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ── 顶部通知栏 ────────────────────────────────────────────── */

.top-ticker-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: var(--gradient-main);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ticker-content.active {
    opacity: 1;
    transform: translateY(0);
}

.ticker-content.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.ticker-user {
    font-weight: 700;
    color: #fff;
}

.ticker-prod {
    font-weight: 700;
}

.ticker-time {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 8px;
    border-radius: 100px;
    font-size: 0.7rem;
}

/* ── 导航栏 ────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    height: var(--navbar-h);
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background: rgba(5, 12, 25, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(56, 182, 255, 0.1);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.nav-logo-icon {
    width: 34px;
    height: 34px;
    background: var(--gradient-main);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-logo span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

.nav-links a {
    display: block;
    padding: 0.45rem 0.85rem;
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-blue);
    background: rgba(37, 99, 235, 0.06);
}

.nav-links .nav-cta {
    color: var(--text-inverse);
    background: var(--gradient-main);
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    box-shadow: var(--shadow-blue);
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background: linear-gradient(135deg, #0d6bff, #00c8f0);
    box-shadow: var(--shadow-blue-lg);
    transform: translateY(-1px);
    color: #fff;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: calc(32px + var(--navbar-h));
    left: 0;
    right: 0;
    background: rgba(5, 12, 28, 0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(56, 182, 255, 0.12);
    padding: 0.8rem 1.5rem;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 999;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.nav-mobile.open {
    display: flex;
    transform: translateY(0);
}

.nav-mobile a {
    display: block;
    padding: 0.7rem 0.9rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-mobile a:hover {
    color: var(--color-sky);
    background: rgba(56, 182, 255, 0.08);
}

/* ── 容器 ──────────────────────────────────────────────────── */

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

/* ── 通用段落 ──────────────────────────────────────────────── */

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-sky);
    background: rgba(0, 200, 255, 0.08);
    border: 1px solid rgba(0, 200, 255, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.section-title .gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── 玻璃卡片 ──────────────────────────────────────────────── */

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(56, 182, 255, 0.15);
    border-color: rgba(56, 182, 255, 0.25);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

/* ── 按钮 ──────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.7rem 1.5rem;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.1px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: var(--text-inverse);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d6bff, #00c8f0);
    box-shadow: var(--shadow-blue-lg);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-blue);
    border: 1.5px solid var(--border-blue);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(56, 182, 255, 0.08);
    border-color: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(56, 182, 255, 0.2);
}

.btn-ghost {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-card-hover);
    color: var(--color-blue);
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}

/* ── 徽章 ──────────────────────────────────────────────────── */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.badge-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-hot {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(251, 146, 60, 0.1));
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-crown {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(251, 146, 60, 0.1));
    color: #b45309;
    border: 1px solid rgba(234, 179, 8, 0.25);
}

.badge-green {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-purple {
    background: rgba(79, 70, 229, 0.1);
    color: var(--color-indigo);
    border: 1px solid rgba(79, 70, 229, 0.2);
}

/* ── 表单 ──────────────────────────────────────────────────── */

.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.45rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(8, 20, 42, 0.8);
    border: 1.5px solid rgba(56, 182, 255, 0.18);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
}

.form-input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.12);
}

.form-input::placeholder {
    color: var(--text-faint);
}

.form-input option {
    background: #07101f;
}

/* ── 吐司通知 ──────────────────────────────────────────────── */

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: var(--shadow-xl);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── 滚动触发动画 ──────────────────────────────────────────── */

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1), transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-up-delay-3 {
    transition-delay: 0.3s;
}

/* ── pulse 动画 ───────────────────────────────────────────── */

@keyframes pulse {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 223, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 0 7px rgba(0, 223, 255, 0);
    }
}

/* ══════════════════════════════════════════════════════════════
   Hero 区域
══════════════════════════════════════════════════════════════ */

.hero {
    padding-top: calc(var(--navbar-h) + 32px + 80px);
    padding-bottom: 80px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-main);
    opacity: 0.3;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 180, 255, 0.08);
    border: 1px solid rgba(0, 220, 255, 0.22);
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-sky);
    margin-bottom: 1.4rem;
    letter-spacing: 0.5px;
}

.hero-badge .dot {
    width: 7px;
    height: 7px;
    background: var(--color-sky);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.hero-title .line1 {
    display: block;
}

.hero-title .line2 {
    display: block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 440px;
}

.hero-btns {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-platforms {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.8rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-muted);
    box-shadow: var(--shadow-xs);
}

.platform-chip svg {
    color: var(--color-blue);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}

/* 右侧 Mockup 区域 */

.hero-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mockup-main {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(37, 99, 235, 0.05);
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.mockup-main img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: calc(var(--radius-xl) - 8px);
    display: block;
}

.mockup-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

.mockup-side {
    position: absolute;
    width: 160px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 6px;
    box-shadow: var(--shadow-lg);
}

.mockup-side img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: calc(var(--radius-lg) - 6px);
    display: block;
}

.mockup-side-left {
    left: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(-4deg);
    opacity: 0.88;
    z-index: 1;
}

.mockup-side-right {
    right: -40px;
    top: 50%;
    transform: translateY(-50%) rotate(4deg);
    opacity: 0.88;
    z-index: 1;
}

/* Hero 联系信息栏 */

.hero-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.9rem 1.2rem;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    max-width: 380px;
}

.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.hero-contact-item:hover {
    color: var(--color-blue);
}

.hero-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.hero-contact-val {
    font-weight: 700;
    color: var(--color-blue);
}

/* ══════════════════════════════════════════════════════════════
   特色功能
══════════════════════════════════════════════════════════════ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-card {
    padding: 1.8rem 1.6rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
}

.feature-icon-1 {
    background: rgba(37, 99, 235, 0.08);
}

.feature-icon-2 {
    background: rgba(14, 165, 233, 0.08);
}

.feature-icon-3 {
    background: rgba(16, 185, 129, 0.08);
}

.feature-icon-4 {
    background: rgba(79, 70, 229, 0.08);
}

.feature-icon-5 {
    background: rgba(234, 179, 8, 0.08);
}

.feature-icon-6 {
    background: rgba(239, 68, 68, 0.08);
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   价格套餐
══════════════════════════════════════════════════════════════ */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.pricing-card {
    padding: 2rem 1.75rem;
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:not(.featured) {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.pricing-card:not(.featured):hover {
    box-shadow: var(--shadow-xl);
    border-color: rgba(37, 99, 235, 0.25);
    transform: translateY(-4px);
}

.pricing-card.featured {
    background: var(--gradient-main);
    border: none;
    color: white;
    box-shadow: var(--shadow-blue-lg);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.3);
}

.pricing-label {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.pricing-plan {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.featured .pricing-plan {
    color: rgba(255, 255, 255, 0.75);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 1.25rem;
}

.pricing-currency {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.pricing-amount {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -2px;
    line-height: 1;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 2px;
}

.featured .pricing-currency,
.featured .pricing-amount,
.featured .pricing-period {
    color: #fff;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
    flex: 1;
}

.pricing-features li {
    font-size: 0.88rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-features li::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%232563eb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 12px;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.85);
}

.featured .pricing-features li::before {
    background-color: rgba(255, 255, 255, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.featured .btn-outline {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.featured .btn-outline:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   CTA Banner
══════════════════════════════════════════════════════════════ */

.cta-banner {
    background: var(--gradient-main);
    border-radius: var(--radius-xl);
    padding: 4rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08), transparent 60%);
}

.cta-banner h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
    position: relative;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1rem;
    position: relative;
}

.cta-banner .btn-primary {
    background: #fff;
    color: var(--color-blue);
}

.cta-banner .btn-primary:hover {
    background: #f0f9ff;
    transform: translateY(-2px);
}

.cta-banner .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.cta-banner .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   联系区域
══════════════════════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 768px;
    }
}

.contact-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    background: var(--bg-primary);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-card:hover {
    box-shadow: var(--shadow-blue-lg);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-4px);
}

.contact-icon {
    width: 72px;
    height: 72px;
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-blue);
}

.contact-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.contact-hint {
    color: var(--text-faint);
    font-size: 0.82rem;
    margin-bottom: 1.2rem;
}

.contact-online {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    padding: 0.3rem 0.8rem;
}

.contact-online-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.contact-online span {
    color: #059669;
    font-size: 0.75rem;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   页脚
══════════════════════════════════════════════════════════════ */

.footer {
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.footer-brand .nav-logo-icon {
    box-shadow: none;
}

.footer-brand span {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    max-width: 280px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 0.8rem;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════════════════════════
   下载中心专属
══════════════════════════════════════════════════════════════ */

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.download-card {
    padding: 2rem 1.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

.dl-apple {
    background: rgba(15, 23, 42, 0.05);
}

.dl-android {
    background: rgba(16, 185, 129, 0.08);
}

.dl-windows {
    background: rgba(37, 99, 235, 0.08);
}

.download-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.download-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.25rem;
    width: 100%;
}

.download-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
}

.download-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* ══════════════════════════════════════════════════════════════
   教程页专属
══════════════════════════════════════════════════════════════ */

.tutorial-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.4rem;
    margin-bottom: 2rem;
    width: fit-content;
}

.tutorial-tab {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: calc(var(--radius-lg) - 4px);
    background: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tutorial-tab.active {
    background: var(--bg-primary);
    color: var(--color-blue);
    box-shadow: var(--shadow-sm);
}

.tutorial-tab:hover:not(.active) {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.5);
}

.tutorial-content {
    display: none;
}

.tutorial-content.active {
    display: block;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.step-card {
    padding: 1.5rem 1.3rem;
    position: relative;
    overflow: hidden;
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.08);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: -1px;
}

.step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
}

.step-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* FAQ */

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 0.6rem;
    overflow: hidden;
    transition: all 0.2s ease;
    background: var(--bg-primary);
}

.faq-item.open {
    border-color: rgba(37, 99, 235, 0.25);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.3rem;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-item.open .faq-question {
    color: var(--color-blue);
}

.arrow {
    font-size: 0.7rem;
    color: var(--text-faint);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .arrow {
    transform: rotate(180deg);
    color: var(--color-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.3rem 1.2rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

/* 视频 */

.video-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.video-wrapper video {
    width: 100%;
    display: block;
    max-height: 540px;
    background: #000;
}

/* ══════════════════════════════════════════════════════════════
   购买页专属
══════════════════════════════════════════════════════════════ */

.pay-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

.plan-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.plan-option {
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 1.2rem 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--bg-primary);
    text-align: center;
}

.plan-option:hover {
    border-color: var(--color-blue-light);
    box-shadow: var(--shadow-md);
}

.plan-option.selected {
    border-color: var(--color-blue);
    background: rgba(37, 99, 235, 0.04);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.plan-option-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.plan-option-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-blue);
    letter-spacing: -0.5px;
}

.qr-box {
    padding: 2rem 1.5rem;
    text-align: center;
}

.qr-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.qr-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.usdt-address {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    word-break: break-all;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
    text-align: left;
}

.usdt-address:hover {
    background: var(--bg-tertiary);
    border-color: var(--color-blue-light);
    color: var(--color-blue);
}

.copy-btn {
    width: 100%;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    padding: 0.6rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.25rem;
}

.copy-btn:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
    background: rgba(37, 99, 235, 0.04);
}

.order-form .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   留言板专属
══════════════════════════════════════════════════════════════ */

.msg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.msg-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease both;
}

.msg-card:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.msg-body {
    flex: 1;
    min-width: 0;
}

.msg-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.msg-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
}

.msg-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.msg-stars {
    color: #f59e0b;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.msg-time {
    font-size: 0.72rem;
    color: var(--text-faint);
}

.msg-platform {
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 100px;
    font-weight: 600;
}

.platform-ios {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.platform-android {
    background: rgba(14, 165, 233, 0.08);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.platform-windows {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.msg-text {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.msg-tag {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--color-blue);
    border: 1px solid rgba(37, 99, 235, 0.12);
    font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   管理后台专属
══════════════════════════════════════════════════════════════ */

.admin-login {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
}

.admin-app {
    display: grid;
    grid-template-columns: 230px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--text-primary);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 1.5rem;
    margin-bottom: 2rem;
}

.admin-sidebar-header span {
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.admin-nav-item:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.admin-nav-item.active {
    color: #fff;
    background: rgba(37, 99, 235, 0.15);
    border-left-color: var(--color-blue);
}

.admin-main {
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-page-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.admin-content {
    padding: 1.5rem;
    flex: 1;
}

.admin-panel {
    display: none;
}

.admin-panel.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
}

.stat-card-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
}

.stat-card-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1;
}

.stat-card-icon {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}

.data-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-faint);
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.data-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--bg-secondary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-pending {
    background: rgba(251, 146, 60, 0.1);
    color: #ea580c;
    border: 1px solid rgba(251, 146, 60, 0.2);
}

.status-expired {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ══════════════════════════════════════════════════════════════
   响应式布局
══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-contact {
        margin: 0 auto 2rem;
    }
    .hero-platforms {
        justify-content: center;
    }
    .hero-stats {
        max-width: 480px;
        margin: 2rem auto 0;
    }
    .hero-mockup {
        justify-content: center;
    }
    .mockup-side-left {
        left: 0;
    }
    .mockup-side-right {
        right: 0;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
        margin: 0 auto;
    }
    .pricing-card.featured {
        transform: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pay-layout {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-app {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --navbar-h: 58px;
    }
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    .section {
        padding: 3.5rem 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .download-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .tutorial-tabs {
        flex-direction: column;
        width: 100%;
    }
    .plan-selector {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .msg-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    .mockup-side {
        display: none;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Prevent horizontal overflow on mobile & fix background consistency */

html,
body,
.page-wrapper {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    background: #070e1c !important;
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem !important;
    }
    .contact-btn-group {
        flex-direction: column !important;
    }
    .contact-btn-group a {
        width: 100% !important;
    }
    .glass-card {
        padding: 1.2rem 1rem !important;
    }
    .usdt-address {
        font-size: 0.68rem !important;
        word-break: break-all !important;
    }
}

/* ===== Mobile & Telegram Webview Compact Sizing ===== */

html,
body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

@media (max-width: 600px) {
    .hero-title-box {
        padding-top: calc(var(--navbar-h) + 24px) !important;
        padding-bottom: 1.2rem !important;
    }
    .section-title {
        font-size: 1.4rem !important;
    }
    .section-desc {
        font-size: 0.8rem !important;
        margin-top: 0.3rem !important;
    }
    .section {
        padding-top: 1.2rem !important;
        padding-bottom: 2.5rem !important;
    }
    .pay-layout {
        gap: 1.2rem !important;
    }
    .plan-selector {
        gap: 0.5rem !important;
    }
    .plan-option {
        padding: 0.75rem 0.9rem !important;
        border-radius: 12px !important;
    }
    .plan-option-name {
        font-size: 0.85rem !important;
        margin-bottom: 0.15rem !important;
    }
    .plan-option-price {
        font-size: 1.1rem !important;
    }
    .glass-card {
        padding: 1rem 0.9rem !important;
        border-radius: 16px !important;
    }
    .qr-box {
        padding: 1.2rem 0.9rem !important;
    }
    #qrcode-container {
        width: 150px !important;
        height: 150px !important;
    }
    .form-input {
        font-size: 0.85rem !important;
        padding: 0.6rem 0.8rem !important;
    }
    .btn {
        padding: 0.65rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ===== Mobile & Telegram Perfect Sizing & Anti-Zoom ===== */

html,
body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    background: #070e1c !important;
}

*,
*::before,
*::after {
    max-width: 100vw !important;
}

@media (max-width: 600px) {
    html,
    body {
        font-size: 14px !important;
    }
    .container {
        padding: 0 0.85rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .hero-title-box {
        padding-top: calc(var(--navbar-h) + 16px) !important;
        padding-bottom: 0.8rem !important;
    }
    .section-title {
        font-size: 1.3rem !important;
    }
    .section-desc {
        font-size: 0.78rem !important;
        margin-top: 0.2rem !important;
    }
    .section {
        padding-top: 0.8rem !important;
        padding-bottom: 2rem !important;
    }
    .pay-layout {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    .plan-selector {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    .plan-option {
        padding: 0.65rem 0.8rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .plan-option-name {
        font-size: 0.85rem !important;
        margin-bottom: 0.1rem !important;
    }
    .plan-option-price {
        font-size: 1.05rem !important;
    }
    .glass-card {
        padding: 0.9rem 0.8rem !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .qr-box {
        padding: 1rem 0.8rem !important;
    }
    #qrcode-container {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto 0.8rem !important;
    }
    .usdt-address {
        font-size: 0.64rem !important;
        word-break: break-all !important;
        padding: 0.5rem 0.6rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .contact-btn-group {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .contact-btn-group a {
        width: 100% !important;
        justify-content: center !important;
        font-size: 0.8rem !important;
        padding: 0.55rem 0.8rem !important;
        box-sizing: border-box !important;
    }
    .form-input {
        font-size: 0.85rem !important;
        padding: 0.55rem 0.75rem !important;
    }
    .btn {
        padding: 0.6rem 0.9rem !important;
        font-size: 0.85rem !important;
    }
}

/* ============================================================
   Telegram & Mobile 100% Screen Fit (v9)
   ============================================================ */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
    background: #070e1c !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

*,
*::before,
*::after {
    box-sizing: border-box !important;
    max-width: 100vw !important;
}

@media (max-width: 768px) {
    html,
    body {
        font-size: 15px !important;
    }
    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    .hero-title-box {
        padding-top: calc(var(--navbar-h) + 16px) !important;
        padding-bottom: 0.8rem !important;
    }
    .section-title {
        font-size: 1.35rem !important;
    }
    .section-desc {
        font-size: 0.78rem !important;
        margin-top: 0.2rem !important;
    }
    .section {
        padding-top: 0.8rem !important;
        padding-bottom: 2rem !important;
        background: transparent !important;
    }
    .pay-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }
    .plan-selector {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.6rem !important;
        width: 100% !important;
    }
    .plan-option {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0.8rem 1rem !important;
        border-radius: 12px !important;
        width: 100% !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }
    .plan-option-name {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
    }
    .plan-option-price {
        font-size: 1.15rem !important;
    }
    .glass-card {
        padding: 1rem 0.85rem !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .qr-box {
        padding: 1rem 0.85rem !important;
    }
    #qrcode-container {
        width: 140px !important;
        height: 140px !important;
        margin: 0 auto 0.8rem !important;
    }
    .usdt-address {
        font-size: 0.65rem !important;
        word-break: break-all !important;
        padding: 0.5rem 0.6rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .contact-btn-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .contact-btn-group a {
        width: 100% !important;
        justify-content: center !important;
        font-size: 0.82rem !important;
        padding: 0.6rem !important;
        box-sizing: border-box !important;
    }
    .form-input {
        font-size: 0.85rem !important;
        padding: 0.6rem 0.75rem !important;
    }
    .btn {
        padding: 0.65rem 0.9rem !important;
        font-size: 0.85rem !important;
    }
}