/**
 * 抖音直播 AI 弹幕助手 & 百炼语音中转管理系统 — 官方网站专属样式表
 * 设计理念: 深色极简赛博科技风、毛玻璃拟态、霓虹渐变、丝滑交互与自适应响应式布局
 */

:root {
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-darker: #060911;
    --bg-card: rgba(30, 41, 59, 0.65);
    --bg-card-hover: rgba(51, 65, 85, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(99, 102, 241, 0.45);
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    --accent-emerald: #10b981;
    --accent-cyan: #06b6d4;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "Fira Code", Consolas, Monaco, "Courier New", Courier, monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.12) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(16, 185, 129, 0.05) 0px, transparent 50%);
    background-attachment: fixed;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 顶部导航栏 */
.header-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-logo {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #ffffff;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.brand-subtitle {
    font-size: 11px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 按钮标准 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #ffffff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
}

.btn-lg {
    padding: 13px 26px;
    font-size: 15px;
    border-radius: 10px;
}

.btn-block {
    width: 100%;
}

/* 标签 Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-cyan {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-amber {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-rose {
    background: rgba(244, 63, 94, 0.15);
    color: #fb7185;
    border: 1px solid rgba(244, 63, 94, 0.3);
}

/* 首屏 Hero */
.hero-section {
    padding: 70px 0 60px;
    text-align: center;
    position: relative;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 20%, #a5b4fc 60%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 860px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* 核心特性数据卡片栏 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 10px;
    margin-bottom: 50px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 22px 18px;
    border-radius: 14px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    text-align: left;
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-dim);
}

/* 客户端拟态视窗 Mockup Window */
.mockup-window {
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.15);
    overflow: hidden;
    text-align: left;
    margin-top: 20px;
}

.mockup-header {
    background: #080d1a;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.mockup-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.mockup-status {
    font-size: 12px;
    color: #34d399;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
}

.mockup-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #090e1a;
}

.mockup-left {
    padding: 20px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mockup-screen {
    background: #030712;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
}

.live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(239, 68, 68, 0.85);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.live-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.host-avatar-box {
    text-align: center;
}

.host-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 10px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.host-name {
    font-size: 13px;
    color: #e2e8f0;
    font-weight: 600;
}

/* 声波动画 */
.audio-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 18px;
    margin-top: 6px;
}

.audio-waves span {
    width: 3px;
    background-color: #38bdf8;
    border-radius: 3px;
    animation: wave 1.2s ease-in-out infinite alternate;
}

.audio-waves span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.audio-waves span:nth-child(2) { height: 16px; animation-delay: 0.3s; }
.audio-waves span:nth-child(3) { height: 12px; animation-delay: 0.2s; }
.audio-waves span:nth-child(4) { height: 18px; animation-delay: 0.4s; }
.audio-waves span:nth-child(5) { height: 8px; animation-delay: 0.15s; }

@keyframes wave {
    0% { height: 4px; }
    100% { height: 18px; }
}

.live-overlay-stats {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 10px;
    border-radius: 6px;
}

.chat-terminal {
    background: #050811;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-terminal-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    max-height: 160px;
    overflow-y: hidden;
}

.chat-item {
    line-height: 1.4;
    color: #cbd5e1;
}

.chat-item.reply {
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
}

.user-badge {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    margin-right: 4px;
}

.user-badge.enter { background: #0284c7; color: #fff; }
.user-badge.like { background: #ec4899; color: #fff; }
.user-badge.comment { background: #475569; color: #fff; }
.user-badge.ai { background: var(--primary); color: #fff; }
.user-badge.gift { background: #eab308; color: #000; }

.user-name {
    color: #93c5fd;
    font-weight: 600;
}

/* Mockup Right Panel */
.mockup-right {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #090e1c;
}

.mockup-panel-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.m-tab {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.m-tab.active {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}

.mockup-panel-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.panel-section {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 14px;
}

.panel-label {
    font-size: 11px;
    color: var(--text-dim);
    margin-bottom: 6px;
    font-weight: 600;
}

.panel-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-val {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.script-display-box {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.6;
    background: #050811;
    padding: 10px;
    border-radius: 6px;
}

.script-display-box p {
    margin-bottom: 4px;
}

.ducking-bar {
    background: #050811;
    border-radius: 6px;
    padding: 8px 10px;
    position: relative;
    overflow: hidden;
}

.ducking-progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30%;
    background: rgba(16, 185, 129, 0.15);
    border-right: 2px solid #10b981;
}

.ducking-text {
    position: relative;
    font-size: 11px;
    color: #34d399;
    font-weight: 600;
}

.panel-buttons {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

/* 模块通用布局 */
.section {
    padding: 80px 0;
}

.section-darker {
    background-color: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

/* 7 大功能卡片 Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.feature-subtitle {
    font-size: 12px;
    color: #38bdf8;
    margin-bottom: 12px;
    font-weight: 500;
}

.feature-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 16px;
}

.feature-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.feature-tag-item {
    font-size: 12px;
    color: #a5b4fc;
}

/* 在线交互演练场 (Playground) */
.playground-container {
    background: #0b1120;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.playground-nav {
    display: flex;
    background: #080d1a;
    border-bottom: 1px solid var(--border-color);
    padding: 0 16px;
}

.pg-tab {
    padding: 16px 22px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pg-tab:hover {
    color: var(--text-main);
}

.pg-tab.active {
    color: #ffffff;
    border-bottom-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}

.pg-content {
    padding: 30px;
    display: none;
}

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

.pg-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
}

.pg-form-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    background: #050811;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #ffffff;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

.pg-preview {
    background: #050811;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.steps-result {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 380px;
    overflow-y: auto;
}

.step-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s ease;
}

.step-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
}

.step-badge {
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 4px;
}

.step-text {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* 音色矩阵 Grid */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.voice-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
}

.voice-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

.voice-avatar {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.voice-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.voice-id {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #38bdf8;
    margin-bottom: 4px;
    display: block;
}

.voice-tagline {
    font-size: 11px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 6px;
}

.voice-sample-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
    font-style: italic;
}

/* 弹幕模拟器 */
.chat-sim-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
}

.quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
    color: #ffffff;
}

.sim-input-box {
    display: flex;
    gap: 10px;
}

.sim-terminal-screen {
    background: #050811;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

.sim-line {
    line-height: 1.5;
    padding: 6px 10px;
    border-radius: 6px;
}

.sim-line.sys { color: #10b981; font-family: var(--font-mono); font-size: 11px; }
.sim-line.user { background: rgba(255, 255, 255, 0.04); color: #cbd5e1; }
.sim-line.ai { background: rgba(99, 102, 241, 0.15); border-left: 3px solid var(--primary); color: #e2e8f0; }

/* 时序交互流程图 */
.flow-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 30px;
    backdrop-filter: blur(12px);
}

.flow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.flow-step {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.flow-step:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.flow-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.flow-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
}

.flow-text {
    font-size: 11px;
    color: var(--text-dim);
    line-height: 1.5;
}

/* 安全对比表 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th, 
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: rgba(15, 23, 42, 0.9);
    font-weight: 700;
    color: #ffffff;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* 定价卡片 Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(30, 41, 59, 0.85);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.2);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #06b6d4);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 50px;
}

.plan-name {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.plan-desc {
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.plan-price {
    font-size: 34px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
}

.plan-price .period {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.plan-features li {
    line-height: 1.5;
}

.plan-features li b {
    color: #ffffff;
}

/* 下载专区卡片 */
.download-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.95));
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.download-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guide-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.guide-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guide-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.guide-desc {
    font-size: 12px;
    color: var(--text-dim);
}

.guide-desc code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    color: #38bdf8;
    font-family: var(--font-mono);
}

/* FAQ 手风琴 */
.faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-question {
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle {
    font-size: 20px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-answer {
    padding: 0 22px 18px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* 底部页脚 */
.footer {
    background: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 30px;
    font-size: 13px;
    color: var(--text-dim);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12px;
}

/* 全局 Toast */
.home-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1e293b;
    border: 1px solid var(--primary);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.home-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式断点适配 */
@media (max-width: 992px) {
    .hero-title { font-size: 36px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mockup-body { grid-template-columns: 1fr; }
    .mockup-left { border-right: none; border-bottom: 1px solid var(--border-color); }
    .pg-grid { grid-template-columns: 1fr; }
    .voice-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-steps { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .download-box { grid-template-columns: 1fr; }
    .chat-sim-container { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero-title { font-size: 28px; }
    .hero-description { font-size: 15px; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .voice-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
