/* Design System CSS variables */
:root {
    /* Color Palette */
    --void-navy: #0C1A2E;
    --cosmos: #112240;
    --lunar-gold: #C47D1A;
    --sunrise-amber: #E8A030;
    --earth-teal: #1B8A7A;
    --starlight: #F0E8D0;
    --deep-space: #070E1A;
    --nebula-mist: #1A3048;
    
    /* Transparent Variants for Glassmorphism */
    --glass-bg: rgba(17, 34, 64, 0.65);
    --glass-border: rgba(196, 125, 26, 0.2);
    --glass-border-hover: rgba(232, 160, 48, 0.45);
    
    /* Fonts */
    --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Motion Easing & Durations */
    --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 300ms cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--deep-space);
    color: var(--starlight);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #ffffff;
}

a {
    color: var(--sunrise-amber);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--starlight);
}

/* Shared UI Components */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.primary-btn {
    background: linear-gradient(135deg, var(--lunar-gold), var(--sunrise-amber));
    color: var(--deep-space);
    font-family: var(--font-display);
    font-weight: 600;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: var(--transition-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(232, 160, 48, 0.4);
}

.primary-btn:active {
    transform: translateY(0);
}

.secondary-btn {
    background: transparent;
    color: var(--starlight);
    border: 1px solid var(--starlight);
    font-family: var(--font-display);
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: var(--transition-medium);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.secondary-btn:hover {
    background: rgba(240, 232, 208, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.secondary-btn:active {
    transform: translateY(0);
}

.ghost-btn {
    background: transparent;
    border: 1px solid rgba(240, 232, 208, 0.3);
    color: rgba(240, 232, 208, 0.7);
    padding: 10px 20px;
    border-radius: 6px;
    font-family: var(--font-display);
    font-size: 12px;
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
}

.ghost-btn:hover {
    border-color: var(--starlight);
    color: var(--starlight);
    background: rgba(240, 232, 208, 0.05);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--sunrise-amber);
    background: rgba(232, 160, 48, 0.1);
    border: 1px solid rgba(232, 160, 48, 0.2);
    border-radius: 100px;
    letter-spacing: 0.08em;
}

/* Helper Utilities */
.text-center { text-align: center; }
.font-jetbrains { font-family: var(--font-mono); }
.m-top-2 { margin-top: 8px; }
.m-top-4 { margin-top: 16px; }

/* Dynamic Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.03); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

.pulse {
    animation: pulse 4s infinite ease-in-out;
}

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

.fade-in {
    animation: fadeIn 0.8s var(--transition-slow) forwards;
}

/* Screen States System */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-slow);
    z-index: 1;
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* 1. Splash Screen Styling */
#splash-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, var(--void-navy) 0%, var(--deep-space) 100%);
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 480px;
    width: 90%;
    padding: 48px 32px;
    text-align: center;
    z-index: 2;
    border-color: rgba(196, 125, 26, 0.25);
}

.brand-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 24px;
    border: 2px solid var(--lunar-gold);
    box-shadow: 0 0 30px rgba(196, 125, 26, 0.3);
}

.brand-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 50%, var(--starlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tagline {
    font-size: 16px;
    color: var(--starlight);
    opacity: 0.8;
    margin-bottom: 32px;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
}

/* Space Background for Splash */
.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 150px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 150px 240px, var(--sunrise-amber), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 250px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 350px 350px, var(--earth-teal), rgba(0,0,0,0));
    background-size: 550px 550px;
    opacity: 0.25;
    z-index: 1;
}

/* 2. Video Player Screen */
#video-screen {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

#skip-btn {
    position: absolute;
    bottom: 32px;
    right: 32px;
    z-index: 3;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 14, 26, 0.4) 0%, rgba(0,0,0,0) 80%, rgba(7, 14, 26, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

/* 3. Main Hub Screen */
#hub-screen {
    position: relative;
    height: 100%;
    overflow-y: auto;
    background: radial-gradient(ellipse at bottom, var(--cosmos) 0%, var(--deep-space) 100%);
}

.glass-header {
    background: rgba(12, 26, 46, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(196, 125, 26, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--lunar-gold);
}

.header-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.1;
}

.header-subtitle {
    font-size: 11px;
    color: var(--starlight);
    opacity: 0.6;
    letter-spacing: 0.05em;
    font-family: var(--font-display);
}

.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 13px;
    border: 1px solid rgba(240, 232, 208, 0.15);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--starlight);
}

.icon-link:hover {
    background: rgba(240, 232, 208, 0.05);
    border-color: var(--starlight);
}

/* Hero Section */
.hub-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 24px;
}

.hero-section {
    max-width: 800px;
    margin: 0 auto 80px auto;
}

.hero-title {
    font-size: 48px;
    margin-top: 16px;
    margin-bottom: 24px;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 60%, var(--starlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--starlight);
    opacity: 0.75;
    font-weight: 300;
}

/* Projects Grid styling */
.projects-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 14px;
    font-family: var(--font-mono);
    color: rgba(240, 232, 208, 0.5);
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.project-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 2;
    position: relative;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(196, 125, 26, 0.08) 0%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

.project-card:hover .card-glow {
    opacity: 1;
}

.project-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 12px 40px rgba(196, 125, 26, 0.1);
    transform: translateY(-4px);
    transition: transform var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.project-status {
    align-self: flex-start;
    padding: 3px 8px;
    font-size: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.project-status.completed {
    background: rgba(27, 138, 122, 0.15);
    color: #38ef7d;
    border: 1px solid rgba(56, 239, 125, 0.25);
}

.project-status.active-dev {
    background: rgba(196, 125, 26, 0.15);
    color: var(--sunrise-amber);
    border: 1px solid rgba(232, 160, 48, 0.25);
}

.card-project-title {
    font-size: 26px;
    margin-bottom: 12px;
}

.card-version {
    font-size: 14px;
    font-family: var(--font-mono);
    font-weight: 400;
    color: rgba(240, 232, 208, 0.5);
    margin-left: 6px;
}

.card-project-desc {
    font-size: 15px;
    color: var(--starlight);
    opacity: 0.7;
    margin-bottom: 32px;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.tag {
    font-size: 11px;
    font-family: var(--font-mono);
    padding: 2px 8px;
    background: rgba(26, 48, 72, 0.5);
    border: 1px solid rgba(26, 48, 72, 0.8);
    border-radius: 4px;
    color: rgba(240, 232, 208, 0.8);
}

.card-footer {
    border-top: 1px solid rgba(240, 232, 208, 0.1);
    padding-top: 20px;
}

.interactive-text {
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--sunrise-amber);
    transition: var(--transition-fast);
}

.project-card:hover .interactive-text {
    color: #ffffff;
    padding-left: 4px;
}

/* Locked Card styles */
.project-card.locked {
    border-color: rgba(26, 48, 72, 0.5);
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 24px;
}

.status-row .project-status {
    margin-bottom: 0;
}

.lock-icon-wrapper {
    color: rgba(240, 232, 208, 0.35);
}

.project-card.locked:hover {
    border-color: var(--glass-border);
    box-shadow: none;
    transform: none;
}

.lock-text {
    font-size: 12px;
    font-family: var(--font-mono);
    color: rgba(240, 232, 208, 0.4);
    letter-spacing: 0.1em;
}

/* Founder / Vision Section */
.founder-section {
    padding: 64px 48px;
    border-color: rgba(196, 125, 26, 0.15);
    background: radial-gradient(circle at 100% 100%, rgba(196, 125, 26, 0.04) 0%, rgba(0,0,0,0) 80%), var(--glass-bg);
}

.founder-headline {
    font-size: 12px;
    font-family: var(--font-mono);
    color: rgba(240, 232, 208, 0.4);
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}

.founder-quote {
    font-size: 24px;
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 32px;
}

.founder-author {
    border-left: 2px solid var(--lunar-gold);
    padding-left: 16px;
}

.founder-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.founder-role {
    font-size: 13px;
    color: var(--starlight);
    opacity: 0.6;
}

/* Footer Section */
.hub-footer {
    border-top: 1px solid rgba(240, 232, 208, 0.05);
    padding: 32px 24px;
    text-align: center;
}

.footer-copy {
    font-size: 13px;
    color: var(--starlight);
    opacity: 0.4;
    font-family: var(--font-mono);
}

/* Modals system */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-medium);
    z-index: 1000;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 14, 26, 0.85);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 960px;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 2;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    transform: scale(0.95);
    transition: transform var(--transition-medium);
}

.modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--starlight);
    font-size: 32px;
    cursor: pointer;
    opacity: 0.5;
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
    color: #ffffff;
}

.modal-header {
    border-bottom: 1px solid rgba(240, 232, 208, 0.1);
    padding-bottom: 24px;
}

.modal-title {
    font-size: 32px;
    margin-top: 8px;
    margin-bottom: 24px;
}

.action-buttons {
    display: flex;
    gap: 16px;
}

.inline-btn {
    padding: 10px 24px;
    font-size: 13px;
}

.modal-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.subsection-title {
    font-size: 13px;
    font-family: var(--font-mono);
    color: rgba(240, 232, 208, 0.4);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

/* Slider / Carousel style */
.carousel-container {
    position: relative;
    width: 100%;
    background: #000000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid rgba(240, 232, 208, 0.1);
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(7, 14, 26, 0.7);
    border: 1px solid rgba(240, 232, 208, 0.2);
    color: var(--starlight);
    font-size: 28px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.carousel-nav:hover {
    background: var(--lunar-gold);
    color: var(--deep-space);
    border-color: var(--lunar-gold);
}

.carousel-nav.prev { left: 16px; }
.carousel-nav.next { right: 16px; }

.carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(240, 232, 208, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background: var(--sunrise-amber);
    transform: scale(1.2);
}

/* Detailed summary text specs styling */
.details-text {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 16px;
    font-size: 13px;
    color: rgba(240, 232, 208, 0.85);
}

.details-text h4 {
    color: var(--sunrise-amber);
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.details-text h4:not(:first-child) {
    margin-top: 24px;
}

.details-text p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.details-text ul {
    list-style-type: none;
    margin-bottom: 16px;
}

.details-text li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 16px;
}

.details-text li::before {
    content: "•";
    color: var(--lunar-gold);
    position: absolute;
    left: 0;
}

/* Construction Modal styling */
.modal-content-sm {
    position: relative;
    width: 90%;
    max-width: 440px;
    padding: 40px;
    z-index: 2;
    transform: scale(0.95);
    transition: transform var(--transition-medium);
}

.modal.active .modal-content-sm {
    transform: scale(1);
}

.construction-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-msg {
    font-size: 14px;
    color: var(--starlight);
    opacity: 0.8;
}

/* Responsive Scaling Rules */
@media (max-width: 1024px) {
    .modal-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .carousel-container {
        max-width: 640px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .card-content {
        padding: 32px;
    }
    
    .modal-container {
        padding: 24px;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .founder-section {
        padding: 32px 24px;
    }
    
    .founder-quote {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 28px;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .inline-btn {
        width: 100%;
    }
    
    .header-container {
        padding: 12px 16px;
    }
    
    .header-title {
        font-size: 16px;
    }
}

/* Expanded Landing Page Features CSS overrides */

/* Global anchors smooth scroll */
html {
    scroll-behavior: smooth;
}

.scroll-target {
    scroll-margin-top: 100px;
}

/* Expanded Hero Layout */
.hero-grid-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 96px;
    padding-top: 32px;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title-large {
    font-size: 44px;
    line-height: 1.2;
    font-family: var(--font-display);
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--lunar-gold) 0%, var(--sunrise-amber) 60%, var(--starlight) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc-large {
    font-size: 18px;
    line-height: 1.6;
    color: var(--starlight);
    opacity: 0.95;
    font-weight: 300;
    margin-bottom: 16px;
}

.hero-desc-sub {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--starlight);
    opacity: 0.7;
    margin-bottom: 16px;
    font-weight: 300;
}

.hero-highlights-container {
    width: 100%;
    margin-top: 24px;
    margin-bottom: 32px;
    border-top: 1px solid rgba(240, 232, 208, 0.08);
    padding-top: 20px;
}

.highlight-title {
    font-size: 11px;
    color: rgba(240, 232, 208, 0.4);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.highlight-item {
    font-size: 13.5px;
    color: rgba(240, 232, 208, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.highlight-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.highlight-dot.teal {
    background-color: var(--earth-teal);
    box-shadow: 0 0 8px var(--earth-teal);
}

.highlight-dot.amber {
    background-color: var(--sunrise-amber);
    box-shadow: 0 0 8px var(--sunrise-amber);
}

.highlight-dot.gold {
    background-color: var(--lunar-gold);
    box-shadow: 0 0 8px var(--lunar-gold);
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

/* Hero Network Visual Styling */
.hero-visual-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at center, rgba(17, 34, 64, 0.8) 0%, rgba(12, 26, 46, 0.95) 100%);
    border-color: rgba(196, 125, 26, 0.25);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(196, 125, 26, 0.05);
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(240, 232, 208, 0.08);
    background: rgba(7, 14, 26, 0.5);
    z-index: 10;
}

.visual-status {
    font-size: 10.5px;
    color: var(--earth-teal);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #38ef7d;
    box-shadow: 0 0 8px #38ef7d;
}

.visual-telemetry {
    font-size: 10px;
    color: rgba(240, 232, 208, 0.45);
    letter-spacing: 0.05em;
}

.canvas-wrapper {
    flex-grow: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.canvas-center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    z-index: 5;
    pointer-events: none;
}

.core-logo-overlay {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--lunar-gold);
    box-shadow: 0 0 30px rgba(196, 125, 26, 0.5);
    background: var(--deep-space);
}

.telemetry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(to top, rgba(7, 14, 26, 0.95) 0%, rgba(7, 14, 26, 0.75) 60%, rgba(7, 14, 26, 0) 100%);
    border-top: 1px solid rgba(240, 232, 208, 0.05);
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 3px;
    z-index: 10;
    pointer-events: none;
}

.telemetry-line {
    font-size: 10px;
    color: var(--starlight);
    opacity: 0.65;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}

.telemetry-line.active-log {
    opacity: 0.95;
    color: var(--sunrise-amber);
}

/* Section Header Structure */
.section-header-block {
    max-width: 800px;
    margin: 0 auto 56px auto;
}

.section-title-large {
    font-size: 38px;
    line-height: 1.25;
    font-family: var(--font-display);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.section-desc-large {
    font-size: 16.5px;
    color: var(--starlight);
    opacity: 0.75;
    font-weight: 300;
    line-height: 1.6;
}

/* Why Exists Stepper Pipeline */
.why-exists-section {
    margin-bottom: 96px;
}

.pipeline-container {
    padding: 40px;
    border-radius: 16px;
    border-color: rgba(196, 125, 26, 0.15);
    background: radial-gradient(circle at 0% 100%, rgba(196, 125, 26, 0.03) 0%, rgba(0,0,0,0) 80%), var(--glass-bg);
}

.pipeline-stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 48px;
    padding-bottom: 8px;
}

/* Prevent step collapse & enable scroll on low resolutions */
@media (max-width: 900px) {
    .pipeline-stepper {
        overflow-x: auto;
        justify-content: flex-start;
        gap: 16px;
    }
    
    .pipeline-stepper::-webkit-scrollbar {
        height: 4px;
    }
    
    .pipeline-stepper::-webkit-scrollbar-thumb {
        background: rgba(240, 232, 208, 0.1);
        border-radius: 2px;
    }
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    min-width: 80px;
    transition: transform var(--transition-medium);
}

.step-indicator:hover {
    transform: translateY(-2px);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cosmos);
    border: 1px solid rgba(240, 232, 208, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: rgba(240, 232, 208, 0.5);
    transition: var(--transition-medium);
}

.step-label {
    font-size: 11px;
    color: rgba(240, 232, 208, 0.4);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: var(--transition-medium);
}

.step-line {
    flex-grow: 1;
    height: 2px;
    background: rgba(240, 232, 208, 0.08);
    position: relative;
    top: -13px;
    z-index: 1;
    min-width: 24px;
}

@media (max-width: 900px) {
    .step-line {
        display: none; /* Hide link lines in horizontal scroll layout */
    }
}

.step-indicator.active .step-num {
    background: linear-gradient(135deg, var(--lunar-gold) 0%, var(--sunrise-amber) 100%);
    color: var(--deep-space);
    border-color: var(--sunrise-amber);
    box-shadow: 0 0 15px rgba(232, 160, 48, 0.4);
}

.step-indicator.active .step-label {
    color: var(--sunrise-amber);
    font-weight: 600;
}

.step-indicator.completed .step-num {
    background: var(--earth-teal);
    color: #ffffff;
    border-color: var(--earth-teal);
    box-shadow: 0 0 10px rgba(27, 138, 122, 0.2);
}

.step-indicator.completed .step-label {
    color: var(--earth-teal);
}

.pipeline-content-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.pipeline-details {
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 220px;
    justify-content: center;
}

.pipeline-step-title {
    font-size: 26px;
    color: #ffffff;
    font-weight: 600;
}

.pipeline-step-desc {
    font-size: 15.5px;
    color: var(--starlight);
    opacity: 0.8;
    line-height: 1.7;
    font-weight: 300;
}

.pipeline-step-telemetry {
    font-size: 11.5px;
    color: rgba(240, 232, 208, 0.55);
    border-top: 1px solid rgba(240, 232, 208, 0.08);
    padding-top: 16px;
    line-height: 1.6;
}

.pipeline-step-telemetry strong {
    color: var(--sunrise-amber);
    font-weight: 600;
}

.pipeline-console {
    border-radius: 10px;
    background: #040812;
    border: 1px solid rgba(240, 232, 208, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.console-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    background: rgba(7, 14, 26, 0.8);
    border-bottom: 1px solid rgba(240, 232, 208, 0.04);
}

.console-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.console-dot.red { background: #ff5f56; }
.console-dot.yellow { background: #ffbd2e; }
.console-dot.green { background: #27c93f; }

.console-title {
    font-size: 10.5px;
    color: rgba(240, 232, 208, 0.4);
    margin-left: 8px;
    letter-spacing: 0.05em;
}

.console-body {
    flex-grow: 1;
    padding: 16px;
    font-size: 11.5px;
    line-height: 1.7;
    overflow-y: auto;
    color: var(--starlight);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.console-body::-webkit-scrollbar {
    width: 6px;
}

.console-body::-webkit-scrollbar-thumb {
    background: rgba(240, 232, 208, 0.08);
    border-radius: 3px;
}

.log-row {
    word-break: break-all;
    opacity: 0.85;
}

.log-row.info { color: rgba(240, 232, 208, 0.5); }
.log-row.success { color: #38ef7d; }
.log-row.warning { color: var(--sunrise-amber); }

/* The Builder Behind Dream XV Styling */
.builder-section {
    margin-bottom: 96px;
}

.builder-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: center;
}

.builder-image-panel {
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    border-color: rgba(196, 125, 26, 0.15);
    background: radial-gradient(circle at top, rgba(196, 125, 26, 0.05) 0%, rgba(0,0,0,0) 85%), var(--glass-bg);
}

.avatar-ring {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--lunar-gold) 0%, var(--sunrise-amber) 50%, var(--earth-teal) 100%);
    padding: 3px;
    box-shadow: 0 0 40px rgba(196, 125, 26, 0.25);
}

.builder-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--deep-space);
}

.builder-signature {
    width: 100%;
}

.signature-name {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.signature-title {
    font-size: 11px;
    color: var(--sunrise-amber);
    margin-top: 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.builder-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    border-top: 1px solid rgba(240, 232, 208, 0.08);
    padding-top: 28px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-display);
}

.stat-lbl {
    font-size: 9.5px;
    color: rgba(240, 232, 208, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 3px;
}

.builder-info-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.builder-bio {
    font-size: 15.5px;
    color: var(--starlight);
    opacity: 0.8;
    margin-bottom: 18px;
    line-height: 1.7;
    font-weight: 300;
}

.builder-bio strong {
    color: #ffffff;
    font-weight: 600;
}

.builder-research {
    width: 100%;
    margin-top: 24px;
    border-top: 1px solid rgba(240, 232, 208, 0.08);
    padding-top: 24px;
}

.research-title {
    font-size: 11px;
    color: rgba(240, 232, 208, 0.4);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.research-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    font-size: 11.5px;
    padding: 5px 14px;
    background: rgba(196, 125, 26, 0.05);
    border: 1px solid rgba(196, 125, 26, 0.12);
    border-radius: 100px;
    color: rgba(240, 232, 208, 0.75);
    transition: border-color var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
    cursor: default;
}

.chip:hover {
    border-color: var(--sunrise-amber);
    background: rgba(232, 160, 48, 0.08);
    color: #ffffff;
}

/* Long-Term Vision Timeline Layout */
.vision-section {
    margin-bottom: 96px;
}

.vision-timeline-wrapper {
    position: relative;
    padding: 40px 0;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.timeline-line-path {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, rgba(240, 232, 208, 0.04) 0%, var(--lunar-gold) 20%, var(--earth-teal) 80%, rgba(27, 138, 122, 0.04) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.timeline-node-card {
    position: relative;
    width: calc(50% - 32px);
    padding: 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: border-color var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
}

.timeline-node-card:nth-child(odd) {
    align-self: flex-start;
}

.timeline-node-card:nth-child(even) {
    align-self: flex-end;
}

.timeline-indicator-glow {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--deep-space);
    border: 2px solid var(--lunar-gold);
    top: 32px;
    z-index: 5;
    box-shadow: 0 0 10px rgba(196, 125, 26, 0.3);
    transition: background-color var(--transition-medium), border-color var(--transition-medium), box-shadow var(--transition-medium);
}

.timeline-node-card:nth-child(odd) .timeline-indicator-glow {
    right: -41px;
}

.timeline-node-card:nth-child(even) .timeline-indicator-glow {
    left: -41px;
}

.timeline-node-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(196, 125, 26, 0.12);
}

.timeline-node-card:hover .timeline-indicator-glow {
    background-color: var(--sunrise-amber);
    border-color: #ffffff;
    box-shadow: 0 0 15px var(--sunrise-amber);
}

.timeline-node-card.highlight-border {
    border-color: var(--earth-teal);
    box-shadow: 0 0 25px rgba(27, 138, 122, 0.15);
}

.timeline-node-card.highlight-border .timeline-indicator-glow {
    border-color: var(--earth-teal);
    box-shadow: 0 0 12px var(--earth-teal);
}

.timeline-node-card.highlight-border:hover .timeline-indicator-glow {
    background-color: var(--earth-teal);
    border-color: #ffffff;
    box-shadow: 0 0 18px var(--earth-teal);
}

.timeline-phase {
    font-size: 10px;
    font-weight: 700;
    color: rgba(240, 232, 208, 0.4);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.timeline-phase.custom-color {
    color: var(--earth-teal);
}

.timeline-node-title {
    font-size: 19px;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 600;
}

.timeline-node-desc {
    font-size: 14px;
    color: var(--starlight);
    opacity: 0.75;
    line-height: 1.6;
    font-weight: 300;
}

/* Core Philosophy Cards */
.philosophy-section {
    margin-bottom: 96px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.philosophy-card {
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-medium), transform var(--transition-medium), box-shadow var(--transition-medium);
}

.philosophy-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(196, 125, 26, 0.1);
}

.philosophy-content {
    padding: 36px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.philosophy-icon.teal {
    background: rgba(27, 138, 122, 0.1);
    color: var(--earth-teal);
    border: 1px solid rgba(27, 138, 122, 0.2);
}

.philosophy-icon.amber {
    background: rgba(232, 160, 48, 0.1);
    color: var(--sunrise-amber);
    border: 1px solid rgba(232, 160, 48, 0.2);
}

.philosophy-icon.gold {
    background: rgba(196, 125, 26, 0.1);
    color: var(--lunar-gold);
    border: 1px solid rgba(196, 125, 26, 0.2);
}

.philosophy-title {
    font-size: 19px;
    margin-bottom: 12px;
    color: #ffffff;
    font-weight: 600;
}

.philosophy-desc {
    font-size: 14px;
    color: var(--starlight);
    opacity: 0.75;
    line-height: 1.6;
    font-weight: 300;
}

.philosophy-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: 1;
    pointer-events: none;
}

.philosophy-glow.teal {
    background: radial-gradient(circle at 0% 0%, rgba(27, 138, 122, 0.08) 0%, rgba(0,0,0,0) 65%);
}

.philosophy-glow.amber {
    background: radial-gradient(circle at 0% 0%, rgba(232, 160, 48, 0.08) 0%, rgba(0,0,0,0) 65%);
}

.philosophy-glow.gold {
    background: radial-gradient(circle at 0% 0%, rgba(196, 125, 26, 0.08) 0%, rgba(0,0,0,0) 65%);
}

.philosophy-card:hover .philosophy-glow {
    opacity: 1;
}

/* Expanded Responsive Overrides */
@media (max-width: 1024px) {
    .hero-grid-section {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        max-width: 720px;
        margin: 0 auto 80px auto;
    }
    
    .hero-text-content {
        align-items: center;
    }
    
    .hero-title-large {
        font-size: 38px;
    }
    
    .highlights-grid {
        justify-content: center;
        max-width: 540px;
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .builder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 640px;
        margin: 0 auto 80px auto;
    }
    
    .builder-info-panel {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 900px) {
    .pipeline-content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pipeline-details {
        min-height: auto;
        text-align: center;
    }
    
    .pipeline-step-telemetry {
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title-large {
        font-size: 30px;
    }
    
    .timeline-line-path {
        left: 20px;
        transform: none;
    }
    
    .timeline-node-card {
        width: calc(100% - 40px) !important;
        align-self: flex-end !important;
        margin-left: 40px !important;
    }
    
    .timeline-node-card:nth-child(odd) .timeline-indicator-glow,
    .timeline-node-card:nth-child(even) .timeline-indicator-glow {
        left: -27px !important;
        right: auto !important;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-title-large {
        font-size: 28px;
    }
    
    .hero-desc-large {
        font-size: 16px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas a {
        width: 100%;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    
    .pipeline-container {
        padding: 24px 16px;
    }
    
    .builder-image-panel {
        padding: 32px 16px;
    }
    
    .stat-num {
        font-size: 20px;
    }
    
    .philosophy-content {
        padding: 24px;
    }
}

/* Footer Link Buttons & Separators */
.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-link-btn {
    background: transparent;
    border: none;
    font-family: var(--font-display);
    font-size: 13px;
    color: var(--starlight);
    opacity: 0.6;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.footer-link-btn:hover {
    opacity: 1;
    color: var(--sunrise-amber);
}

.footer-separator {
    font-size: 12px;
    color: rgba(240, 232, 208, 0.25);
    user-select: none;
}

/* Legal Modals scroll content styles */
.modal-content-full {
    width: 100%;
}

.scrollable-legal-content {
    max-height: 480px;
    overflow-y: auto;
    padding-right: 16px;
    text-align: left;
    margin-top: 8px;
}

.scrollable-legal-content h4 {
    font-size: 15px;
    font-family: var(--font-display);
    color: var(--sunrise-amber);
    margin-top: 24px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.scrollable-legal-content h5 {
    font-size: 13.5px;
    font-family: var(--font-display);
    color: #ffffff;
    margin-top: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.scrollable-legal-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--starlight);
    opacity: 0.8;
    margin-bottom: 12px;
    font-weight: 300;
}

.scrollable-legal-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 14px;
}

.scrollable-legal-content li {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--starlight);
    opacity: 0.8;
    margin-bottom: 6px;
    position: relative;
    padding-left: 16px;
    font-weight: 300;
}

.scrollable-legal-content li::before {
    content: "•";
    color: var(--lunar-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

