/* ===== CSS Variables ===== */
:root {
    --bg-primary: #05070B;
    --bg-secondary: #0D1118;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-muted: #AAB6C8;
    --accent: #76A8FF;
    --purple: #7B6CFF;
    --font-family: 'Inter', 'Helvetica Neue', 'Segoe UI', sans-serif;
    --nav-height: 72px;
    --max-width: 1280px;
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(5, 7, 11, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-smooth);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-smooth);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

/* 卫星图片作为全幅背景 */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 0 60px rgba(118, 168, 255, 0.2));
}

/* 渐变遮罩层 - 左侧深色让文字可读，右侧透出卫星 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background:
        /* 左侧深色渐变 */
        linear-gradient(to right, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.72) 35%, rgba(5, 7, 11, 0.25) 60%, rgba(5, 7, 11, 0.08) 100%),
        /* 底部深色渐变 */
        linear-gradient(to top, rgba(5, 7, 11, 0.9) 0%, transparent 40%),
        /* 顶部深色渐变 */
        linear-gradient(to bottom, rgba(5, 7, 11, 0.5) 0%, transparent 30%);
    pointer-events: none;
}

/* 文字内容层 - 左对齐 */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: left;
    padding: 0 80px;
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.hero-brand {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(56px, 9vw, 96px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -3px;
    margin-bottom: 28px;
    color: var(--text-primary);
    text-shadow: 0 0 80px rgba(5, 7, 11, 0.6);
}

.hero-description {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 40px;
    text-shadow: 0 0 40px rgba(5, 7, 11, 0.7);
}

.cta-button {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-smooth);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 3;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(118, 168, 255, 0.12);
}

/* ===== Section Labels ===== */
.section-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 48px;
    text-align: center;
}

/* ===== Cards Section ===== */
.cards-section {
    padding: 120px 0;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(118, 168, 255, 0.25);
    box-shadow: 0 16px 48px rgba(118, 168, 255, 0.08);
}

.card-icon {
    color: var(--accent);
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card-text {
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Manifesto Section ===== */
.manifesto-section {
    padding: 120px 0;
}

.manifesto-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 36px;
    color: var(--text-primary);
}

.manifesto-text {
    font-size: 17px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ===== Architecture Timeline ===== */
.architecture-section {
    padding: 120px 0;
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-step {
    position: relative;
    margin-bottom: 48px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--accent);
    z-index: 2;
}

.timeline-content {
    padding-left: 24px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.timeline-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Quote Section ===== */
.quote-section {
    padding: 120px 0;
}

.quote-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.quote-text {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: -0.5px;
    color: var(--text-primary);
    border: none;
}

/* ===== Footer ===== */
.footer {
    padding: 64px 0 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
}

.footer-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-smooth);
    display: block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-nav {
    display: flex;
    flex-direction: column;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 300;
}

/* ===== Background ===== */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ===== Aurora Glow ===== */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(118, 168, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -15%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(123, 108, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Reveal on Scroll ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .hero-content {
        padding: 0 32px;
        max-width: 100%;
    }

    .hero-overlay {
        background:
            linear-gradient(to right, rgba(5, 7, 11, 0.9) 0%, rgba(5, 7, 11, 0.6) 50%, rgba(5, 7, 11, 0.2) 100%),
            linear-gradient(to top, rgba(5, 7, 11, 0.9) 0%, transparent 40%),
            linear-gradient(to bottom, rgba(5, 7, 11, 0.6) 0%, transparent 30%);
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .manifesto-inner {
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-nav {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }

    .footer-nav .footer-link {
        margin-bottom: 0;
    }

    .footer-links {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .nav-inner {
        padding: 0 20px;
    }

    .hero-content {
        padding: 0 20px;
        text-align: left;
    }

    .hero-title {
        font-size: 42px;
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-overlay {
        background:
            linear-gradient(to right, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.65) 60%, rgba(5, 7, 11, 0.3) 100%),
            linear-gradient(to top, rgba(5, 7, 11, 0.9) 0%, transparent 40%),
            linear-gradient(to bottom, rgba(5, 7, 11, 0.7) 0%, transparent 30%);
    }

    .cards-section,
    .manifesto-section,
    .architecture-section,
    .quote-section {
        padding: 80px 0;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-link {
        font-size: 13px;
    }
}