:root {
    --primary: #1e40ff;
    --primary-light: #3b5bdb;
    --accent: #06c2d8;
    --accent-secondary: #f472b6;
    --bg-dark: #0a0a14;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(30, 64, 255, 0.3);
    --public-color: #f59e0b;
    --private-color: #10b981;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* 背景 */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(30, 64, 255, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 194, 216, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(244, 114, 182, 0.04) 0%, transparent 60%);
    animation: bgMove 25s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(2%, 2%); }
    50% { transform: translate(0, 4%); }
    75% { transform: translate(-2%, 2%); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 10;
}

section {
    padding: 120px 0;
    position: relative;
    z-index: 10;
}

/* ========== 导航 ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

.nav-cta {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ========== Hero ========== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(30, 64, 255, 0.1);
    border: 1px solid rgba(30, 64, 255, 0.3);
    border-radius: 100px;
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 32px;
}

.hero-title {
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 20px rgba(30, 64, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 64, 255, 0.5);
}

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

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

/* Hero 打字机效果 */
.typing-demo {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 32px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.typing-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.typing-text {
    font-size: 15px;
    color: var(--text-secondary);
    font-family: 'SF Mono', 'Monaco', monospace;
    min-height: 24px;
}

.typing-text .cursor {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: var(--accent);
    animation: blink 0.8s infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========== 平台标签导航 ========== */
#platforms {
    padding: 80px 0 60px;
}

.platform-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 60px;
}

.platform-tag {
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-tag:hover,
.platform-tag.active {
    background: rgba(30, 64, 255, 0.15);
    border-color: var(--primary);
    color: var(--text-primary);
}

.platform-tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ========== 平台卡片 ========== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.platform-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(30, 64, 255, 0.15);
}

.platform-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.platform-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(30, 64, 255, 0.15), rgba(6, 194, 216, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--text-primary);
}

.platform-card-title {
    font-size: 20px;
    font-weight: 700;
}

.platform-card-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

.platform-badge {
    margin-left: auto;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.platform-badge.public {
    background: rgba(245, 158, 11, 0.15);
    color: var(--public-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.platform-badge.private {
    background: rgba(16, 185, 129, 0.15);
    color: var(--private-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.platform-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-glass);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.action-tag:hover {
    background: rgba(30, 64, 255, 0.1);
}

.action-tag-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.action-tag-text {
    font-size: 14px;
    color: var(--text-secondary);
}

.platform-card:hover .action-tag-text {
    color: var(--text-primary);
}

/* ========== 功能特性 ========== */
#features {
    background: linear-gradient(180deg, transparent, rgba(30, 64, 255, 0.03), transparent);
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(30, 64, 255, 0.1);
    border: 1px solid rgba(30, 64, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 64, 255, 0.3);
    box-shadow: 0 20px 60px rgba(30, 64, 255, 0.1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== 数据展示 ========== */
#metrics {
    padding: 100px 0;
}

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

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.metric-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(6, 194, 216, 0.1);
}

.metric-value {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}

.metric-label {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 8px 0;
}

.metric-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== 交付流程 ========== */
#process {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(30, 64, 255, 0.03), transparent);
}

.process-timeline {
    display: flex;
    gap: 32px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 100px;
    right: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.3;
}

.process-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-number {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(30, 64, 255, 0.4);
}

.process-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.process-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(30, 64, 255, 0.1);
    border: 1px solid rgba(30, 64, 255, 0.2);
    border-radius: 100px;
    font-size: 12px;
    color: var(--primary-light);
}

/* ========== CTA ========== */
#cta {
    padding: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(30, 64, 255, 0.15), rgba(6, 194, 216, 0.08));
    border: 1px solid rgba(30, 64, 255, 0.3);
    border-radius: 28px;
    padding: 80px;
    text-align: center;
}

.cta-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

.cta-box .btn-primary {
    padding: 16px 40px;
    font-size: 16px;
}

/* ========== Footer ========== */
.footer {
    padding: 60px 0 40px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
}

.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ========== 动画 ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .platforms-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .platforms-grid,
    .features-grid,
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .cta-box {
        padding: 48px 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .platform-card-header {
        flex-wrap: wrap;
    }
    
    .platform-badge {
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .platform-nav {
        gap: 8px;
    }
    
    .platform-tag {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
