/* ============== 玻璃拟态极光风 ============== */
:root {
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --aurora-1: #00d4ff;
    --aurora-2: #7c3aed;
    --aurora-3: #ff6b9d;
    --aurora-4: #06b6d4;
    --text-primary: #1a1a2e;
    --text-secondary: #4a5568;
    --text-muted: #94a3b8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #fef3f8 0%, #e0e7ff 50%, #d0f0fd 100%);
}

/* 极光背景 */
.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    mix-blend-mode: screen;
}

.aurora-blob:nth-child(1) {
    width: 500px;
    height: 500px;
    background: var(--aurora-1);
    top: -10%;
    left: -10%;
    animation: drift 20s ease-in-out infinite;
}

.aurora-blob:nth-child(2) {
    width: 600px;
    height: 600px;
    background: var(--aurora-2);
    top: 40%;
    right: -15%;
    animation: drift 25s ease-in-out infinite reverse;
}

.aurora-blob:nth-child(3) {
    width: 450px;
    height: 450px;
    background: var(--aurora-3);
    bottom: -10%;
    left: 30%;
    animation: drift 22s ease-in-out infinite;
}

.aurora-blob:nth-child(4) {
    width: 400px;
    height: 400px;
    background: var(--aurora-4);
    top: 20%;
    left: 40%;
    animation: drift 18s ease-in-out infinite reverse;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ============== 胶囊导航 ============== */
.glass-nav {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    box-shadow: var(--glass-shadow);
}

.glass-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.8rem;
    font-weight: 800;
    font-size: 1.05rem;
    background: linear-gradient(135deg, var(--aurora-2), var(--aurora-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-logo img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.glass-links {
    display: flex;
    list-style: none;
    gap: 0.3rem;
}

.glass-links a {
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.glass-links a:hover, .glass-links a.active {
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-primary);
}

.glass-cta {
    padding: 0.5rem 1.2rem !important;
    background: linear-gradient(135deg, var(--aurora-2), var(--aurora-3)) !important;
    color: white !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
}

/* ============== Hero ============== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero h1 .gradient {
    background: linear-gradient(135deg, var(--aurora-2), var(--aurora-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--aurora-2), var(--aurora-3));
    color: white;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ============== 通用区段 ============== */
.section {
    padding: 5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--aurora-2);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ============== 玻璃卡片堆叠 ============== */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.2);
}

.glass-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(255, 107, 157, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============== 垂直时间轴 ============== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--aurora-2), var(--aurora-3), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--aurora-2);
    border-radius: 50%;
    top: 2.5rem;
    box-shadow: 0 0 20px var(--aurora-2);
}

.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }

/* ============== 数据指标 ============== */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric-glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--glass-shadow);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--aurora-2), var(--aurora-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* ============== 404 ============== */
.glass-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.glass-404-card {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 4rem;
    max-width: 600px;
    box-shadow: var(--glass-shadow);
}

.glass-404-code {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--aurora-1), var(--aurora-2), var(--aurora-3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

/* ============== 响应式 ============== */
@media (max-width: 768px) {
    .glass-nav {
        top: 1rem;
        padding: 0.5rem;
        gap: 0.3rem;
    }
    .glass-logo { padding: 0 0.5rem; font-size: 0.9rem; }
    .glass-links { display: none; }
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; left: 0 !important; padding-left: 3rem; text-align: left !important; }
    .timeline-item .timeline-dot { left: 10px !important; right: auto !important; }
    .glass-404-card { padding: 2.5rem 1.5rem; }
}
