/* ===== CSS Variables ===== */
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a1f35;
    --bg-card-hover: #222845;
    --text-primary: #e8ecf4;
    --text-secondary: #8892a8;
    --text-muted: #5a6478;
    --accent-blue: #4facfe;
    --accent-cyan: #00f2fe;
    --accent-purple: #a855f7;
    --earth-color: #4facfe;
    --earth-glow: rgba(79, 172, 254, 0.3);
    --moon-color: #c8ccd4;
    --moon-glow: rgba(200, 204, 212, 0.3);
    --mars-color: #f97316;
    --mars-glow: rgba(249, 115, 22, 0.3);
    --border-color: rgba(255, 255, 255, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', 'Noto Sans KR', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* ===== Stars Background ===== */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#stars, #stars2, #stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.accent {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-links a.nav-simulator {
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.15), rgba(168, 85, 247, 0.15));
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 8px;
    color: var(--accent-blue);
    font-weight: 600;
}

.nav-links a.nav-simulator:hover {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.25), rgba(168, 85, 247, 0.25));
    border-color: rgba(79, 172, 254, 0.5);
    color: white;
}

.nav-links a.nav-simulator.active {
    background: linear-gradient(135deg, var(--accent-blue), #7c3aed);
    border-color: transparent;
    color: white;
}

.nav-links a.nav-simulator.active::after {
    display: none;
}

.nav-beta {
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.1rem 0.3rem;
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
    border-radius: 3px;
    vertical-align: middle;
    margin-left: 0.15rem;
}

.nav-simulator.active .nav-beta {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 1px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 5% 4rem;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title .line1 {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.hero-title .line2 {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.5s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), #3b82f6);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.3);
}

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

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

/* ===== Orbit System ===== */
.orbit-system {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1.5s ease 0.5s forwards;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

/* Sun */
.sun {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #fbbf24, #f59e0b);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.5), 0 0 80px rgba(251, 191, 36, 0.2);
    z-index: 10;
}

/* Earth orbit around Sun */
.orbit-1 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    animation: rotate 40s linear infinite;
}

/* Mars orbit around Sun */
.orbit-3 {
    width: 440px;
    height: 440px;
    margin: -220px 0 0 -220px;
    animation: rotate 80s linear infinite;
}

/* Earth is the anchor for sub-orbits */
.earth {
    position: relative;
}

/* Sub-orbits: centered on the Earth planet */
.sub-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
}

.orbit-iss {
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 1px dashed rgba(168, 85, 247, 0.35);
    animation: rotate 8s linear infinite;
}

.orbit-moon {
    width: 90px;
    height: 90px;
    margin: -45px 0 0 -45px;
    border: 1px solid rgba(200, 204, 212, 0.15);
    animation: rotate 25s linear infinite;
}

.sub-planet {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.iss-station {
    width: 14px;
    height: 14px;
    background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}

.moon-dot-orbit {
    width: 18px;
    height: 18px;
    background: radial-gradient(circle at 30% 30%, #e5e7eb, #9ca3af);
    box-shadow: 0 0 8px rgba(200, 204, 212, 0.3);
}

/* Labels */
.body-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.5rem;
    letter-spacing: 1px;
    white-space: nowrap;
    pointer-events: none;
}

.earth-label { bottom: -16px; color: var(--accent-blue); }
.iss-label { bottom: -13px; color: #a855f7; font-size: 0.4rem; }
.moon-label { bottom: -13px; color: #9ca3af; font-size: 0.4rem; }
.mars-label { bottom: -16px; color: #f97316; }

.planet {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s;
}

.planet:hover {
    transform: translateX(-50%) scale(1.3);
}

.earth {
    width: 36px;
    height: 36px;
    background: radial-gradient(circle at 30% 30%, #60a5fa, #2563eb);
    box-shadow: 0 0 25px var(--earth-glow);
}

.moon {
    width: 22px;
    height: 22px;
    background: radial-gradient(circle at 30% 30%, #e5e7eb, #9ca3af);
    box-shadow: 0 0 18px var(--moon-glow);
}

.mars {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 30% 30%, #fb923c, #dc2626);
    box-shadow: 0 0 25px var(--mars-glow);
}

/* ===== Gravity Banner ===== */
.gravity-banner {
    position: relative;
    z-index: 1;
    padding: 3rem 5%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.5), transparent);
}

.gravity-track {
    display: flex;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.gravity-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gravity-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.gravity-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}

.gravity-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s ease;
}

.earth-fill {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

.iss-fill {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}

.mars-fill {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.moon-fill {
    background: linear-gradient(90deg, #9ca3af, #d1d5db);
}

.gravity-value {
    font-family: var(--font-display);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Environment Cards ===== */
.environments {
    position: relative;
    z-index: 1;
    padding: 6rem 5%;
}

.env-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.env-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
    transition: all 0.4s ease;
    min-width: 0;
}

.env-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.env-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
}

.earth-card::before {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

.earth-card:hover {
    border-color: rgba(79, 172, 254, 0.2);
    box-shadow: 0 20px 60px rgba(79, 172, 254, 0.1);
}

.iss-card::before {
    background: linear-gradient(90deg, #a855f7, #c084fc);
}

.iss-card:hover {
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.1);
}

.moon-card::before {
    background: linear-gradient(90deg, #9ca3af, #e5e7eb);
}

.moon-card:hover {
    border-color: rgba(200, 204, 212, 0.2);
    box-shadow: 0 20px 60px rgba(200, 204, 212, 0.08);
}

.mars-card::before {
    background: linear-gradient(90deg, #f97316, #fb923c);
}

.mars-card:hover {
    border-color: rgba(249, 115, 22, 0.2);
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.1);
}

.card-planet-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    pointer-events: none;
}

.card-planet {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.earth-sphere {
    background: radial-gradient(circle, #60a5fa, #1d4ed8);
}

.iss-sphere {
    background: radial-gradient(circle, #c084fc, #7c3aed);
}

.moon-sphere {
    background: radial-gradient(circle, #e5e7eb, #6b7280);
}

.mars-sphere {
    background: radial-gradient(circle, #fb923c, #b91c1c);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.card-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    flex: 1;
}

.card-icon {
    font-size: 1.5rem;
}

.card-gravity {
    font-family: var(--font-display);
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-secondary);
}

.card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.card-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.detail-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.detail-value {
    display: block;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.card-pk-impact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.pk-badge {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 1px;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
}

.pk-badge.baseline {
    background: rgba(79, 172, 254, 0.15);
    color: var(--accent-blue);
}

.pk-badge.severe {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.pk-badge.moderate {
    background: rgba(200, 204, 212, 0.15);
    color: var(--moon-color);
}

.pk-badge.mild {
    background: rgba(249, 115, 22, 0.15);
    color: var(--mars-color);
}

/* ===== PK Parameters Section ===== */
.pk-parameters {
    position: relative;
    z-index: 1;
    padding: 6rem 5%;
    background: linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.3), transparent);
}

.pk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pk-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pk-item:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 172, 254, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pk-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(168, 85, 247, 0.1));
    border-radius: 14px;
    color: var(--accent-blue);
}

.pk-item h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.pk-item p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.pk-change {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.72rem;
    text-align: left;
}

.change-earth {
    color: var(--earth-color);
}

.change-iss {
    color: #a855f7;
}

.change-moon {
    color: var(--moon-color);
}

.change-mars {
    color: var(--mars-color);
}

/* ===== About Section ===== */
.about-section {
    position: relative;
    z-index: 1;
    padding: 8rem 5%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(10, 14, 26, 0.8) 10%,
        rgba(17, 24, 39, 0.4) 50%,
        rgba(10, 14, 26, 0.8) 90%,
        transparent 100%
    );
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
    align-items: start;
}

.about-vision {
    position: sticky;
    top: 120px;
}

.about-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.about-quote {
    position: relative;
    padding-left: 1.5rem;
}

.quote-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple));
    border-radius: 2px;
}

.about-quote blockquote {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.about-quote cite {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: normal;
}

/* Story Blocks */
.about-story {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.story-block {
    position: relative;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.story-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.story-block:hover {
    border-color: rgba(79, 172, 254, 0.12);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.story-block.visible:hover {
    transform: translateX(4px);
}

.highlight-block {
    border-color: rgba(79, 172, 254, 0.15);
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.05), rgba(168, 85, 247, 0.05));
}

.highlight-block:hover {
    border-color: rgba(79, 172, 254, 0.25) !important;
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.08);
}

.story-number {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-blue);
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.story-block h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.story-block p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.story-block p strong {
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Mission Pillars */
.mission-pillars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.pillar {
    text-align: center;
    flex: 1;
    max-width: 250px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.pillar-connector {
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.pillar-connector.visible {
    opacity: 1;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(79, 172, 254, 0.15);
    border-radius: 16px;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.pillar:hover .pillar-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.15);
    border-color: rgba(79, 172, 254, 0.3);
}

.pillar h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

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

/* ===== Frontier Section ===== */
.frontier-section {
    position: relative;
    z-index: 1;
    padding: 6rem 5%;
}

.frontier-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.frontier-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem 2.5rem;
    min-width: 280px;
    transition: all 0.4s ease;
}

.frontier-card:hover {
    border-color: rgba(79, 172, 254, 0.15);
    box-shadow: 0 12px 40px rgba(79, 172, 254, 0.06);
    transform: translateY(-4px);
}

.frontier-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1), rgba(168, 85, 247, 0.1));
    border: 2px solid rgba(79, 172, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
}

.frontier-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.frontier-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.frontier-role {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--accent-blue);
}

.frontier-affil {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.frontier-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.frontier-email {
    font-size: 0.75rem;
    color: var(--accent-blue);
    text-decoration: none;
    margin-top: 0.3rem;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.frontier-email:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .frontier-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 8rem 5%;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-color);
    padding: 3rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-desc {
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
}

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

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== Scroll Animations ===== */
.env-card,
.pk-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.env-card.visible,
.pk-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Story blocks and pillars are handled in about section above */

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .orbit-system {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 350px;
        height: 350px;
        margin: 3rem auto 0;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .env-cards {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .pk-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-vision {
        position: static;
        text-align: center;
    }

    .about-quote {
        display: inline-block;
        text-align: left;
    }

    .mission-pillars {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pillar-connector {
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title .line1 {
        font-size: 1.4rem;
    }

    .gravity-track {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pk-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }
}
