/* 
   Mindplexus Stylesheet - Premium & High-End Design
   White background base with Purple, Magenta, and Black accents
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    /* Color System */
    --brand-purple: #9B2AEE;
    --brand-purple-dark: #6C14B0;
    --brand-purple-light: #F6EEFF;
    --brand-magenta: #DF38A2;
    --brand-magenta-light: #FFF0FA;
    --brand-coral: #F84848;
    --brand-black: #0F0A19;
    --brand-dark: #2A2438;
    --brand-gray: #5A5468;
    --brand-light-gray: #F1EFF5;
    --brand-white: #FFFFFF;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-magenta) 100%);
    --grad-primary-hover: linear-gradient(135deg, var(--brand-purple-dark) 0%, var(--brand-magenta) 80%);
    --grad-light: linear-gradient(135deg, var(--brand-purple-light) 0%, var(--brand-magenta-light) 100%);
    --grad-dark: linear-gradient(135deg, var(--brand-black) 0%, var(--brand-dark) 100%);
    --grad-accent: linear-gradient(45deg, var(--brand-purple) 0%, var(--brand-coral) 100%);
    
    /* Fonts */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --shadow-sm: 0 4px 6px -1px rgba(155, 42, 238, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(155, 42, 238, 0.08), 0 4px 6px -2px rgba(155, 42, 238, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(155, 42, 238, 0.1), 0 10px 10px -5px rgba(155, 42, 238, 0.04);
    --shadow-glow: 0 0 20px rgba(155, 42, 238, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Base Styles & Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--brand-white);
}
::-webkit-scrollbar-thumb {
    background: rgba(155, 42, 238, 0.15);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(155, 42, 238, 0.4);
}

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

html {
    scroll-behavior: smooth;
    font-size: 90%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--brand-white);
    color: var(--brand-black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--brand-black);
    font-weight: 700;
    line-height: 1.25;
}

p {
    color: var(--brand-gray);
    font-size: 1.05rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utility Classes */
.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-light {
    background-color: var(--brand-white) !important;
}

.bg-gradient-light {
    background: var(--brand-white) !important;
}

.section-padding {
    padding: 80px 0;
}

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

/* Responsive visibility utilities */
@media (min-width: 1025px) {
    .mobile-only {
        display: none !important;
    }
}
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
}


.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-purple);
    background-color: var(--brand-purple-light);
    border-radius: var(--radius-full);
    border: 1px solid rgba(155, 42, 238, 0.15);
    margin-bottom: 20px;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--brand-white);
    box-shadow: 0 4px 14px rgba(155, 42, 238, 0.3);
}

.btn-primary:hover {
    background: var(--grad-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(155, 42, 238, 0.4);
}

.btn-secondary {
    background-color: var(--brand-white);
    color: var(--brand-purple);
    border: 2px solid var(--brand-purple);
}

.btn-secondary:hover {
    background-color: var(--brand-purple-light);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--brand-white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(241, 239, 245, 0.8);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 88px;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-container {
    height: 74px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 48px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.logo-img-wide {
    height: 66px;
    width: auto;
    max-height: 66px;
    object-fit: contain;
    display: block;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img-wide {
    height: 58px;
    max-height: 58px;
}

@media (max-width: 768px) {
    .nav-container {
        height: 72px;
    }
    .navbar.scrolled .nav-container {
        height: 64px;
    }
    .logo-img-wide {
        height: 52px;
        max-height: 52px;
    }
    .navbar.scrolled .logo-img-wide {
        height: 46px;
        max-height: 46px;
    }
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--brand-black);
    line-height: 1.1;
    text-transform: uppercase;
}

.logo-tagline {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--brand-gray);
    line-height: 1.1;
    text-transform: uppercase;
    margin-top: 2px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--brand-dark);
    font-size: 1rem;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-purple);
}

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

.nav-cta {
    display: flex;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--brand-black);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 0 100px !important;
    box-sizing: border-box;
    background-color: #FFFFFF;
    transition: background-color 1.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Initial "Step into Mindplexus" Experience Overlay */
.intro-enter-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease;
}

.intro-enter-overlay.faded-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.enter-modal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: transparent;
    max-width: 440px;
    width: 90%;
}

.enter-logo-img {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 36px;
    mix-blend-mode: multiply;
}

/* Minimalist Glassmorphic Pill with Narrow Upper Case Avenir Font */
.enter-experience-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    color: #0F0A19;
    font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 1.5px solid rgba(155, 42, 238, 0.3);
    box-shadow: 0 8px 30px rgba(155, 42, 238, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.enter-experience-btn:hover {
    background: #FFFFFF;
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(155, 42, 238, 0.22);
}

/* Universal Section Scroll Margin for Sticky Navbar Offset */
section[id],
.section-page,
.hero-section,
.problem-section,
.pedagogy-section,
.curriculum-section,
.showcase-section,
.founder-section,
.testimonials-section,
.contact-section {
    scroll-margin-top: 90px;
}

/* Immediate Hash Navigation Bypassing Rules (Prevents visual flash and sliding of opening overlay) */
html.has-hash-nav,
html.has-hash-nav body {
    scroll-behavior: auto !important;
}

html.has-hash-nav body.hero-video-playing {
    background-color: #FFFFFF !important;
}

html.has-hash-nav .intro-enter-overlay,
html.has-hash-nav .full-hero-video-layer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

html.has-hash-nav .navbar .logo-wrapper {
    opacity: 1 !important;
    pointer-events: auto !important;
}

html.has-hash-nav .hero-grid {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Gray Video Playing State Rules */
body.hero-video-playing {
    background-color: #E2E3E7 !important;
    transition: background-color 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

body.hero-video-playing .navbar {
    background: #E2E3E7 !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hide Mindplexus logo from navbar when video plays */
body.hero-video-playing .navbar .logo-wrapper {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.6s ease;
}

.navbar .logo-wrapper {
    transition: opacity 0.8s ease;
}

.hero-section.hero-video-playing {
    background-color: #E2E3E7 !important;
}

/* Full Hero In-Page Video Layer (Downsized to fit below navbar and above pagination) */
.full-hero-video-layer {
    position: absolute;
    top: 88px;
    left: 0;
    width: 100%;
    height: calc(100vh - 164px);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E2E3E7;
    opacity: 1;
    visibility: visible;
    transition: opacity 2.2s cubic-bezier(0.25, 1, 0.5, 1), visibility 2.2s ease;
}

.full-hero-video-layer.faded-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.full-hero-video-element {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 164px);
    object-fit: contain;
    background-color: transparent !important;
    mix-blend-mode: multiply !important;
    mask-image: radial-gradient(ellipse 85% 85% at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 95%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at center, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 95%);
    clip-path: inset(0px 0px 8px 0px); /* Clips off bottom 8px scanline artifact */
}

/* Persistent Global Sound Toggle Button in Navbar */
.global-sound-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(155, 42, 238, 0.25);
    color: var(--brand-dark);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(155, 42, 238, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.25s ease;
    margin-left: 16px;
}

.global-sound-toggle-btn:hover {
    background: #FFFFFF;
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    box-shadow: 0 4px 14px rgba(155, 42, 238, 0.18);
    transform: translateY(-1px);
}

.global-sound-toggle-btn.muted {
    color: var(--brand-gray);
    background: rgba(245, 245, 250, 0.9);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Sound Unlock Hint Badge */
.sound-unlock-badge {
    position: absolute;
    top: 16px;
    right: 32px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(155, 42, 238, 0.3);
    color: var(--brand-purple);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: opacity 0.4s ease, transform 0.2s ease;
}

.sound-unlock-badge:hover {
    transform: scale(1.05);
}

.sound-unlock-badge.hidden {
    opacity: 0;
    pointer-events: none;
}

#hero-plexus-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.65;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 1;
    transition: opacity 2.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-section.hero-video-playing .hero-grid {
    opacity: 0;
    pointer-events: none;
}

.hero-content {
    max-width: 740px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 36px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 36px;
    color: var(--brand-gray);
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    border-top: 1px solid var(--brand-light-gray);
    padding-top: 24px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.meta-item i {
    color: var(--brand-purple);
    font-size: 1.1rem;
}

.meta-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.meta-link:hover {
    color: var(--brand-purple);
    text-decoration: underline;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

/* Hero Right Side Column & Experience Stage */
.hero-image-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.hero-top-controls {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
    z-index: 10;
}

.sound-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    border: 1px solid rgba(155, 42, 238, 0.2);
    color: var(--brand-dark);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(155, 42, 238, 0.06);
    transition: var(--transition-fast);
}

.sound-toggle-btn:hover {
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    box-shadow: 0 4px 14px rgba(155, 42, 238, 0.12);
    transform: translateY(-1px);
}

.sound-toggle-btn.muted {
    color: var(--brand-gray);
    background: rgba(241, 239, 245, 0.9);
}

.hero-experience-stage {
    position: relative;
    width: 100%;
    height: 380px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    opacity: 1;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), filter 1.8s ease;
}

.hero-video-layer.faded-out {
    opacity: 0;
    filter: blur(4px);
    pointer-events: none;
}

.hero-video-graphic {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #FFFFFF;
    mix-blend-mode: multiply;
}

.hero-logo-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    opacity: 0;
    transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-logo-layer.visible {
    opacity: 1;
    z-index: 8;
}

.hero-logo-center-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
}

.mindplexus-main-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    animation: logo-float 4s ease-in-out infinite alternate;
}

@keyframes logo-float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.hero-bottom-controls {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.replay-experience-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 26px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.85);
    color: #0F0A19;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1.5px solid rgba(155, 42, 238, 0.28);
    box-shadow: 0 6px 24px rgba(155, 42, 238, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.replay-experience-btn:hover {
    background: #FFFFFF;
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(155, 42, 238, 0.22);
}

.hero-card {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border: 1px solid rgba(155, 42, 238, 0.08);
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(155, 42, 238, 0.15), var(--shadow-glow);
}

.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--brand-light-gray);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.hero-card-logo {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.hero-card-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.hero-card-stat {
    background: var(--grad-light);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-purple);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-gray);
    text-transform: uppercase;
}

.hero-card-pattern {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pattern-row {
    height: 8px;
    background-color: var(--brand-light-gray);
    border-radius: var(--radius-full);
}

.pattern-row.p-short { width: 60%; }
.pattern-row.p-med { width: 80%; }
.pattern-row.p-long { width: 100%; }

.hero-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(155, 42, 238, 0.08) 0%, rgba(223, 56, 162, 0.05) 50%, transparent 100%);
    z-index: 1;
    top: -10%;
    left: -10%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blob-float 15s infinite ease-in-out alternate;
}

@keyframes blob-float {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: rotate(0deg); }
    100% { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; transform: rotate(180deg); }
}

/* Philosophy Section */
.philosophy-section {
    background-color: var(--brand-white);
    border-top: 1px solid var(--brand-light-gray);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 10px;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--brand-gray);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.philosophy-card {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brand-light-gray);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(155, 42, 238, 0.15);
}

.philosophy-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.philosophy-card:hover::after {
    transform: scaleX(1);
}

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: var(--grad-light);
    color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 28px;
}

.philosophy-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.philosophy-card p {
    font-size: 1rem;
    color: var(--brand-gray);
    line-height: 1.6;
}

/* Tabs Section (Bootcamps Showcase) */
.showcase-section {
    background-color: #FAF9FC;
    border-top: 1px solid var(--brand-light-gray);
    border-bottom: 1px solid var(--brand-light-gray);
}

.tabs-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
    background-color: var(--brand-light-gray);
    padding: 8px;
    border-radius: var(--radius-full);
}

.tab-btn {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    background: transparent;
    color: var(--brand-gray);
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    flex: 1;
    text-align: center;
}

.tab-btn:hover {
    color: var(--brand-purple);
}

.tab-btn.active {
    background-color: var(--brand-white);
    color: var(--brand-purple);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fade-in 0.5s ease;
}

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

/* Bootcamp Inner Layout */
.bootcamp-showcase {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(155, 42, 238, 0.05);
    overflow: hidden;
    margin-bottom: 40px;
}

.bootcamp-header-block {
    background: var(--grad-light);
    padding: 40px;
    border-bottom: 1px solid var(--brand-light-gray);
}

.bootcamp-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}

.bootcamp-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.bootcamp-meta-badge {
    background: var(--brand-white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-purple);
    border: 1px solid rgba(155, 42, 238, 0.1);
    box-shadow: var(--shadow-sm);
}

.bootcamp-summary {
    padding: 40px;
    font-size: 1.1rem;
    color: var(--brand-dark);
    border-bottom: 1px solid var(--brand-light-gray);
    line-height: 1.7;
}

.bootcamp-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
}

.curriculum-side {
    padding: 40px;
    border-right: 1px solid var(--brand-light-gray);
}

.curriculum-side h3 {
    margin-bottom: 30px;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 7px;
    width: 2px;
    background-color: var(--brand-light-gray);
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

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

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--brand-white);
    border: 3px solid var(--brand-purple);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-marker {
    background-color: var(--brand-purple);
    box-shadow: 0 0 0 6px var(--brand-purple-light);
}

.timeline-day {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--brand-magenta);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-black);
}

.timeline-description {
    font-size: 1rem;
    color: var(--brand-gray);
    margin-bottom: 12px;
}

.timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.tag-case {
    background-color: #FFF3EB;
    color: #E65100;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.tag-tool {
    background-color: #E3F2FD;
    color: #0D47A1;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.tag-concept {
    background-color: #EDE7F6;
    color: #4A148C;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.details-side {
    padding: 40px;
    background-color: #FDFDFD;
}

.details-widget {
    background-color: var(--brand-white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--brand-light-gray);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.details-widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--brand-black);
    border-bottom: 1px solid var(--brand-light-gray);
    padding-bottom: 8px;
}

.details-list {
    list-style: none;
}

.details-list-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.details-list-item:last-child {
    margin-bottom: 0;
}

.details-label {
    color: var(--brand-gray);
    font-weight: 500;
}

.details-val {
    font-weight: 600;
    color: var(--brand-black);
    text-align: right;
}

.sim-tool-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-white);
    border: 1px solid var(--brand-light-gray);
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-purple);
    transition: var(--transition-fast);
}

.sim-tool-link:hover {
    background-color: var(--brand-purple-light);
    border-color: rgba(155, 42, 238, 0.2);
}

.sim-tool-link i {
    font-size: 1.1rem;
}

.certificate-preview {
    margin-top: 30px;
}

.cert-image {
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid var(--brand-light-gray);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cert-image:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}

/* Blank Upcoming State */
.empty-tab-state {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brand-light-gray);
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--brand-gray);
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.empty-state-desc {
    max-width: 500px;
    margin: 0 auto 30px;
    color: var(--brand-gray);
}

/* Pedagogy Section */
.pedagogy-section {
    background-color: var(--brand-white);
    border-bottom: 1px solid var(--brand-light-gray);
}

.pedagogy-grid {
    display: flex;
    gap: 24px;
    margin-top: 50px;
    width: 100%;
}

.pedagogy-step {
    flex: 1;
    background-color: var(--brand-white);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid rgba(155, 42, 238, 0.15); /* Purple-tinted border */
    box-shadow: 0 10px 30px rgba(155, 42, 238, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02); /* Pop out shadow */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    height: 330px;
    transition: flex 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                background-color 0.25s ease;
}

.pedagogy-step:hover,
.pedagogy-step.flipped {
    flex: 2.2;
    border-color: var(--brand-purple);
    box-shadow: 0 15px 35px rgba(155, 42, 238, 0.12), var(--shadow-glow); /* Enhanced shadow on hover */
    background-color: var(--brand-purple-light);
}

.pedagogy-step .step-header {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    overflow: hidden;
    transition: margin 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.2s ease,
                max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.2s;
}

.pedagogy-step:hover .step-header,
.pedagogy-step.flipped .step-header {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    align-items: flex-start;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    max-height: 0px;
    overflow: hidden;
}

.step-num {
    font-size: 3.2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: rgba(155, 42, 238, 0.16);
    line-height: 1;
    margin-bottom: 24px; /* Slightly tighter vertical margin */
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease, margin-bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pedagogy-step:hover .step-num,
.pedagogy-step.flipped .step-num {
    color: rgba(155, 42, 238, 0.28);
    transform: scale(1.08);
    margin-bottom: 8px; /* Collapsed margin on hover */
}

.card-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
}

.card-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-purple);
    opacity: 0.6;
    display: inline-block;
}

.step-time {
    background-color: var(--brand-magenta-light);
    color: var(--brand-magenta);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
}

.pedagogy-step h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 16px; /* Slightly tighter vertical margin */
    color: var(--brand-black);
    width: 100%;
    min-height: 2.6em; /* Reserve exactly 2 lines of vertical space */
    max-width: 160px;   /* Force wrap short titles into 2 lines */
    margin-left: auto;
    margin-right: auto;
    transition: max-width 0.25s ease, min-height 0.25s ease, margin-bottom 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pedagogy-step:hover h3,
.pedagogy-step.flipped h3 {
    min-height: 0;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 8px; /* Collapsed margin on hover */
}

.pedagogy-step .step-subheading {
    font-weight: 600;
    color: var(--brand-purple);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 0px;
    margin-bottom: 0px;
    width: 100%;
}

.pedagogy-step .step-body {
    font-size: 0.95rem;
    color: var(--brand-gray);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: opacity 0.15s ease, max-height 0.2s ease, margin-top 0.15s ease;
}

.pedagogy-step:hover .step-body,
.pedagogy-step.flipped .step-body {
    opacity: 1;
    max-height: 320px;
    margin-top: 0px;
    transition: opacity 0.2s ease 0.05s, max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
}

.philosophy-section .pedagogy-step h3 {
    max-width: 100%;
    min-height: auto;
}

.pedagogy-highlights {
    margin-top: 50px;
    padding: 30px;
    background: var(--grad-light);
    border-radius: var(--radius-lg);
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.highlight-box {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1 1 30%;
    min-width: 250px;
}

.highlight-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-white);
    color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.highlight-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.9rem;
    margin: 0;
}

/* Founder Profile */
.founder-section {
    background: radial-gradient(circle at bottom right, rgba(155, 42, 238, 0.02), transparent 40%),
                var(--brand-white);
    border-bottom: 1px solid var(--brand-light-gray);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;
    align-items: start;
}

.founder-left-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder-right-block {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0px;
}

.founder-portrait-container {
    position: relative;
    max-width: 320px;
    width: 100%;
    margin-bottom: 16px;
}

.founder-bullets {
    font-weight: 600;
    color: var(--brand-gray);
    font-size: 0.85rem;
    margin-top: 12px;
    margin-bottom: 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.45;
    text-align: center;
    max-width: 320px;
}

.founder-img-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--brand-white);
    background-color: var(--brand-light-gray);
    aspect-ratio: 1 / 1;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-badge-link-overlay {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--brand-purple-light);
    color: var(--brand-purple);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    z-index: 5;
    border: 2px solid rgba(155, 42, 238, 0.25);
}

.founder-badge-link-overlay:hover {
    background: var(--brand-purple);
    color: var(--brand-white);
    border-color: var(--brand-purple);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 20px rgba(155, 42, 238, 0.2);
}

.founder-quote {
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.5;
    color: var(--brand-gray);
    position: relative;
    padding-left: 24px;
    margin-top: 16px;
    margin-bottom: 0;
}

.founder-quote::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -12px;
    font-size: 3.5rem;
    color: var(--brand-purple);
    opacity: 0.15;
    font-family: var(--font-heading);
}

.founder-p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--brand-gray);
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--brand-light-gray);
    padding-top: 30px;
}

.founder-stat-item h4 {
    font-size: 1.75rem;
    color: var(--brand-purple);
    margin-bottom: 4px;
}

.founder-stat-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--brand-gray);
}

/* Testimonials / Parent Feedback */
.testimonials-section {
    background-color: #FAF9FC;
    border-bottom: 1px solid var(--brand-light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brand-light-gray);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(155, 42, 238, 0.1);
}

.testimonial-content {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--brand-dark);
    margin-bottom: 24px;
    position: relative;
}

.testimonial-content::before {
    content: '“';
    font-size: 3rem;
    color: var(--brand-purple);
    opacity: 0.1;
    position: absolute;
    top: -24px;
    left: -16px;
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--brand-light-gray);
    padding-top: 20px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--brand-gray);
    margin: 0;
}

/* Contact / Webform Section */
.contact-section {
    background-color: var(--brand-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info-block {
    max-width: 440px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-icon-box {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-purple-light);
    color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.contact-icon-box svg {
    width: 18px !important;
    height: 18px !important;
}

.contact-text h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.95rem;
}

.contact-text a {
    color: var(--brand-purple);
    font-weight: 600;
}

.contact-text a:hover {
    color: var(--brand-magenta);
}

.contact-card {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(155, 42, 238, 0.05);
    padding: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.form-input, .form-select, .form-textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 12px 16px;
    border: 1px solid var(--brand-light-gray);
    background-color: #FAF9FC;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    outline: none;
    color: var(--brand-black);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-select {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--brand-purple);
    background-color: var(--brand-white);
    box-shadow: 0 0 0 3px rgba(155, 42, 238, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 10, 25, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    padding: 40px;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon-success {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: var(--brand-purple-light);
    color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 24px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-desc {
    color: var(--brand-gray);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.modal-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--brand-gray);
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    color: var(--brand-black);
}

/* Footer */
.footer {
    background-color: var(--brand-black);
    color: var(--brand-white);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--brand-white);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 400px;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 20px;
    height: 20px;
    stroke-width: 2px;
}

.social-link:hover {
    background-color: var(--brand-purple);
    transform: translateY(-2px);
}

.footer-links h4 {
    color: var(--brand-white);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.footer-menu {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.footer-menu-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-menu-link:hover {
    color: var(--brand-white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.footer-meta-info {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    text-align: right;
}

/* Lightbox overlay for certificate preview */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 10, 25, 0.95);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--brand-white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
}


/* Media Queries */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-meta {
        justify-content: center;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-card, .interactive-methodology-card, .flip-card, .sleek-text-box, .hero-links-stack {
        transform: none !important;
    }
    
    .hero-card:hover, .hero-card-link-wrapper:hover .interactive-methodology-card, .flip-card:hover, .sleek-text-box:hover {
        transform: translateY(-5px) !important;
    }

    .hero-stack-link:hover {
        transform: translateY(-3px) !important;
    }
    
    .flip-card, .sleek-text-box, .hero-links-stack {
        margin: 40px auto 0;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bootcamp-grid {
        grid-template-columns: 1fr;
    }
    
    .curriculum-side {
        border-right: none;
        border-bottom: 1px solid var(--brand-light-gray);
    }
    
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .founder-left-block {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .founder-left-block .founder-portrait-container {
        margin-left: auto;
        margin-right: auto;
    }

    .founder-left-block .founder-quote {
        text-align: left;
        max-width: 480px;
        margin: 20px auto 0;
    }
    
    .founder-right-block {
        align-items: flex-start;
        text-align: left;
        padding-top: 0;
        width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info-block {
        max-width: 100%;
    }

    /* Shift opening hero title lower on mobile/tablet to prevent overlapping logo */
    #home.hero-section {
        padding-top: 110px !important;
    }

    /* Provide extra spacing at the bottom of the contact section so inline footers are clear */
    .section-page.contact-section {
        padding-bottom: 110px !important;
    }

    /* Header navigation for mobile & tablet (up to 1024px) */
    .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--brand-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--brand-light-gray);
        transform: translateY(-16px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
        pointer-events: none;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }

    /* Pedagogy steps layout on tablet & mobile */
    .pedagogy-grid {
        flex-direction: column;
        gap: 16px;
    }
    
    .pedagogy-step {
        flex: none;
        height: auto;
        min-height: 120px;
        padding: 24px;
        align-items: center;
        text-align: center;
        cursor: pointer;
    }
    
    .pedagogy-step .step-header {
        margin: 0 auto;
        align-items: center;
        text-align: center;
        opacity: 1;
        visibility: visible;
        max-height: 250px;
        overflow: hidden;
        transition: margin 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, max-height 0.4s ease, visibility 0.3s;
    }
    
    .pedagogy-step .step-header-static {
        margin: 0 auto 12px !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .pedagogy-step.flipped .step-header-static {
        margin: 0 auto 12px !important;
        align-items: center !important;
        text-align: center !important;
    }

    .pedagogy-step h3 {
        min-height: 0;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 8px !important;
    }

    .pedagogy-step .step-num {
        margin-bottom: 8px !important;
    }
    
    .pedagogy-step.flipped {
        flex: none;
        align-items: flex-start;
        text-align: left;
        background-color: var(--brand-purple-light);
        border-color: var(--brand-purple);
        box-shadow: var(--shadow-glow);
    }
    
    .pedagogy-step.flipped .step-header {
        margin: 0;
        align-items: flex-start;
        text-align: left;
        opacity: 0;
        visibility: hidden;
        max-height: 0px;
        overflow: hidden;
    }
    
    .pedagogy-step .step-body {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        margin-top: 0;
        overflow: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, max-height 0.3s ease, margin-top 0.2s ease;
    }
    
    .pedagogy-step.flipped .step-body {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        margin-top: 0;
        overflow: visible;
        pointer-events: auto;
        transition: opacity 0.3s ease 0.15s, max-height 0.4s ease 0.15s;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-title br {
        display: none;
    }

    .hero-title .text-gradient {
        white-space: normal !important;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Curriculum Mobile Layout */
    .curriculum-stepper {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 24px !important;
    }

    .curriculum-stepper .step-btn {
        width: 100% !important;
        padding: 12px 18px !important;
    }

    .curriculum-content-box {
        padding: 24px 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .level-main-desc h3 {
        font-size: 1.25rem !important;
        line-height: 1.35 !important;
    }

    .level-details-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .detail-column {
        width: 100% !important;
    }

    /* Contact & Form Mobile Layout */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .contact-info-block {
        width: 100% !important;
        max-width: 100% !important;
    }

    .contact-card {
        padding: 24px 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .form-group-row,
    .contact-form .form-group-row {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .form-group-full,
    .contact-form .form-group {
        grid-column: span 1 !important;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-meta-info {
        text-align: center;
    }

    .tabs-nav {
        flex-direction: column;
        border-radius: var(--radius-md);
        gap: 8px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
}

/* Footer Logo Link */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-decoration: none;
    transition: var(--transition-smooth);
    width: fit-content;
}

.footer-logo-wrapper:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.footer-logo-wrapper .logo-title {
    color: var(--brand-white);
}

.footer-logo-wrapper .logo-tagline {
    color: rgba(255, 255, 255, 0.5);
}

/* Student Showcase Banner & Mockup Card */
.student-showcase-banner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    background: linear-gradient(135deg, rgba(155, 42, 238, 0.04) 0%, rgba(223, 56, 162, 0.04) 100%);
    border: 1px solid rgba(155, 42, 238, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
    align-items: center;
    position: relative;
    overflow: hidden;
}

.student-showcase-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(155, 42, 238, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

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

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-purple);
    background-color: var(--brand-purple-light);
    border-radius: var(--radius-full);
    border: 1px solid rgba(155, 42, 238, 0.15);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.showcase-badge i {
    width: 14px;
    height: 14px;
}

.student-showcase-banner h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.student-showcase-banner p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 28px;
    color: var(--brand-gray);
}

.showcase-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.showcase-stat {
    display: flex;
    flex-direction: column;
    background: var(--brand-white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--brand-light-gray);
    box-shadow: var(--shadow-sm);
    min-width: 130px;
}

.showcase-stat .stat-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-purple);
    font-family: var(--font-heading);
    line-height: 1.2;
}

.showcase-stat .stat-lbl {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-gray);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 4px;
}

.showcase-actions {
    display: flex;
    gap: 16px;
}

.showcase-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Browser Mockup Card */
.game-mockup-card {
    width: 100%;
    max-width: 380px;
    background: #110d1a;
    border-radius: var(--radius-md);
    border: 1px solid rgba(155, 42, 238, 0.2);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(155, 42, 238, 0.15);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.game-mockup-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(155, 42, 238, 0.25);
    border-color: rgba(155, 42, 238, 0.4);
}

.mockup-header {
    background: #1b1626;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

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

.mockup-title {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px 20px;
    border-radius: var(--radius-sm);
    max-width: 210px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.mockup-body {
    padding: 50px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1b142c 0%, #0c0816 100%);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.mockup-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(18, 16, 32, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.04), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.04));
    background-size: 100% 4px, 6px 100%;
    z-index: 2;
    pointer-events: none;
}

.game-title-screen {
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.space-icon {
    color: #ffd700;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    animation: rocket-pulse 2.5s infinite ease-in-out;
}

@keyframes rocket-pulse {
    0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4)); }
    50% { transform: translateY(-8px) scale(1.04); filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.7)); }
    100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4)); }
}

.game-logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-white);
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(155, 42, 238, 0.6);
    margin-bottom: 8px;
}

.game-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    font-weight: 500;
    text-transform: uppercase;
}

/* Media Query Overrides for Banner */
@media (max-width: 1024px) {
    .student-showcase-banner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 30px;
    }
    
    .showcase-badge {
        justify-content: center;
    }
    
    .showcase-stats {
        justify-content: center;
    }
    
    .showcase-actions {
        justify-content: center;
    }
    
    .game-mockup-card {
        margin: 0 auto;
    }
}

/* Problem & Solution Revamp Sections */
.problem-section {
    background-color: var(--brand-white);
    border-top: 1px solid var(--brand-light-gray);
}

.predicament-box {
    background: linear-gradient(135deg, rgba(223, 56, 162, 0.02) 0%, rgba(155, 42, 238, 0.02) 100%);
    border: 1px dashed rgba(155, 42, 238, 0.35);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    margin: 0 auto 50px;
    max-width: 900px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.predicament-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(155, 42, 238, 0.5);
}

.predicament-content {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.predicament-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: var(--brand-purple-light);
    color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.predicament-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-purple-dark);
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.predicament-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--brand-dark);
}



/* Solution section overrides & titles */
.solution-section {
    background: var(--brand-white);
    border-top: 1px solid var(--brand-light-gray);
    border-bottom: 1px solid var(--brand-light-gray);
}

.solution-main-title {
    max-width: 980px;
    margin: 0 auto 24px;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: var(--brand-black);
    text-wrap: balance;
}

/* Split Narrative Layout */
.solution-narrative-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 48px auto 64px;
    max-width: 850px;
}

.text-highlight {
    color: var(--brand-purple-dark);
    font-weight: 700;
}

.narrative-card {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brand-light-gray);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.narrative-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(155, 42, 238, 0.15);
}

.narrative-card.highlight-card {
    background: linear-gradient(135deg, rgba(155, 42, 238, 0.03) 0%, rgba(223, 56, 162, 0.03) 100%), var(--brand-white);
    border: 1px solid rgba(155, 42, 238, 0.18);
}

.narrative-card.highlight-card:hover {
    border-color: rgba(155, 42, 238, 0.35);
    box-shadow: var(--shadow-md), 0 0 20px rgba(155, 42, 238, 0.08);
}

.narrative-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-purple-dark);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: var(--font-heading);
}

.narrative-badge i {
    width: 18px;
    height: 18px;
    color: var(--brand-purple);
}

.narrative-subtext {
    font-style: italic;
    border-left: 3px solid rgba(155, 42, 238, 0.25);
    padding-left: 16px;
    color: var(--brand-gray);
    font-size: 0.98rem;
    line-height: 1.6;
}

.narrative-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
}

.btn-sm-card {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Philosophy Pillars */
.solution-grid-title {
    max-width: 800px;
    margin: 0 auto 36px;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--brand-black);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    padding: 44px 32px 36px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brand-light-gray);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(155, 42, 238, 0.25);
}

.solution-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.solution-card:hover::after {
    transform: scaleX(1);
}

.pillar-subheading {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-magenta);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: var(--font-heading);
    min-height: 1.2em;
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 3.8em; /* Ensures title blocks take uniform height so sub-headings align */
}

.solution-card p {
    font-size: 0.98rem;
    color: var(--brand-gray);
    line-height: 1.65;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-purple);
    font-family: var(--font-heading);
    transition: var(--transition-smooth);
    position: relative;
    padding-bottom: 4px;
    text-decoration: none;
}

.solution-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grad-primary);
    transform: scaleX(0.3);
    transform-origin: center;
    transition: var(--transition-smooth);
}

.solution-link:hover {
    color: var(--brand-purple-dark);
}

.solution-link:hover::after {
    transform: scaleX(1);
    background: var(--grad-primary);
}

.solution-link i {
    width: 18px;
    height: 18px;
    transition: var(--transition-fast);
}

.solution-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .solution-narrative-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-stack-link .link-content {
        align-items: center;
        text-align: center;
    }
    .hero-stack-link .link-target {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .narrative-card {
        padding: 30px;
    }
    .solution-grid {
        grid-template-columns: 1fr;
    }
    .solution-card {
        padding: 36px 24px 30px;
    }
    .solution-card h3,
    .pillar-subheading {
        min-height: auto;
    }
}

/* Sleek Text Box Card */
.sleek-text-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 420px;
    height: auto;
    min-height: 290px;
    text-decoration: none;
    color: inherit;
    transform: translateY(-40px);
    position: relative;
    z-index: 5;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(155, 42, 238, 0.12);
    padding: 32px 28px;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.sleek-text-box:hover {
    transform: translateY(-48px) scale(1.02);
    background-color: var(--brand-purple-light);
    border-color: var(--brand-purple);
}

.text-box-badge {
    width: fit-content;
    margin-bottom: 0;
    font-size: 0.8rem;
    padding: 4px 12px;
}

.text-box-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    border-bottom: 1px solid var(--brand-light-gray);
    padding-bottom: 16px;
}

.text-box-header .logo-img {
    height: 38px;
    width: auto;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.text-box-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-black);
    margin: 0;
    font-family: var(--font-heading);
}

.text-box-body {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--brand-gray);
    margin: 0;
}

.text-box-body .text-gradient {
    font-weight: 700;
}

/* Base class for micro logo link */
.micro-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    vertical-align: middle;
    margin-left: 12px;
}

/* Option 2: Glassmorphic Pulsing Glow Icon */
.micro-logo-link.option-2 {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(223, 56, 162, 0.25);
    background-color: rgba(223, 56, 162, 0.05);
    color: var(--brand-magenta);
    box-shadow: var(--shadow-sm);
    animation: micro-pulse 2s infinite ease-in-out;
}
.micro-logo-link.option-2 i {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.micro-logo-link.option-2:hover {
    animation: none;
    transform: scale(1.2);
    background-color: var(--brand-magenta);
    color: var(--brand-white);
    border-color: var(--brand-magenta);
    box-shadow: 0 4px 12px rgba(223, 56, 162, 0.35);
}
@keyframes micro-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 56, 162, 0.4); }
    70% { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(223, 56, 162, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(223, 56, 162, 0); }
}

/* Hero Graphic & Fingerprint Node Integration */
.hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.hero-graphic-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 250px;
    flex-shrink: 0;
    z-index: 6;
    position: relative;
}

.human-relevance-img {
    width: 100%;
    height: auto;
    max-width: 250px;
    object-fit: contain;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 10px 25px rgba(155, 42, 238, 0.12));
    animation: image-pulse 4s infinite ease-in-out alternate;
    transition: var(--transition-smooth);
}

.human-relevance-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 14px 35px rgba(223, 56, 162, 0.3));
}

@keyframes image-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 8px 20px rgba(155, 42, 238, 0.12));
    }
    50% {
        transform: scale(1.02);
        filter: drop-shadow(0 14px 30px rgba(223, 56, 162, 0.25));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 8px 20px rgba(155, 42, 238, 0.12));
    }
}

.node-pulse-ring {
    transform-origin: center;
    animation: ring-expand 2.5s infinite ease-out;
}
.node-1 .node-pulse-ring { animation-delay: 0s; }
.node-2 .node-pulse-ring { animation-delay: 0.5s; }
.node-3 .node-pulse-ring { animation-delay: 1.0s; }
.node-4 .node-pulse-ring { animation-delay: 1.5s; }
.node-5 .node-pulse-ring { animation-delay: 2.0s; }

@keyframes ring-expand {
    0% { r: 5px; opacity: 1; stroke-width: 2px; }
    100% { r: 14px; opacity: 0; stroke-width: 0.5px; }
}

.node-dot {
    transition: var(--transition-fast);
}

.node-group:hover .node-dot,
.node-group.active .node-dot {
    r: 8px;
    filter: drop-shadow(0 0 12px rgba(155, 42, 238, 1));
}

/* Compact Expandable Stack Links */
.compact-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 330px;
    z-index: 5;
    position: relative;
}

.compact-link {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(155, 42, 238, 0.15);
    padding: 8px 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    height: 38px;
}

.compact-link .link-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.compact-link .link-target {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
}

.compact-link .link-target i {
    width: 14px;
    height: 14px;
    color: var(--brand-magenta);
    transition: var(--transition-fast);
}

.compact-link .link-question-drawer {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--brand-purple-dark);
    line-height: 1.3;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
}

/* Hover / Active / Expanded State */
.compact-link:hover,
.compact-link.highlighted,
.compact-link.active {
    height: 62px;
    background-color: var(--brand-purple-light);
    border-color: var(--brand-purple);
    box-shadow: 0 8px 20px rgba(155, 42, 238, 0.18), var(--shadow-glow);
    transform: translateX(6px);
}

.compact-link:hover .link-target,
.compact-link.highlighted .link-target {
    color: var(--brand-purple);
}

.compact-link:hover .link-target i,
.compact-link.highlighted .link-target i {
    transform: translateX(4px);
    color: var(--brand-purple);
}

.compact-link:hover .link-question-drawer,
.compact-link.highlighted .link-question-drawer {
    opacity: 1;
    max-height: 30px;
    margin-top: 4px;
}

.hero-stack-link .link-number {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    flex-shrink: 0;
}

.hero-stack-link .link-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.hero-stack-link .link-question {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-black);
    line-height: 1.4;
    transition: var(--transition-fast);
}

.hero-stack-link:hover .link-question {
    color: var(--brand-purple-dark);
}

.hero-stack-link .link-target {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-magenta);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
}

.hero-stack-link:hover .link-target {
    color: var(--brand-purple);
}

.hero-stack-link .link-target i {
    width: 14px;
    height: 14px;
    transition: var(--transition-fast);
}

.hero-stack-link:hover .link-target i {
    transform: translateX(4px);
}

/* Interactive Pedagogy Card in Hero Section */
/* Flip Card Container */
.flip-card {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 330px;
    perspective: 1000px;
    text-decoration: none;
    color: inherit;
    transform: translateY(-40px);
    position: relative;
    z-index: 5;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    pointer-events: none; /* Prevents cursor events from hitting rotating faces and triggering jitter */
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg) translateY(-8px);
}

/* Faces */
.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-sizing: border-box;
    margin: 0;
}

.flip-card-front {
    transform: rotateY(0deg);
    z-index: 2;
}

.flip-card-back {
    transform: rotateY(180deg);
    z-index: 1;
}

.interactive-methodology-card {
    background-color: var(--brand-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px 24px;
    border: 1px solid rgba(155, 42, 238, 0.1);
    transition: var(--transition-smooth);
}

.flip-card:hover .interactive-methodology-card {
    box-shadow: 0 20px 40px rgba(155, 42, 238, 0.15), var(--shadow-glow);
    border-color: rgba(155, 42, 238, 0.4);
}



.aff-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-purple-dark);
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.aff-mini-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.mini-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--brand-dark);
}

.step-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.aff-card-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--brand-light-gray);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-purple);
    transition: var(--transition-fast);
}

.hero-card-link-wrapper:hover .aff-card-cta {
    color: var(--brand-magenta);
}

.hero-card-link-wrapper:hover .aff-card-cta i {
    transform: translateX(4px);
}

.aff-card-cta i {
    transition: var(--transition-fast);
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   Full-Screen Page Slider & Pagination Styles
   ========================================================================== */

/* Locked viewport container - applied only to desktop viewports */
@media (min-width: 1025px) {
    .slides-container {
        position: relative;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        background-color: transparent; /* Let fixed background canvas show through */
    }
    
    /* Individual page section card styles */
    .section-page {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        z-index: 1;
        overflow-y: hidden !important;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        box-sizing: border-box;
        padding-top: 84px; /* Margin for sticky navigation bar */
        padding-bottom: 96px; /* Clearance for bottom pagination dots */
        background-color: transparent;
        
        /* Premium smooth vertical slide-up + fade + scale transition */
        transform: translateY(30px) scale(0.985);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.7s;
    }
    
    .section-page.hero-section {
        padding-top: 110px !important;
        padding-bottom: 100px !important;
    }
    
    .section-page.hero-section > .container {
        margin-top: 0 !important;
    }
    
    /* Active page card state */
    .section-page.active {
        opacity: 1;
        visibility: visible;
        z-index: 10;
        transform: translateY(0) scale(1);
    }
    
    /* Past page card state (positioned above viewport for natural bidirectional scrolling) */
    .section-page.past {
        opacity: 0;
        visibility: hidden;
        transform: translateY(-30px) scale(0.985);
    }
}

/* Mobile & Tablet Non-Paginated Scrolling Layout */
@media (max-width: 1024px) {
    .slides-container {
        width: 100%;
        height: auto;
        overflow: visible;
    }
    .section-page {
        position: relative;
        width: 100%;
        height: auto;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: block;
        padding-top: 96px;
        padding-bottom: 60px;
    }
    .page-pagination {
        display: none !important;
    }

    /* Restore normal stacked simulations grid on mobile/tablet */
    .simulations-slider-wrapper {
        overflow: visible !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    
    .simulations-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
        height: auto !important;
        position: relative;
        width: 100% !important;
        transform: none !important;
    }

    .sim-card {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(155, 42, 238, 0.12);
        border-radius: var(--radius-lg);
        background: var(--brand-white);
    }

    /* Hide desktop-only paginations and tabs */
    .sandbox-pagination-wrapper,
    .sandbox-tabs {
        display: none !important;
    }
}

/* Transparent section backgrounds allowing plexus animation to float over pure white body background */
.section-page,
.section-page.problem-section,
.section-page.solution-section,
.section-page.pedagogy-section,
.section-page.founder-section,
.section-page.showcase-section,
.section-page.testimonials-section,
.section-page.contact-section,
.section-page.curriculum-section {
    background: transparent !important;
    background-color: transparent !important;
}

/* Pagination container (dots at bottom center) */
.page-pagination {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 10, 25, 0.04);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(155, 42, 238, 0.03);
}

/* Interactive pagination dots */
.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(155, 42, 238, 0.25);
    cursor: pointer;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                border-radius 0.3s ease,
                box-shadow 0.3s ease;
}

.pagination-dot:hover {
    background-color: var(--brand-purple);
    box-shadow: 0 0 8px rgba(155, 42, 238, 0.4);
}

/* Active indicator pill */
.pagination-dot.active {
    width: 24px;
    border-radius: 6px;
    background: var(--grad-primary);
    box-shadow: 0 0 12px rgba(155, 42, 238, 0.5);
}

/* Page spacing adjustments to fit content nicely into viewports */
.section-page > .container {
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

.section-page .section-header {
    margin-bottom: 28px;
}

/* Clean compacting overrides for single-viewport layouts */
.section-page.problem-section, 
.section-page.solution-section, 
.section-page.pedagogy-section, 
.section-page.showcase-section, 
.section-page.founder-section, 
.section-page.testimonials-section, 
.section-page.contact-section {
    padding-top: 94px;
}

/* Nested Footer spacing inside Contact slide */
.section-page.contact-section > .container {
    margin-top: 0;
    margin-bottom: 0;
}

.footer-compact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.section-page.contact-section .footer {
    margin-top: 24px;
    background-color: var(--brand-black);
    color: var(--brand-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.section-page.contact-section .footer .footer-compact-container {
    padding: 16px 24px;
}

/* Contact form compaction to prevent viewport overflow */
.contact-form {
    display: grid;
    gap: 12px !important;
}

.contact-form .form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0 !important;
}

.contact-form .form-group {
    margin-bottom: 0 !important;
}

.contact-form .form-label {
    margin-bottom: 4px !important;
    font-size: 0.85rem !important;
    font-weight: 600;
}

.contact-form .form-input, 
.contact-form .form-select, 
.contact-form .form-textarea {
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
}

.contact-form .form-textarea {
    height: 80px !important;
    min-height: 80px !important;
    resize: none;
}

.contact-card {
    padding: 24px 28px !important;
}

@media (max-width: 768px) {
    .contact-form .form-group-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Adjustments for smaller screen heights */
@media (max-height: 750px) {
    .section-page {
        padding-top: 72px;
    }

    .hero-title {
        font-size: 2.1rem;
        margin-bottom: 20px;
    }
    .hero-description {
        font-size: 1.05rem;
        margin-bottom: 20px;
    }
    .section-header {
        margin-bottom: 20px;
    }
    .section-title {
        font-size: 2.0rem;
    }
    .contact-form .form-textarea {
        height: 60px !important;
        min-height: 60px !important;
    }
}

/* Pedagogy arrow bounce animation */
@keyframes arrow-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
.bounce-animation {
    animation: arrow-bounce 2s infinite ease-in-out;
}
.pedagogy-arrow-link:hover i {
    color: var(--brand-magenta) !important;
}

/* Freeze all page scroll on desktop viewports */
@media (min-width: 1025px) {
    .section-page {
        overflow-y: hidden !important;
    }
}

.required-asterisk {
    color: var(--brand-coral);
    margin-left: 2px;
}

@media (max-width: 768px) {
    .footer-compact-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-meta-info {
        text-align: center;
    }
    .contact-inline-footer {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    .contact-inline-footer p {
        text-align: center !important;
    }
    .predicament-box {
        padding: 24px 20px;
    }
    .predicament-content {
        display: grid;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 12px 16px;
    }
    .predicament-text {
        display: contents;
    }
    .predicament-icon {
        grid-column: 1;
        grid-row: 1;
    }
    .predicament-text h4 {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
    }
    .predicament-text p {
        grid-column: 1 / span 2;
    }
}

/* Premium text highlight animation */
.glowing-text-highlight {
    background: linear-gradient(135deg, var(--brand-purple) 0%, var(--brand-magenta) 50%, var(--brand-purple) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 0.05em;
    animation: textShine 3s linear infinite;
    display: inline-block;
}

@keyframes textShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Horizontal social links under Email and Location */
.social-links-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.social-icon-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-light-gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.social-icon-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.social-icon-link.facebook:hover {
    border-color: #1877F2;
    background-color: rgba(24, 119, 242, 0.04);
}

.social-icon-link.instagram:hover {
    border-color: #E1306C;
    background-color: rgba(225, 48, 108, 0.04);
}

.social-icon-link.linkedin:hover {
    border-color: #0A66C2;
    background-color: rgba(10, 102, 194, 0.04);
}

.social-icon-link.whatsapp:hover {
    border-color: #25D366;
    background-color: rgba(37, 211, 102, 0.04);
}

.social-icon-link svg {
    width: 22px;
    height: 22px;
    transition: var(--transition-fast);
}

/* Fluency Cards Section on Main Page */
.focus-intro-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--brand-purple);
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    margin-top: 24px;
}

.fluency-cards-grid {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    width: 100%;
}

.fluency-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(155, 42, 238, 0.08);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.fluency-card:hover {
    transform: translateY(-4px);
    border-color: rgba(155, 42, 238, 0.25);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.fluency-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--brand-purple-light);
    color: var(--brand-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fluency-icon svg {
    width: 24px;
    height: 24px;
}

.fluency-info h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--brand-black);
    font-weight: 700;
}

.fluency-info p {
    font-size: 0.94rem;
    color: var(--brand-gray);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .fluency-cards-grid {
        flex-direction: column;
    }
}

/* Curriculum Stepper Styles for Root Homepage */
/* Curriculum Levels Grid for Homepage */
.curriculum-levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
    justify-content: center;
}

.level-card {
    background: var(--brand-white);
    border: 1px solid rgba(155, 42, 238, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
    gap: 24px;
}

.level-card:hover {
    transform: translateY(-6px);
    border-color: rgba(155, 42, 238, 0.28);
    box-shadow: var(--shadow-lg);
}

.level-card.locked {
    background: rgba(241, 239, 245, 0.45);
    border-color: rgba(15, 10, 25, 0.06);
}

.level-card.locked:hover {
    transform: none;
    border-color: rgba(15, 10, 25, 0.06);
    box-shadow: var(--shadow-sm);
}

.level-badge-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.level-badge {
    background: rgba(155, 42, 238, 0.12);
    color: var(--brand-purple);
    border: 1px solid rgba(155, 42, 238, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

.level-badge.locked {
    background: var(--brand-light-gray);
    color: var(--brand-gray);
}

.coming-soon-pill {
    background: rgba(255, 255, 255, 0.85);
    color: var(--brand-dark);
    border: 1.5px solid rgba(155, 42, 238, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(155, 42, 238, 0.05);
}

.level-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-black);
    margin-bottom: 6px;
}

.level-card-subtitle {
    font-size: 0.95rem;
    color: var(--brand-purple);
    font-weight: 600;
    margin-bottom: 8px;
}

.level-card-hours {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-gray);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.level-card-hours i {
    width: 14px;
    height: 14px;
    color: var(--brand-purple);
}

.level-card-desc {
    font-size: 1rem;
    color: var(--brand-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.level-card-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--brand-dark);
    font-weight: 500;
}

.feature-tag i {
    width: 16px;
    height: 16px;
    color: var(--brand-magenta);
    flex-shrink: 0;
}

.level-card.locked .feature-tag {
    color: var(--brand-gray);
}

.level-card.locked .feature-tag i {
    color: var(--brand-gray);
}

.btn-level {
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    box-sizing: border-box;
}

.btn-explore {
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-dark);
    border: 1.5px solid rgba(155, 42, 238, 0.3);
    box-shadow: 0 4px 16px rgba(155, 42, 238, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-explore:hover {
    background: #FFFFFF;
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    box-shadow: 0 8px 25px rgba(155, 42, 238, 0.22);
    transform: translateY(-2px);
}

.btn-glassy-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid rgba(155, 42, 238, 0.3);
    color: var(--brand-dark);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(155, 42, 238, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    font-family: var(--font-heading);
}

.btn-glassy-submit:hover {
    background: #FFFFFF;
    border-color: var(--brand-purple);
    color: var(--brand-purple);
    box-shadow: 0 8px 25px rgba(155, 42, 238, 0.22);
    transform: translateY(-2px);
}

.btn-locked {
    background: rgba(15, 10, 25, 0.05);
    color: var(--brand-gray);
    border: 1px solid rgba(15, 10, 25, 0.08);
    cursor: not-allowed;
}

/* Dedicated Level 1 Page Styles */
.level-back-nav {
    margin-bottom: 30px;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-purple);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--brand-purple-light);
}

.btn-back-link:hover {
    color: var(--brand-purple-dark);
    transform: translateX(-4px);
    background: rgba(155, 42, 238, 0.15);
}

.horizontal-tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #18181B;
    padding: 6px;
    border-radius: 9999px;
    gap: 6px;
    margin: 0 auto 40px auto;
    flex-wrap: wrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.tab-pill {
    background: transparent;
    border: none;
    color: #A1A1AA;
    padding: 12px 28px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    outline: none;
}

.tab-pill:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
}

.tab-pill.active {
    background: linear-gradient(135deg, #F9464A 0%, #FB358A 38%, #D53AAF 72%, #9A0BEF 100%) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 18px rgba(213, 58, 175, 0.45) !important;
}

.skills-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.accordion-card {
    background: var(--brand-white);
    border: 1px solid rgba(155, 42, 238, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.accordion-card:hover {
    border-color: rgba(155, 42, 238, 0.25);
    box-shadow: var(--shadow-md);
}

.accordion-card.active {
    border-color: var(--brand-purple);
}

.accordion-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--brand-white);
    transition: var(--transition-fast);
    user-select: none;
}

.accordion-header:hover {
    background: var(--brand-purple-light);
}

.accordion-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-black);
    padding-right: 20px;
    line-height: 1.4;
}

.chevron-icon {
    width: 22px;
    height: 22px;
    color: var(--brand-purple);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.accordion-card.active .chevron-icon {
    transform: rotate(180deg);
    color: var(--brand-magenta);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--brand-white);
}

.accordion-inner-grid {
    padding: 0 30px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.accordion-col {
    background: var(--brand-purple-light);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    border: 1px solid rgba(155, 42, 238, 0.08);
}

.accordion-col.app-col {
    background: var(--brand-magenta-light);
    border-color: rgba(223, 56, 162, 0.08);
}

.col-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.col-header h5 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--brand-purple);
    font-family: var(--font-heading);
}

.accordion-col.app-col .col-header h5 {
    color: var(--brand-magenta);
}

.col-header i {
    width: 16px;
    height: 16px;
    color: var(--brand-purple);
}

.accordion-col.app-col .col-header i {
    color: var(--brand-magenta);
}

.col-content {
    font-size: 1.05rem;
    color: var(--brand-dark);
    font-weight: 500;
    line-height: 1.55;
}

.concept-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    color: var(--brand-dark);
    font-weight: 500;
}

.bullet-icon {
    width: 16px;
    height: 16px;
    color: var(--brand-magenta);
}

@media (min-width: 1025px) {
    .curriculum-levels-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Simulations Showcase (Sandbox) */
.simulations-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.sim-card {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: center;
    background: var(--brand-white);
    border: 1px solid rgba(155, 42, 238, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.sim-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(155, 42, 238, 0.16);
}

.sim-media {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--brand-light-gray);
    background: var(--brand-light-gray);
    box-shadow: var(--shadow-sm);
}

.sim-gif {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sim-info h3 {
    font-size: 1.75rem;
    margin-bottom: 6px;
}

.sim-tagline {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-purple);
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.sim-desc {
    font-size: 1rem;
    color: var(--brand-gray);
    line-height: 1.6;
    margin-bottom: 24px;
}

.sim-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feat-tag {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-gray);
    background: var(--brand-light-gray);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

/* Sandbox Zoomable Media Styles */
.sim-media {
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.sim-media:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: rgba(155, 42, 238, 0.3);
}

.sim-media::after {
    content: 'Click to Zoom';
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 10, 25, 0.75);
    color: var(--brand-white);
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    opacity: 0;
    transform: translateY(5px);
    transition: var(--transition-fast);
    pointer-events: none;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sim-media:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Modal Styles */
#lightboxModal .modal-content {
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    width: auto;
}

.lightbox-img-container {
    position: relative;
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    border: 2px solid rgba(155, 42, 238, 0.25);
    background: var(--brand-black);
}

.lightbox-img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--brand-white);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 20px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#lightboxModal .modal-close-btn {
    color: var(--brand-white);
    font-size: 2.5rem;
    top: -45px;
    right: 0;
}

#lightboxModal .modal-close-btn:hover {
    color: var(--brand-magenta);
}

/* Headroom, Portrait, and Vertical alignment overrides for better fit */
@media (min-width: 1025px) {
    .curriculum-section {
        padding-top: 115px !important;
    }
    .founder-portrait-container {
        max-width: 300px !important;
    }
    .founder-bullets {
        font-size: 0.85rem !important;
        max-width: 300px !important;
    }
    .founder-grid {
        align-items: center !important;
    }
    .section-page.hero-section {
        justify-content: center !important;
    }
    .section-page.hero-section > .container {
        margin-top: auto !important;
        margin-bottom: auto !important;
    }
    .contact-grid {
        align-items: center !important;
    }

    /* Desktop Horizontal Carousel Slider & Header Tabs */
    .sandbox-tabs {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #18181B;
        padding: 6px;
        border-radius: 9999px;
        gap: 6px;
        margin: 0 auto 12px auto;
        position: relative;
        z-index: 20;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08);
    }
    .sandbox-tab-btn {
        background: transparent;
        border: none;
        padding: 10px 24px;
        border-radius: 9999px;
        color: #A1A1AA;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        font-family: var(--font-heading);
        font-size: 0.95rem;
        outline: none;
        white-space: nowrap;
    }
    .sandbox-tab-btn:hover {
        color: #FFFFFF;
        background: rgba(255, 255, 255, 0.08);
    }
    .sandbox-tab-btn.active {
        background: linear-gradient(135deg, #F9464A 0%, #FB358A 38%, #D53AAF 72%, #9A0BEF 100%) !important;
        color: #FFFFFF !important;
        font-weight: 700 !important;
        box-shadow: 0 4px 18px rgba(213, 58, 175, 0.45) !important;
    }

    .simulations-slider-wrapper {
        overflow: hidden;
        width: 100%;
        border-radius: var(--radius-lg);
        border: 1px solid rgba(155, 42, 238, 0.12);
        box-shadow: var(--shadow-lg);
        background: var(--brand-white);
    }

    .simulations-grid {
        display: flex !important;
        flex-direction: row !important;
        width: 300% !important; /* 3 slides */
        height: 320px !important;
        gap: 0 !important;
        margin-top: 0 !important;
        position: relative;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sim-card {
        width: 33.3333% !important;
        min-width: 33.3333% !important;
        position: relative !important;
        display: grid !important;
        grid-template-columns: 1.15fr 0.85fr !important;
        height: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: var(--brand-white);
        box-sizing: border-box;
        margin-bottom: 0 !important;
    }

    .sim-media {
        height: 100% !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .sim-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        cursor: zoom-in;
    }

    .sim-info {
        padding: 16px 24px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: left;
        box-sizing: border-box;
    }

    .sim-info h3 {
        font-size: 1.5rem !important;
        margin-bottom: 4px !important;
        color: var(--brand-purple);
    }

    .sim-tagline {
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        color: var(--brand-dark) !important;
        margin-bottom: 8px !important;
    }

    .sim-desc {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        color: var(--brand-gray) !important;
        margin-bottom: 12px !important;
    }

    .sim-features {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* Sandbox sub-pagination indicators */
    .sandbox-pagination-wrapper {
        display: flex;
        justify-content: center;
        margin-top: 16px;
        position: relative;
        z-index: 15;
    }

    .sandbox-pagination {
        display: flex;
        gap: 8px;
        background: rgba(15, 10, 25, 0.03);
        padding: 6px 12px;
        border-radius: var(--radius-full);
        border: 1px solid rgba(155, 42, 238, 0.08);
    }

    .sandbox-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: var(--brand-gray);
        opacity: 0.3;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .sandbox-dot:hover {
        opacity: 0.7;
    }

    .sandbox-dot.active {
        opacity: 1;
        background-color: var(--brand-purple);
        transform: scale(1.2);
    }
}

/* Custom High-Tech Branding Iconography */
.custom-icon-box {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, rgba(155, 42, 238, 0.07) 0%, rgba(216, 27, 96, 0.04) 100%);
    border: 1px solid rgba(155, 42, 238, 0.16);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 14px rgba(155, 42, 238, 0.08);
    flex-shrink: 0;
}

.custom-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(155, 42, 238, 0.12));
}

.custom-icon-box:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: rgba(155, 42, 238, 0.35);
    box-shadow: 0 8px 22px rgba(155, 42, 238, 0.18);
}

.custom-icon-inline {
    height: 36px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    filter: drop-shadow(0 2px 6px rgba(155, 42, 238, 0.15));
}

@media (max-width: 768px) {
    .accordion-inner-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 20px;
        gap: 16px;
    }
    .accordion-header {
        padding: 20px 24px;
    }
    .sandbox-tabs,
    .horizontal-tabs,
    .tabs-nav,
    .curriculum-stepper {
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start !important;
        border-radius: 9999px;
        -webkit-overflow-scrolling: touch;
        padding: 6px;
    }
    .sandbox-tab-btn,
    .tab-pill,
    .tab-btn,
    .curriculum-stepper .step-btn {
        padding: 8px 18px !important;
        font-size: 0.88rem !important;
    }
}
