/* ═══════════════════════════════════════════════════════════════════
   曦种计划 — Stylesheet
   Theme: Deep space + dawn light
   ═══════════════════════════════════════════════════════════════════ */

:root {
    --bg: #04060f;
    --bg-soft: #0a0e1a;
    --surface: #0d1220;
    --text: #e8eaf0;
    --text-muted: #8892a6;
    --accent: #f9a826;
    --accent-soft: #ffd089;
    --accent-glow: rgba(249, 168, 38, 0.4);
    --blue: #4a9eff;
    --blue-soft: #7ab8ff;
    --border: rgba(255, 255, 255, 0.06);
    --radius: 12px;
    --max-width: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC',
                 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ── Navbar ─────────────────────────────────────────────────────────── */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(4, 6, 15, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.logo-icon {
    color: var(--accent);
    font-size: 22px;
    text-shadow: 0 0 12px var(--accent-glow);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent-soft); }

/* ── Hero ───────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 40px;
}

.hero-tag {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 200;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

.title-glow {
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px var(--accent-glow);
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--blue-soft);
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 560px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    opacity: 0;
    animation: fadeUp 0.8s 1s forwards;
}

/* ── Buttons ────────────────────────────────────────────────────────── */

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #e89512);
    color: #1a1208;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

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

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue-soft);
}

.btn-large { padding: 16px 40px; font-size: 17px; }

/* ── Scroll hint ────────────────────────────────────────────────────── */

.scroll-hint {
    position: absolute;
    bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    opacity: 0;
    animation: fadeUp 0.8s 1.4s forwards;
}

.scroll-arrow {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s infinite;
}

/* ── Sections ───────────────────────────────────────────────────────── */

.section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.section-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* ── Cards ─────────────────────────────────────────────────────────── */

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

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(249, 168, 38, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ── Vision ─────────────────────────────────────────────────────────── */

.vision-grid {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.vision-item {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    text-align: center;
    padding: 0 24px;
}

.vision-year {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

.vision-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--blue-soft);
    margin-bottom: 16px;
}

.vision-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.vision-connector {
    width: 40px;
    display: flex;
    align-items: center;
}

.vision-connector::before {
    content: '→';
    color: var(--text-muted);
    font-size: 20px;
    opacity: 0.4;
}

/* ── Timeline ───────────────────────────────────────────────────────── */

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

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

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -28px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-dot.future {
    background: transparent;
    border: 2px solid var(--blue);
    box-shadow: 0 0 12px rgba(74, 158, 255, 0.3);
}

.timeline-date {
    font-size: 13px;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-muted);
}

/* ── Join ───────────────────────────────────────────────────────────── */

.join-container {
    text-align: center;
    padding: 80px 24px;
}

.join-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 20px;
}

.join-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ── Footer ─────────────────────────────────────────────────────────── */

.footer {
    position: relative;
    z-index: 1;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--text);
}

.footer-links {
    display: flex;
    gap: 24px;
}

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

.footer-links a:hover { color: var(--accent-soft); }

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

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

.footer-motto {
    font-style: italic;
    opacity: 0.7;
}

/* ── Animations ─────────────────────────────────────────────────────── */

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

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.4; }
    50% { transform: scaleY(1.3); opacity: 0.8; }
}

/* ── Reveal on scroll ───────────────────────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .nav-links { gap: 16px; }
    .nav-links a { font-size: 13px; }
    .vision-connector { display: none; }
    .vision-grid { flex-direction: column; gap: 40px; }
    .footer-grid { flex-direction: column; text-align: center; }
}
