/* ===================================================
   音创·财务  —  Windows Aero 全局样式
   禁止紫色，采用蓝色/银色/玻璃质感体系
   =================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --aero-blue:       #1a6bbf;
    --aero-blue-dark:  #0f4a8a;
    --aero-blue-light: #3a8de0;
    --aero-accent:     #00a2e8;
    --aero-glass-bg:   rgba(210, 230, 255, 0.55);
    --aero-glass-border: rgba(255,255,255,0.75);
    --aero-shadow:     0 4px 24px rgba(20, 80, 160, 0.22);
    --aero-inset:      inset 0 1px 0 rgba(255,255,255,0.85);
    --text-primary:    #1a1a2e;
    --text-secondary:  #4a5568;
    --text-light:      #6b7280;
    --bg-page:         #dde8f5;
    --border-color:    rgba(100,150,210,0.35);
    --red-btn:         #c0392b;
    --green-btn:       #1a7a3c;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-page);
    min-height: 100vh;
    /* Aero 桌面纹理 */
    background-image:
        radial-gradient(ellipse at 20% 10%, rgba(100,160,240,0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(60,120,200,0.12) 0%, transparent 55%);
}

a { color: var(--aero-blue); text-decoration: none; }
a:hover { color: var(--aero-blue-light); text-decoration: underline; }

/* ---- Aero 通用玻璃卡片 ---- */
.aero-card {
    background: var(--aero-glass-bg);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    border: 1px solid var(--aero-glass-border);
    border-radius: 10px;
    box-shadow: var(--aero-shadow), var(--aero-inset);
    transition: box-shadow 0.25s, transform 0.2s;
}
.aero-card:hover {
    box-shadow: 0 8px 36px rgba(20,80,160,0.30), var(--aero-inset);
    transform: translateY(-2px);
}

/* ---- Aero 按钮 ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.18s;
    text-decoration: none !important;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(180deg, #4da6ff 0%, var(--aero-blue) 45%, var(--aero-blue-dark) 100%);
    color: #fff;
    border-color: var(--aero-blue-dark);
    box-shadow: 0 2px 6px rgba(15,74,138,0.45), inset 0 1px 0 rgba(255,255,255,0.5);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
.btn-primary:hover {
    background: linear-gradient(180deg, #5db8ff 0%, var(--aero-blue-light) 45%, var(--aero-blue) 100%);
    box-shadow: 0 4px 12px rgba(15,74,138,0.55), inset 0 1px 0 rgba(255,255,255,0.6);
    color: #fff;
    text-decoration: none !important;
}
.btn-secondary {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(200,220,245,0.8) 100%);
    color: var(--aero-blue-dark);
    border-color: rgba(100,150,210,0.55);
    box-shadow: 0 2px 5px rgba(20,80,160,0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}
.btn-secondary:hover {
    background: linear-gradient(180deg, #fff 0%, rgba(180,210,245,0.9) 100%);
    box-shadow: 0 3px 10px rgba(20,80,160,0.22), inset 0 1px 0 rgba(255,255,255,1);
    color: var(--aero-blue);
    text-decoration: none !important;
}
.btn-danger {
    background: linear-gradient(180deg, #e74c3c 0%, var(--red-btn) 100%);
    color: #fff;
    border-color: #922b21;
    box-shadow: 0 2px 6px rgba(192,57,43,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-danger:hover {
    background: linear-gradient(180deg, #f05040 0%, #c0392b 100%);
    color: #fff; text-decoration: none !important;
}
.btn-success {
    background: linear-gradient(180deg, #27ae60 0%, var(--green-btn) 100%);
    color: #fff;
    border-color: #145228;
    box-shadow: 0 2px 6px rgba(26,122,60,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.btn-success:hover { background: linear-gradient(180deg, #2ecc71 0%, #1a7a3c 100%); color:#fff; text-decoration:none !important; }

.btn-lg { padding: 12px 32px; font-size: 15px; border-radius: 7px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }

/* ---- 顶部导航栏 ---- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 58px;
    background: linear-gradient(180deg,
        rgba(80,140,220,0.88) 0%,
        rgba(20,80,170,0.92) 55%,
        rgba(10,55,130,0.96) 100%);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border-bottom: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 3px 18px rgba(10,40,120,0.45);
    display: flex;
    align-items: center;
    padding: 0 40px;
    gap: 32px;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
    white-space: nowrap;
    text-decoration: none !important;
}
.navbar-brand .brand-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, #fff 0%, #a0c8ff 100%);
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.navbar-brand .brand-icon svg { width:20px; height:20px; }
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    list-style: none;
}
.navbar-nav a {
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 5px;
    transition: background 0.18s, color 0.18s;
    display: block;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-decoration: none !important;
}
.navbar-nav a:hover, .navbar-nav a.active {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

/* ---- 英雄区域 ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(15,74,138,0.06) 0%,
        rgba(60,141,224,0.08) 50%,
        rgba(15,74,138,0.05) 100%);
    pointer-events: none;
}
.hero-content {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-text {}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(26,107,191,0.12);
    border: 1px solid rgba(26,107,191,0.3);
    color: var(--aero-blue);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--aero-blue) 0%, var(--aero-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 36px;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--aero-blue);
    line-height: 1.1;
}
.stat-label {
    font-size: 12px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* ---- 截图展示区 ---- */
.hero-visual {}
.screenshot-frame {
    background: var(--aero-glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--aero-glass-border);
    border-radius: 12px;
    box-shadow:
        0 24px 60px rgba(20,80,160,0.25),
        inset 0 1px 0 rgba(255,255,255,0.8);
    overflow: hidden;
}
.screenshot-titlebar {
    height: 34px;
    background: linear-gradient(180deg,
        rgba(80,140,220,0.75) 0%,
        rgba(20,80,170,0.8) 100%);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.titlebar-btn {
    width: 13px; height: 13px; border-radius: 50%;
}
.titlebar-btn.close   { background: linear-gradient(135deg, #ff4d4d, #cc0000); }
.titlebar-btn.min     { background: linear-gradient(135deg, #ffd700, #cc9900); }
.titlebar-btn.max     { background: linear-gradient(135deg, #00cc44, #007722); }
.titlebar-title {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.screenshot-body {
    background: #f0f4fa;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.screenshot-body img { width: 100%; display: block; }
.screenshot-placeholder {
    width: 100%;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 模拟截图样式 */
.mock-ui {
    width: 100%;
    font-size: 11px;
    color: #2a3a5a;
}
.mock-header {
    background: linear-gradient(180deg, #2a6db5 0%, #1a4f8a 100%);
    height: 36px;
    border-radius: 8px 8px 0 0;
    display: flex; align-items: center; padding: 0 12px; gap: 8px;
    color: #fff; font-size: 12px; font-weight: 600;
}
.mock-sidebar {
    background: linear-gradient(180deg, #1e3a6e 0%, #162d56 100%);
    width: 130px; float: left; height: 220px; padding: 8px 0;
}
.mock-menu-item {
    padding: 6px 14px; color: rgba(255,255,255,0.8); font-size: 10px;
    cursor: default; border-radius: 4px; margin: 1px 4px;
}
.mock-menu-item.active { background: rgba(255,255,255,0.18); color:#fff; font-weight:600; }
.mock-main {
    margin-left: 130px; background: #f8faff; height: 220px; padding: 10px 12px;
    overflow: hidden;
}
.mock-stat-row { display: flex; gap: 8px; margin-bottom: 10px; }
.mock-stat-box {
    flex: 1; background: linear-gradient(135deg, #e8f0fe, #d0e4ff);
    border-radius: 6px; padding: 8px; border-left: 3px solid #1a6bbf;
}
.mock-stat-box .mock-num { font-size: 16px; font-weight: 700; color: #1a6bbf; }
.mock-stat-box .mock-lbl { font-size: 9px; color: #666; }
.mock-table-header {
    background: #1a6bbf; color: #fff; display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr; gap: 0;
    border-radius: 4px 4px 0 0; font-size: 9px; font-weight: 600;
}
.mock-table-header span, .mock-table-row span { padding: 4px 6px; }
.mock-table-row {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    border-bottom: 1px solid #e0eaff; font-size: 9px; color: #2a3a5a;
}
.mock-table-row:nth-child(even) { background: #f0f4fb; }
.mock-badge { display:inline-block; padding:1px 5px; border-radius:3px; font-size:8px; font-weight:600; }
.mock-badge.approved { background:#d4edda; color:#1a7a3c; }
.mock-badge.pending  { background:#fff3cd; color:#856404; }
.mock-badge.draft    { background:#e2e8f0; color:#4a5568; }

/* ---- Section 通用 ---- */
.section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 34px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.section-sub {
    text-align: center;
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 52px;
    line-height: 1.7;
}
.divider {
    width: 56px; height: 4px;
    background: linear-gradient(90deg, var(--aero-blue), var(--aero-accent));
    border-radius: 2px;
    margin: 12px auto 0;
}

/* ---- 特点卡片 ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 32px 28px;
    background: var(--aero-glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--aero-glass-border);
    border-radius: 12px;
    box-shadow: var(--aero-shadow), var(--aero-inset);
    transition: transform 0.22s, box-shadow 0.22s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(20,80,160,0.28), var(--aero-inset);
}
.feature-icon {
    width: 54px; height: 54px;
    background: linear-gradient(135deg, rgba(26,107,191,0.15) 0%, rgba(58,141,224,0.12) 100%);
    border: 1px solid rgba(26,107,191,0.25);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--aero-blue); }
.feature-title {
    font-size: 17px; font-weight: 700; margin-bottom: 10px;
    color: var(--text-primary);
}
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* ---- 功能模块 ---- */
.functions-section {
    background: rgba(210,230,255,0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 40px;
}
.functions-inner { max-width: 1200px; margin: 0 auto; }
.functions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.func-item {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    background: var(--aero-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--aero-glass-border);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(20,80,160,0.12), var(--aero-inset);
    transition: transform 0.2s, box-shadow 0.2s;
}
.func-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(20,80,160,0.2), var(--aero-inset);
}
.func-num {
    width: 36px; height: 36px; min-width: 36px;
    background: linear-gradient(135deg, var(--aero-blue) 0%, var(--aero-blue-light) 100%);
    border-radius: 8px;
    color: #fff; font-size: 15px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(20,80,160,0.35);
}
.func-content {}
.func-title { font-size: 15px; font-weight: 700; color: var(--text-primary); margin-bottom: 5px; }
.func-desc  { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

/* ---- 截图轮播区 ---- */
.screenshots-section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.screenshot-card {
    background: var(--aero-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--aero-glass-border);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--aero-shadow);
    transition: transform 0.22s, box-shadow 0.22s;
}
.screenshot-card:hover {
    transform: scale(1.025);
    box-shadow: 0 12px 40px rgba(20,80,160,0.28);
}
.screenshot-card .sc-bar {
    height: 28px;
    background: linear-gradient(180deg, rgba(80,140,220,0.7) 0%, rgba(20,80,170,0.75) 100%);
    display: flex; align-items: center; padding: 0 10px; gap: 6px;
}
.sc-dot { width: 10px; height: 10px; border-radius: 50%; }
.sc-dot.r { background: #ff4d4d; } .sc-dot.y { background: #ffd700; } .sc-dot.g { background: #00cc44; }
.sc-title { color: rgba(255,255,255,0.85); font-size: 11px; margin-left: 6px; }
.screenshot-card .sc-body {
    padding: 16px;
    background: #f2f6fe;
    min-height: 180px;
    display: flex; align-items: center; justify-content: center;
}
.screenshot-card .sc-body img { width: 100%; border-radius: 4px; }
.sc-caption {
    padding: 12px 16px;
    font-size: 13px; font-weight: 600; color: var(--text-primary);
    border-top: 1px solid var(--border-color);
}

/* ---- 下载区 ---- */
.download-section {
    padding: 80px 40px;
    text-align: center;
    position: relative;
}
.download-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 52px 48px;
    background: var(--aero-glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--aero-glass-border);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(20,80,160,0.22), var(--aero-inset);
}
.download-icon {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--aero-blue) 0%, var(--aero-accent) 100%);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(26,107,191,0.45);
}
.download-icon svg { width: 38px; height: 38px; color: #fff; }
.download-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.download-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 28px; line-height: 1.7; }
.download-meta { display: flex; justify-content: center; gap: 24px; margin-top: 22px; flex-wrap: wrap; }
.meta-item { font-size: 13px; color: var(--text-light); }
.meta-item strong { color: var(--text-secondary); }
.no-package { color: var(--text-light); font-size: 15px; padding: 20px 0; }

/* ---- 页脚 ---- */
footer {
    background: linear-gradient(180deg,
        rgba(15,55,120,0.95) 0%,
        rgba(8,35,80,0.98) 100%);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 40px 40px 28px;
    text-align: center;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.9;
}
footer .footer-brand { color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 700; margin-bottom: 8px; }
footer a { color: rgba(160,200,255,0.8); }
footer a:hover { color: #fff; text-decoration: none; }

/* ---- 滚动进场动画 ---- */
.fade-in { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .navbar { padding: 0 20px; gap: 16px; }
    .hero { padding: 80px 20px 50px; }
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 32px; }
    .features-grid, .functions-grid, .screenshots-grid { grid-template-columns: 1fr; }
    .section, .functions-section, .screenshots-section, .download-section { padding: 50px 20px; }
    .navbar-nav { display: none; }
}

/* ---- 提示消息 ---- */
.toast {
    position: fixed; bottom: 30px; right: 30px; z-index: 9999;
    padding: 14px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease;
    max-width: 320px;
}
.toast-success { background: #1a7a3c; color: #fff; border-left: 4px solid #27ae60; }
.toast-error   { background: #c0392b; color: #fff; border-left: 4px solid #e74c3c; }
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }

/* ========== 入场动画 ========== */
#intro-screen {
    position: fixed; inset: 0; z-index: 99999;
    background: #040d1a;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
#intro-canvas {
    position: absolute; inset: 0; width: 100%; height: 100%;
}
.intro-center {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    user-select: none;
}
.intro-logo-wrap {
    position: relative; width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
}
.intro-hex {
    width: 80px; height: 80px;
    animation: hex-spin 6s linear infinite;
    filter: drop-shadow(0 0 10px rgba(79,195,247,0.6));
}
@keyframes hex-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.hex-outer { animation: hex-dash 2s linear infinite; stroke-dasharray: 160; }
.hex-inner { animation: hex-dash2 1.5s linear infinite; stroke-dasharray: 100; }
@keyframes hex-dash  { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
@keyframes hex-dash2 { from { stroke-dashoffset: 0;   } to { stroke-dashoffset: 100; } }
.intro-scan-line {
    position: absolute; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79,195,247,0.9), transparent);
    animation: scan 1.8s ease-in-out infinite;
    top: 50%;
}
@keyframes scan {
    0%   { top: 10%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}
.intro-title {
    font-size: 32px; font-weight: 700; letter-spacing: 6px;
    color: #e8f4ff;
    text-shadow: 0 0 20px rgba(79,195,247,0.7), 0 0 40px rgba(79,195,247,0.3);
    animation: glow-pulse 2s ease-in-out infinite;
}
@keyframes glow-pulse {
    0%,100% { text-shadow: 0 0 18px rgba(79,195,247,0.7), 0 0 36px rgba(79,195,247,0.3); }
    50%      { text-shadow: 0 0 28px rgba(79,195,247,1),   0 0 56px rgba(79,195,247,0.5); }
}
.intro-subtitle {
    font-size: 11px; letter-spacing: 3px; color: rgba(79,195,247,0.55);
    font-weight: 400;
}
.intro-progress-wrap {
    width: 260px; height: 3px;
    background: rgba(79,195,247,0.15);
    border-radius: 2px; overflow: hidden;
    position: relative;
}
.intro-progress-bar {
    height: 100%; width: 0; border-radius: 2px;
    background: linear-gradient(90deg, #0288d1, #4fc3f7, #81d4fa);
    box-shadow: 0 0 8px rgba(79,195,247,0.8);
    transition: width 0.12s linear;
}
.intro-tip {
    font-size: 12px; color: rgba(79,195,247,0.6); letter-spacing: 1px;
    transition: opacity 0.2s;
    min-height: 18px;
}

/* ========== 导航 Web 版按钮 ========== */
.nav-web-btn {
    background: linear-gradient(135deg, rgba(2,136,209,0.2), rgba(79,195,247,0.1)) !important;
    border: 1px solid rgba(79,195,247,0.5) !important;
    border-radius: 5px !important;
    padding: 3px 12px !important;
    color: #4fc3f7 !important;
    font-size: 13px !important;
    transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-web-btn:hover {
    background: linear-gradient(135deg, rgba(2,136,209,0.35), rgba(79,195,247,0.2)) !important;
    box-shadow: 0 0 8px rgba(79,195,247,0.4) !important;
    color: #81d4fa !important;
}

/* ========== Web版弹窗 ========== */
#web-modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 99990;
    background: rgba(4,13,26,0.78);
    align-items: center; justify-content: center;
    backdrop-filter: blur(4px);
}
#web-modal {
    position: relative; overflow: hidden;
    width: 360px; padding: 40px 36px 32px;
    background: linear-gradient(145deg, #0a1a2e, #0d2240);
    border: 1px solid rgba(79,195,247,0.35);
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(79,195,247,0.15), 0 20px 60px rgba(0,0,0,0.5);
    text-align: center;
    animation: modal-in 0.3s ease;
}
@keyframes modal-in {
    from { opacity:0; transform: scale(0.88) translateY(20px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
}
.web-modal-deco {
    position: absolute; top: -40px; right: -40px;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(79,195,247,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.web-modal-icon {
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(79,195,247,0.5));
}
.web-modal-title {
    font-size: 20px; font-weight: 700; color: #e8f4ff;
    letter-spacing: 3px; margin-bottom: 8px;
}
.web-modal-msg {
    font-size: 14px; color: #4fc3f7; font-weight: 600;
    margin-bottom: 10px; letter-spacing: 1px;
}
.web-modal-sub {
    font-size: 12px; color: rgba(200,220,240,0.5); line-height: 1.7;
    margin-bottom: 28px;
}
.web-modal-close {
    display: inline-block; padding: 9px 36px;
    background: linear-gradient(135deg, #0288d1, #0d47a1);
    border: 1px solid rgba(79,195,247,0.4);
    border-radius: 6px; color: #e8f4ff;
    font-size: 13px; font-weight: 600; cursor: pointer;
    letter-spacing: 2px;
    transition: box-shadow 0.2s, transform 0.15s;
}
.web-modal-close:hover {
    box-shadow: 0 0 14px rgba(79,195,247,0.45);
    transform: translateY(-1px);
}

/* ========== 公告弹窗 ========== */
#notice-overlay {
    display: none; position: fixed; inset: 0; z-index: 99980;
    background: rgba(4,13,26,0.72);
    align-items: center; justify-content: center;
    backdrop-filter: blur(3px);
}
#notice-modal {
    width: 440px; max-width: calc(100vw - 32px);
    background: linear-gradient(160deg, #0c1e36 0%, #0a1628 100%);
    border: 1px solid rgba(79,195,247,0.28);
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(79,195,247,0.1), 0 24px 64px rgba(0,0,0,0.55);
    overflow: hidden;
    animation: modal-in 0.32s ease;
}
.notice-header {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 22px;
    background: linear-gradient(90deg, rgba(2,136,209,0.22), rgba(79,195,247,0.08));
    border-bottom: 1px solid rgba(79,195,247,0.18);
    font-size: 14px; font-weight: 700; color: #c8e6f7; letter-spacing: 1px;
}
.notice-header-icon {
    color: #4fc3f7;
    display: flex; align-items: center;
    filter: drop-shadow(0 0 4px rgba(79,195,247,0.6));
}
.notice-body { padding: 20px 22px 8px; }
.notice-item { margin-bottom: 14px; }
.notice-item-label {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    color: rgba(79,195,247,0.6); text-transform: uppercase;
    margin-bottom: 7px;
}
.notice-item-text {
    font-size: 13px; color: rgba(200,220,240,0.75); line-height: 1.75;
}
.notice-item-text strong { color: #c8e6f7; font-weight: 600; }
.notice-item-text code {
    background: rgba(79,195,247,0.12); border: 1px solid rgba(79,195,247,0.25);
    border-radius: 4px; padding: 1px 6px; font-size: 12px; color: #81d4fa;
    font-family: 'Consolas', monospace;
}
.notice-divider {
    height: 1px; background: rgba(79,195,247,0.1); margin: 14px 0;
}
.notice-contact-list { display: flex; flex-direction: column; gap: 8px; }
.notice-contact-row {
    display: flex; align-items: center; gap: 8px;
    background: rgba(79,195,247,0.06); border: 1px solid rgba(79,195,247,0.12);
    border-radius: 7px; padding: 8px 12px;
}
.notice-contact-icon { color: rgba(79,195,247,0.55); display:flex; align-items:center; flex-shrink:0; }
.notice-contact-type {
    font-size: 12px; color: rgba(200,220,240,0.5); width: 30px; flex-shrink: 0;
}
.notice-contact-val {
    flex: 1; font-size: 13px; color: #81d4fa; font-family: 'Consolas', monospace;
    background: none; border: none; padding: 0;
}
.notice-copy-btn {
    flex-shrink: 0; padding: 3px 10px; font-size: 11px;
    background: rgba(2,136,209,0.2); border: 1px solid rgba(79,195,247,0.3);
    border-radius: 4px; color: rgba(79,195,247,0.8); cursor: pointer;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}
.notice-copy-btn:hover { background: rgba(2,136,209,0.4); color: #e8f4ff; }
.notice-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(79,195,247,0.1);
    margin-top: 8px;
}
.notice-no-show {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; color: rgba(200,220,240,0.4); cursor: pointer;
    user-select: none;
}
.notice-no-show input { cursor: pointer; accent-color: #0288d1; }
.notice-confirm-btn {
    padding: 9px 32px; font-size: 13px; font-weight: 600;
    background: linear-gradient(135deg, #0288d1, #0d47a1);
    border: 1px solid rgba(79,195,247,0.35);
    border-radius: 6px; color: #e8f4ff; cursor: pointer;
    letter-spacing: 2px;
    transition: box-shadow 0.2s, transform 0.15s;
    font-family: inherit;
}
.notice-confirm-btn:hover {
    box-shadow: 0 0 14px rgba(79,195,247,0.45);
    transform: translateY(-1px);
}

/* ========== 长城烽火台区域 ========== */
.wall-scene {
    position: relative; width: 100%; margin-top: 40px;
    border-radius: 14px; overflow: hidden;
    aspect-ratio: 16/7;
    box-shadow: 0 8px 48px rgba(0,0,0,0.45);
    background: #1a1a1a;
    cursor: default;
}
.wall-bg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
    filter: brightness(0.88);
    transform-origin: center center;
    transition: transform 0s; /* parallax由js控制 */
}
.wall-parallax {
    position: absolute; inset: -8%; width: 116%; height: 116%;
    transform-origin: 20% 60%;
    transition: transform 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
/* SVG 路径覆盖层 */
.wall-path-svg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 2;
}
/* 烽火台图钉 */
.tower-pin {
    position: absolute; transform: translate(-50%, -100%);
    z-index: 10; pointer-events: auto;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.tower-pulse {
    position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,200,60,0.25);
    animation: tower-pulse 2s ease-out infinite;
}
.tower-pulse::after {
    content: ''; position: absolute; inset: 4px; border-radius: 50%;
    background: rgba(255,200,60,0.2);
    animation: tower-pulse 2s ease-out infinite 0.4s;
}
@keyframes tower-pulse {
    0%   { transform: translateX(-50%) scale(0.8); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(2.2); opacity: 0; }
}
.tower-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,220,80,0.92), rgba(220,160,30,0.88));
    border: 2px solid rgba(255,240,160,0.8);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4), 0 0 12px rgba(255,200,60,0.5);
    color: #3d2800; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; z-index: 1;
}
.tower-btn:hover {
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 20px rgba(255,200,60,0.8);
}
.tower-pin.active .tower-btn {
    background: linear-gradient(145deg, #fff5cc, #ffd84d);
    box-shadow: 0 0 0 3px rgba(255,220,80,0.6), 0 8px 24px rgba(0,0,0,0.5);
    transform: scale(1.15);
}
.tower-label {
    font-size: 10px; font-weight: 700; letter-spacing: 1px;
    color: rgba(255,240,180,0.9);
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.35);
    padding: 2px 6px; border-radius: 3px;
    white-space: nowrap;
}
.wall-hint {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    font-size: 12px; color: rgba(255,240,200,0.7);
    background: rgba(0,0,0,0.4); padding: 5px 14px; border-radius: 20px;
    letter-spacing: 1px; pointer-events: none; z-index: 5;
    backdrop-filter: blur(4px);
}

/* ========== 烽火台信息卡片 ========== */
#tower-panel-overlay {
    display: none; position: fixed; inset: 0; z-index: 9900;
    background: rgba(0,0,0,0.5);
    align-items: center; justify-content: center;
    backdrop-filter: blur(2px);
}
#tower-panel {
    position: relative; overflow: hidden;
    width: 420px; max-width: calc(100vw - 40px);
    background: linear-gradient(155deg, #0d1f38 0%, #0a1828 100%);
    border: 1px solid rgba(255,200,80,0.3);
    border-radius: 14px;
    box-shadow: 0 0 60px rgba(255,180,40,0.12), 0 24px 64px rgba(0,0,0,0.6);
    padding: 0;
    animation: tp-in 0.32s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes tp-in {
    from { opacity:0; transform: scale(0.82) translateY(28px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
}
.tp-glow {
    position: absolute; top: -30px; right: -30px;
    width: 100px; height: 100px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,60,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.tp-header {
    display: flex; align-items: center; gap: 14px;
    padding: 22px 24px 16px;
    border-bottom: 1px solid rgba(255,200,80,0.12);
}
.tp-icon {
    color: #ffd84d; flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(255,200,60,0.6));
}
.tp-title {
    flex: 1; font-size: 16px; font-weight: 700; color: #fff5e0;
    line-height: 1.3;
}
.tp-num {
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    color: rgba(255,200,80,0.5); white-space: nowrap;
}
.tp-desc {
    padding: 18px 24px 16px;
    font-size: 13.5px; color: rgba(220,235,255,0.75); line-height: 1.8;
    min-height: 80px;
}
.tp-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(255,200,80,0.1);
    gap: 12px;
}
.tp-nav-btn {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 18px; font-size: 12px; font-weight: 600;
    background: rgba(255,200,60,0.1); border: 1px solid rgba(255,200,80,0.25);
    border-radius: 6px; color: rgba(255,220,130,0.85); cursor: pointer;
    transition: background 0.15s, transform 0.15s; font-family: inherit;
    letter-spacing: 1px;
}
.tp-nav-btn:hover:not(:disabled) {
    background: rgba(255,200,60,0.22); transform: translateY(-1px);
}
.tp-nav-btn:disabled { opacity: 0.35; cursor: default; }
.tp-dots {
    display: flex; gap: 6px; align-items: center;
}
.tp-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,200,80,0.2); border: 1px solid rgba(255,200,80,0.3);
    cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.tp-dot.active {
    background: #ffd84d; transform: scale(1.3);
    box-shadow: 0 0 6px rgba(255,216,77,0.6);
}
.tp-close {
    position: absolute; top: 14px; right: 14px;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,200,80,0.1); border: 1px solid rgba(255,200,80,0.2);
    color: rgba(255,220,130,0.7); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
}
.tp-close:hover { background: rgba(255,200,80,0.25); color: #fff; }

/* ========== 导航栏云数据库按钮 ========== */
.nav-db-btn {
    background: linear-gradient(135deg, rgba(26,107,191,0.18), rgba(58,141,224,0.1)) !important;
    border: 1px solid rgba(58,141,224,0.45) !important;
    border-radius: 5px !important;
    padding: 3px 12px !important;
    color: #3a8de0 !important;
    font-size: 13px !important;
    transition: background 0.2s, box-shadow 0.2s !important;
    white-space: nowrap;
}
.nav-db-btn:hover {
    background: linear-gradient(135deg, rgba(26,107,191,0.32), rgba(58,141,224,0.18)) !important;
    box-shadow: 0 0 8px rgba(58,141,224,0.35) !important;
    color: #6bb3f0 !important;
}

/* ========== 云数据库指南全屏页 ========== */
#db-guide-page {
    display: none;
    position: fixed; inset: 0; z-index: 99800;
    background: #060f1e;
    overflow-y: auto;
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
#db-guide-page.visible {
    opacity: 1;
    transform: translateX(0);
}
/* 网格背景装饰 */
.dbg-bg-grid {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(26,107,191,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,107,191,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
}
.dbg-wrap {
    position: relative; z-index: 1;
    max-width: 1100px; margin: 0 auto;
    padding: 0 24px 60px;
}
/* 顶部栏 */
.dbg-topbar {
    display: flex; align-items: center; gap: 16px;
    padding: 22px 0 24px;
    border-bottom: 1px solid rgba(26,107,191,0.2);
    margin-bottom: 28px;
}
.dbg-back {
    display: flex; align-items: center; gap: 5px;
    padding: 8px 16px; font-size: 13px; font-weight: 600;
    background: rgba(26,107,191,0.12); border: 1px solid rgba(58,141,224,0.3);
    border-radius: 7px; color: #6bb3f0; cursor: pointer;
    transition: background 0.15s, transform 0.15s; font-family: inherit;
    flex-shrink: 0;
}
.dbg-back:hover { background: rgba(26,107,191,0.25); transform: translateX(-2px); }
.dbg-topbar-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; font-weight: 700; color: #d0e8ff; letter-spacing: 1px;
    flex: 1;
}
.dbg-topbar-title svg { color: #3a8de0; flex-shrink: 0; }
.dbg-topbar-sub {
    font-size: 12px; color: rgba(150,190,230,0.5); flex-shrink: 0;
}
/* 引言 */
.dbg-intro {
    background: linear-gradient(135deg, rgba(26,107,191,0.12), rgba(58,141,224,0.06));
    border: 1px solid rgba(58,141,224,0.2);
    border-left: 3px solid #3a8de0;
    border-radius: 8px; padding: 16px 20px;
    font-size: 13.5px; color: rgba(200,225,255,0.75); line-height: 1.8;
    margin-bottom: 36px;
}
.dbg-intro strong { color: #6bb3f0; }
/* 卡片网格 */
.dbg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.dbg-card-wide { grid-column: 1 / -1; }
/* 卡片 */
.dbg-card {
    background: linear-gradient(155deg, rgba(10,24,44,0.95), rgba(8,18,34,0.98));
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 2px solid var(--card-color);
    border-radius: 12px;
    box-shadow: 0 0 30px var(--card-glow), 0 8px 32px rgba(0,0,0,0.4);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex; flex-direction: column;
}
.dbg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px var(--card-glow), 0 16px 48px rgba(0,0,0,0.5);
}
.dbg-card-header {
    padding: 20px 22px 14px;
    display: flex; align-items: flex-start; gap: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
}
.dbg-card-num {
    position: absolute; top: 14px; right: 18px;
    font-size: 42px; font-weight: 900; color: var(--card-color);
    opacity: 0.08; line-height: 1; font-family: 'Arial', sans-serif;
    pointer-events: none;
}
.dbg-card-brand { display: flex; align-items: center; gap: 12px; }
.dbg-card-logo {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(207,0,0,0.12); border: 1px solid rgba(207,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dbg-card-name {
    font-size: 15px; font-weight: 700; color: #d8eaff; line-height: 1.3;
    margin-bottom: 5px;
}
.dbg-card-tag {
    display: inline-block; font-size: 11px; font-weight: 700;
    color: var(--card-color); background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-color); border-radius: 4px;
    padding: 2px 8px; letter-spacing: 1px;
    filter: brightness(1.2);
}
.dbg-card-body {
    padding: 16px 22px; flex: 1;
    display: flex; flex-direction: column; gap: 10px;
}
.dbg-card-body p {
    font-size: 13px; color: rgba(190,215,245,0.65); line-height: 1.8; margin: 0;
}
.dbg-card-body strong { color: rgba(220,235,255,0.9); font-weight: 600; }
.dbg-card-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 12px 22px 18px;
}
.dbg-card-tags span {
    font-size: 11px; padding: 3px 10px; border-radius: 20px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(180,210,240,0.6); letter-spacing: 0.5px;
}
/* 底部说明 */
.dbg-footer-note {
    display: flex; align-items: flex-start; gap: 14px;
    margin-top: 36px;
    background: linear-gradient(135deg, rgba(26,107,191,0.1), rgba(10,24,44,0.8));
    border: 1px solid rgba(58,141,224,0.18);
    border-radius: 10px; padding: 20px 24px;
    font-size: 13px; color: rgba(190,215,245,0.65); line-height: 1.8;
}
.dbg-footer-note svg { color: #3a8de0; flex-shrink: 0; margin-top: 2px; }
.dbg-footer-note strong { color: #6bb3f0; }
.dbg-footer-note code {
    background: rgba(58,141,224,0.12); border: 1px solid rgba(58,141,224,0.25);
    border-radius: 4px; padding: 1px 7px; font-size: 12px; color: #80b8f0;
    font-family: 'Consolas', monospace;
}
/* 响应式 */
@media (max-width: 700px) {
    .dbg-grid { grid-template-columns: 1fr; }
    .dbg-card-wide { grid-column: 1; }
    .dbg-topbar { flex-wrap: wrap; gap: 10px; }
    .dbg-topbar-sub { display: none; }
    .dbg-topbar-title { font-size: 16px; }
}
