﻿/* ===================================================================
   BROMATRIX - APPLE-INSPIRED MONOCHROME DESIGN SYSTEM
   Framer Motion-style Transitions, Editorial Noir & Sticky Scrollytelling
   =================================================================== */

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

:root {
    --bg-black: #030304;
    --bg-dark: #08080a;
    --bg-surface: #0f0f13;
    --bg-surface-elevated: #16161b;
    --bg-glass: rgba(14, 14, 18, 0.72);
    --bg-glass-card: rgba(255, 255, 255, 0.03);
    --bg-glass-pill: rgba(255, 255, 255, 0.07);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.16);
    --border-strong: rgba(255, 255, 255, 0.3);
    --border-highlight: rgba(255, 255, 255, 0.75);

    --text-white: #ffffff;
    --text-silver: #e4e4e7;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
    --text-black: #050505;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Syne', sans-serif;
    --font-handwriting: 'Caveat', cursive, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Apple-style Spring & Ease Curves */
    --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-black);
    color: var(--text-silver);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: #ffffff;
    color: #000000;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Typography Helpers */
.font-handwriting { font-family: var(--font-handwriting); }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

.container-max {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Subtle Monochrome Dot Pattern */
.bg-subtle-grid {
    background-size: 36px 36px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Custom Interactive Cursor Follower (Disabled) */
#cursor-dot {
    display: none !important;
}

/* ===================================================================
   FRAMER MOTION-STYLE ANIMATIONS (APPLE REVEAL SYSTEM)
   =================================================================== */

/* Text Mask Reveal (slides up from masked overflow) */
.fm-mask {
    overflow: hidden;
    display: block;
}

.fm-mask-inner {
    display: block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 1s var(--ease-apple), opacity 0.8s ease;
}

.fm-mask-inner.is-inview {
    transform: translateY(0);
    opacity: 1;
}

/* Standard Fade & Slide Up */
.fm-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease-apple), transform 0.9s var(--ease-apple);
    will-change: opacity, transform;
}

.fm-reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Subtle Scale Reveal (Cards & Images) */
.fm-scale {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
    transition: opacity 0.9s var(--ease-apple), transform 1s var(--ease-apple);
    will-change: opacity, transform;
}

.fm-scale.is-inview {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Stagger Delays */
.fm-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.fm-stagger > *:nth-child(2) { transition-delay: 0.12s; }
.fm-stagger > *:nth-child(3) { transition-delay: 0.19s; }
.fm-stagger > *:nth-child(4) { transition-delay: 0.26s; }
.fm-stagger > *:nth-child(5) { transition-delay: 0.33s; }
.fm-stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* Apple-style Gradient Text Shimmer */
.apple-text-shimmer {
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d8 50%, #71717a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mouse Glow Card */
.glow-card {
    position: relative;
    overflow: hidden;
}
.glow-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, -100px);
    left: var(--mouse-x, -100px);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.11) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.3s;
    opacity: 0;
    border-radius: 50%;
}
.glow-card:hover::before {
    opacity: 1;
}

/* ===================================================================
   FLOATING CAPSULE HEADER
   =================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    transition: padding 0.4s var(--ease-apple), background 0.4s var(--ease-apple);
}

.site-header.scrolled {
    padding: 0.85rem 2rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}

.header-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;   /* center everything */
    position: relative;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-white);
    transition: opacity 0.2s ease;
}
.brand-link:hover { opacity: 0.85; }

.brand-logo {
    height: 38px;
    width: auto;
    /* Logo is already white  no invert needed */
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.15));
    transition: opacity 0.2s ease, filter 0.2s ease;
    display: block;
}
.brand-link:hover .brand-logo {
    opacity: 0.85;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}


.brand-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

/* Footer logo */
.footer-logo {
    height: 56px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.12));
    transition: opacity 0.2s ease, filter 0.2s ease;
    display: block;
    margin-bottom: 0.25rem;
}
.brand-link:hover .footer-logo {
    opacity: 0.85;
    filter: drop-shadow(0 0 16px rgba(255,255,255,0.28));
}
/* ---- Liquid Glass Nav Capsule ---- */
.nav-capsule {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    padding: 0.6rem 1.8rem;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

/* Subtle top gloss sheen */
.nav-capsule::before {
    display: none;
}


/* Dark glass bubble that follows the mouse */
.nav-glass-cursor {
    position: absolute;
    top: 50%;
    left: -999px;
    transform: translate(-50%, -50%);
    width: 90px;
    height: calc(100% - 8px);
    border-radius: var(--radius-pill);

    /* Dark frosted glass fill */
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Visible glass edge  crisp border like the reference */
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);

    pointer-events: none;
    z-index: 0;
    /* Spring easing  slides like flowing water */
    transition:
        left    0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        width   0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s  ease;
    opacity: 0;
}

.nav-capsule a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}
.nav-capsule a:hover {
    color: #ffffff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: absolute;
    right: 0;
}
.login-link {
    color: var(--text-silver);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.login-link:hover { color: #ffffff; }

.btn-pill-get-started {
    padding: 0.5rem 1.35rem;
    border-radius: var(--radius-pill);

    /* Matching liquid glass fill */
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.22);

    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;

    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-pill-get-started::before { display: none; }

.btn-pill-get-started:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.25rem;
    cursor: pointer;
}

.mobile-nav-drawer {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1.25rem;
    background: rgba(14, 14, 18, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid var(--border-medium);
    border-radius: 1.25rem;
}
.mobile-nav-drawer a {
    color: var(--text-silver);
    text-decoration: none;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===================================================================
   HERO SCROLL-DRIVEN 3D CANVAS SEQUENCE (APPLE PRODUCT LAUNCH REPLICA)
   =================================================================== */
.hero-scroll-container {
    position: relative;
    width: 100%;
    height: 420vh; /* Provides generous scroll distance for 120 frames & 4 narrative stages */
    background-color: #000000;
}

.hero-sticky-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

/* High-DPI Canvas for 120 Frame Sequence */
.hero-frame-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Vignette overlays for seamless blending and contrast */
.hero-canvas-vignette-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-canvas-vignette-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 240px;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.8) 45%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

/* Subtle Apple-style scroll scrub progress line */
.hero-scroll-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 20;
}

.hero-scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    transition: width 0.05s linear;
}

/* Text Overlay Wrapper on Top of Canvas */
.hero-text-overlay-wrapper {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Individual Story Stages (Cross-fading with scroll) */
.hero-story-stage {
    position: absolute;
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.35s var(--ease-apple), transform 0.35s var(--ease-apple);
    will-change: opacity, transform;
}

.hero-story-stage.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-silver);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

/* Handwritten Script Headline from Reference */
.hero-headline {
    font-family: var(--font-handwriting);
    font-size: clamp(3.2rem, 7.5vw, 6.8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 4px 35px rgba(0, 0, 0, 0.95), 0 0 50px rgba(255, 255, 255, 0.18);
    margin: 0;
    user-select: none;
}

.hero-headline-line {
    display: block;
}

.hero-subheadline {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 400;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* Feature Stage Specific Typography */
.hero-feature-pill {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(14px);
    display: inline-block;
}

.hero-stage-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.hero-stage-desc {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    line-height: 1.65;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-metrics-pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hero-feature-metric {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(10px);
    color: var(--text-silver);
}
.hero-feature-metric strong {
    color: #ffffff;
}

/* Stage Indicator Counter (01 / 04) */
.hero-stage-counter {
    position: absolute;
    bottom: 2.2rem;
    right: 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(14px);
    z-index: 20;
    pointer-events: none;
}

/* Apple-style Scroll Down Indicator (Replaces buttons on hero) */
.apple-scroll-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}
.apple-scroll-prompt:hover {
    color: #ffffff;
}
.scroll-pill {
    width: 24px;
    height: 38px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-dot {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: #ffffff;
    animation: scrollSlide 2s infinite ease-in-out;
}

@keyframes scrollSlide {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
    100% { transform: translateY(0); opacity: 1; }
}

.scroll-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* ===================================================================
   SECTION COMMON STYLING
   =================================================================== */
.section-padding {
    padding: 8rem 1.5rem;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.35rem 0.95rem;
    border-radius: var(--radius-pill);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===================================================================
   APPLE MANIFESTO SECTION (Full-Width Typography Statement)
   =================================================================== */
.manifesto-section {
    padding: 9rem 1.5rem;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    background: #050507;
    position: relative;
    overflow: hidden;
}

.manifesto-container {
    max-width: 1080px;
    margin: 0 auto;
    text-align: left;
}

.manifesto-quote {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 2.5rem;
}

.manifesto-quote span.dim {
    color: #4b4b53;
    transition: color 0.5s ease;
}

.manifesto-quote:hover span.dim {
    color: #a1a1aa;
}

.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-subtle);
}

.manifesto-stat-num {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.manifesto-stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}
.manifesto-stat-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.35rem;
}

/* ===================================================================
   ABOUT US & THE LEADERSHIP TEAM
   =================================================================== */
.about-hero-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 5.5rem;
    padding-bottom: 4.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.about-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-silver);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.about-lead-text {
    font-size: 1.15rem;
    color: var(--text-white);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-body-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.team-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s var(--ease-apple);
    position: relative;
    overflow: hidden;
}

.team-card:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.045);
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(255, 255, 255, 0.03);
}

.team-photo-wrap {
    position: relative;
    width: 100%;
    height: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #09090c;
    border: 1px solid var(--border-subtle);
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%) contrast(115%) brightness(0.95);
    transition: filter 0.4s var(--ease-apple), transform 0.5s var(--ease-apple);
}

.team-card:hover .team-photo-img {
    filter: grayscale(0%) contrast(105%) brightness(1);
    transform: scale(1.04);
}

.team-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 60%);
    pointer-events: none;
}

.team-floating-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    z-index: 2;
}

.team-name {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.015em;
    margin-bottom: 0.35rem;
}

.team-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.team-bio {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    color: var(--text-silver);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.74rem;
    font-weight: 500;
    color: #e4e4e7;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}
.card-tag:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.team-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.team-action-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-silver);
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.84rem;
    font-weight: 500;
    transition: all 0.2s var(--ease-apple);
}

.team-action-pill:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.team-action-pill i {
    font-size: 0.95rem;
}

/* ===================================================================
   VICTORY SHOWCASE: TECH-FEST AJEC (From Link 1)
   =================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

/* Global Column Span Utilities */
.bento-col-12 { grid-column: span 12; }
.bento-col-8  { grid-column: span 8; }
.bento-col-6  { grid-column: span 6; }
.bento-col-4  { grid-column: span 4; }
.bento-col-3  { grid-column: span 3; }

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .gallery-grid .gallery-card.bento-col-8,
    .gallery-grid .gallery-card.bento-col-4 {
        grid-column: span 1 !important;
    }
    .gallery-grid .gallery-card:first-child {
        grid-column: 1 / span 2 !important;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .gallery-grid .gallery-card.bento-col-8,
    .gallery-grid .gallery-card.bento-col-4 {
        width: 100% !important;
        min-height: 280px !important;
    }
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0c0c0f;
    border: 1px solid var(--border-subtle);
    transition: all 0.4s var(--ease-apple);
}

.gallery-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(118%) brightness(0.9);
    transition: filter 0.5s var(--ease-apple), transform 0.6s var(--ease-apple);
}

.gallery-card:hover .gallery-img {
    filter: grayscale(20%) contrast(110%) brightness(1);
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

.gallery-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.gallery-caption {
    font-size: 0.82rem;
    color: var(--text-silver);
    line-height: 1.5;
}

/* ===================================================================
   SUMMER INTERNSHIP INAUGURATION (From Link 2)
   =================================================================== */
.inaug-wrapper {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 3rem;
}

.inaug-photo-stack {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.inaug-photo-stack img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: cover;
    filter: grayscale(100%) contrast(115%);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.inaug-photo-stack:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* ===================================================================
   DARK SECTION THEME (Neutral  no pink/purple)
   =================================================================== */

body {
    transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.theme-cosmic {
    background-color: #060608;
}

/* Cursor stays white in dark sections */
body.theme-cosmic #cursor-dot {
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255,255,255,0.5);
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

/* Navbar stays consistent  no color morph */
#navbar.cosmic-mode .nav-capsule {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}

#navbar.cosmic-mode .nav-capsule a:hover {
    color: #ffffff;
    text-shadow: none;
}

#navbar.cosmic-mode .login-link {
    color: rgba(255,255,255,0.75);
}

#navbar.cosmic-mode .btn-pill-get-started {
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    box-shadow: none;
}

/* Dark section  pure dark, no purple gradients */
.cosmic-section {
    background-color: #060608;
    background-image:
        radial-gradient(ellipse 70% 50% at 20% 15%, rgba(255,255,255,0.03) 0%, transparent 60%),
        radial-gradient(ellipse 60% 45% at 85% 85%, rgba(255,255,255,0.02) 0%, transparent 60%);
    position: relative;
    overflow: hidden;
    transition: all 0.8s ease;
}

/* Edge blends */
.cosmic-feather-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(180deg, #060608 0%, rgba(6,6,8,0.7) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.cosmic-feather-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(0deg, #060608 0%, rgba(6,6,8,0.7) 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle white shimmer line instead of pink aurora */
.cosmic-theme-beam {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.18) 30%,
        rgba(255,255,255,0.35) 50%,
        rgba(255,255,255,0.18) 70%,
        transparent 100%
    );
    box-shadow: none;
    animation: auroraBeam 6s ease-in-out infinite alternate;
    z-index: 4;
}

@keyframes auroraBeam {
    0%   { transform: scaleX(0.7) translateX(-20%); opacity: 0.4; }
    50%  { transform: scaleX(1.1) translateX(0%);   opacity: 0.8; }
    100% { transform: scaleX(0.8) translateX(20%);  opacity: 0.5; }
}

.cosmic-nebula-ambient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
}

/* Neutral subtle glow orbs */
.cosmic-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

.orb-top-right {
    top: -120px; right: -100px;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: orbPulse 8s infinite alternate ease-in-out;
}

.orb-bottom-left {
    bottom: -120px; left: -100px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    animation: orbPulse 10s infinite alternate-reverse ease-in-out;
}

@keyframes orbPulse {
    0%   { transform: scale(1) translate(0,0);       opacity: 0.5; }
    100% { transform: scale(1.15) translate(25px,25px); opacity: 0.85; }
}

/* Neutral tag */
.cosmic-tag {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: none;
}

/* Carousel buttons  clean white glass */
.cosmic-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.25s var(--ease-apple);
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.cosmic-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
    transform: scale(1.08);
}

/* ===================================================================
   CAROUSEL SECTION: 10-DAY BOOTCAMP CURRICULUM
   =================================================================== */
.curriculum-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.curriculum-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: rgba(14, 14, 16, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s var(--ease-apple);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.08);
}

.curriculum-card:hover {
    background: rgba(20, 20, 22, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 255, 255, 0.25);
}

.curriculum-day-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.curriculum-card h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.curriculum-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.curriculum-photo-thumb {
    width: 100%;
    height: 140px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.curriculum-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(115%);
    transition: all 0.35s ease;
}

.curriculum-card:hover .curriculum-photo-thumb img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ===================================================================
   ASYMMETRIC BENTO GRID (Exact Structural Reference Match)
   =================================================================== */

.asym-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(170px, auto);
    gap: 1.5rem;
}

/* Base Card Styling with Glassy Cosmic Gradients */
.asym-card {
    background: rgba(12, 12, 14, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease-apple);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.08);
}

.asym-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(255, 255, 255, 0.25);
}

/* ----------------------------------------------------
   CARD 1: Top Left Wide Card (Cols 1-8, Row 1)
   ---------------------------------------------------- */
.card-top-left {
    grid-column: 1 / span 8;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    padding: 2.5rem 2.8rem;
    background: linear-gradient(135deg, rgba(18, 18, 20, 0.85) 0%, rgba(12, 12, 14, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    min-height: 290px;
}

.card-top-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 80%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.card-inner-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.card-pill-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: #e5e5e5;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.32rem 0.85rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.bento-massive-headline {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
}

.bento-subtext {
    font-size: 0.9rem;
    color: #d4d4d8;
    line-height: 1.5;
    max-width: 320px;
}

.card-inner-right {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.bento-cutout-img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
    filter: contrast(110%);
    transition: transform 0.4s var(--ease-apple);
}

.card-top-left:hover .bento-cutout-img {
    transform: scale(1.03);
}

/* ----------------------------------------------------
   CARD 2: Top Right Action Card (Cols 9-12, Row 1)
   ---------------------------------------------------- */
.card-top-right {
    grid-column: 9 / span 4;
    grid-row: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.8rem;
    min-height: 290px;
}

.card-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: contrast(115%) brightness(0.7);
    transition: transform 0.5s ease;
}

.card-top-right:hover .card-bg-img {
    transform: scale(1.06);
}

.card-gradient-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(6, 4, 12, 0.45) 0%, rgba(6, 4, 12, 0.88) 100%);
    z-index: 1;
}

.card-header-badge {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.quad-circular-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(12, 12, 14, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.card-footer-info {
    position: relative;
    z-index: 2;
}

.bento-mini-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: #e5e5e5;
    display: block;
    margin-bottom: 0.35rem;
}

.bento-card-heading {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

/* ----------------------------------------------------
   CARD 3: Middle-Bottom Tall Left (Cols 1-4, Rows 2 & 3)
   Spans 2 full rows vertically (Reference Image Match)
   ---------------------------------------------------- */
.card-tall-left {
    grid-column: 1 / span 4;
    grid-row: 2 / span 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.2rem;
    min-height: 490px;
}

.tall-img {
    filter: contrast(120%) brightness(0.85);
}

.card-tall-left:hover .tall-img {
    transform: scale(1.05);
}

.card-tall-gradient {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(6, 4, 12, 0.5) 0%, rgba(6, 4, 12, 0.25) 45%, rgba(8, 5, 18, 0.95) 90%);
    z-index: 1;
}

.tall-top-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(12, 12, 14, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(16px);
    width: fit-content;
}

.pulsing-radar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 14px #ffffff;
    animation: radarPulse 1.8s infinite ease-out;
}

@keyframes radarPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

.radar-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #ffffff;
}

.tall-bottom-content {
    position: relative;
    z-index: 2;
}

.tall-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    color: #f472b6;
    display: block;
    margin-bottom: 0.4rem;
}

.tall-title {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.tall-desc {
    font-size: 0.85rem;
    color: #e4e4e7;
    line-height: 1.5;
}

/* ----------------------------------------------------
   CARD 4: Middle Right Wide Banner (Cols 5-12, Row 2)
   ---------------------------------------------------- */
.card-banner-right {
    grid-column: 5 / span 8;
    grid-row: 2;
    padding: 2.2rem 2.6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.22) 100%);
    border: 1px solid rgba(232, 121, 249, 0.4);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    min-height: 220px;
}

.banner-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.banner-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    color: #fdf4ff;
    display: block;
    margin-bottom: 0.5rem;
}

.banner-title {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.025em;
    max-width: 580px;
}

.banner-arrow-btn {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-apple);
    text-decoration: none;
}

.banner-arrow-btn:hover {
    background: #ffffff;
    color: #0c0817;
    transform: scale(1.1) rotate(-45deg);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.7);
}

.banner-bottom-row {
    margin-top: 1.5rem;
}

.banner-big-date {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
}

/* ----------------------------------------------------
   CARD 5: Bottom Middle Cert Card (Cols 5-9, Row 3)
   ---------------------------------------------------- */
.card-bottom-cert {
    grid-column: 5 / span 5;
    grid-row: 3;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(22, 17, 36, 0.8) 0%, rgba(12, 12, 14, 0.85) 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    min-height: 240px;
}

.cert-heading {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.cert-subtext {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cert-image-wrap {
    width: 100%;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cert-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(115%);
    transition: transform 0.4s ease;
}

.card-bottom-cert:hover .cert-image-wrap img {
    transform: scale(1.06);
}

/* ----------------------------------------------------
   CARDS 6 & 7: Bottom Right Sub-Stack (Cols 10-12, Row 3)
   ---------------------------------------------------- */
.asym-sub-stack {
    grid-column: 10 / span 3;
    grid-row: 3;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-bottom-hub {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hub-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hub-info-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.hub-info-text span {
    font-size: 0.74rem;
    color: #e5e5e5;
}

.card-bottom-location {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    background: #06040c;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

.location-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fdf4ff;
    text-transform: uppercase;
}

.location-inner i {
    color: #ffffff;
}

/* ===================================================================
   RESPONSIVE ADAPTATIONS
   =================================================================== */

@media (max-width: 1024px) {
    .asym-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-top-left {
        grid-column: 1 / span 2;
        grid-row: auto;
    }
    .card-top-right {
        grid-column: 1;
        grid-row: auto;
    }
    .card-tall-left {
        grid-column: 2;
        grid-row: auto;
        min-height: 380px;
    }
    .card-banner-right {
        grid-column: 1 / span 2;
        grid-row: auto;
    }
    .card-bottom-cert {
        grid-column: 1;
        grid-row: auto;
    }
    .asym-sub-stack {
        grid-column: 2;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .asym-bento-grid {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }
    .card-top-left {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    .bento-cutout-img {
        max-height: 200px;
    }
    .card-tall-left {
        min-height: 360px;
    }
    .card-banner-right {
        padding: 1.8rem 1.5rem;
    }
    .banner-top-row {
        flex-direction: column;
        gap: 1rem;
    }
    .banner-arrow-btn {
        align-self: flex-start;
        width: 50px;
        height: 50px;
        font-size: 1.15rem;
    }
    .banner-big-date {
        font-size: 1.35rem;
    }
}

/* ===================================================================
   HARDWARE TOPOLOGY VISUALIZER
   =================================================================== */
.terminal-wrapper {
    background: #08080b;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    font-family: var(--font-mono);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-dim);
}

.terminal-dots { display: flex; gap: 6px; }
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }

.arch-node-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.arch-node-item:hover {
    border-color: var(--border-strong);
    background: rgba(255, 255, 255, 0.06);
}

.arch-node-idx {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.arch-tab-btn {
    width: 100%;
    text-align: left;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.arch-tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ===================================================================
   HARDWARE ARSENAL & TECH SPECS (Apple-style Spec Sheet)
   =================================================================== */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.specs-row {
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.5rem 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: baseline;
}

.specs-category {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #ffffff;
}

.specs-detail {
    color: var(--text-silver);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===================================================================
   AI STEM ADVISOR
   =================================================================== */
.ai-card {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.ai-input-wrap {
    position: relative;
    margin-top: 1rem;
}

.ai-textarea {
    width: 100%;
    background: rgba(8, 8, 10, 0.9);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.25rem 4.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #ffffff;
    resize: none;
    outline: none;
    transition: border-color 0.2s ease;
}

.ai-textarea:focus {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.ai-submit-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: #000000;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.ai-submit-btn:hover {
    background: #e4e4e7;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.ai-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1rem;
}

.ai-chip {
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: var(--border-medium);
}

.ai-response-box {
    margin-top: 2rem;
    padding: 1.75rem;
    background: #08080a;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    display: none;
}

.ai-response-box.active {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

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

/* AI Real Model Engine Status Bar */
.ai-engine-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ai-status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-live-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

@keyframes aiLoadProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.ai-engine-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #e4e4e7;
    font-weight: 500;
}

.ai-settings-toggle-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-silver);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.ai-settings-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-medium);
    color: #ffffff;
}

/* Collapsible Settings Drawer */
.ai-settings-drawer {
    display: none;
    margin-bottom: 1.25rem;
    background: #0a0a0d;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    animation: fadeIn 0.25s ease-out;
}

.ai-settings-drawer.open {
    display: block;
}

.ai-drawer-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ai-drawer-field label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.ai-drawer-select,
.ai-drawer-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium);
    border-radius: 6px;
    padding: 0.55rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.ai-drawer-select:focus,
.ai-drawer-input:focus {
    border-color: #ffffff;
}

.ai-key-save-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 0.55rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.ai-key-save-btn:hover {
    background: #e4e4e7;
}

.ai-model-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-subtle);
    color: #a1a1aa;
    letter-spacing: 0.05em;
}

/* Markdown Styling inside AI response */
.ai-markdown-rendered {
    color: #d4d4d8;
    line-height: 1.75;
    font-size: 0.92rem;
}

.ai-markdown-rendered h1,
.ai-markdown-rendered h2,
.ai-markdown-rendered h3,
.ai-markdown-rendered h4 {
    font-family: var(--font-sans);
    color: #ffffff;
    font-weight: 600;
    margin-top: 1.4rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.ai-markdown-rendered h3 {
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.35rem;
}

.ai-markdown-rendered p {
    margin-bottom: 0.85rem;
}

.ai-markdown-rendered ul,
.ai-markdown-rendered ol {
    margin-left: 1.25rem;
    margin-bottom: 1rem;
}

.ai-markdown-rendered li {
    margin-bottom: 0.35rem;
}

.ai-markdown-rendered code {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.07);
    padding: 2px 6px;
    border-radius: 4px;
    color: #ffffff;
}

.ai-markdown-rendered pre {
    background: #040405;
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.ai-markdown-rendered pre code {
    background: transparent;
    padding: 0;
    font-size: 0.82rem;
}

.ai-markdown-rendered table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.85rem;
}

.ai-markdown-rendered th,
.ai-markdown-rendered td {
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-subtle);
    text-align: left;
}

.ai-markdown-rendered th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ai-markdown-rendered hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 1.5rem 0;
}

.ai-markdown-rendered blockquote {
    border-left: 3px solid #ffffff;
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-muted);
    font-style: italic;
}

/* ===================================================================
   PROGRAM ESTIMATOR CALCULATOR
   =================================================================== */
.calc-wrapper {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.calc-btn-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.calc-option-btn {
    padding: 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calc-option-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.calc-slider {
    width: 100%;
    accent-color: #ffffff;
    cursor: pointer;
}

.calc-summary-card {
    background: #08080b;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn-monochrome {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.6rem;
    border-radius: var(--radius-md);
    background: #ffffff;
    color: #000000;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease-apple);
}

.btn-monochrome:hover {
    background: #e4e4e7;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}

/* ===================================================================
   MODAL
   =================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    max-width: 540px;
    width: 100%;
    background: #0c0c0f;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s var(--ease-apple);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
}

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

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-silver);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.modal-close-btn:hover { background: #ffffff; color: #000000; }

.modal-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s ease;
    margin-top: 0.4rem;
}
.modal-input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    background: #030304;
    padding: 6rem 1.5rem 3rem;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

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

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* ===================================================================
   3D HOLOGRAPHIC DRONE LAB SECTION
   =================================================================== */
.holographic-drone-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #020205;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
}

.drone-ambient-glow {
    position: absolute;
    width: 750px;
    height: 750px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
.drone-glow-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 45%, transparent 70%);
}

/* Full-Page Edge-to-Edge Stage (Zero Border Edges) */
.drone-viewport-stage {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 720px;
    background: radial-gradient(ellipse at 50% 50%, rgba(24, 30, 38, 0.65) 0%, rgba(5, 7, 10, 0.98) 75%);
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    user-select: none;
}

#drone-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: grab;
    touch-action: none;
    z-index: 2;
}
#drone-canvas:active {
    cursor: grabbing;
}

.drone-grid-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 3;
    opacity: 0.55;
}

/* Seamless Cosmic Top & Bottom Vignettes */
.drone-vignette-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to bottom, #000000 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}
.drone-vignette-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
    pointer-events: none;
    z-index: 5;
}

/* Floating Header centered over the 3D scene */
.drone-floating-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 820px;
    text-align: center;
    padding-top: 5.25rem;
    z-index: 10;
    pointer-events: none;
}

.drone-hud-top-left {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.25rem;
    background: rgba(10, 14, 22, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 16px;
    font-family: var(--font-mono);
    pointer-events: none;
}
.drone-hud-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    color: #00f0ff;
    text-transform: uppercase;
    font-weight: 600;
}
.drone-hud-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
    animation: holoPulse 1.8s infinite ease-in-out;
}
@keyframes holoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}
.drone-hud-telemetry {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.drone-hud-telemetry span {
    color: #ffffff;
    font-weight: 500;
}

.drone-hud-top-right {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}
.drone-control-pill-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(10, 14, 22, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.35rem 0.5rem;
    border-radius: var(--radius-pill);
}
.drone-ctrl-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-silver);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.drone-ctrl-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}
.drone-ctrl-btn.active {
    background: rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.6);
    color: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.3);
}
#btn-theme-original.active {
    background: rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.6);
    color: #fde68a;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

.drone-color-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.drone-color-btn.color-cyan { background: #00f0ff; }
.drone-color-btn.color-violet { background: #c084fc; }
.drone-color-btn.color-emerald { background: #10b981; }
.drone-color-btn:hover, .drone-color-btn.active {
    transform: scale(1.2);
    border-color: #ffffff;
    box-shadow: 0 0 10px currentColor;
}

.drone-hud-bottom {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    width: 90%;
    max-width: 820px;
    pointer-events: none;
}
.drone-gesture-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0.45rem 1.4rem;
    background: rgba(10, 14, 22, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-silver);
    white-space: nowrap;
}
.drone-gesture-legend i {
    color: #00f0ff;
    margin-right: 0.35rem;
}

.drone-hotspots-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: auto;
}
.drone-hotspot-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(10, 14, 22, 0.75);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: var(--text-silver);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.drone-hotspot-chip:hover {
    background: rgba(0, 229, 255, 0.18);
    border-color: #00f0ff;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.35);
    transform: translateY(-2px);
}
.drone-hotspot-chip i {
    color: #00f0ff;
}

.drone-hotspot-card {
    position: absolute;
    bottom: 5.5rem;
    left: 2rem;
    z-index: 15;
    width: 320px;
    background: rgba(10, 14, 22, 0.92);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 229, 255, 0.45);
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 229, 255, 0.25);
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.drone-hotspot-card.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.drone-hotspot-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}
.drone-hotspot-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}
.drone-hotspot-subtitle {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #00f0ff;
    text-transform: uppercase;
}
.drone-hotspot-close-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s ease;
}
.drone-hotspot-close-btn:hover {
    color: #ffffff;
}
.drone-hotspot-grid {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.drone-spec-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.72rem;
}
.drone-spec-label {
    color: var(--text-dim);
}
.drone-spec-val {
    color: #ffffff;
    font-weight: 500;
}

.drone-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 25;
    background: rgba(3, 3, 8, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    transition: opacity 0.6s ease;
}
.drone-loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}
.drone-spinner-radar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(0, 229, 255, 0.2);
    border-top-color: #00f0ff;
    border-right-color: #00f0ff;
    animation: radarSpin 1.2s infinite linear;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.35);
}
@keyframes radarSpin {
    to { transform: rotate(360deg); }
}
.drone-load-text {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    color: #00f0ff;
    text-transform: uppercase;
}
.drone-load-bar-track {
    width: 260px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}
.drone-load-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00f0ff, #c084fc);
    box-shadow: 0 0 10px #00f0ff;
    transition: width 0.15s ease;
}
.drone-load-meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}

.drone-protocol-notice {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fde68a;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(12px);
}

/* ===================================================================
   RESPONSIVE DESIGN
   =================================================================== */
@media (max-width: 1024px) {
    .nav-capsule { display: none; }
    .mobile-toggle { display: block; }
    .bento-col-8, .bento-col-4, .bento-col-6 { grid-column: span 12; }
    .inaug-wrapper { grid-template-columns: 1fr; }
    .calc-wrapper { grid-template-columns: 1fr; }
    .manifesto-grid { grid-template-columns: 1fr; }
    .specs-row { grid-template-columns: 1fr; gap: 0.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .drone-viewport-stage { height: 95vh; min-height: 640px; }
    .drone-hud-top-left { padding: 0.75rem 1rem; }
}

@media (max-width: 640px) {
    .site-header { padding: 1rem; }
    .hero-section { padding: 8rem 1rem 4rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .calc-btn-group { grid-template-columns: 1fr; }
    .drone-viewport-stage { height: 90vh; min-height: 540px; }
    .drone-floating-header { padding-top: 4.5rem; }
    .drone-hud-top-left { top: 0.75rem; left: 0.75rem; padding: 0.5rem 0.75rem; }
    .drone-hud-telemetry { display: none; }
    .drone-hud-top-right { top: 0.75rem; right: 0.75rem; gap: 0.35rem; }
    .drone-hud-bottom { bottom: 0.75rem; width: 95%; }
    .drone-gesture-legend { font-size: 0.62rem; padding: 0.35rem 0.7rem; gap: 0.5rem; }
    .drone-hotspot-card { left: 0.75rem; right: 0.75rem; width: auto; bottom: 4.5rem; padding: 1rem; }
    .drone-ctrl-btn { padding: 0.25rem 0.55rem; font-size: 0.65rem; }
}




/* ---- Typewriter Effect ---- */
.typewriter-line-1,
.typewriter-line-2 {
    display: block;
}
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 0.9em;
    background: #ffffff;
    margin-left: 3px;
    vertical-align: middle;
    border-radius: 2px;
    animation: twBlink 0.75s step-end infinite;
}
@keyframes twBlink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
.typewriter-cursor.hidden { display: none; }


/* ===================================================================
   ABOUT MODAL
   =================================================================== */
#about-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
#about-modal.active,
#about-modal.open {
    opacity: 1 !important;
    pointer-events: auto !important;
    display: flex !important;
}

.about-modal-box {
    position: relative;
    background: #0d0d10;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 32px 80px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.08);
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
#about-modal.active .about-modal-box,
#about-modal.open .about-modal-box {
    transform: scale(1);
}

.about-modal-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.82rem;
    color: #d4d4d8;
    transition: background 0.2s, border-color 0.2s;
}
.about-modal-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
}

@media (max-width: 640px) {
    .about-modal-box { padding: 1.5rem; }
    .about-modal-box div[style*='grid-template-columns:1fr 1fr'] {
        grid-template-columns: 1fr !important;
    }
    .about-modal-box div[style*='grid-template-columns:repeat(3'],
    .about-modal-box div[style*='grid-template-columns: repeat(3'] {
        grid-template-columns: 1fr !important;
    }
}

