/* ==================================================================
   企业级商城设计系统
   ================================================================== */

/* ===== 基础重置 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* 品牌色 */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-deep: #3730a3;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    /* 功能色 */
    --success: #16a34a;
    --success-50: #f0fdf4;
    --danger: #dc2626;
    --danger-50: #fef2f2;
    --warning: #d97706;
    --warning-50: #fffbeb;
    --info: #0284c7;
    --info-50: #f0f9ff;
    /* 中性色 */
    --bg: #f4f5fa;
    --card: #fff;
    --border: #e6e8f0;
    --border-light: #f0f1f7;
    --text: #16192b;
    --text-sub: #4b5067;
    --text-light: #8a8fa5;
    /* 效果 */
    --radius: 12px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(22,25,43,.05);
    --shadow: 0 4px 16px rgba(22,25,43,.06);
    --shadow-lg: 0 12px 40px rgba(22,25,43,.10);
    --shadow-primary: 0 8px 24px rgba(79,70,229,.32);
    --grad-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --grad-hero: linear-gradient(140deg, #14163a 0%, #251d63 45%, #4338ca 100%);
    --transition: all .25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--primary-100); }

/* ===== 布局 ===== */
.app-layout { min-height: 100vh; display: flex; flex-direction: column; }
.app-main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 16px 48px; }
.app-main-full { max-width: 100%; padding: 0; }

/* ===== 顶部公告栏 ===== */
.notice-bar {
    background: var(--grad-primary);
    color: #fff; font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    padding: 8px 16px; gap: 8px; position: relative; overflow: hidden;
}
.notice-bar .notice-icon { flex: none; display: flex; align-items: center; }
.notice-bar .notice-icon svg { width: 15px; height: 15px; }
.notice-scroll { overflow: hidden; white-space: nowrap; max-width: 720px; }
.notice-text { display: inline-block; padding-left: 100%; animation: notice-marquee 18s linear infinite; }
.notice-bar:hover .notice-text { animation-play-state: paused; }
@keyframes notice-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ===== 顶部导航 ===== */
.app-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
}
.header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 16px;
    display: flex; align-items: center; height: 64px; gap: 28px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; flex: none; }
.logo:hover { text-decoration: none; }
.logo-mark {
    width: 34px; height: 34px; border-radius: 10px;
    background: var(--grad-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-primary);
}
.logo-mark svg { width: 18px; height: 18px; }
.logo-icon { width: 24px; height: 24px; color: var(--primary); }
.header-nav { display: flex; gap: 4px; }
.header-nav a {
    color: var(--text-sub); font-weight: 500; font-size: 14px;
    padding: 7px 14px; border-radius: 8px; transition: var(--transition);
}
.header-nav a:hover { color: var(--primary); background: var(--primary-50); text-decoration: none; }
.header-nav a.active { color: var(--primary); background: var(--primary-50); font-weight: 600; }
.header-user { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* 余额徽章 */
.balance-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--success-50); color: #15803d;
    border: 1px solid #bbf7d0; border-radius: 999px;
    padding: 4px 12px; font-size: 13px; font-weight: 600;
}
.balance-chip svg { width: 14px; height: 14px; }
.user-name { font-weight: 600; color: var(--text); }

/* 用户下拉菜单 */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card); transition: var(--transition); user-select: none;
}
.nav-dropdown-toggle:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.user-avatar {
    width: 30px; height: 30px; border-radius: 50%; flex: none;
    background: var(--grad-primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
}
.user-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dropdown-caret { width: 14px; height: 14px; color: var(--text-light); transition: var(--transition); }
.nav-dropdown:hover .dropdown-caret { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute; right: 0; top: calc(100% + 8px);
    min-width: 190px; background: var(--card);
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg); padding: 6px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: var(--transition); z-index: 120;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 8px; color: var(--text-sub); font-size: 13.5px;
}
.nav-dropdown-menu a:hover { background: var(--primary-50); color: var(--primary); }
.nav-dropdown-menu a svg { width: 16px; height: 16px; color: var(--text-light); }
.nav-dropdown-menu a:hover svg { color: var(--primary); }
.nav-dropdown-menu .dd-divider { height: 1px; background: var(--border-light); margin: 5px 8px; }
.nav-dropdown-menu .dd-logout { color: #dc2626; }
.nav-dropdown-menu .dd-logout svg { color: #dc2626; }
.nav-dropdown-menu .dd-logout:hover { background: var(--danger-50); color: #dc2626; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 18px; border: 1px solid var(--border); border-radius: 10px;
    background: var(--card); color: var(--text); cursor: pointer; font-size: 14px;
    font-weight: 500; transition: var(--transition); text-decoration: none; line-height: 1.4;
}
.btn:hover { background: #f8f9fc; border-color: #d5d8e5; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { background: var(--grad-primary); border: none; color: #fff; }
.btn-primary:hover { filter: brightness(1.08); box-shadow: var(--shadow-primary); }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; box-shadow: 0 6px 18px rgba(22,163,74,.3); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; box-shadow: 0 6px 18px rgba(220,38,38,.3); }
.btn-warning { background: var(--warning); border-color: var(--warning); color: #fff; }
.btn-warning:hover { background: #b45309; box-shadow: 0 6px 18px rgba(217,119,6,.3); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-sub); }
.btn-ghost:hover { background: var(--primary-50); color: var(--primary); border-color: transparent; }
.btn-sm { padding: 5px 12px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 12px; }
.btn-xl { padding: 15px 36px; font-size: 16px; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }

/* ===== 提示条 ===== */
.alert { padding: 12px 18px; border-radius: var(--radius); margin: 12px 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.alert-success { background: var(--success-50); color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: var(--danger-50); color: #991b1b; border: 1px solid #fecaca; }
.alert-warn { background: var(--warning-50); color: #92400e; border: 1px solid #fde68a; }

/* ===== Toast通知 ===== */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
    min-width: 280px; max-width: 360px; background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 13px 16px; display: flex; align-items: flex-start; gap: 10px;
    animation: toast-in .3s cubic-bezier(.21,1.02,.73,1); border-left: 4px solid var(--primary);
}
.toast.toast-out { animation: toast-out .3s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(40px); } }
.toast-icon { flex: none; width: 20px; height: 20px; }
.toast-success { border-left-color: var(--success); }
.toast-success .toast-icon { color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-error .toast-icon { color: var(--danger); }
.toast-info { border-left-color: var(--primary); }
.toast-info .toast-icon { color: var(--primary); }
.toast-msg { flex: 1; font-size: 13.5px; color: var(--text); line-height: 1.5; word-break: break-all; }

/* ===== 表单 ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 600; color: var(--text); font-size: 13.5px; }
.form-input {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
    font-size: 14px; outline: none; transition: var(--transition); background: #fff;
    color: var(--text); font-family: inherit;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.form-input::placeholder { color: #b3b7c9; }
.form-input-sm { width: 110px; }
.form-input-lg { padding: 13px 16px; font-size: 15px; border-radius: 12px; }
.form-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-tip { font-size: 12px; color: var(--text-light); margin-top: 5px; line-height: 1.6; }

/* ===== 卡片 ===== */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.auth-card, .form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; max-width: 460px; margin: 0 auto; box-shadow: var(--shadow); }
.auth-card h2, .form-card h2, .page-header h2 { margin-bottom: 20px; }

/* ===== 页面头部 ===== */
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.page-title { font-size: 22px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 10px; }
.page-title::before { content: ''; width: 4px; height: 20px; border-radius: 4px; background: var(--grad-primary); }

/* ===== 表格 ===== */
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-wrap table { width: 100%; }
.data-table, .table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td, .table th, .table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--border-light); white-space: nowrap; font-size: 13.5px; }
.data-table th, .table th { background: #f8f9fc; font-weight: 600; color: var(--text-light); font-size: 12.5px; letter-spacing: .4px; }
.data-table tr:last-child td, .table tr:last-child td { border-bottom: none; }
.data-table tbody tr, .table tbody tr { transition: background .15s; }
.data-table tbody tr:hover, .table tbody tr:hover { background: #f8f9fc; }
.data-table .empty, .table .empty, .empty-box { text-align: center; color: var(--text-light); padding: 48px 16px; }
.empty-box { background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius-lg); font-size: 14px; }
.empty-box .empty-icon { font-size: 40px; margin-bottom: 10px; opacity: .5; }

/* ===== 标签 ===== */
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 12px; background: #eef0f6; color: var(--text-light); font-weight: 500; }
.tag-success { background: var(--success-50); color: #166534; }
.tag-danger { background: var(--danger-50); color: #991b1b; }
.tag-warning { background: var(--warning-50); color: #92400e; }
.tag-primary { background: var(--primary-50); color: var(--primary-dark); }

/* ===== 分页 ===== */
.pagination { margin-top: 18px; text-align: center; }
.pagination ul { display: inline-flex; gap: 6px; list-style: none; }
.pagination li a, .pagination li span { padding: 7px 13px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-sub); background: #fff; font-size: 13px; transition: var(--transition); }
.pagination li a:hover { border-color: var(--primary); color: var(--primary); }
.pagination li.active span { background: var(--grad-primary); color: #fff; border-color: transparent; font-weight: 600; }

/* ==================================================================
   首页(企业级商城)
   ================================================================== */

/* Hero区 */
.home-hero {
    position: relative; overflow: hidden;
    background: var(--grad-hero);
    color: #fff; padding: 96px 16px 140px; text-align: center;
}
.home-hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px; mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}
.home-hero::after {
    content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%;
    background: radial-gradient(circle, rgba(129,140,248,.28), transparent 65%);
    top: -220px; right: -120px;
}
.hero-glow-b { position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(56,189,248,.16), transparent 65%); bottom: -200px; left: -100px; }
.hero-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
    padding: 6px 16px; border-radius: 999px; font-size: 13px; margin-bottom: 24px;
    backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.25); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 4px rgba(52,211,153,.25); } 50% { box-shadow: 0 0 0 7px rgba(52,211,153,.08); } }
.home-hero h1 { font-size: 46px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; line-height: 1.25; }
.home-hero h1 .grad-text { background: linear-gradient(90deg, #a5b4fc, #67e8f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 17px; opacity: .82; margin-bottom: 34px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-btn-primary {
    background: #fff; color: var(--primary-dark); font-weight: 700; font-size: 15px;
    padding: 13px 34px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25);
    display: inline-flex; align-items: center; gap: 8px; transition: var(--transition);
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.3); color: var(--primary-dark); }
.hero-btn-ghost {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35); color: #fff;
    font-weight: 500; font-size: 15px; padding: 13px 30px; border-radius: 12px;
    display: inline-flex; align-items: center; gap: 8px; transition: var(--transition); backdrop-filter: blur(6px);
}
.hero-btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* Hero底部数据条 */
.hero-stats {
    position: relative; z-index: 3;
    max-width: 1000px; margin: -84px auto 0; padding: 0 16px;
}
.hero-stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--border); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.hero-stat { background: #fff; padding: 26px 16px; text-align: center; }
.hero-stat-num { font-size: 30px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.hero-stat-num .unit { font-size: 14px; font-weight: 600; margin-left: 2px; color: var(--text-light); }
.hero-stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* 通用区块 */
.section { padding: 72px 16px; }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-tag { display: inline-block; color: var(--primary); background: var(--primary-50); font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 999px; margin-bottom: 12px; }
.section-title { font-size: 30px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.5px; }
.section-sub { color: var(--text-light); font-size: 15px; max-width: 560px; margin: 0 auto; line-height: 1.8; }

/* 商品专区 */
.product-section { padding: 72px 16px 40px; }
.product-showcase { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; }
.product-card {
    background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 36px 32px;
    text-align: center; position: relative; box-shadow: var(--shadow-lg); max-width: 400px; margin: 0 auto; width: 100%;
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(79,70,229,.14); border-color: var(--primary-light); }
.product-badge {
    position: absolute; top: 16px; right: 16px;
    background: var(--grad-primary); color: #fff; font-size: 12px; font-weight: 600;
    padding: 4px 14px; border-radius: 999px; box-shadow: var(--shadow-primary);
}
.product-icon-lg {
    width: 72px; height: 72px; border-radius: 20px; margin: 0 auto 18px;
    background: var(--primary-50); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.product-icon-lg svg { width: 36px; height: 36px; }
.product-title { font-size: 20px; margin-bottom: 14px; color: var(--text); font-weight: 700; }
.product-price { margin-bottom: 22px; }
.price-num { font-size: 46px; font-weight: 800; background: linear-gradient(90deg, #f97316, #f43f5e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-unit { font-size: 14px; color: var(--text-light); margin-left: 4px; }
.product-features { list-style: none; padding: 0; margin: 0 0 26px; text-align: left; }
.product-features li { padding: 9px 0 9px 28px; position: relative; color: var(--text-sub); font-size: 14px; border-bottom: 1px dashed var(--border-light); }
.product-features li:last-child { border-bottom: none; }
.product-features li::before { content: '✓'; position: absolute; left: 4px; color: var(--success); font-weight: 700; }

/* 商品右侧卖点 */
.product-adv-list { display: flex; flex-direction: column; gap: 22px; }
.product-adv { display: flex; gap: 16px; align-items: flex-start; }
.product-adv-icon {
    flex: none; width: 48px; height: 48px; border-radius: 14px;
    background: var(--primary-50); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.product-adv-icon svg { width: 24px; height: 24px; }
.product-adv h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.product-adv p { margin: 0; color: var(--text-light); font-size: 13.5px; line-height: 1.7; }

/* 核心优势 */
.features { padding: 64px 16px; }
.features-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 24px;
    text-align: center; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad-primary); transform: scaleX(0); transition: transform .3s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
    background: var(--primary-50); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-card h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; }
.feature-card p { color: var(--text-light); font-size: 13px; line-height: 1.7; }

/* 使用流程(横向步骤) */
.flow-section { background: #fff; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.flow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.flow-step { text-align: center; padding: 0 28px; position: relative; }
.flow-step:not(:last-child)::after {
    content: ''; position: absolute; top: 32px; right: -14%;
    width: 28%; height: 2px;
    background: repeating-linear-gradient(90deg, #c7d2fe 0 8px, transparent 8px 16px);
}
.flow-no {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
    background: var(--grad-primary); color: #fff; font-size: 24px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-primary); position: relative; z-index: 2;
}
.flow-step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { color: var(--text-light); font-size: 13.5px; line-height: 1.8; max-width: 280px; margin: 0 auto; }

/* 旧版步骤(兼容) */
.usage-steps { flex: 1; max-width: 420px; }
.steps-title { font-size: 20px; margin-bottom: 20px; }
.step-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.step-no { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grad-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-body h4 { margin: 0 0 4px; font-size: 15px; }
.step-body p { margin: 0; font-size: 13px; color: var(--text-light); }

/* 服务保障 */
.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guarantee-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 28px; display: flex; gap: 18px; align-items: flex-start; transition: var(--transition);
}
.guarantee-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.guarantee-icon {
    flex: none; width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.guarantee-icon svg { width: 26px; height: 26px; }
.g-icon-green { background: var(--success-50); color: var(--success); }
.g-icon-blue { background: var(--info-50); color: var(--info); }
.g-icon-orange { background: var(--warning-50); color: var(--warning); }
.guarantee-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.guarantee-card p { color: var(--text-light); font-size: 13px; line-height: 1.7; margin: 0; }

/* FAQ手风琴 */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 12px; overflow: hidden; transition: var(--transition);
}
.faq-item.open { border-color: var(--primary-light); box-shadow: var(--shadow); }
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 17px 20px; cursor: pointer; font-size: 15px; font-weight: 600; color: var(--text);
    background: none; border: none; text-align: left; font-family: inherit;
}
.faq-q:hover { color: var(--primary); }
.faq-arrow { flex: none; width: 18px; height: 18px; color: var(--text-light); transition: transform .25s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 20px 18px; color: var(--text-light); font-size: 13.5px; line-height: 1.9; }

/* CTA */
.cta-band {
    background: var(--grad-hero); border-radius: 24px; padding: 60px 32px; text-align: center;
    color: #fff; position: relative; overflow: hidden; max-width: 1120px; margin: 0 auto;
}
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 36px 36px;
}
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; position: relative; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 28px; position: relative; }
.cta-band .hero-btn-primary { position: relative; }

/* 旧版兼容 */
.hero { background: var(--grad-primary); color: #fff; padding: 80px 16px; text-align: center; }
.hero h1 { font-size: 36px; margin-bottom: 12px; }
.hero-sub { font-size: 18px; opacity: .9; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; }
.hero .btn { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }
.hero .btn-primary { background: #fff; color: var(--primary); border-color: #fff; }
.cta { background: var(--card); padding: 60px 16px; text-align: center; border-top: 1px solid var(--border); }
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--text-light); margin-bottom: 20px; }

/* ==================================================================
   会员中心(侧边栏布局)
   ================================================================== */
.uc-layout { display: flex; gap: 24px; align-items: flex-start; max-width: 1200px; margin: 0 auto; padding: 28px 16px 48px; }
.uc-layout .app-main { padding: 0; max-width: none; flex: 1; min-width: 0; }

.uc-sidebar {
    width: 250px; flex: none; position: sticky; top: 88px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.uc-profile { padding: 24px 20px 18px; text-align: center; border-bottom: 1px solid var(--border-light); background: linear-gradient(180deg, var(--primary-50) 0%, #fff 100%); }
.uc-avatar {
    width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 10px;
    background: var(--grad-primary); color: #fff; font-size: 24px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-primary); border: 3px solid #fff;
}
.uc-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.uc-name { font-size: 16px; font-weight: 700; }
.uc-vip { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--warning); background: var(--warning-50); padding: 2px 10px; border-radius: 999px; }
.uc-balance-box { padding: 14px 20px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.uc-balance-label { font-size: 12.5px; color: var(--text-light); }
.uc-balance-num { font-size: 20px; font-weight: 800; color: var(--success); font-variant-numeric: tabular-nums; }
.uc-nav { padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.uc-nav-title { font-size: 12px; color: var(--text-light); padding: 10px 12px 6px; font-weight: 600; letter-spacing: 1px; }
.uc-nav a {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 9px; color: var(--text-sub); font-size: 14px; font-weight: 500; transition: var(--transition);
}
.uc-nav a:hover { background: #f6f7fc; color: var(--primary); text-decoration: none; }
.uc-nav a.active { background: var(--grad-primary); color: #fff; font-weight: 600; box-shadow: var(--shadow-primary); }
.uc-nav a svg { width: 17px; height: 17px; }
.uc-nav .nav-badge { margin-left: auto; font-size: 11px; background: var(--danger); color: #fff; padding: 1px 7px; border-radius: 999px; }
.uc-nav a.active .nav-badge { background: rgba(255,255,255,.35); }

.uc-main { flex: 1; min-width: 0; }

/* 欢迎横幅 */
.uc-banner {
    background: var(--grad-hero); border-radius: var(--radius-lg); color: #fff;
    padding: 26px 28px; margin-bottom: 20px; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.uc-banner::before {
    content: ''; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
    border-radius: 50%; background: radial-gradient(circle, rgba(129,140,248,.3), transparent 70%);
}
.uc-banner h2 { font-size: 21px; font-weight: 700; margin-bottom: 6px; position: relative; }
.uc-banner p { color: rgba(255,255,255,.7); font-size: 13px; margin: 0; position: relative; }
.uc-banner-actions { display: flex; gap: 10px; position: relative; }
.uc-banner-actions .btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(4px); }
.uc-banner-actions .btn:hover { background: rgba(255,255,255,.24); }
.uc-banner-actions .btn-primary { background: #fff; color: var(--primary-dark); border-color: #fff; }

/* 会员数据卡 */
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.stat-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px;
    display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm);
    transition: var(--transition); position: relative; overflow: hidden;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.stat-card .stat-icon {
    position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
}
.stat-card .stat-icon svg { width: 20px; height: 20px; }
.si-blue { background: var(--primary-50); color: var(--primary); }
.si-green { background: var(--success-50); color: var(--success); }
.si-orange { background: var(--warning-50); color: var(--warning); }
.si-cyan { background: var(--info-50); color: var(--info); }
.stat-label { color: var(--text-light); font-size: 13px; }
.stat-value { font-size: 26px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }
.stat-value.money { color: var(--success); }
.stat-foot { font-size: 12px; color: var(--text-light); }

/* 签到卡 */
.sign-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fcd34d; border-radius: var(--radius-lg);
    padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.sign-info { display: flex; align-items: center; gap: 14px; }
.sign-icon-lg { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.7); color: #b45309; display: flex; align-items: center; justify-content: center; }
.sign-icon-lg svg { width: 26px; height: 26px; }
.sign-card h3 { font-size: 16px; font-weight: 700; color: #92400e; margin: 0 0 3px; }
.sign-card p { margin: 0; font-size: 12.5px; color: #a16207; }
.sign-btn { background: #b45309; color: #fff; border: none; padding: 10px 26px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; }
.sign-btn:hover:not(:disabled) { background: #92400e; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(146,64,14,.35); }
.sign-btn:disabled { background: rgba(146,64,14,.4); cursor: not-allowed; }
.sign-days { display: flex; gap: 6px; }
.sign-day {
    width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.6);
    display: flex; align-items: center; justify-content: center; font-size: 12px; color: #a16207; font-weight: 600;
}
.sign-day.on { background: #b45309; color: #fff; }

/* 快捷操作 */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.quick-item {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 20px 14px; text-align: center; transition: var(--transition); display: block;
}
.quick-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); text-decoration: none; }
.quick-icon {
    width: 48px; height: 48px; border-radius: 14px; margin: 0 auto 10px;
    display: flex; align-items: center; justify-content: center;
}
.quick-icon svg { width: 24px; height: 24px; }
.quick-item h4 { font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 2px; }
.quick-item p { font-size: 12px; color: var(--text-light); margin: 0; }

/* 公告卡 */
.announce-card { display: flex; gap: 12px; align-items: flex-start; }
.announce-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.announce-icon svg { width: 20px; height: 20px; }

/* 会员通用面板 */
.uc-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 20px; overflow: hidden; }
.uc-panel-head { padding: 18px 22px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.uc-panel-head h3 { font-size: 16px; font-weight: 700; margin: 0; display: flex; align-items: center; gap: 8px; }
.uc-panel-head h3::before { content: ''; width: 3px; height: 16px; border-radius: 3px; background: var(--grad-primary); }
.uc-panel-body { padding: 20px 22px; }

/* 筛选Tab */
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
    padding: 7px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
    border: 1px solid var(--border); background: #fff; color: var(--text-sub); transition: var(--transition);
}
.filter-tab:hover { border-color: var(--primary-light); color: var(--primary); text-decoration: none; }
.filter-tab.active { background: var(--grad-primary); color: #fff; border-color: transparent; font-weight: 600; box-shadow: var(--shadow-primary); }

/* 用户中心旧类(兼容) */
.user-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.user-menu { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.info-table tr:last-child td { border-bottom: none; }
.info-table td:first-child { width: 130px; color: var(--text-light); }

/* ==================================================================
   认证页(左右分栏)
   ================================================================== */
.auth-page, .form-page { padding: 56px 16px; }
.auth-split {
    max-width: 920px; margin: 0 auto; background: var(--card); border-radius: 24px;
    overflow: hidden; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
}
.auth-brand {
    background: var(--grad-hero); color: #fff; padding: 48px 40px;
    display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.auth-brand::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 34px 34px;
}
.auth-brand::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(129,140,248,.25), transparent 70%); bottom: -120px; left: -80px; }
.auth-brand h2 { font-size: 26px; font-weight: 800; margin-bottom: 14px; position: relative; }
.auth-brand .brand-desc { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.9; margin-bottom: 30px; position: relative; }
.brand-points { list-style: none; padding: 0; margin: 0; position: relative; }
.brand-points li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13.5px; color: rgba(255,255,255,.88); }
.brand-points li svg { width: 17px; height: 17px; color: #34d399; flex: none; }
.auth-panel { padding: 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.auth-panel h2 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.auth-panel .auth-sub { color: var(--text-light); font-size: 13.5px; margin-bottom: 26px; }
.auth-card { max-width: none; margin: 0; box-shadow: none; border: none; padding: 0; }
.auth-card h2 { margin-bottom: 22px; }
.auth-tip { color: var(--text-light); margin-bottom: 16px; text-align: center; }
.auth-links { display: flex; justify-content: space-between; margin-top: 18px; font-size: 13px; }
.auth-closed { text-align: center; padding: 30px 0; color: var(--text-light); }
.auth-closed .btn { margin-top: 14px; }

/* ==================================================================
   商品/订单/记录页
   ================================================================== */

/* 商品购买页 */
.product-buy-card {
    background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px; display: flex; gap: 40px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.product-buy-main { flex: 1; min-width: 0; }
.buy-title { font-size: 24px; font-weight: 800; margin: 0 0 14px; }
.buy-balance { margin-top: 18px; font-size: 14px; color: var(--text-light); }
.buy-balance code { color: var(--success); font-weight: 700; margin: 0 4px; font-size: 16px; }
.link-recharge { color: var(--warning); margin-left: 8px; text-decoration: underline; }
.product-buy-side { width: 260px; flex-shrink: 0; text-align: center; background: var(--primary-50); border-radius: var(--radius-lg); padding: 26px 22px; }
.buy-tip { font-size: 12px; color: var(--text-light); margin-top: 14px; line-height: 1.8; }
.buy-meta-list { margin: 18px 0; border-top: 1px dashed var(--border); padding-top: 16px; text-align: left; }
.buy-meta-row { display: flex; justify-content: space-between; font-size: 13px; padding: 5px 0; color: var(--text-light); }
.buy-meta-row b { color: var(--text); font-weight: 600; }

/* 订单接收页 */
.order-card {
    background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px;
    max-width: 680px; margin: 0 auto; box-shadow: var(--shadow-lg);
}
.order-status-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.order-no { font-size: 12px; color: var(--text-light); }
.status-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 5px 14px; border-radius: 999px; font-weight: 600; }
.status-wait { background: var(--warning-50); color: #b45309; }
.status-done { background: var(--success-50); color: #166534; }
.status-release { background: #f3f4f6; color: #6b7280; }
.phone-area { text-align: center; padding: 28px; background: linear-gradient(180deg, var(--primary-50), #f5f7ff); border-radius: 14px; margin-bottom: 16px; border: 1px solid var(--primary-100); }
.area-label { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.phone-big { font-size: 42px; font-weight: 800; letter-spacing: 3px; color: var(--primary-dark); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.code-area { text-align: center; padding: 26px; border-radius: 14px; }
.code-ok { background: var(--success-50); border: 1px solid #bbf7d0; }
.code-waiting { background: var(--warning-50); border: 1px solid #fde68a; }
.code-none { background: #f8f9fc; border: 1px solid var(--border); }
.code-big { font-size: 46px; font-weight: 800; letter-spacing: 8px; color: #15803d; margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.code-placeholder { color: #d1d5db; }
.sms-content { font-size: 13px; color: var(--text-sub); margin: 0 0 14px; word-break: break-all; background: rgba(255,255,255,.7); border-radius: 8px; padding: 10px 14px; }
.waiting-tip { font-size: 13px; color: #92400e; margin: 0 0 12px; line-height: 1.8; }
.waiting-dots::after { content: '...'; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.countdown { font-size: 13px; color: #b45309; font-weight: 600; }
.release-tip { font-size: 14px; color: var(--text-light); margin: 8px 0; }
.order-actions { display: flex; gap: 12px; justify-content: center; margin: 22px 0 14px; }
.order-meta { text-align: center; font-size: 12px; color: var(--text-light); margin: 0; padding-top: 14px; border-top: 1px dashed var(--border); line-height: 2; }
.copy-btn { margin-top: 4px; }
.code-text { font-weight: 700; color: #15803d; letter-spacing: 2px; }

/* 短信记录 */
.record-table .phone-text { font-weight: 600; color: var(--primary-dark); letter-spacing: 1px; }
.sms-cell { max-width: 260px; }
.sms-text { font-size: 12px; color: var(--text); display: inline-block; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
.text-muted { color: var(--text-light); font-size: 12px; }

/* 下卡时间+重新获取验证码 */
.code-history { margin-top: 18px; text-align: left; border-top: 1px dashed var(--border); padding-top: 14px; }
.history-title { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.history-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #fff; border-radius: 8px; margin-bottom: 6px; border: 1px solid var(--border-light); }
.history-code { font-size: 17px; font-weight: 700; color: var(--primary-dark); letter-spacing: 2px; }
.history-at { font-size: 12px; color: var(--text-light); }
.refetch-box { margin-top: 18px; }
.refetch-tip { font-size: 12px; color: var(--text-light); margin-top: 8px; }

/* ===== 双号商品步骤引导(醒目配色) ===== */
.stage-banner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 13px 16px; border-radius: 10px; font-size: 15.5px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; }
.stage-banner .step-pill { background: rgba(255,255,255,.28); padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.stage-rebind { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 20px rgba(79,70,229,.35); }
.stage-point { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); color: #fff; box-shadow: 0 6px 20px rgba(217,119,6,.35); }
.stage-done { background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%); color: #fff; box-shadow: 0 6px 20px rgba(22,163,74,.35); }
.stage-label { font-size: 14.5px; margin-bottom: 10px; }
.stage-text-rebind { color: var(--primary-dark); font-weight: 800; }
.stage-text-point { color: #b45309; font-weight: 800; }
.stage-guide { display: inline-block; background: #fff; border: 1.5px solid var(--warning); color: #b45309; font-weight: 700; font-size: 14px; padding: 8px 18px; border-radius: 8px; margin: 4px 0 12px; }
.next-step-btn { font-size: 17px; font-weight: 800; letter-spacing: 1px; padding: 14px 38px; border-radius: 12px; border: none; cursor: pointer; color: #fff; background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); box-shadow: 0 8px 24px rgba(217,119,6,.45); animation: next-pulse 1.8s ease-in-out infinite; }
.next-step-btn:disabled { opacity: .65; cursor: not-allowed; animation: none; }
@keyframes next-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.change-btn { font-size: 15px; font-weight: 700; padding: 12px 26px; border-radius: 12px; }

/* ===== 未收码自动释放倒计时(醒目警示条) ===== */
.auto-release-tip { margin-top: 12px; padding: 11px 16px; border-radius: 10px; background: #fef2f2; border: 1.5px solid #ef4444; color: #b91c1c; font-weight: 700; font-size: 14.5px; text-align: center; letter-spacing: .5px; }
.auto-release-tip b { font-size: 20px; color: #dc2626; font-variant-numeric: tabular-nums; padding: 0 3px; }

/* ==================================================================
   充值中心
   ================================================================== */
.recharge-hero {
    background: var(--grad-hero); border-radius: var(--radius-lg); color: #fff;
    padding: 26px 28px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.recharge-balance-label { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 4px; }
.recharge-balance-num { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; }
.recharge-hero .btn { background: #fff; color: var(--primary-dark); border: none; font-weight: 600; }
.recharge-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.recharge-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.recharge-tip { color: var(--text-light); margin-bottom: 20px; font-size: 13.5px; }
.recharge-form .form-input-lg { text-align: center; font-size: 18px; letter-spacing: 2px; font-weight: 600; }
.redeem-actions { display: flex; gap: 12px; }
.redeem-result { margin-top: 16px; }
.recent-codes { margin-top: 24px; }
.recent-codes h3 { margin-bottom: 12px; }
.kefu-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.kefu-tip { background: #f8f9fc; border: 1px solid var(--border-light); border-radius: 12px; padding: 14px 16px; text-align: center; }
.kefu-tip .kt-icon { width: 36px; height: 36px; border-radius: 10px; margin: 0 auto 8px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.kefu-tip .kt-icon svg { width: 19px; height: 19px; }
.kefu-tip h5 { font-size: 13px; margin: 0 0 3px; color: var(--text); }
.kefu-tip p { font-size: 12px; color: var(--text-light); margin: 0; }

/* 兑换码旧类(兼容) */
.redeem-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 24px; }

/* ==================================================================
   静态信息页(关于/条款/FAQ)
   ================================================================== */
.doc-page { max-width: 860px; margin: 0 auto; }
.doc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 44px; box-shadow: var(--shadow-sm); }
.doc-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.doc-updated { font-size: 12.5px; color: var(--text-light); margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--border-light); }
.doc-card h3 { font-size: 17px; font-weight: 700; margin: 28px 0 12px; display: flex; align-items: center; gap: 8px; }
.doc-card h3::before { content: ''; width: 4px; height: 16px; border-radius: 4px; background: var(--grad-primary); }
.doc-card p { color: var(--text-sub); font-size: 14px; line-height: 2; margin-bottom: 12px; }
.doc-card ul { padding-left: 20px; margin: 0 0 14px; color: var(--text-sub); font-size: 14px; line-height: 2; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.contact-item { background: #f8f9fc; border: 1px solid var(--border-light); border-radius: 12px; padding: 18px; text-align: center; }
.contact-item .ci-icon { width: 40px; height: 40px; border-radius: 12px; margin: 0 auto 10px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.contact-item .ci-icon svg { width: 20px; height: 20px; }
.contact-item h5 { font-size: 13.5px; margin: 0 0 4px; }
.contact-item p { font-size: 13px; color: var(--text-light); margin: 0; }

/* ==================================================================
   错误页
   ================================================================== */
.error-page { text-align: center; padding: 100px 16px; }
.error-code { font-size: 80px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-msg { font-size: 18px; color: var(--text-light); margin-bottom: 28px; }

/* ==================================================================
   页脚
   ================================================================== */
.app-footer { background: #14163a; color: rgba(255,255,255,.65); padding: 0; margin-top: auto; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 48px 16px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.footer-desc { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.55); max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14.5px; font-weight: 600; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.55); font-size: 13px; padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-contact { font-size: 13px; color: rgba(255,255,255,.55); line-height: 2.1; }
.footer-contact b { color: rgba(255,255,255,.8); font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(255,255,255,.4); flex-wrap: wrap; gap: 8px; }

/* ===== 全宽区块(首页用) ===== */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); }
.app-main:has(> .full-bleed-only) { max-width: 100%; padding: 0; }

/* ===== 动画 ===== */
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fade-up .6s cubic-bezier(.21,1.02,.73,1) both; }
.fade-up-1 { animation-delay: .08s; }
.fade-up-2 { animation-delay: .16s; }
.fade-up-3 { animation-delay: .24s; }

/* ==================================================================
   管理后台(保留原样式)
   ================================================================== */
.dashboard { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; }
.admin-links a { color: var(--primary); }

.admin-login-page {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4f46e5 100%);
    padding: 16px;
}
.admin-login-card {
    width: 100%; max-width: 400px;
    background: var(--card);
    border-radius: 14px;
    padding: 32px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.admin-login-head { text-align: center; margin-bottom: 24px; color: var(--text); }
.admin-login-icon { width: 44px; height: 44px; color: var(--primary); }
.admin-login-head h2 { margin-top: 8px; font-size: 22px; }
.admin-login-head p { color: var(--text-light); font-size: 13px; margin-top: 4px; }
.admin-login-foot { text-align: center; margin-top: 16px; font-size: 13px; }

.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
    width: 220px; flex-shrink: 0;
    background: #1f2937; color: #d1d5db;
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh;
}
.admin-logo {
    display: flex; align-items: center; gap: 8px;
    padding: 18px 16px; font-weight: 700; font-size: 16px; color: #fff;
    border-bottom: 1px solid #374151;
}
.admin-logo .logo-icon { width: 22px; height: 22px; }
.admin-nav { display: flex; flex-direction: column; padding: 12px 8px; gap: 2px; flex: 1; }
.admin-nav-item {
    display: block; padding: 10px 14px; border-radius: 8px;
    color: #d1d5db; font-size: 14px; text-decoration: none;
}
.admin-nav-item:hover { background: #374151; color: #fff; text-decoration: none; }
.admin-sidebar-foot { padding: 8px; border-top: 1px solid #374151; display: flex; flex-direction: column; }
.admin-nav-exit { color: #f87171; }
.admin-nav-exit:hover { background: #7f1d1d; color: #fecaca; }
.admin-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
    height: 56px; background: var(--card); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px; position: sticky; top: 0; z-index: 50;
}
.admin-top-title { font-weight: 700; font-size: 16px; }
.admin-content { padding: 24px; flex: 1; }
.setting-group { margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--border); font-size: 16px; }
.setting-group:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }

/* ==================================================================
   响应式
   ================================================================== */
@media (max-width: 1024px) {
    .features-inner { grid-template-columns: repeat(2,1fr); }
    .product-showcase { grid-template-columns: 1fr; }
    .uc-stats { grid-template-columns: repeat(2,1fr); }
    .quick-grid { grid-template-columns: repeat(2,1fr); }
    .guarantee-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .home-hero h1 { font-size: 36px; }
}
@media (max-width: 768px) {
    .header-nav { display: none; }
    .user-name { display: none; }
    .balance-chip { display: none; }
    .features-inner, .user-stats { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .hero-stats-grid { grid-template-columns: repeat(2,1fr); }
    .hero-stat { padding: 18px 10px; }
    .flow-steps { grid-template-columns: 1fr; gap: 36px; }
    .flow-step:not(:last-child)::after { display: none; }
    .auth-split { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .uc-layout { flex-direction: column; }
    .uc-sidebar { width: 100%; position: static; }
    .uc-nav { flex-direction: row; flex-wrap: wrap; }
    .uc-nav-title { display: none; }
    .product-buy-card { flex-direction: column; padding: 24px; }
    .product-buy-side { width: 100%; }
    .table-wrap { overflow-x: auto; }
    .home-hero { padding: 64px 16px 120px; }
    .home-hero h1 { font-size: 28px; }
    .section-title { font-size: 24px; }
    .kefu-tips, .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .doc-card { padding: 26px 20px; }
    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; flex-direction: row; align-items: center; overflow-x: auto; }
    .admin-nav { flex-direction: row; }
    .admin-sidebar-foot { margin-left: auto; flex-direction: row; }
}
