/* ========================================
   昭新EDA - 主样式表
   设计风格：深色科技 + 蓝紫渐变
   ======================================== */

:root {
    /* 颜色变量 */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --secondary: #8b5cf6;
    --accent: #06b6d4;

    /* 深色主题（默认） */
    --bg-primary: #0a0b14;
    --bg-secondary: #11131f;
    --bg-card: #161826;
    --bg-card-hover: #1c1f30;
    --border-color: rgba(255,255,255,0.08);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    --shadow-glow: 0 0 60px rgba(59,130,246,0.3);
    --shadow-card: 0 10px 40px rgba(0,0,0,0.4);
}

/* 浅色主题 */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border-color: rgba(0,0,0,0.08);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;
    --shadow-glow: 0 0 60px rgba(59,130,246,0.15);
    --shadow-card: 0 10px 40px rgba(0,0,0,0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   通用工具类
   ======================================== */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59,130,246,0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    border: 1px solid rgba(59,130,246,0.2);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   按钮
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(59,130,246,0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(59,130,246,0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}

.btn-ghost:hover {
    background: var(--bg-card);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59,130,246,0.05);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 15px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* ========================================
   首页系统公告条（发布后固定在页面最顶端）
   ======================================== */
#announcementBar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    max-height: 45vh;
    overflow-y: auto;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10,11,20,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s;
}

[data-theme="light"] .navbar {
    background: rgba(255,255,255,0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg, .logo-icon img { width: 100%; height: 100%; object-fit: contain; }

.logo-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.logo-sub {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 5px;
    padding: 4px 6px;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .logo-sub { display: none; }
}

.nav-menu {
    display: flex;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
}

.nav-link:hover { color: var(--text-primary); }
.nav-link.active { color: var(--primary); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.theme-toggle:hover { background: var(--bg-card); color: var(--primary); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun-icon { display: none; }
[data-theme="light"] .theme-toggle .sun-icon { display: block; }
[data-theme="light"] .theme-toggle .moon-icon { display: none; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   Hero 区域
   ======================================== */
.hero {
    position: relative;
    padding: calc(140px + var(--announce-offset, 0px)) 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.grid-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.glow-1 {
    width: 500px; height: 500px;
    background: var(--primary);
    top: -100px; left: -100px;
}

.glow-2 {
    width: 400px; height: 400px;
    background: var(--secondary);
    top: 50%; right: -150px;
}

.glow-3 {
    width: 350px; height: 350px;
    background: var(--accent);
    bottom: -100px; left: 30%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 999px;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 40px;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 200px;
}

.stat-value-line {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* 软件展示窗口 */
.hero-showcase {
    position: relative;
    z-index: 1;
}

.showcase-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(59,130,246,0.2);
}

.window-header {
    background: var(--bg-secondary);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #555;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.window-title {
    font-size: 13px;
    color: var(--text-secondary);
}

.window-status {
    font-size: 12px;
    color: #10b981;
}

.window-content {
    background: #0d0e15;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.showcase-tabs {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tab-btn:hover { border-color: var(--primary); color: var(--text-primary); }
.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========================================
   信任标识
   ======================================== */
.trust-bar {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-label {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    align-items: center;
}

.logo-item {
    font-size: 18px;
    color: var(--text-tertiary);
    font-weight: 500;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   特性卡片
   ======================================== */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.feature-card:hover::before { opacity: 1; }

.feature-card.large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59,130,246,0.05) 100%);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1));
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

.feature-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    font-size: 13px;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ========================================
   工作流程
   ======================================== */
.workflow-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.workflow-line {
    position: absolute;
    top: 60px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0.3;
    z-index: 0;
}

.step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-num {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background: var(--bg-primary);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    display: inline-block;
    margin-bottom: 12px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(59,130,246,0.3));
}

.step h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.step-example {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 12px;
    color: var(--primary);
    text-align: left;
}

.step-example code {
    color: var(--text-secondary);
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 12px;
}

/* ========================================
   AI 能力展示
   ======================================== */
.ai-section {
    padding: 100px 0;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-content h2 {
    font-size: 40px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.ai-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
    font-size: 16px;
}

.ai-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.capability {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.capability-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.capability h4 {
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
}

.capability p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.chat-window {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    height: 500px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: var(--bg-secondary);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.chat-status {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.chat-actions {
    color: var(--text-secondary);
    cursor: pointer;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message {
    max-width: 85%;
    display: flex;
}

.message.user { align-self: flex-end; }

.message-bubble {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.message.user .message-bubble {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.ai .message-bubble {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
}

.typing-dots {
    display: inline-flex;
    gap: 4px;
    margin-top: 4px;
}

.typing-dots span {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
    padding: 12px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
    background: var(--bg-secondary);
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 18px;
}

/* ========================================
   用户评价
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s;
}

.testimonial:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
    margin-bottom: 20px;
    min-height: 80px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.author-name {
    font-size: 14px;
    font-weight: 500;
}

.author-title {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================
   CTA
   ======================================== */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.15), transparent 70%);
    z-index: 0;
}

.cta-card h2 {
    font-size: 36px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.social-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.social-links svg { width: 18px; height: 18px; }

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
}

/* ========================================
   页面特定
   ======================================== */
.page-header {
    padding: calc(140px + var(--announce-offset, 0px)) 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

.feature-detail { padding: 80px 0; }

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.detail-row.reverse .detail-content { order: 2; }
.detail-row.reverse .detail-visual { order: 1; }

.detail-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59,130,246,0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 12px;
    margin-bottom: 16px;
}

.detail-content h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.detail-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 16px;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 15px;
}

.detail-list .check {
    width: 20px;
    height: 20px;
    background: rgba(16,185,129,0.1);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.visual-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.visual-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.green { background: #10b981; }

.visual-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
}

.chat-msg {
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 85%;
}

.chat-msg.user {
    background: var(--primary);
    color: white;
    align-self: flex-end;
    margin-left: auto;
}

.chat-msg.ai {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

/* ========================================
   Toast 通知
   ======================================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: var(--text-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    animation: slideIn 0.3s ease;
}

.toast.success { border-left: 3px solid #10b981; }
.toast.error { border-left: 3px solid #ef4444; }
.toast.info { border-left: 3px solid var(--primary); }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-card.large { grid-column: span 2; }
    .workflow-steps { grid-template-columns: repeat(2, 1fr); }
    .workflow-line { display: none; }
    .ai-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .detail-row { grid-template-columns: 1fr; gap: 40px; }
    .detail-row.reverse .detail-content { order: 1; }
    .detail-row.reverse .detail-visual { order: 2; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
        gap: 16px;
    }
    .nav-menu.active { display: flex; }
    .nav-actions .btn { display: none; }
    .mobile-toggle { display: flex; }
    .nav-container { padding: 12px 16px; }

    .hero { padding: calc(100px + var(--announce-offset, 0px)) 0 60px; }
    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 16px; }
    .section-title { font-size: 28px; }
    .page-title { font-size: 36px; }

    .hero-stats { gap: 20px; }
    .stat-divider { display: none; }
    .stat-value { font-size: 28px; }

    .features-grid { grid-template-columns: 1fr; }
    .feature-card.large { grid-column: span 1; }
    .workflow-steps { grid-template-columns: 1fr; }
    .ai-capabilities { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    .trust-logos { gap: 24px; }

    .cta-card { padding: 40px 24px; }
    .cta-card h2 { font-size: 24px; }
}

/* ========================================
   滚动条
   ======================================== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* ========================================
   法律页面（用户服务协议 / 隐私政策）
   ======================================== */
.legal-page {
    padding: 140px 0 80px;
    min-height: 60vh;
}

.legal-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px 56px;
    box-shadow: var(--shadow-card);
}

.legal-wrap h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-meta {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.legal-wrap h2 {
    font-size: 19px;
    font-weight: 600;
    margin: 32px 0 14px;
    color: var(--text-primary);
    padding-left: 12px;
    border-left: 3px solid var(--primary);
}

.legal-wrap p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 12px;
}

.legal-wrap ul {
    list-style: none;
    margin-bottom: 12px;
}

.legal-wrap ul li {
    position: relative;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 8px;
}

.legal-wrap ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
}

.legal-wrap strong {
    color: var(--text-primary);
    font-weight: 600;
}

.legal-contact-list {
    margin-top: 8px;
}

.legal-footer {
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    padding-top: 24px;
    text-align: center;
    color: var(--text-tertiary);
    font-size: 13px;
    line-height: 2;
}

.legal-footer .footer-links a {
    color: var(--text-secondary);
    margin: 0 12px;
    transition: color 0.2s;
}

.legal-footer .footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-page { padding: 120px 0 60px; }
    .legal-wrap { padding: 32px 24px; }
    .legal-wrap h1 { font-size: 26px; }
    .legal-wrap h2 { font-size: 17px; }
}
