/* ============================================
   FlowVision — 展示网站样式
   深色科技主题 | 多端自适应
   ============================================ */

:root {
    --bg-primary: #050814;
    --bg-secondary: #0a0f1e;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 212, 255, 0.2);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-cyan: #00d4ff;
    --accent-purple: #7c3aed;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    --gradient-hero: linear-gradient(135deg, #00d4ff 0%, #7c3aed 50%, #3b82f6 100%);
    --gradient-text: linear-gradient(135deg, #00d4ff, #7c3aed, #3b82f6);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
    --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ============================================
   导航栏
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 8, 20, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom-color: var(--border-subtle);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    color: var(--accent-cyan);
}

.logo-accent {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.nav-cta {
    background: var(--gradient-hero);
    color: #fff !important;
    font-weight: 600;
    margin-left: 8px;
}

.nav-cta:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   Hero 区域
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg-primary) 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease both;
}

.title-line:nth-child(2) { animation-delay: 0.15s; }

.title-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    animation: fadeInUp 0.8s ease 0.45s both;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
    background: var(--gradient-hero);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
}

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

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    animation: fadeInUp 0.8s ease 0.6s both;
    flex-wrap: wrap;
}

.hstat { text-align: center; }

.hstat-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.hstat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: fadeIn 1s ease 1s both;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================
   通用区域样式
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   实时数据流展示
   ============================================ */
.data-stream {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.data-stream::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.stream-header { margin-bottom: 48px; }

.stream-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stream-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stream-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.stream-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0.6;
}

.stream-in::before { background: var(--accent-green); }
.stream-out::before { background: var(--accent-blue); }
.stream-pps::before { background: var(--accent-purple); }
.stream-flows::before { background: var(--accent-cyan); }

.stream-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    color: var(--text-primary);
    background: rgba(255,255,255,0.03);
}

.stream-icon svg { width: 24px; height: 24px; }

.stream-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.stream-in .stream-value { color: var(--accent-green); }
.stream-out .stream-value { color: var(--accent-blue); }
.stream-pps .stream-value { color: var(--accent-purple); }
.stream-flows .stream-value { color: var(--accent-cyan); }

.stream-unit {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 16px;
}

.stream-bar {
    height: 4px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
}

.stream-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.8s ease;
    width: 0%;
}

.stream-in .stream-bar-fill { background: var(--accent-green); }
.stream-out .stream-bar-fill { background: var(--accent-blue); }
.stream-pps .stream-bar-fill { background: var(--accent-purple); }
.stream-flows .stream-bar-fill { background: var(--accent-cyan); }

/* ============================================
   核心功能
   ============================================ */
.features {
    padding: 100px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.feature-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ftag {
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.12);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--accent-cyan);
}

/* ============================================
   系统架构
   ============================================ */
.architecture {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
}

.arch-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.arch-step {
    display: flex;
    align-items: center;
}

.arch-node {
    text-align: center;
    padding: 0 16px;
    min-width: 140px;
}

.arch-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #fff;
    position: relative;
}

.arch-icon svg { width: 32px; height: 32px; }

.arch-collect { background: linear-gradient(135deg, #10b981, #059669); }
.arch-queue { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.arch-process { background: linear-gradient(135deg, #f59e0b, #d97706); }
.arch-enrich { background: linear-gradient(135deg, #ec4899, #db2777); }
.arch-store { background: linear-gradient(135deg, #00d4ff, #0891b2); }
.arch-visual { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.arch-name {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.arch-detail {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.arch-arrow {
    color: var(--text-muted);
    opacity: 0.5;
    padding: 0 4px;
}

.arch-arrow svg { width: 36px; height: 18px; }

.arch-techstack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tech-item:hover {
    border-color: var(--border-glow);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* ============================================
   能力矩阵
   ============================================ */
.capabilities {
    padding: 100px 0;
}

.caps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cap-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.cap-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.cap-item:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.cap-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
}

.cap-check svg { width: 14px; height: 14px; }

.cap-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.cap-text p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   版本更新时间线
   ============================================ */
.changelog {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.changelog-timeline {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
}

.cl-item {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
}

.cl-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.cl-marker {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--text-muted);
    z-index: 1;
    transition: var(--transition);
}

.cl-latest .cl-dot {
    border-color: var(--accent-cyan);
    background: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
}

.cl-line {
    width: 2px;
    flex: 1;
    background: var(--border-subtle);
    margin-top: 4px;
}

.cl-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    transition: var(--transition);
}

.cl-card:hover {
    border-color: var(--border-glow);
}

.cl-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.cl-version {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

.cl-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.cl-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cl-patch { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.cl-minor { background: rgba(245, 158, 11, 0.15); color: var(--accent-orange); }
.cl-major { background: rgba(236, 72, 153, 0.15); color: var(--accent-pink); }

.cl-body {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   联系咨询
   ============================================ */
.contact {
    padding: 100px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.contact-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.contact-wechat {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), var(--bg-card));
}

.contact-wechat:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.15);
}

.contact-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 3px 10px;
    background: linear-gradient(135deg, var(--accent-green), #059669);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 100px;
    letter-spacing: 0.5px;
}

.contact-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--accent-cyan);
    margin: 0 auto 20px;
}

.contact-wechat .contact-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    color: var(--accent-green);
}

.contact-icon svg { width: 28px; height: 28px; }

.contact-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    font-family: 'Inter', monospace;
}

.contact-wechat .contact-value {
    color: var(--accent-green);
    font-size: 1.5rem;
}

.contact-link {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--accent-cyan);
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-purple);
    transform: translateX(4px);
}

.wechat-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--accent-green);
    font-weight: 500;
}

.wechat-cta svg {
    width: 20px;
    height: 20px;
}

.footer-wechat {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.8125rem;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.125rem;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-version {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   动画关键帧
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stream-grid { grid-template-columns: repeat(2, 1fr); }
    .arch-flow { gap: 16px; }
    .arch-step { flex-direction: column; }
    .arch-arrow { transform: rotate(90deg); padding: 8px 0; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .wechat-cta { width: 100%; justify-content: center; }
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(5, 8, 20, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--border-subtle);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link { width: 100%; justify-content: center; padding: 12px; }
    .nav-cta { margin-left: 0; margin-top: 8px; }

    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero-title { font-size: 2.25rem; }
    .hero-stats { gap: 24px; }
    .hstat-num { font-size: 1.75rem; }

    .features-grid { grid-template-columns: 1fr; }
    .stream-grid { grid-template-columns: 1fr; }
    .caps-grid { grid-template-columns: 1fr; }

    .arch-flow { flex-direction: column; align-items: stretch; }
    .arch-step { flex-direction: row; align-items: center; }
    .arch-arrow { transform: rotate(90deg); }
    .arch-node { text-align: left; display: flex; align-items: center; gap: 16px; flex: 1; }
    .arch-icon { margin: 0; flex-shrink: 0; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .btn { padding: 12px 20px; font-size: 0.875rem; }
    .btn-lg { padding: 14px 28px; }

    .changelog-timeline::before { left: 11px; }
    .cl-item { gap: 16px; }
    .cl-marker { width: 24px; }
    .cl-dot { width: 10px; height: 10px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.875rem; }
    .hero-desc { font-size: 0.9375rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .section-header { margin-bottom: 40px; }
    .feature-card { padding: 24px; }
}
