@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM TOKENS --- */
:root {
    --bg-primary: #070913;
    --bg-secondary: #0c0e22;
    --bg-card: rgba(13, 17, 39, 0.45);
    --border-card: rgba(0, 242, 254, 0.15);
    --border-card-active: rgba(0, 242, 254, 0.6);
    
    --color-primary: #00f2fe;
    --color-secondary: #4facfe;
    --color-purple: #9b51e0;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --glow-primary: 0 0 20px rgba(0, 242, 254, 0.35);
    --glow-strong: 0 0 35px rgba(0, 242, 254, 0.65);
    --glow-purple: 0 0 20px rgba(155, 81, 224, 0.35);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--bg-primary);
}

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

/* Background Cyber Grid effect */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.radial-glow {
    position: fixed;
    top: -20vh;
    right: -20vw;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.radial-glow-2 {
    position: fixed;
    bottom: -20vh;
    left: -20vw;
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(155, 81, 224, 0.06) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HEADER SECTION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(7, 9, 19, 0.7);
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.85rem 5%;
    background: rgba(7, 9, 19, 0.85);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-primary);
    text-shadow: var(--glow-primary);
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: var(--glow-primary);
    animation: pulseGlow 2s infinite alternate;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-fast);
    padding: 0.25rem 0;
}

.nav-link:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-smooth);
    box-shadow: var(--glow-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.05);
}

.header-cta:hover {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #070913;
    border-color: transparent;
    box-shadow: var(--glow-primary);
    transform: translateY(-2px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 5% 4rem;
    position: relative;
    z-index: 10;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-badge {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
    animation: pulseBorder 3s infinite alternate;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: var(--glow-primary);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #070913;
    border: none;
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-globe {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, transparent 70%);
    border: 1px dashed rgba(0, 242, 254, 0.2);
    position: relative;
    animation: rotateSlow 20s linear infinite;
}

.visual-orbit {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(155, 81, 224, 0.15);
    animation: rotateSlow 28s linear infinite reverse;
}

.orbit-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
    top: 50%;
    left: -6px;
}

.visual-vehicle-preview {
    position: absolute;
    z-index: 5;
    animation: float 6s ease-in-out infinite;
}

.visual-vehicle-preview img {
    max-width: 140px;
    filter: drop-shadow(0 10px 25px rgba(0, 242, 254, 0.4));
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--text-primary);
}

.scroll-indicator-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

/* --- HISTORY TIMELINE SECTION --- */
.timeline-section {
    padding: 100px 5%;
    position: relative;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 10;
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-primary), transparent);
    pointer-events: none;
}

.timeline-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 120px;
}

.timeline-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    display: block;
}

.timeline-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* The Timeline Container */
.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
    /* This makes sure the mouse enter works fine */
    cursor: crosshair;
}

/* The Central Track Line */
.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-50%);
    border-radius: 4px;
    overflow: visible; /* To allow glow path to show */
}

/* Progress track that lights up */
.timeline-track-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%; /* Driven by JS */
    background: linear-gradient(to bottom, var(--color-secondary), var(--color-primary));
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    border-radius: 4px;
    transition: height 0.1s linear;
}

/* The Moving Vehicle */
.moving-vehicle-container {
    position: absolute;
    left: 50%;
    top: 0; /* Driven by JS */
    transform: translate(-50%, -50%);
    z-index: 100;
    pointer-events: none; /* Make sure mouse passes through to timeline container */
    will-change: top;
}

.moving-vehicle-icon {
    width: 95px;
    height: 95px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

.moving-vehicle-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Dual drop-shadow: one dark for 3D depth, one cyan for emissive lighting */
    filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 12px rgba(0, 242, 254, 0.4));
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

/* Individual Checkpoint block */
.checkpoint-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 120px;
    display: flex;
    justify-content: flex-start; /* Default left style */
}

.checkpoint-wrapper:nth-child(even) {
    justify-content: flex-end; /* Right style */
}

/* The checkpoint node (dot on the track) */
.checkpoint-node {
    position: absolute;
    left: 50%;
    top: 50px; /* Aligns with middle of card height */
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 3px solid rgba(255, 255, 255, 0.2);
    z-index: 50;
    transition: var(--transition-smooth);
}

.checkpoint-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: transparent;
    transition: var(--transition-smooth);
}

/* Active Checkpoint state */
.checkpoint-wrapper.active .checkpoint-node {
    border-color: var(--color-primary);
    background-color: #070913;
    box-shadow: var(--glow-primary);
    transform: translate(-50%, -50%) scale(1.3);
}

.checkpoint-wrapper.active .checkpoint-node::after {
    background-color: var(--color-primary);
}

/* Details Card */
.checkpoint-card {
    width: 45%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 2.2rem;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    opacity: 0.45;
    transform: translateY(20px);
}

/* Glow lines connecting card to timeline */
.checkpoint-card::before {
    content: '';
    position: absolute;
    top: 50px;
    right: -15px;
    width: 15px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.checkpoint-wrapper:nth-child(even) .checkpoint-card::before {
    right: auto;
    left: -15px;
}

.checkpoint-wrapper.active .checkpoint-card {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--border-card-active);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 242, 254, 0.1);
}

.checkpoint-wrapper.active .checkpoint-card::before {
    background: var(--color-primary);
    width: 25px;
    box-shadow: var(--glow-primary);
}

.checkpoint-wrapper.active:nth-child(odd) .checkpoint-card {
    transform: translateX(-10px) translateY(0);
}

.checkpoint-wrapper.active:nth-child(even) .checkpoint-card {
    transform: translateX(10px) translateY(0);
}

/* Card details styling */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.card-year {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1;
}

.card-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.checkpoint-wrapper.active .card-badge {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--color-primary);
}

.card-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.25rem;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-meta span:first-child {
    color: var(--color-secondary);
    font-weight: 600;
}

.card-interactive-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition-fast);
}

.card-interactive-btn:hover {
    color: var(--text-primary);
    text-shadow: var(--glow-primary);
}

/* Extra guidance tooltip displayed on vehicle node hover */
.vehicle-tooltip {
    position: absolute;
    bottom: 85px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7, 9, 19, 0.95);
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: var(--glow-primary);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.moving-vehicle-container:hover .vehicle-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 95px;
}

/* --- FOOTER SECTION --- */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 5rem 5% 2rem;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: #070913;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-color: transparent;
    box-shadow: var(--glow-primary);
    transform: translateY(-3px);
}

.footer-links-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* --- ANIMATIONS --- */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 5px rgba(0, 242, 254, 0.4);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.9);
    }
}

@keyframes pulseBorder {
    0% {
        border-color: rgba(0, 242, 254, 0.2);
    }
    100% {
        border-color: rgba(0, 242, 254, 0.6);
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.15);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        top: 6px;
        height: 8px;
    }
    50% {
        opacity: 0.5;
        top: 14px;
        height: 12px;
    }
    100% {
        opacity: 0;
        top: 22px;
        height: 4px;
    }
}

@keyframes radarPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .visual-globe {
        width: 260px;
        height: 260px;
    }
    
    .visual-orbit {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .header-cta {
        padding: 0.45rem 1rem;
        font-size: 0.75rem;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    /* Animated Mobile Navigation Drawer */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(7, 9, 19, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid transparent;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        gap: 1.5rem;
        align-items: center;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, border-color 0.3s ease;
    }
    
    .nav-menu.active {
        padding: 2rem 0;
        max-height: 350px;
        border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Hamburger to 'X' animation */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }

    /* Scaling Hero Graphics to prevent viewport overflow */
    .visual-globe {
        width: 200px;
        height: 200px;
    }
    
    .visual-orbit {
        width: 270px;
        height: 270px;
    }
    
    .orbit-node {
        width: 10px;
        height: 10px;
        left: -5px;
    }
    
    .visual-vehicle-preview img {
        max-width: 90px;
    }
    
    /* Timeline adjustments for mobile (shifted track to avoid icon clipping) */
    .timeline-track {
        left: 55px;
    }
    
    .moving-vehicle-container {
        left: 55px;
    }
    
    .checkpoint-wrapper {
        justify-content: flex-end !important;
        margin-bottom: 60px;
    }
    
    .checkpoint-node {
        left: 55px !important;
        top: 40px;
    }
    
    .checkpoint-card {
        width: calc(100% - 85px);
        padding: 1.5rem;
    }
    
    .checkpoint-card::before {
        left: -30px !important;
        right: auto !important;
        width: 30px !important;
        top: 40px;
    }

    .checkpoint-wrapper.active .checkpoint-card::before {
        width: 30px !important;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
    }
    
    .header-cta {
        padding: 0.35rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
    }

    .timeline-title {
        font-size: 2.2rem;
    }

    .timeline-header {
        margin-bottom: 80px;
    }

    .checkpoint-card {
        padding: 1.25rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Hide scroll indicator when screen height is too short to prevent overlap */
@media (max-height: 700px) {
    .scroll-indicator {
        display: none;
    }
}

/* --- CUSTOM CURSOR & SCROLLBAR --- */

/* Hide default cursor globally on all viewports to enable custom follow cursor */
html, body, a, button, select, input, textarea, [role="button"], .header-cta, .card-interactive-btn, .mobile-toggle {
    cursor: none !important;
}

/* Custom Scrollbar Styles matching the futuristic dark theme */
::-webkit-scrollbar {
    width: 10px;
    background-color: var(--bg-primary);
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-secondary), var(--color-primary));
    border-radius: 5px;
    border: 2.5px solid var(--bg-primary);
    box-shadow: 0 0 5px rgba(0, 242, 254, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary), var(--color-purple));
    box-shadow: var(--glow-primary);
}

/* Custom Cursor Elements */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    box-shadow: var(--glow-primary);
    transition: width 0.15s ease, height 0.15s ease, opacity 0.15s ease;
    will-change: transform;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background-color 0.25s ease;
    will-change: top, left;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
}

/* Custom Cursor Hover States */
.cursor-ring.hovered {
    width: 48px;
    height: 48px;
    border-color: var(--color-secondary);
    background-color: rgba(0, 242, 254, 0.08);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.cursor-dot.hovered {
    width: 4px;
    height: 4px;
    background-color: var(--color-secondary);
}
