/* =============================================================
 * 步云阁 StepCloud Pro - 前台完整样式表
 * 深色渐变玻璃拟态(Glassmorphism)设计
 * 完整响应式：1200px / 1024px / 768px / 600px / 480px
 * ============================================================= */

/* ==================== CSS 变量 ==================== */
:root {
    --bg-1: #0f0c29;
    --bg-2: #302b63;
    --bg-3: #24243e;
    --accent-1: #6366f1;
    --accent-2: #a855f7;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-blur: 20px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 24px var(--accent-glow);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 64px;
    --container-max: 1200px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* 固定导航栏高度（64px）+ 缓冲，确保锚点跳转后标题不被遮挡 */
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.bg-gradient {
    background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 50%, var(--bg-3) 100%);
    background-attachment: fixed;
}

a {
    color: var(--accent-1);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--accent-2); }

ul { list-style: none; }

img { max-width: 100%; height: auto; }

/* ==================== 容器 ==================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.page-content {
    min-height: calc(100vh - var(--nav-height));
    padding-top: 20px;
    padding-bottom: 40px;
}

/* ==================== 玻璃拟态 ==================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ==================== 导航栏 ==================== */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 12, 41, 0.75);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    height: var(--nav-height);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
.nav-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 32px;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #764ba2 100%);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.5px;
    vertical-align: middle;
    margin-right: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.nav-logo-text::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.nav-logo-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -8px;
    width: 26px;
    height: 26px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    min-height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background 0.15s ease, transform 0.1s ease;
    position: relative;
    z-index: 1100;
}
.nav-toggle:active {
    transform: scale(0.95);
    background: rgba(99, 102, 241, 0.2);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    min-height: 44px;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
}

.nav-logout { color: rgba(255, 100, 100, 0.8) !important; }
.nav-logout:hover { background: rgba(255, 100, 100, 0.15) !important; }

/* 下拉菜单 */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a { cursor: pointer; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    display: none;
    flex-direction: column;
    gap: 4px;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
    display: flex;
}
.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: var(--transition);
    min-height: 44px;
}
.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 44px;
    line-height: 1.4;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
}
.btn-primary:hover { box-shadow: var(--shadow-glow); color: #fff; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}
.btn-outline:hover {
    background: var(--glass-bg);
    border-color: var(--accent-1);
    color: var(--text-primary);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}

.btn-sm { padding: 6px 12px; font-size: 0.8rem; min-height: 36px; }
.btn-lg { padding: 14px 28px; font-size: 1rem; min-height: 52px; }
.btn-block { width: 100%; }

/* ==================== 表单 ==================== */
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
    min-height: 44px;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-input::placeholder { color: var(--text-muted); }

.form-input-lg { padding: 14px 20px; font-size: 1.05rem; }

.form-input-readonly {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    cursor: default;
}
.form-input-readonly:hover { border-color: var(--glass-border); }
.form-input-readonly span { width: 100%; }

.form-row {
    display: flex;
    gap: 16px;
}
.form-row .form-group { flex: 1; }

.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 时间范围选择器（一行两列） */
.time-range {
    display: flex;
    align-items: center;
    gap: 10px;
}
.time-range .form-input {
    flex: 1;
}
.time-range-sep {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.form-actions { margin-top: 24px; }

.input-with-toggle {
    position: relative;
}
.input-with-toggle .form-input { padding-right: 44px; }
.toggle-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    min-width: 36px;
    min-height: 36px;
    font-size: 1.1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.toggle-password:hover { color: var(--text-primary); }
.toggle-password:focus { outline: none; }

/* 验证码行 */
.captcha-row {
    display: flex;
    gap: 10px;
}
.captcha-input { flex: 1; }
.captcha-btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 120px;
}
.captcha-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ==================== 认证页面 ==================== */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 40px);
    padding: 20px;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 36px 32px;
    border-radius: var(--radius-xl);
    position: relative;
}
.auth-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.auth-back {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-right: 16px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 42px;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #764ba2 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    font-style: italic;
    border-radius: 12px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.auth-logo-text::before {
    content: '';
    position: absolute;
    top: -18px;
    right: -12px;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.auth-logo-text::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: -10px;
    width: 34px;
    height: 34px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}
.auth-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.875rem;
}
.auth-form { margin-bottom: 20px; }
.login-options {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 20px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    user-select: none;
}
.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: var(--glass-bg);
    flex-shrink: 0;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) translate(-1px, -1px);
}
.checkbox-label input[type="checkbox"]:focus + .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(64, 158, 255, 0.2);
}
.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.auth-footer a { font-weight: 600; }

/* ==================== 首页 ==================== */
.home-page {
    min-height: 100vh;
    overflow: hidden;
}

/* Hero 区 */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.12), transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 800px;
}
.hero-brand {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.hero-poem {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-style: italic;
}
.hero-subtitle {
    font-size: clamp(0.875rem, 2vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 32px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* 计数器区 */
.counter-section {
    padding: 60px 0;
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}
.counter-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
}
.counter-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}
.counter-num {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
}
.counter-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 区块标题 */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 8px;
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

/* 功能区 */
.features-section,
.quality-section {
    padding: 60px 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-card {
    padding: 32px 24px;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    font-size: 1.8rem;
    color: var(--accent-1);
}
.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 定价区 */
.pricing-section {
    padding: 60px 0 40px;
}
.pricing-group-title {
    text-align: center;
    font-size: 1.3rem;
    margin: 32px 0 24px;
    color: var(--text-primary);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pricing-card {
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.pricing-popular {
    border-color: var(--accent-1);
    box-shadow: 0 0 24px rgba(99, 102, 241, 0.2);
}
.pricing-badge {
    position: absolute;
    top: 16px;
    right: -30px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(45deg);
}
.pricing-header { margin-bottom: 24px; }
.pricing-header h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.pricing-price {
    margin-bottom: 8px;
}
.price-currency {
    font-size: 1rem;
    vertical-align: top;
    color: var(--text-secondary);
}
.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}
.price-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.pricing-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.pricing-features {
    text-align: left;
    margin-bottom: 24px;
    font-size: 0.85rem;
}
.pricing-features li {
    padding: 6px 0;
    color: var(--text-secondary);
}
.pricing-features li .fa {
    color: var(--accent-1);
    margin-right: 8px;
}
.pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pricing-actions .btn {
    margin: 0;
}

/* 余额卡片 */
.balance-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
}
.balance-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.balance-info {
    flex: 1;
}
.balance-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 2px;
}
.balance-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.balance-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    flex-shrink: 0;
}

/* 余额支付按钮 */
.btn-balance {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border: none;
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.btn-balance:hover:not(:disabled):not(.disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}
.btn-balance:active:not(:disabled):not(.disabled) {
    transform: translateY(0);
}
.btn-balance.disabled,
.btn-balance:disabled {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
}
.balance-btn-hint {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-left: 4px;
}

/* 首页底部 */
.home-footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}
.home-footer p { margin-bottom: 4px; }

/* ==================== 页面头部 ==================== */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header h1 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== 统计卡片 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-2px); }
.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    color: #fff;
    flex-shrink: 0;
}
.stat-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.stat-green { background: linear-gradient(135deg, #10b981, #059669); }
.stat-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.stat-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ==================== 图表 ==================== */
.chart-container {
    padding: 20px;
    border-radius: var(--radius-lg);
}
.chart-header {
    margin-bottom: 16px;
}
.chart-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.chart-body {
    min-height: 200px;
}
.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 8px;
    height: 200px;
    padding: 10px 0;
}
.bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.bar-fill {
    width: 100%;
    max-width: 60px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent-1));
    border-radius: 6px 6px 0 0;
    transition: height 0.6s ease;
    min-height: 4px;
    position: relative;
}
.bar-value {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: var(--text-secondary);
    white-space: nowrap;
}
.bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.chart-loading {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==================== 账号卡片 ==================== */
.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.account-card {
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}
.account-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.account-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.account-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.account-name {
    font-weight: 600;
    font-size: 0.95rem;
}
.account-user {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.account-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.account-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.account-info-row .fa {
    color: var(--accent-1);
    margin-right: 6px;
    width: 16px;
}
.account-badges {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}

/* ==================== 徽章 ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
}
.badge-success { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.badge-danger { background: rgba(239, 68, 68, 0.2); color: #f87171; }
.badge-info { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.badge-warning { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-gray { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }

/* ==================== 详情页 ==================== */
.detail-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 20px;
    align-items: start;
}
.detail-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.account-info-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}
.action-card {
    padding: 20px;
    border-radius: var(--radius-lg);
}
.action-card h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.detail-right {
    min-width: 0;
}
.log-container {
    padding: 20px;
    border-radius: var(--radius-lg);
}
.log-header h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.log-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 600px;
    overflow-y: auto;
}
.log-item {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--glass-border);
    font-size: 0.85rem;
}
.log-item.log-success { border-left-color: #10b981; }
.log-item.log-fail { border-left-color: #ef4444; }
.log-item.log-info { border-left-color: #6366f1; }
.log-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.log-content {
    color: var(--text-secondary);
    word-break: break-all;
}
.log-do {
    color: var(--text-primary);
    font-weight: 500;
    margin-right: 4px;
}
.log-response-summary {
    display: inline;
}
.log-view-detail {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
    border-radius: 12px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}
.log-view-detail:hover {
    background: rgba(99, 102, 241, 0.35);
    color: #fff;
}
.log-view-detail i {
    margin-right: 4px;
}

/* 日志详情弹窗 */
.log-detail-modal {
    max-width: 600px;
}
.log-detail-header {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
}
.log-detail-header strong {
    color: var(--text-secondary);
    font-weight: 500;
    margin-right: 6px;
}
.log-detail-body label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.log-detail-pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px;
    font-size: 0.8rem;
    font-family: "SF Mono", "Fira Code", Consolas, "Microsoft YaHei", monospace;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-all;
    max-height: 350px;
    overflow-y: auto;
    line-height: 1.5;
}
.log-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.log-pagination button {
    padding: 6px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.8rem;
    min-height: 36px;
    transition: var(--transition);
}
.log-pagination button:hover,
.log-pagination button.active {
    background: var(--accent-1);
    color: #fff;
}
.log-pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ==================== 弹窗 Modal ==================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-box {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    animation: modalIn 0.3s ease;
}
@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
}
.modal-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    min-width: 36px;
    min-height: 36px;
}
.modal-close:hover { color: var(--text-primary); }
.modal-body {
    padding: 24px;
}
.modal-body p { margin-bottom: 8px; color: var(--text-secondary); }
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--glass-border);
}

/* ==================== Toast ==================== */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}
.toast {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    animation: toastIn 0.3s ease;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}
@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.toast-success { background: rgba(16, 185, 129, 0.9); color: #fff; }
.toast-error { background: rgba(239, 68, 68, 0.9); color: #fff; }
.toast-info { background: rgba(99, 102, 241, 0.9); color: #fff; }
.toast-warning { background: rgba(245, 158, 11, 0.9); color: #fff; }

/* ==================== 公告栏 ==================== */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    overflow: hidden;
}
.notice-bar > .fa { color: var(--accent-2); flex-shrink: 0; }
.notice-scroll {
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
}
.notice-item {
    display: inline-block;
    margin-right: 40px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==================== 表格 ==================== */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.data-table th {
    padding: 12px 16px;
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    white-space: nowrap;
}
.data-table td {
    padding: 12px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.data-table code {
    background: rgba(99, 102, 241, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent-1);
}

/* ==================== 提示框 ==================== */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
}
.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}
.alert-warning a { color: var(--accent-1); font-weight: 600; }

/* ==================== 信息提示 ==================== */
.info-tips {
    padding: 20px;
    border-radius: var(--radius-lg);
}
.info-tips h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.info-tips ul {
    padding-left: 20px;
    list-style: disc;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.info-tips ul li { margin-bottom: 6px; }

/* ==================== 表单容器 ==================== */
.form-container {
    padding: 28px;
    border-radius: var(--radius-lg);
}
.form-container h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== 高级设置折叠 ==================== */
.advanced-section {
    margin: 16px 0;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.advanced-section.open {
    border-color: rgba(99, 102, 241, 0.4);
}
.advanced-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.advanced-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}
.advanced-toggle span i {
    margin-right: 8px;
    color: var(--accent-1);
}
.advanced-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}
.advanced-section.open .advanced-toggle-icon {
    transform: rotate(180deg);
}
.advanced-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}
.advanced-inner {
    padding: 16px;
    padding-top: 8px;
}

/* ==================== VIP状态卡 ==================== */
.vip-status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}
.vip-status-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}
.vip-status-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== 配额状态卡 ==================== */
.quota-status-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.quota-status-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    font-size: 1.3rem;
}
.quota-status-value {
    font-size: 1.5rem;
    font-weight: 700;
}
.quota-status-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.quota-status-hint {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================== 代理页 ==================== */
.agent-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.agent-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
}
.agent-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.agent-info-value {
    font-size: 1.3rem;
    font-weight: 700;
}
.agent-info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==================== 个人资料 ==================== */
.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.profile-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-lg);
}
.profile-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}
.profile-detail h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.profile-detail p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.profile-stat-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}
.profile-stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
}
.profile-stat-row:last-child { border-bottom: none; }
.profile-stat-label { color: var(--text-muted); }
.profile-stat-value {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==================== 卡密激活 ==================== */
.activate-card-icon {
    text-align: center;
    font-size: 3rem;
    color: var(--accent-1);
    margin-bottom: 8px;
}

/* ==================== 加载动画 ==================== */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--accent-1);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.loading-overlay.show { display: flex; }
.loading-box {
    padding: 32px;
    text-align: center;
}
.loading-box .spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
}
.loading-box p {
    margin-top: 12px;
    color: var(--text-primary);
}

/* ==================== 响应式：1200px ==================== */
@media (max-width: 1200px) {
    .container { max-width: 100%; }
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .detail-layout {
        grid-template-columns: 320px 1fr;
    }
}

/* ==================== 响应式：1024px ==================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .detail-left {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .detail-left > div { flex: 1; min-width: 280px; }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .agent-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== 响应式：768px ==================== */
@media (max-width: 768px) {
    /* 导航栏折叠 */
    .nav-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(15, 12, 41, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
        gap: 4px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid var(--glass-border);
    }
    .nav-menu.show {
        max-height: 600px;
        overflow-y: auto;
    }
    .nav-menu > li { width: 100%; }
    .nav-menu > li > a {
        padding: 14px 16px;
        justify-content: flex-start;
    }
    .nav-dropdown .dropdown-menu {
        position: static;
        display: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
    }
    .nav-dropdown.open .dropdown-menu { display: flex; }

    /* 全部单列 */
    .stats-grid,
    .features-grid,
    .pricing-grid,
    .counter-grid,
    .profile-info-grid,
    .agent-info-grid {
        grid-template-columns: 1fr;
    }

    /* 表单单列 */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* 详情左侧单列 */
    .detail-left {
        flex-direction: column;
    }

    /* 首页按钮全宽 */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .hero-buttons .btn {
        width: 100%;
    }

    /* 账号网格 */
    .account-grid {
        grid-template-columns: 1fr;
    }

    /* 页面头部 */
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .page-header .btn { width: 100%; }

    /* 弹窗全宽 */
    .modal-box {
        max-width: 100%;
        margin: 10px;
    }

    /* Toast位置调整 */
    .toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    /* 表单容器 */
    .form-container { padding: 20px; }
    .auth-card { padding: 28px 20px; }

    /* 验证码行单列 */
    .captcha-row {
        flex-direction: column;
        gap: 8px;
    }
    .captcha-btn {
        width: 100%;
    }

    /* 日志高度 */
    .log-list { max-height: 400px; }

    /* 表格可滚动 */
    .table-wrapper { overflow-x: auto; }

    /* 余额卡片 */
    .balance-card {
        flex-wrap: wrap;
        padding: 16px;
        gap: 12px;
    }
    .balance-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .balance-value {
        font-size: 1.25rem;
    }
    .balance-hint {
        width: 100%;
        text-align: left;
    }

    /* 高级设置 */
    .advanced-inner { padding: 12px; }
}

/* ==================== 响应式：600px ==================== */
@media (max-width: 600px) {
    .page-content { padding-top: 12px; }

    .stat-card {
        padding: 16px;
    }
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .stat-value { font-size: 1.25rem; }

    .feature-card { padding: 24px 16px; }

    .pricing-card { padding: 24px 16px; }
    .price-amount { font-size: 1.75rem; }

    .auth-logo h2 { font-size: 1.3rem; }
    .auth-logo-text { width: 44px; height: 36px; font-size: 0.9rem; }

    .counter-card {
        padding: 20px 16px;
        gap: 12px;
    }
    .counter-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .log-item {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 10px 8px;
        font-size: 0.78rem;
    }
}

/* ==================== 响应式：480px ==================== */
@media (max-width: 480px) {
    .container { padding: 0 12px; }

    .glass {
        border-radius: var(--radius-md);
    }

    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .form-input {
        padding: 10px 14px;
        font-size: 0.875rem;
    }

    .hero-brand {
        font-size: 2.2rem;
    }
    .hero-poem { font-size: 0.95rem; }
    .hero-subtitle { font-size: 0.8rem; }

    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.8rem; margin-bottom: 24px; }

    .bar-chart { height: 160px; }
    .bar-label { font-size: 0.65rem; }

    .modal-body { padding: 16px; }
    .modal-header { padding: 16px 20px; }
    .modal-footer { padding: 12px 20px; }

    .profile-info-card { padding: 16px; }
    .profile-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .nav-brand-name { display: none; }
}

/* ==================== 触摸优化 ==================== */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .pricing-card:hover,
    .account-card:hover,
    .stat-card:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    .nav-menu > li > a:hover {
        background: transparent;
    }
}

/* ==================== 滚动条美化 ==================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

/* ==================== 选择文字 ==================== */
::selection {
    background: var(--accent-1);
    color: #fff;
}

/* ==================== 首页全新设计 ==================== */

/* ---------- 首页导航栏 ---------- */
.home-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    background: rgba(15, 12, 41, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}
.home-nav.scrolled {
    background: rgba(15, 12, 41, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.home-nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.home-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
.home-nav-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 36px;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #764ba2 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    font-style: italic;
    border-radius: 10px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.home-nav-logo-text::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.home-nav-logo-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -8px;
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}
.home-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}
.home-nav-toggle:active {
    transform: scale(0.95);
    background: rgba(99, 102, 241, 0.2);
}
/* 桌面端导航链接 */
.home-nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
}
.home-nav-desktop a {
    padding: 8px 16px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}
.home-nav-desktop a:hover {
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.15);
}
.home-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
/* 移动端菜单（默认隐藏） */
.home-nav-mobile,
.home-nav-mask {
    display: none;
}

/* ---------- Hero区 ---------- */
.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 64px;
}
.home-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}
.home-hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.particle {
    position: absolute;
    background: var(--accent-1);
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 20s linear infinite;
    box-shadow: 0 0 10px var(--accent-glow);
}
@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}
.home-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
}
.home-hero-glow.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-1);
    top: 10%;
    left: 10%;
    animation: glowPulse 8s ease-in-out infinite;
}
.home-hero-glow.glow-2 {
    width: 350px;
    height: 350px;
    background: var(--accent-2);
    bottom: 15%;
    right: 10%;
    animation: glowPulse 10s ease-in-out infinite reverse;
}
@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.25; }
    50% { transform: scale(1.2); opacity: 0.4; }
}
.home-hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
}
.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-1);
    margin-bottom: 24px;
    font-weight: 500;
}
.home-hero-badge .fa {
    color: #fbbf24;
}
.home-hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--accent-1) 50%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: 2px;
}
.home-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 4px;
    font-weight: 400;
}
.home-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.home-hero-features-inline {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.home-hero-features-inline span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.home-hero-features-inline .fa {
    color: #10b981;
}
.home-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 0.8rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2s infinite;
}
.home-hero-scroll .fa {
    font-size: 1.4rem;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 1; }
}

/* ---------- 通用区块样式 ---------- */
.home-section {
    padding: 80px 0;
    position: relative;
}
.home-section-header {
    text-align: center;
    margin-bottom: 60px;
}
.home-section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-1);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.home-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fff, var(--text-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.home-section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- 核心优势区 ---------- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.advantage-card {
    padding: 40px 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(99, 102, 241, 0.3);
}
.advantage-card:hover::before {
    opacity: 1;
}
.advantage-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    font-size: 1.8rem;
    color: var(--accent-1);
    margin-bottom: 8px;
}
.advantage-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.advantage-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- 功能特色区 ---------- */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}
.feature-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
    transition: var(--transition);
}
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-item.feature-reverse {
    grid-template-columns: 1fr 200px;
}
.feature-item.feature-reverse .feature-item-icon {
    order: 2;
}
.feature-item.feature-reverse .feature-item-content {
    order: 1;
    text-align: right;
}
.feature-item.feature-reverse .feature-item-line {
    margin-left: auto;
    margin-right: 0;
}
.feature-item-icon {
    display: flex;
    justify-content: center;
}
.feature-icon-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));
    border: 2px solid rgba(99, 102, 241, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--accent-1);
    transition: var(--transition);
}
.feature-item:hover .feature-icon-circle {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--accent-glow);
}
.feature-item-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-item-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.feature-item-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border-radius: 2px;
}

/* ---------- 定价套餐区 ---------- */
.pricing-group {
    margin-bottom: 60px;
}
.pricing-group:last-child {
    margin-bottom: 0;
}
.pricing-group-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.pricing-group-title .fa {
    color: var(--accent-1);
}
.pricing-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pricing-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    padding: 36px 24px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.pricing-card.pricing-popular {
    border-color: var(--accent-1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
    transform: translateY(-4px);
}
.pricing-card.pricing-popular:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.3);
}
.pricing-ribbon {
    position: absolute;
    top: 16px;
    right: -34px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}
.pricing-level-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 12px;
}
.pricing-card-header {
    margin-bottom: 24px;
}
.pricing-card-header h4 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}
.pricing-card-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}
.price-symbol {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.price-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}
.price-unit {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.pricing-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.pricing-card-features {
    text-align: left;
    margin-bottom: 28px;
    flex: 1;
    font-size: 0.85rem;
}
.pricing-card-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pricing-card-features li:last-child {
    border-bottom: none;
}
.pricing-card-features li .fa {
    color: #10b981;
    flex-shrink: 0;
    font-size: 0.9rem;
}

/* ---------- 数据展示区 ---------- */
.stats-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.stats-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.home-stats .stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 36px 28px;
    transition: var(--transition);
}
.stats-grid-4 .stat-card {
    gap: 14px;
    padding: 22px 20px;
}
.stats-grid-4 .stat-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    font-size: 1.3rem;
}
.stats-grid-4 .stat-card-number {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    margin-bottom: 2px;
}
.stats-grid-4 .stat-card-label {
    font-size: .76rem;
    white-space: nowrap;
}
.home-stats .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.stat-card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.6rem;
    color: #fff;
    flex-shrink: 0;
}
.stat-icon-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.stat-icon-green { background: linear-gradient(135deg, #10b981, #059669); }
.stat-icon-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.stat-icon-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.stat-card-number {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}
.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ---------- CTA区 ---------- */
.home-cta {
    padding: 60px 0 80px;
}
.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px 56px;
    gap: 32px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.1));
    border-color: rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-content {
    position: relative;
    z-index: 1;
}
.cta-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.cta-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.cta-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ---------- 底部 ---------- */
.home-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 24px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.footer-logo-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 36px;
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #764ba2 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    font-style: italic;
    border-radius: 10px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    font-family: Georgia, 'Times New Roman', serif;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.footer-logo-text::before {
    content: '';
    position: absolute;
    top: -14px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}
.footer-logo-text::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -8px;
    width: 28px;
    height: 28px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
}
.footer-slogan {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.footer-link-group h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.footer-link-group a {
    display: block;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}
.footer-link-group a:hover {
    color: var(--accent-1);
    padding-left: 4px;
}
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}
.footer-bottom p {
    margin-bottom: 6px;
}
.footer-icp {
    font-size: 0.75rem;
}
.footer-admin-link a {
    color: var(--text-muted);
    font-size: 0.75rem;
}
.footer-admin-link a:hover {
    color: var(--accent-1);
}

/* ---------- 首页响应式：1024px ---------- */
@media (max-width: 1024px) {
    .pricing-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-item,
    .feature-item.feature-reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .feature-item.feature-reverse .feature-item-icon {
        order: 0;
    }
    .feature-item.feature-reverse .feature-item-content {
        order: 1;
        text-align: center;
    }
    .feature-item.feature-reverse .feature-item-line {
        margin: 0 auto;
    }
    .feature-icon-circle {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 32px;
    }
    .cta-buttons {
        justify-content: center;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* ---------- 首页响应式：768px ---------- */
@media (max-width: 768px) {
    .home-nav-toggle {
        display: flex;
    }
    /* 移动端隐藏桌面端导航和按钮 */
    .home-nav-desktop,
    .home-nav-actions {
        display: none;
    }
    /* 遮罩层 */
    .home-nav-mask.show {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1400;
    }
    /* 移动端侧边菜单 */
    .home-nav-mobile.show {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 70%;
        max-width: 280px;
        background: rgba(15, 12, 41, 0.98);
        z-index: 1500;
    }
    .home-nav-mobile a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 20px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 1rem;
    }
    .home-nav-mobile a i {
        width: 20px;
        text-align: center;
        color: var(--accent-1);
    }
    /* 侧边栏底部加群卡片 */
    .home-nav-mobile-footer {
        margin-top: auto;
        padding: 16px 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .nav-group-card {
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
        border: 1px solid rgba(99, 102, 241, 0.3);
        border-radius: 12px;
        padding: 14px;
        text-align: center;
    }
    .nav-group-card i {
        font-size: 1.5rem;
        color: var(--accent-1);
        margin-bottom: 8px;
    }
    .nav-group-card p {
        font-size: 0.85rem;
        color: var(--text-secondary);
        margin: 0 0 10px 0;
    }
    .nav-group-card .btn {
        width: 100%;
    }
    .home-hero-title {
        letter-spacing: 1px;
    }
    .home-hero-subtitle {
        letter-spacing: 2px;
    }
    .home-hero-features-inline {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }
    .home-section {
        padding: 60px 0;
    }
    .home-section-header {
        margin-bottom: 40px;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid-4,
    .pricing-grid-3 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .stats-grid-3 {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .stats-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 600px;
        margin: 0 auto;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ---------- 首页响应式：480px ---------- */
@media (max-width: 480px) {
    .stats-grid-4 {
        gap: 10px;
    }
    .stats-grid-4 .stat-card {
        gap: 9px;
        padding: 16px 12px;
    }
    .stats-grid-4 .stat-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1rem;
    }
    .stats-grid-4 .stat-card-number {
        font-size: 1.35rem;
    }
    .stats-grid-4 .stat-card-label {
        font-size: .68rem;
    }
    .home-nav-container {
        padding: 0 12px;
    }
    .home-hero {
        padding-top: 56px;
    }
    .home-hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    .home-hero-buttons {
        flex-direction: column;
    }
    .home-hero-buttons .btn {
        width: 100%;
    }
    .home-section {
        padding: 48px 0;
    }
    .advantage-card {
        padding: 28px 20px;
    }
    .advantage-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        border-radius: 12px;
    }
    .feature-item {
        padding: 28px 20px;
    }
    .feature-icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    .pricing-card {
        padding: 28px 20px;
    }
    .price-number {
        font-size: 2rem;
    }
    .home-stats .stat-card {
        padding: 24px 20px;
        gap: 16px;
    }
    .stat-card-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        border-radius: 12px;
    }
    .cta-card {
        padding: 32px 20px;
    }
    .cta-content h2 {
        font-size: 1.3rem;
    }
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .home-nav-brand-name {
        display: none;
    }
}

/* ==================== 控制台：用户信息卡片 ==================== */
.user-info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
    gap: 20px;
}
.user-info-left {
    display: flex;
    align-items: center;
    gap: 18px;
}
.user-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.user-info-detail {
    min-width: 0;
}
.user-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.user-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}
.user-sub-info {
    font-size: 13px;
    color: var(--text-muted);
}
.user-sub-info i {
    margin-right: 4px;
}
.user-info-right {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.user-stat-item {
    text-align: center;
    padding: 0 24px;
    min-width: 100px;
}
.user-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.user-stat-value .unit {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}
.user-stat-label {
    font-size: 12px;
    color: var(--text-muted);
}
.user-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}
.badge-vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-agent {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
.badge-gray {
    background: rgba(255,255,255,0.1);
    color: var(--text-secondary);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* ==================== 控制台：快捷入口 ==================== */
.quick-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 8px;
}
.quick-entry-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.quick-entry-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255,255,255,0.2);
}
.quick-entry-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
}
.quick-blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.quick-green { background: linear-gradient(135deg, #10b981, #059669); }
.quick-purple { background: linear-gradient(135deg, #a855f7, #7c3aed); }
.quick-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.quick-entry-info {
    flex: 1;
    min-width: 0;
}
.quick-entry-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 4px 0;
    color: var(--text-primary);
}
.quick-entry-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}
.quick-entry-arrow {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}
.quick-entry-card:hover .quick-entry-arrow {
    color: var(--accent-1);
    transform: translateX(3px);
}

/* ==================== 控制台：section-header ==================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}
.section-header h2 i {
    margin-right: 8px;
    color: var(--accent-1);
}

/* ==================== 响应式：控制台 ==================== */
@media (max-width: 1024px) {
    .quick-entry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .user-info-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 16px;
    }
    .user-info-right {
        width: 100%;
        justify-content: space-around;
    }
    .user-stat-item {
        padding: 0 12px;
        min-width: auto;
        flex: 1;
    }
}
@media (max-width: 600px) {
    .quick-entry-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .quick-entry-card {
        padding: 14px;
        gap: 10px;
    }
    .quick-entry-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        border-radius: 10px;
    }
    .quick-entry-info h4 {
        font-size: 13px;
    }
    .quick-entry-info p {
        font-size: 11px;
    }
    .user-avatar-lg {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
    .user-name {
        font-size: 17px;
    }
    .user-stat-value {
        font-size: 18px;
    }
}
@media (max-width: 400px) {
    .quick-entry-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 打印 ==================== */
@media print {
    .top-nav, .home-nav, .toast-container, .modal-overlay, .loading-overlay { display: none !important; }
    body { background: #fff; color: #000; }
    .glass { background: none; border: 1px solid #ccc; box-shadow: none; }
}

/* 移动端顶部导航修复：隐藏折叠菜单时不露出背景和阴影 */
@media (max-width: 768px) {
    .top-nav { z-index: 2000; background: #0f0c29; box-shadow: none; isolation: isolate; }
    .nav-menu {
        z-index: 2001;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        box-shadow: none !important;
        border-top: 0 !important;
        border-bottom: 0 !important;
        background: #0f0c29 !important;
        transition: max-height .3s ease, opacity .15s ease, visibility 0s linear .3s;
    }
    .nav-menu.show {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        border-bottom: 1px solid rgba(255,255,255,.10) !important;
        transition: max-height .3s ease, opacity .15s ease;
    }
    .page-content { position: relative; z-index: 0; }
}

/* ==================== 未登录首页：炫彩科技主题 ====================
 * 仅作用于 home.php 的 home-* / 首页专用类，不影响登录后的控制台。
 */
body:has(.home-hero) {
    background: radial-gradient(circle at 12% 8%, rgba(124,58,237,.32), transparent 30%), radial-gradient(circle at 88% 18%, rgba(14,165,233,.22), transparent 28%), linear-gradient(135deg, #070b24 0%, #111342 48%, #170b38 100%);
}
.home-nav { background: rgba(7,11,36,.72); border-bottom: 1px solid rgba(167,139,250,.28); box-shadow: 0 8px 35px rgba(76,29,149,.16); }
.home-nav.scrolled { background: rgba(7,11,36,.94); border-bottom-color: rgba(129,140,248,.42); box-shadow: 0 10px 40px rgba(2,6,23,.55), 0 0 28px rgba(124,58,237,.16); }
.home-nav-logo-text { background: linear-gradient(135deg,#312e81 0%,#7c3aed 48%,#ec4899 100%); border-color: rgba(255,255,255,.22); box-shadow: 0 0 0 1px rgba(167,139,250,.18), 0 8px 24px rgba(124,58,237,.5); }
.home-nav-desktop a:hover { color:#fff; background:linear-gradient(135deg,rgba(99,102,241,.28),rgba(236,72,153,.18)); box-shadow:0 0 20px rgba(99,102,241,.22); }
.home-hero { background: linear-gradient(180deg,rgba(15,23,72,.08),rgba(7,11,36,.7)), radial-gradient(ellipse at 50% 35%,rgba(99,102,241,.18),transparent 55%); }
.home-hero::before { content:''; position:absolute; inset:9% 7% 7%; border:1px solid rgba(129,140,248,.12); border-radius:42px; pointer-events:none; box-shadow:inset 0 0 90px rgba(99,102,241,.06),0 0 50px rgba(236,72,153,.05); }
.home-hero-glow { opacity:.45; filter:blur(100px); }
.home-hero-glow.glow-1 { background:#7c3aed; }
.home-hero-glow.glow-2 { background:#ec4899; }
.home-hero-badge { background:linear-gradient(135deg,rgba(99,102,241,.25),rgba(236,72,153,.18)); border-color:rgba(167,139,250,.55); box-shadow:0 0 28px rgba(124,58,237,.28),inset 0 0 18px rgba(255,255,255,.04); }
.home-hero-title { background:linear-gradient(105deg,#fff 8%,#c4b5fd 38%,#f0abfc 66%,#67e8f9 100%); -webkit-background-clip:text; background-clip:text; filter:drop-shadow(0 8px 28px rgba(124,58,237,.28)); }
.home-hero-buttons .btn-primary,.home-cta .btn-primary { background:linear-gradient(100deg,#4f46e5,#9333ea 52%,#ec4899); border:1px solid rgba(255,255,255,.22); box-shadow:0 12px 30px rgba(124,58,237,.38),0 0 25px rgba(236,72,153,.16); }
.home-hero-buttons .btn-primary:hover,.home-cta .btn-primary:hover { transform:translateY(-3px) scale(1.02); box-shadow:0 16px 38px rgba(124,58,237,.52),0 0 32px rgba(236,72,153,.25); }
.home-hero-buttons .btn-outline { border-color:rgba(103,232,249,.5); color:#a5f3fc; background:rgba(8,47,73,.22); box-shadow:0 0 22px rgba(34,211,238,.12); }
.home-section { position:relative; background:linear-gradient(180deg,rgba(17,24,65,.16),rgba(7,11,36,.08)); }
.home-section:nth-of-type(odd) { background:linear-gradient(135deg,rgba(76,29,149,.12),rgba(14,116,144,.06)); }
.home-section-tag { color:#f0abfc; background:rgba(124,58,237,.16); border:1px solid rgba(216,180,254,.28); box-shadow:0 0 20px rgba(168,85,247,.16); }
.home-section-title { color:#f8fafc; text-shadow:0 4px 24px rgba(129,140,248,.28); }
.feature-item { border:1px solid rgba(129,140,248,.22); background:linear-gradient(135deg,rgba(30,27,75,.68),rgba(15,23,62,.48)); box-shadow:0 18px 45px rgba(2,6,23,.28),inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter:blur(16px); }
.feature-item:hover { border-color:rgba(217,70,239,.55); box-shadow:0 22px 55px rgba(76,29,149,.38),0 0 30px rgba(236,72,153,.14); }
.feature-icon-circle { background:linear-gradient(135deg,#4f46e5,#9333ea 55%,#ec4899); border-color:rgba(255,255,255,.25); box-shadow:0 0 32px rgba(168,85,247,.42),inset 0 0 20px rgba(255,255,255,.12); }
.pricing-card { border:1px solid rgba(129,140,248,.25); background:linear-gradient(145deg,rgba(30,27,75,.78),rgba(15,23,62,.58)); box-shadow:0 20px 48px rgba(2,6,23,.32),inset 0 1px 0 rgba(255,255,255,.07); backdrop-filter:blur(18px); }
.pricing-card:hover { transform:translateY(-8px); border-color:rgba(192,132,252,.62); box-shadow:0 28px 64px rgba(76,29,149,.4),0 0 36px rgba(168,85,247,.18); }
.pricing-card.pricing-popular { border-color:rgba(236,72,153,.68); background:linear-gradient(145deg,rgba(88,28,135,.48),rgba(30,27,75,.8)); box-shadow:0 24px 60px rgba(126,34,206,.38),0 0 42px rgba(236,72,153,.18),inset 0 1px 0 rgba(255,255,255,.1); }
.pricing-ribbon { background:linear-gradient(90deg,#db2777,#9333ea); box-shadow:0 5px 18px rgba(219,39,119,.35); }
.pricing-card-price .price-number { background:linear-gradient(100deg,#fff,#c4b5fd,#f0abfc); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.home-stats .stat-card { border-color:rgba(129,140,248,.24); background:linear-gradient(135deg,rgba(30,27,75,.65),rgba(15,23,62,.45)); box-shadow:0 16px 40px rgba(2,6,23,.28),inset 0 1px 0 rgba(255,255,255,.06); }
.cta-card { background:linear-gradient(115deg,rgba(49,46,129,.82),rgba(126,34,206,.7) 55%,rgba(190,24,93,.62)); border-color:rgba(216,180,254,.34); box-shadow:0 28px 70px rgba(76,29,149,.42),0 0 45px rgba(236,72,153,.14); }
.home-footer { background:linear-gradient(180deg,rgba(7,11,36,.2),rgba(2,6,23,.92)); border-top-color:rgba(129,140,248,.2); }
@media (max-width:768px) { .home-hero::before{inset:6% 4% 4%;border-radius:28px;} .home-hero-glow{opacity:.3;filter:blur(75px);} .home-hero-title{letter-spacing:1px;} .feature-item,.pricing-card{box-shadow:0 14px 34px rgba(2,6,23,.3);} .pricing-card:hover{transform:none;} }

/* ==================== 登录后控制台：深色玻璃 + 模块分色 ==================== */
.user-info-card {
    background: linear-gradient(135deg, rgba(30,27,75,.78), rgba(15,23,62,.62));
    border: 1px solid rgba(129,140,248,.28);
    box-shadow: 0 18px 48px rgba(2,6,23,.34), inset 0 1px 0 rgba(255,255,255,.07);
    backdrop-filter: blur(18px);
}
.user-info-right { gap: 0; }
.user-stat-item { min-width: 112px; padding: 8px 14px; }
.user-stat-value { color: #f8fafc; text-shadow: 0 2px 14px rgba(129,140,248,.25); }
.user-stat-item:nth-child(1) .user-stat-value { color: #fbbf24; text-shadow: 0 0 18px rgba(251,191,36,.32); }
.user-stat-item:nth-child(3) .user-stat-value { color: #67e8f9; }
.user-stat-item:nth-child(5) .user-stat-value { color: #a5b4fc; }
.user-stat-divider { background: linear-gradient(180deg, transparent, rgba(255,255,255,.18), transparent); }
.user-stat-item a[href*="recharge"] { color: #dbeafe !important; background: linear-gradient(135deg,#2563eb,#4f46e5) !important; box-shadow: 0 5px 16px rgba(37,99,235,.3); }
.quick-entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quick-entry-card {
    min-height: 88px;
    padding: 16px 18px;
    border: 1px solid rgba(129,140,248,.2);
    background: linear-gradient(135deg, rgba(30,27,75,.72), rgba(15,23,62,.52));
    box-shadow: 0 12px 30px rgba(2,6,23,.24), inset 0 1px 0 rgba(255,255,255,.05);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.quick-entry-card:hover { transform: translateY(-4px); border-color: rgba(165,180,252,.55); box-shadow: 0 18px 38px rgba(30,41,99,.35), 0 0 24px rgba(99,102,241,.12); }
.quick-entry-card:nth-child(1) { border-left: 3px solid #38bdf8; }
.quick-entry-card:nth-child(2) { border-left: 3px solid #34d399; }
.quick-entry-card:nth-child(3) { border-left: 3px solid #c084fc; }
.quick-entry-card:nth-child(4) { border-left: 3px solid #fb923c; }
.quick-entry-info h4 { color: #f8fafc; }
.quick-entry-info p { color: #a5b4fc; }
.quick-entry-arrow { color: #818cf8; }
.section-header h2 { color: #e0e7ff; }
.stats-grid .stat-card { border: 1px solid rgba(129,140,248,.2); background: linear-gradient(135deg,rgba(30,27,75,.68),rgba(15,23,62,.48)); box-shadow: 0 12px 30px rgba(2,6,23,.22), inset 0 1px 0 rgba(255,255,255,.05); }
.stats-grid .stat-card:nth-child(1) { border-top: 2px solid #38bdf8; }
.stats-grid .stat-card:nth-child(2) { border-top: 2px solid #34d399; }
.stats-grid .stat-card:nth-child(3) { border-top: 2px solid #a78bfa; }
.stats-grid .stat-card:nth-child(4) { border-top: 2px solid #fb923c; }
.stat-value { color: #f8fafc; }
/* 移动端登录后汉堡菜单：两列紧凑布局，商城占满一行 */
@media (max-width: 768px) {
    .nav-menu.show { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 6px; padding: 10px 12px 14px; max-height: 70vh; }
    .nav-menu > li { width: auto; min-width: 0; }
    .nav-menu > li > a { min-height: 42px; padding: 10px 9px; justify-content: center; font-size: .82rem; gap: 5px; white-space: nowrap; }
    .nav-menu > li > a i.fa { font-size: .9rem; }
    .nav-menu > li.nav-dropdown { grid-column: 1 / -1; }
    .nav-dropdown > a { justify-content: center !important; }
    .nav-dropdown .dropdown-menu { padding: 0 4px; display: none; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nav-dropdown.open .dropdown-menu { display: grid; }
    .dropdown-menu li a { min-height: 38px; padding: 8px 6px; justify-content: center; font-size: .78rem; }
    .quick-entry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
    .quick-entry-card { min-height: 98px; padding: 13px 11px; display: grid; grid-template-columns: 38px 1fr 12px; gap: 9px; }
    .quick-entry-icon { width: 38px; height: 38px; font-size: 1rem; }
    .quick-entry-info h4 { font-size: .92rem; }
    .quick-entry-info p { font-size: .72rem; line-height: 1.35; }
    .quick-entry-arrow { font-size: .85rem; }
    .user-info-card { padding: 16px 12px; }
    .user-info-right { width: 100%; margin-top: 14px; justify-content: space-around; }
    .user-stat-item { min-width: 0; flex: 1; padding: 5px 3px; }
    .user-stat-value { font-size: 1rem; }
    .user-stat-label { font-size: .7rem; }
    .user-stat-item a[href*="recharge"] { padding: 3px 6px !important; font-size: .66rem !important; }
}
@media (max-width: 390px) {
    .nav-menu > li > a { font-size: .76rem; padding-left: 5px; padding-right: 5px; }
    .quick-entry-card { grid-template-columns: 32px 1fr 8px; gap: 6px; padding: 11px 8px; }
    .quick-entry-icon { width: 32px; height: 32px; font-size: .85rem; }
    .quick-entry-info h4 { font-size: .82rem; }
    .quick-entry-info p { font-size: .65rem; }
}

/* ==================== 第二轮视觉调整 ==================== */
/* 登录后移动导航：一行一个，紧凑清爽；首页未登录菜单不受影响 */
@media (max-width: 768px) {
    .nav-menu.show { display:flex; flex-direction:column; align-items:stretch; gap:3px; padding:8px 10px 12px; }
    .nav-menu > li { width:100%; }
    .nav-menu > li > a { min-height:38px; padding:8px 13px; justify-content:flex-start; font-size:.84rem; }
    .nav-menu > li.nav-dropdown { width:100%; }
    .nav-dropdown .dropdown-menu { display:none; padding:2px 0 2px 18px; }
    .nav-dropdown.open .dropdown-menu { display:flex; flex-direction:column; gap:2px; }
    .dropdown-menu li a { min-height:34px; padding:6px 12px; justify-content:flex-start; font-size:.78rem; }
}
/* 未登录首页：功能模块独立配色，让核心卖点更容易被看到 */
body:has(.home-hero) .feature-item:nth-child(1) { border-color:rgba(56,189,248,.48); background:linear-gradient(135deg,rgba(8,47,73,.78),rgba(30,27,75,.62)); }
body:has(.home-hero) .feature-item:nth-child(2) { border-color:rgba(52,211,153,.48); background:linear-gradient(135deg,rgba(6,78,59,.72),rgba(15,23,62,.62)); }
body:has(.home-hero) .feature-item:nth-child(3) { border-color:rgba(192,132,252,.52); background:linear-gradient(135deg,rgba(76,29,149,.72),rgba(30,27,75,.62)); }
body:has(.home-hero) .feature-item:nth-child(4) { border-color:rgba(251,146,60,.5); background:linear-gradient(135deg,rgba(124,45,18,.68),rgba(30,27,75,.62)); }
body:has(.home-hero) .feature-item:nth-child(1) .feature-icon-circle { background:linear-gradient(135deg,#0284c7,#22d3ee); }
body:has(.home-hero) .feature-item:nth-child(2) .feature-icon-circle { background:linear-gradient(135deg,#059669,#34d399); }
body:has(.home-hero) .feature-item:nth-child(3) .feature-icon-circle { background:linear-gradient(135deg,#7c3aed,#d946ef); }
body:has(.home-hero) .feature-item:nth-child(4) .feature-icon-circle { background:linear-gradient(135deg,#ea580c,#fbbf24); }
body:has(.home-hero) .pricing-group:nth-child(1) .pricing-group-title { color:#fbbf24; text-shadow:0 0 18px rgba(251,191,36,.28); }
body:has(.home-hero) .pricing-group:nth-child(2) .pricing-group-title { color:#38bdf8; text-shadow:0 0 18px rgba(56,189,248,.25); }
body:has(.home-hero) .pricing-group:nth-child(3) .pricing-group-title { color:#34d399; text-shadow:0 0 18px rgba(52,211,153,.25); }
body:has(.home-hero) .pricing-group:nth-child(1) .pricing-card { border-top:2px solid rgba(251,191,36,.62); }
body:has(.home-hero) .pricing-group:nth-child(2) .pricing-card { border-top:2px solid rgba(56,189,248,.58); }
body:has(.home-hero) .pricing-group:nth-child(3) .pricing-card { border-top:2px solid rgba(52,211,153,.58); }
body:has(.home-hero) .pricing-group:nth-child(1) .pricing-card-price .price-number { background:linear-gradient(100deg,#fde68a,#f59e0b); -webkit-background-clip:text; background-clip:text; }
body:has(.home-hero) .pricing-group:nth-child(2) .pricing-card-price .price-number { background:linear-gradient(100deg,#bae6fd,#38bdf8); -webkit-background-clip:text; background-clip:text; }
body:has(.home-hero) .pricing-group:nth-child(3) .pricing-card-price .price-number { background:linear-gradient(100deg,#bbf7d0,#34d399); -webkit-background-clip:text; background-clip:text; }
body:has(.home-hero) .home-stats .stat-card:nth-child(1) { background:linear-gradient(135deg,rgba(8,47,73,.75),rgba(15,23,62,.55)); border-color:rgba(56,189,248,.45); }
body:has(.home-hero) .home-stats .stat-card:nth-child(2) { background:linear-gradient(135deg,rgba(6,78,59,.72),rgba(15,23,62,.55)); border-color:rgba(52,211,153,.45); }
body:has(.home-hero) .home-stats .stat-card:nth-child(3) { background:linear-gradient(135deg,rgba(76,29,149,.72),rgba(30,27,75,.55)); border-color:rgba(192,132,252,.48); }
body:has(.home-hero) .home-stats .stat-card:nth-child(4) { background:linear-gradient(135deg,rgba(124,45,18,.68),rgba(30,27,75,.55)); border-color:rgba(251,146,60,.48); }
body:has(.home-hero) .home-hero-features-inline span:nth-child(1) { color:#67e8f9; }
body:has(.home-hero) .home-hero-features-inline span:nth-child(2) { color:#86efac; }
body:has(.home-hero) .home-hero-features-inline span:nth-child(3) { color:#f0abfc; }

/* ==================== 首页信息密度与菜单最终调整 ==================== */
@media (max-width:768px) {
    /* 首页未登录：四项内容两列展示，减少长页面滚动 */
    body:has(.home-hero) .advantages-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    body:has(.home-hero) .advantage-card { min-height:150px; padding:18px 12px; }
    body:has(.home-hero) .advantage-card h3 { font-size:.95rem; }
    body:has(.home-hero) .advantage-card p { font-size:.74rem; line-height:1.45; }
    body:has(.home-hero) .advantage-icon { width:48px; height:48px; font-size:1.25rem; margin-bottom:10px; }
    body:has(.home-hero) .features-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    body:has(.home-hero) .features-list .feature-item,
    body:has(.home-hero) .features-list .feature-item.feature-reverse { display:flex; flex-direction:column; min-height:190px; padding:18px 12px; gap:10px; text-align:center; }
    body:has(.home-hero) .features-list .feature-item.feature-reverse .feature-item-icon { order:0; }
    body:has(.home-hero) .features-list .feature-item.feature-reverse .feature-item-content { order:1; text-align:center; }
    body:has(.home-hero) .features-list .feature-item-line { margin:10px auto 0; }
    body:has(.home-hero) .features-list .feature-icon-circle { width:54px; height:54px; font-size:1.3rem; }
    body:has(.home-hero) .features-list .feature-item-content h3 { font-size:.92rem; }
    body:has(.home-hero) .features-list .feature-item-content p { font-size:.72rem; line-height:1.45; }
    body:has(.home-hero) .pricing-grid-4,
    body:has(.home-hero) .pricing-grid-3 { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:none; gap:10px; }
    body:has(.home-hero) .pricing-card { padding:18px 12px; }
    body:has(.home-hero) .pricing-card-header h4 { font-size:.95rem; }
    body:has(.home-hero) .pricing-card-price .price-number { font-size:1.7rem; }
    body:has(.home-hero) .pricing-card-features { font-size:.72rem; }
    body:has(.home-hero) .pricing-card-features li { padding:6px 0; }
    body:has(.home-hero) .pricing-group-title { font-size:1.05rem; margin-bottom:12px; }
    body:has(.home-hero) .footer-content { display:block; }
    body:has(.home-hero) .footer-links { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
    body:has(.home-hero) .footer-link-group h5 { font-size:.78rem; margin-bottom:8px; white-space:nowrap; }
    body:has(.home-hero) .footer-link-group a { font-size:.68rem; padding:4px 0; white-space:nowrap; }
    /* 登录后菜单：左对齐、单列、商城不居中 */
    body:not(:has(.home-hero)) .nav-menu.show { display:flex; flex-direction:column; align-items:stretch; }
    body:not(:has(.home-hero)) .nav-menu > li > a { justify-content:flex-start; text-align:left; }
    body:not(:has(.home-hero)) .nav-dropdown > a { justify-content:flex-start !important; }
    body:not(:has(.home-hero)) .nav-dropdown .dropdown-menu { align-items:stretch; }
    body:not(:has(.home-hero)) .dropdown-menu li a { justify-content:flex-start; text-align:left; }
}
@media (max-width:390px) {
    body:has(.home-hero) .advantages-grid,
    body:has(.home-hero) .features-list,
    body:has(.home-hero) .pricing-grid-4,
    body:has(.home-hero) .pricing-grid-3 { gap:8px; }
    body:has(.home-hero) .advantage-card { min-height:140px; padding:14px 8px; }
    body:has(.home-hero) .pricing-card { padding:15px 9px; }
    body:has(.home-hero) .pricing-card-price .price-number { font-size:1.45rem; }
    body:has(.home-hero) .footer-link-group h5 { font-size:.7rem; }
    body:has(.home-hero) .footer-link-group a { font-size:.62rem; }
}

/* ==================== 手机菜单与核心优势最终修复 ==================== */
@media (max-width:768px) {
    /* 触屏设备没有 hover：关闭商城后不允许桌面 hover 规则重新显示 */
    body:not(:has(.home-hero)) .nav-dropdown:hover .dropdown-menu { display:none; }
    body:not(:has(.home-hero)) .nav-dropdown.open:hover .dropdown-menu { display:flex; flex-direction:column; }
    body:not(:has(.home-hero)) .nav-menu:not(.show) .nav-dropdown .dropdown-menu { display:none !important; }
    body:not(:has(.home-hero)) .nav-menu.show .nav-dropdown:not(.open) .dropdown-menu { display:none !important; }
    /* 核心优势四卡片：两列、紧凑、每块独立颜色 */
    body:has(.home-hero) .advantages-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    body:has(.home-hero) .advantage-card { min-height:128px; padding:14px 9px; border:1px solid transparent; box-shadow:0 10px 24px rgba(2,6,23,.25), inset 0 1px 0 rgba(255,255,255,.08); }
    body:has(.home-hero) .advantage-card:nth-child(1) { background:linear-gradient(145deg,rgba(8,47,73,.88),rgba(14,116,144,.42)); border-color:rgba(56,189,248,.62); }
    body:has(.home-hero) .advantage-card:nth-child(2) { background:linear-gradient(145deg,rgba(6,78,59,.86),rgba(5,150,105,.34)); border-color:rgba(52,211,153,.62); }
    body:has(.home-hero) .advantage-card:nth-child(3) { background:linear-gradient(145deg,rgba(76,29,149,.86),rgba(126,34,206,.38)); border-color:rgba(192,132,252,.64); }
    body:has(.home-hero) .advantage-card:nth-child(4) { background:linear-gradient(145deg,rgba(124,45,18,.84),rgba(234,88,12,.34)); border-color:rgba(251,146,60,.64); }
    body:has(.home-hero) .advantage-card:nth-child(1) .advantage-icon { background:linear-gradient(135deg,#0284c7,#22d3ee); }
    body:has(.home-hero) .advantage-card:nth-child(2) .advantage-icon { background:linear-gradient(135deg,#059669,#34d399); }
    body:has(.home-hero) .advantage-card:nth-child(3) .advantage-icon { background:linear-gradient(135deg,#7c3aed,#d946ef); }
    body:has(.home-hero) .advantage-card:nth-child(4) .advantage-icon { background:linear-gradient(135deg,#ea580c,#fbbf24); }
    body:has(.home-hero) .advantage-card .advantage-icon { width:42px; height:42px; margin:0 auto 8px; font-size:1.05rem; box-shadow:0 6px 16px rgba(2,6,23,.3); }
    body:has(.home-hero) .advantage-card h3 { margin-bottom:4px; font-size:.88rem; }
    body:has(.home-hero) .advantage-card p { font-size:.68rem; line-height:1.35; margin:0; }
}

/* ==================== 控制台紧凑模式 ==================== */
.user-info-card { padding:18px 22px; margin-bottom:14px; gap:14px; }
.user-info-left { gap:12px; }
.user-avatar-lg { width:52px; height:52px; font-size:23px; }
.user-name { font-size:18px; }
.user-name-row { gap:7px; margin-bottom:4px; }
.user-stat-item { min-width:96px; padding:5px 10px; }
.user-stat-value { font-size:19px; margin-bottom:2px; }
.user-stat-label { font-size:11px; }
.quick-entry-grid { gap:10px; margin-bottom:4px; }
.quick-entry-card { min-height:72px; padding:12px 14px; gap:10px; }
.quick-entry-icon { width:40px; height:40px; border-radius:10px; font-size:18px; }
.quick-entry-info h4 { font-size:14px; margin-bottom:2px; }
.quick-entry-info p { font-size:11px; line-height:1.3; }
.stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.stats-grid .stat-card { min-height:68px; padding:12px 13px; gap:10px; }
.stats-grid .stat-icon { width:38px; height:38px; font-size:17px; border-radius:10px; }
.stats-grid .stat-value { font-size:1.15rem; }
.stats-grid .stat-label { font-size:.7rem; }
.account-grid { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:10px; }
.account-card { padding:13px; border-radius:14px; }
.account-card-header { gap:9px; }
.account-avatar { width:38px; height:38px; font-size:16px; }
.account-name { font-size:14px; }
.account-card .badge { font-size:10px; padding:2px 6px; }
@media (max-width:768px) {
    .user-info-card { padding:13px 10px; gap:10px; }
    .user-info-left { gap:9px; }
    .user-avatar-lg { width:44px; height:44px; font-size:19px; }
    .user-name { font-size:16px; }
    .user-sub-info { font-size:11px; }
    .user-info-right { margin-top:8px; }
    .user-stat-item { padding:3px 2px; }
    .user-stat-value { font-size:.92rem; }
    .user-stat-label { font-size:.64rem; }
    .quick-entry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .quick-entry-card { min-height:78px; padding:10px 8px; grid-template-columns:32px 1fr 8px; gap:7px; }
    .quick-entry-icon { width:32px; height:32px; font-size:14px; }
    .quick-entry-info h4 { font-size:.8rem; }
    .quick-entry-info p { font-size:.63rem; }
    .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .stats-grid .stat-card { min-height:58px; padding:9px 8px; gap:7px; }
    .stats-grid .stat-icon { width:32px; height:32px; font-size:14px; }
    .stats-grid .stat-value { font-size:1rem; }
    .stats-grid .stat-label { font-size:.62rem; }
    .account-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .account-card { padding:10px 8px; }
    .account-card-header { gap:6px; }
    .account-avatar { width:32px; height:32px; font-size:14px; }
    .account-name { font-size:12px; }
    .account-card .badge { font-size:9px; padding:2px 4px; }
}
@media (max-width:390px) {
    .account-grid { gap:6px; }
    .account-card { padding:8px 6px; }
    .account-name { font-size:11px; }
}

/* ==================== 运动账号可读性修复 ==================== */
.account-grid { grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.account-card { padding:15px 16px; }
.account-card-header { gap:10px; }
.account-avatar { width:40px; height:40px; font-size:17px; }
.account-name { font-size:14px; }
.account-card .badge { font-size:10px; padding:3px 6px; }
@media (max-width:768px) {
    .account-grid { grid-template-columns:1fr; gap:10px; }
    .account-card { min-height:68px; padding:12px 13px; }
    .account-card-header { gap:9px; }
    .account-avatar { width:38px; height:38px; font-size:16px; }
    .account-name { font-size:13px; }
    .account-card .badge { font-size:10px; padding:2px 6px; }
}
@media (max-width:390px) {
    .account-grid { grid-template-columns:1fr; gap:8px; }
    .account-card { padding:11px 12px; }
    .account-name { font-size:13px; }
}

/* ==================== 控制台快捷商城入口紧凑版 ==================== */
@media (max-width:768px) {
    .quick-entry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
    .quick-entry-card { min-height:82px; padding:11px 10px; display:grid; grid-template-columns:34px minmax(0,1fr) 8px; align-items:center; gap:7px; }
    .quick-entry-icon { width:34px; height:34px; border-radius:9px; font-size:15px; }
    .quick-entry-info { min-width:0; }
    .quick-entry-info h4 { font-size:.82rem; line-height:1.25; margin:0 0 3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .quick-entry-info p { font-size:.64rem; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
    .quick-entry-arrow { font-size:.75rem; }
}
@media (max-width:390px) {
    .quick-entry-grid { gap:7px; }
    .quick-entry-card { min-height:76px; padding:9px 7px; grid-template-columns:30px minmax(0,1fr) 7px; gap:5px; }
    .quick-entry-icon { width:30px; height:30px; font-size:13px; }
    .quick-entry-info h4 { font-size:.76rem; }
    .quick-entry-info p { font-size:.59rem; }
}

/* ==================== VIP/配额商城：手机商品两列 ==================== */
@media (max-width:768px) {
    /* 商城页面使用普通 pricing-grid；首页使用 pricing-grid-4/3，不互相影响 */
    .page-content > .container > .pricing-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-width:none; }
    .page-content > .container > .pricing-grid .pricing-card { padding:16px 10px; min-width:0; }
    .page-content > .container > .pricing-grid .pricing-header h4 { font-size:.9rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .page-content > .container > .pricing-grid .pricing-price { white-space:nowrap; }
    .page-content > .container > .pricing-grid .pricing-price .price-amount { font-size:1.7rem; }
    .page-content > .container > .pricing-grid .pricing-desc { font-size:.7rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .page-content > .container > .pricing-grid .pricing-features { font-size:.68rem; }
    .page-content > .container > .pricing-grid .pricing-features li { padding:5px 0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .page-content > .container > .pricing-grid .pricing-actions .btn { min-height:38px; padding:8px 5px; font-size:.75rem; }
    .page-content > .container > .pricing-grid .balance-btn-hint { display:block; font-size:.6rem; }
}
@media (max-width:390px) {
    .page-content > .container > .pricing-grid { gap:7px; }
    .page-content > .container > .pricing-grid .pricing-card { padding:13px 8px; }
    .page-content > .container > .pricing-grid .pricing-price .price-amount { font-size:1.5rem; }
    .page-content > .container > .pricing-grid .pricing-features { font-size:.62rem; }
    .page-content > .container > .pricing-grid .pricing-actions .btn { font-size:.68rem; }
}

/* 最终覆盖：登录后汉堡菜单及商城子项统一左对齐 */
@media (max-width: 768px) {
    body:not(:has(.home-hero)) .nav-menu.show > li > a,
    body:not(:has(.home-hero)) .nav-dropdown > a {
        justify-content: flex-start !important;
        text-align: left !important;
    }
    body:not(:has(.home-hero)) .nav-dropdown .dropdown-menu {
        padding-left: 18px !important;
    }
    body:not(:has(.home-hero)) .dropdown-menu li a {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}
