/* ==========================================================================
   DESIGN SYSTEM: Luminous Iridescent Prism (Ultra-Premium Bright Theme)
   ========================================================================== */

:root {
    /* Color Palette - Vibrant, Ethereal, Neon Pastels */
    --bg-canvas: #fafaff;
    --bg-surface: #f5f6fa;
    --bg-surface-low: #eeeeee;
    
    --primary: #7c3aed;       /* Electric Violet */
    --primary-light: #b19cd9;
    --primary-rgb: 124, 58, 237;
    
    --secondary: #ff3366;     /* Neon Pink/Coral */
    --secondary-light: #ffb7ce;
    
    --tertiary: #00f2fe;      /* Neon Cyan */
    --tertiary-light: #98ffd9;
    
    --text-primary: #0a0e1a;
    --text-muted: #4e5566;
    --border-glass: rgba(255, 255, 255, 0.7);
    --border-glass-hover: rgba(124, 58, 237, 0.3);
    
    /* Layout & Spacing */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2.25rem;
    --radius-full: 9999px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   RESET & SYSTEM BASICS
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Custom Cursor Follower (Desktops only) */
@media (hover: hover) {
    .custom-cursor {
        position: fixed;
        width: 10px;
        height: 10px;
        background: var(--primary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: width 0.2s, height 0.2s, background-color 0.2s;
        mix-blend-mode: difference;
        display: block;
    }

    .custom-cursor-follower {
        position: fixed;
        width: 40px;
        height: 40px;
        border: 2px solid var(--primary-glow);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: transform 0.08s ease-out, border-color 0.3s;
        display: block;
    }
}

/* Hide cursor elements by default on mobile/tablets */
.custom-cursor, .custom-cursor-follower {
    display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f3f9;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-full);
    border: 3px solid #f1f3f9;
}

/* ==========================================================================
   DYNAMIC BACKGROUND - INFINITE AURORA MESH
   ========================================================================== */

.mesh-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(at 0% 0%, #e2e8ff 0px, transparent 50%),
                radial-gradient(at 100% 0%, #ffeef3 0px, transparent 50%),
                radial-gradient(at 100% 100%, #dffff4 0px, transparent 50%),
                radial-gradient(at 0% 100%, #f4e6ff 0px, transparent 50%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

#interactive-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Glass Spheres */
.glass-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: inset 0 20px 30px rgba(255, 255, 255, 0.4), 
                inset 10px 10px 20px rgba(255, 255, 255, 0.3), 
                15px 15px 30px rgba(0, 0, 0, 0.03);
    z-index: -1;
    pointer-events: none;
}

.bubble-1 { width: 300px; height: 300px; top: 15%; left: -5%; animation: floatUpDown 8s ease-in-out infinite; }
.bubble-2 { width: 180px; height: 180px; top: 60%; right: -2%; animation: floatUpDown 12s ease-in-out infinite 2s; }
.bubble-3 { width: 250px; height: 250px; bottom: 5%; left: 10%; animation: floatUpDown 10s ease-in-out infinite 4s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-25px) scale(1.05); }
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

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

@media (max-width: 992px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
}

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

/* ==========================================================================
   PRISMATIC GLASS CARDS
   ========================================================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px -10px rgba(124, 58, 237, 0.08);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

/* Animated Border Glow Overlay */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    border: 2px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--tertiary)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none; /* Crucial: allow clicks to pass through to children */
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px -10px rgba(124, 58, 237, 0.18);
}

.glass-card:hover::after {
    opacity: 1;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.15;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Rainbow Shifting Gradient Text */
.gradient-text {
    background: linear-gradient(to right, var(--primary) 0%, var(--secondary) 33%, var(--tertiary) 66%, var(--primary) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 6s linear infinite;
    display: inline-block;
}

@keyframes shineText {
    to { background-position: 300% center; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--tertiary) 100%);
    background-size: 200% auto;
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
    animation: shineText 5s linear infinite;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 51, 102, 0.55);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    border-color: transparent;
    transform: scale(1.05) translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.875rem;
}

.w-full {
    width: 100%;
}

/* Glowing Pulsing Button Animation */
.pulse-glow-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.6);
    animation: buttonPulse 2s infinite;
    pointer-events: none;
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(124, 58, 237, 0); }
    100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    height: 90px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.48rem;
    font-weight: 900;
    text-decoration: none;
    display: flex;
    gap: 4px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo-icon {
    color: var(--secondary);
    filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.55));
    margin-right: 6px;
    font-size: 1.6rem;
    align-self: center;
    transition: transform 0.4s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-10deg) scale(1.15);
}

.logo-summer {
    color: var(--primary);
}

.logo-camp {
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    padding: 8px 0;
    font-size: 1.05rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--primary);
}

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

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    padding-top: 200px;
    padding-bottom: 120px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-body);
    font-size: 3.85rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.hero-subtitle {
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.price-badge {
    display: flex;
    flex-direction: column;
}

.price-val {
    font-family: var(--font-body);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
    line-height: 1.1;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 2px solid #ffffff;
    margin-left: -12px;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Code Card Visual */
.hero-visual-wrapper {
    position: relative;
    perspective: 1200px;
}

.hero-main-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 30px 60px -15px rgba(124, 58, 237, 0.2);
    transform-style: preserve-3d;
}

.card-header-fake {
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-header-fake .dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
}

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

.tab-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 10px;
}

.card-code-content {
    padding: 24px;
    background: rgba(255, 255, 255, 0.3);
}

pre {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.5;
}

.code-kw { color: #d73a49; font-weight: 600; }
.code-cl { color: #6f42c1; font-weight: 600; }
.code-fn { color: #005cc5; }
.code-str { color: #032f62; }

/* Floating Elements */
.floating-accent {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    border: 2px solid rgba(255, 255, 255, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 10;
}

.roblox-block {
    top: -20px;
    left: -20px;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
    animation: float1 6s ease-in-out infinite;
}

.ai-node {
    bottom: 20px;
    right: -20px;
    color: var(--tertiary);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
    animation: float2 7s ease-in-out infinite;
}

.dev-tool {
    top: 50%;
    right: -40px;
    color: var(--lime);
    text-shadow: 0 0 10px rgba(152, 218, 39, 0.3);
    animation: float3 8s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-10deg); }
}

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

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
}

/* ==========================================================================
   PAIN & SOLUTION SECTION (Vibrant Contrast)
   ========================================================================== */

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

.section-title {
    margin-bottom: 20px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
}

.pain-section {
    padding: 120px 0;
    background: radial-gradient(circle at top left, #120e25, #080a13 70%);
    position: relative;
    overflow: hidden;
}

.pain-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.pain-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.pain-section .container {
    position: relative;
    z-index: 2;
}

.pain-section .section-title {
    color: #ffffff;
}

.pain-section .section-desc {
    color: rgba(255, 255, 255, 0.65);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pain-card {
    padding: 50px;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.pain-card h3 {
    color: #ffffff;
}

.pain-card:hover {
    transform: translateY(-5px);
}

.card-negative {
    background: rgba(255, 51, 102, 0.03);
    border: 1px solid rgba(255, 51, 102, 0.2);
    box-shadow: 0 15px 35px rgba(255, 51, 102, 0.05);
}

.card-negative:hover {
    box-shadow: 0 20px 45px rgba(255, 51, 102, 0.12);
    border-color: rgba(255, 51, 102, 0.35);
}

.card-positive {
    background: rgba(0, 242, 254, 0.03);
    border: 1px solid rgba(0, 242, 254, 0.2);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
}

.card-positive:hover {
    box-shadow: 0 20px 45px rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.35);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin-bottom: 24px;
}

.red-glow {
    background: rgba(255, 51, 102, 0.1);
    color: var(--secondary);
}

.green-glow {
    background: rgba(152, 255, 217, 0.2);
    color: var(--tertiary);
}

.pain-list {
    list-style: none;
    margin-top: 24px;
}

.pain-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.pain-list li i {
    font-size: 1.25rem;
}

.card-negative li i { color: var(--secondary); }
.card-positive li i { color: var(--tertiary); }

@media (max-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .pain-card {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   CAMP IN NUMBERS
   ========================================================================== */

.numbers-section {
    padding: 120px 0;
}

.bento-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.stat-card {
    padding: 40px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.stat-card:hover {
    border-color: var(--primary-light);
}

.stat-num {
    font-family: var(--font-body);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

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

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

.gradient-text-mint {
    background: linear-gradient(135deg, var(--tertiary) 0%, var(--tertiary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-sub {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.media-time-card {
    grid-column: span 3;
    padding: 50px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, rgba(255, 126, 103, 0.03) 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
}

.media-time-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.media-time-card h3 {
    margin-bottom: 16px;
}

@media (max-width: 992px) {
    .bento-numbers-grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        grid-column: auto;
    }
    .media-time-card {
        grid-column: auto;
    }
}

/* ==========================================================================
   PROGRAMS CATALOG (Bento Cards)
   ========================================================================== */

.programs-section {
    padding: 120px 0;
    background: radial-gradient(circle at center, #0f1322 0%, #070911 100%);
    position: relative;
    overflow: hidden;
}

.programs-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(0, 242, 254, 0.04) 50%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.programs-section .container {
    position: relative;
    z-index: 2;
}

.programs-section .section-title {
    color: #ffffff;
}

.programs-section .section-desc {
    color: rgba(255, 255, 255, 0.65);
}

/* Dark glass card overrides for programs catalog */
.programs-section .program-card.glass-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.programs-section .program-card.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.12), 0 0 30px rgba(0, 242, 254, 0.08);
}

.programs-section .program-name {
    color: #ffffff;
}

.programs-section .program-tagline {
    color: rgba(255, 255, 255, 0.65);
}

.programs-section .program-details h4 {
    color: rgba(255, 255, 255, 0.4);
}

.programs-section .subjects-tags span {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.75);
}

.programs-section .subjects-tags span:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.programs-section .program-features li {
    color: rgba(255, 255, 255, 0.8);
}

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

.program-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 800px;
    border-radius: var(--radius-xl);
}

.program-card::after {
    border-width: 3px;
}

.program-badges {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.badge-pill {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
}

.age-pill {
    background: rgba(0, 108, 82, 0.1);
    color: var(--tertiary);
}

.price-pill {
    background: rgba(26, 28, 28, 0.05);
    color: var(--text-primary);
}

.accent-violet {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
}

.accent-pink {
    background: rgba(255, 126, 103, 0.1);
    color: var(--secondary);
}

/* High visibility pills inside programs catalog dark section */
.programs-section .badge-pill {
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.programs-section .age-pill:not(.accent-violet):not(.accent-pink) {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.3);
}

.programs-section .price-pill:not(.accent-violet):not(.accent-pink) {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.programs-section .accent-violet {
    background: rgba(124, 58, 237, 0.18);
    color: #c084fc;
    border: 1px solid rgba(124, 58, 237, 0.45);
    text-shadow: 0 0 8px rgba(124, 58, 237, 0.3);
}

.programs-section .accent-pink {
    background: rgba(255, 51, 102, 0.15);
    color: #f472b6;
    border: 1px solid rgba(255, 51, 102, 0.45);
    text-shadow: 0 0 8px rgba(255, 51, 102, 0.3);
}

.program-name {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.program-tagline {
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.program-details h4 {
    font-size: 0.875rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.subjects-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.subjects-tags span {
    font-size: 0.75rem;
    border: 1px solid var(--primary-glow);
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.subjects-tags span:hover {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

.program-features {
    list-style: none;
    margin-bottom: 32px;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.program-features li i {
    color: var(--primary);
}

/* Card Interactive Modules */
.card-interactive-module {
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 24px;
    overflow: hidden; /* Prevent visual explosion overflow outside the widget */
}

.module-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* SmartCamp Interactive */
.lab-visual {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 95px;
    margin: 16px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(0, 0, 0, 0.08);
    position: relative;
}

.beaker-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    transition: transform 0.3s ease;
}

.beaker {
    position: relative;
    width: 38px;
    height: 52px;
    border: 2px solid #3b4252;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}

.beaker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 4px;
    border-radius: 2px;
    background: #3b4252;
    z-index: 5;
}

.beaker.mix-beaker {
    width: 48px;
    height: 62px;
    border-radius: 0 0 14px 14px;
}

.beaker.mix-beaker::before {
    width: 54px;
}

.substance {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.8s ease;
}

.soda-powder {
    height: 45%;
    background: #e2e8f0;
    border-top: 2px dashed #cbd5e0;
}

.vinegar-liquid {
    height: 60%;
    background: rgba(0, 242, 254, 0.35);
    border-top: 1.5px solid rgba(0, 242, 254, 0.7);
}

.reactor-liquid {
    height: 0%;
    background: rgba(255, 255, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.beaker-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bubbles inside Reactor Beaker */
.bubbles-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.micro-bubble {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: riseBubble 1.2s infinite ease-in;
}

@keyframes riseBubble {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
    30% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-50px) scale(1.2);
        opacity: 0;
    }
}

/* Chemical Pouring Animation effects */
@keyframes pourLeft {
    0% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(25px, -20px) rotate(45deg); }
    70% { transform: translate(25px, -20px) rotate(45deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes pourRight {
    0% { transform: translate(0, 0) rotate(0deg); }
    30% { transform: translate(-25px, -20px) rotate(-45deg); }
    70% { transform: translate(-25px, -20px) rotate(-45deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.pour-left-active {
    animation: pourLeft 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pour-right-active {
    animation: pourRight 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Fizzing Beaker shake effect */
@keyframes fizzShake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    10% { transform: translate(-1px, -1px) rotate(-1deg); }
    20% { transform: translate(1px, 1px) rotate(1deg); }
    30% { transform: translate(-2px, 1px) rotate(-1.5deg); }
    40% { transform: translate(2px, -1px) rotate(1.5deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(1px, -2px) rotate(1deg); }
    70% { transform: translate(-2px, -1px) rotate(-1.5deg); }
    80% { transform: translate(2px, 1px) rotate(1.5deg); }
    90% { transform: translate(-1px, -1px) rotate(-1deg); }
}

.fizzing {
    animation: fizzShake 0.15s infinite;
}

.experiment-bar {
    margin-bottom: 12px;
}

.experiment-bar .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
}

.progress-track {
    background: rgba(0, 0, 0, 0.08);
    height: 6px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--tertiary), var(--lime));
    transition: width 1s ease-in-out;
}

.btn-micro-action {
    background: none;
    border: 1px solid var(--primary-light);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 100%;
    text-align: center;
}

.btn-micro-action:hover {
    background: var(--primary-light);
    color: #ffffff;
}

/* Roblox Interactive - 3D Lua Editor Simulator */
.lua-editor {
    background: #0f141c;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.4);
    margin-bottom: 8px;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #161d27;
    padding: 6px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-header .file-name {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #8f9ba8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.editor-tabs {
    display: flex;
    gap: 4px;
}

.tab-btn {
    background: none;
    border: none;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: #6a7785;
    padding: 2px 6px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: #e2e8f0;
    background: rgba(255,255,255,0.05);
}

.tab-btn.active {
    color: #ffffff;
    background: rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(124, 58, 237, 0.4);
}

.lua-code-box {
    margin: 0;
    padding: 10px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #c9d1d9;
    overflow-x: auto;
    background: #0f141c;
    line-height: 1.4;
    text-align: left;
}

.roblox-viewport {
    position: relative;
    height: 115px;
    background: radial-gradient(circle at center, #1c2738 0%, #0c0f14 100%);
    border-radius: var(--radius-sm);
    overflow: hidden;
    perspective: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.grid-floor {
    position: absolute;
    bottom: -10px;
    width: 200%;
    height: 70px;
    background: linear-gradient(rgba(124, 58, 237, 0.08) 1px, transparent 1px),
                linear-gradient(90deg, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
    background-size: 16px 16px;
    transform: rotateX(65deg);
    opacity: 0.8;
}

.roblox-block-3d {
    position: relative;
    width: 32px;
    height: 32px;
    transform-style: preserve-3d;
    transform: rotateX(-15deg) rotateY(35deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.roblox-block-3d .face {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(124, 58, 237, 0.7);
    box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2);
    transition: background 0.3s, filter 0.3s, border-color 0.3s;
}

.roblox-block-3d .front  { transform: rotateY(0deg) translateZ(16px); }
.roblox-block-3d .back   { transform: rotateY(180deg) translateZ(16px); }
.roblox-block-3d .left   { transform: rotateY(-90deg) translateZ(16px); }
.roblox-block-3d .right  { transform: rotateY(90deg) translateZ(16px); }
.roblox-block-3d .top    { transform: rotateX(90deg) translateZ(16px); }
.roblox-block-3d .bottom { transform: rotateX(-90deg) translateZ(16px); }

.console-output {
    background: #080b11;
    color: #10b981;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    margin-top: 8px;
    border: 1px solid rgba(16, 185, 129, 0.15);
    min-height: 25px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    text-align: left;
}

/* Animations for Lua executions */
.roblox-flying {
    animation: robloxFly 2.2s ease-in-out infinite alternate;
}

@keyframes robloxFly {
    0% { transform: rotateX(-15deg) rotateY(35deg) translateY(0); }
    100% { transform: rotateX(-15deg) rotateY(215deg) translateY(-25px); }
}

.roblox-disco {
    animation: robloxDiscoAnim 0.6s infinite alternate;
}

@keyframes robloxDiscoAnim {
    0% { transform: rotateX(-15deg) rotateY(35deg) scale(0.9) translateY(0); }
    100% { transform: rotateX(-15deg) rotateY(180deg) scale(1.15) translateY(-8px); }
}

.micro-sparkle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: #ff3366;
    border-radius: 50%;
    pointer-events: none;
    animation: sparkleAnim 0.8s forwards ease-out;
}

@keyframes sparkleAnim {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

/* Python Interactive Console */
.console-chat {
    background: #000000;
    color: #00ff00;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 12px;
    border-radius: var(--radius-sm);
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chat-msg {
    margin-bottom: 8px;
    line-height: 1.4;
}

.chat-msg.system { color: #888888; }
.chat-msg.user { color: #ffffff; }
.chat-msg.bot { color: #00ff66; }

.chat-input-row {
    display: flex;
    border-top: 1px solid #333333;
    padding-top: 8px;
}

.chat-input-row input {
    background: none;
    border: none;
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    width: 100%;
    outline: none;
}

.chat-input-row button {
    background: none;
    border: none;
    color: #00ff00;
    cursor: pointer;
}

@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   RESULTS / PORTFOLIO
   ========================================================================== */

.results-section {
    padding: 120px 0;
}

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

.result-item {
    padding: 0;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-item.glass-card::after {
    display: none; /* Disable glow overlay for these specific split cards */
}

.result-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.1);
}

.result-image {
    height: 250px;
    background: #111625;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   INTERACTIVE PORTFOLIO & RESULTS WIDGETS
   ========================================================================== */

/* 1. Roblox Interactive Maze Game */
#roblox-maze-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 0.3s ease;
    cursor: default;
}

#roblox-card-container {
    cursor: pointer;
}

.maze-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 20, 28, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 1;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    color: #ffffff;
    pointer-events: none;
}

.result-item:hover .maze-overlay {
    background: rgba(15, 20, 28, 0.45);
}

#roblox-card-container.game-active .maze-overlay {
    opacity: 0;
    visibility: hidden;
}

.maze-overlay-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    filter: drop-shadow(0 0 15px rgba(255, 51, 102, 0.6));
    animation: pulseIcon 2s infinite ease-in-out;
}

.maze-overlay-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.maze-overlay-sub {
    font-size: 0.8rem;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.maze-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(124, 58, 237, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    z-index: 4;
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#roblox-card-container.game-active .maze-status {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1) rotate(5deg); }
}

/* 2. Interactive AI Chatbot Preview */
#chatbot-node-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.result-item:hover #chatbot-node-canvas {
    opacity: 0.65;
}

.chat-mockup {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    z-index: 3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

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

.chat-status-dot {
    width: 7px;
    height: 7px;
    background: #00f2fe;
    border-radius: 50%;
    box-shadow: 0 0 8px #00f2fe;
}

.chat-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-body);
}

.chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-behavior: smooth;
}

/* Custom scrollbar for Chat mockup */
.chat-messages::-webkit-scrollbar {
    width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}

.chat-bubble {
    font-size: 0.76rem;
    padding: 8px 12px;
    border-radius: 12px;
    max-width: 85%;
    line-height: 1.35;
    animation: messageReveal 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.bot-bubble {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.user-bubble {
    background: linear-gradient(135deg, var(--primary) 0%, #6366f1 100%);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 3px;
}

.typing-bubble {
    background: rgba(255, 255, 255, 0.04);
    align-self: flex-start;
    border-bottom-left-radius: 3px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 3px;
}

.typing-dot {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 100%, 80% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
}

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

.chat-quick-replies {
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.reply-btn {
    flex: 1;
    min-width: calc(50% - 3px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 0.72rem;
    padding: 6px 4px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.reply-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00f2fe;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.25);
}

.reply-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* 3. Certificate Simple Vector Graphic */
.cert-simple-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111625;
    overflow: hidden;
}

.cert-vector-icon {
    font-size: 5rem;
    color: #f59e0b;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.45));
}

.cert-glow-ring {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(124, 58, 237, 0.05) 50%, rgba(0,0,0,0) 70%);
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

#certificate-card-container:hover .cert-vector-icon {
    transform: scale(1.18) rotate(6deg);
    filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.75)) drop-shadow(0 0 45px rgba(124, 58, 237, 0.4));
}

#certificate-card-container:hover .cert-glow-ring {
    transform: scale(1.3);
    opacity: 0.8;
}

/* Spacing helper */
.mb-4 {
    margin-bottom: 1rem;
}




.result-info {
    padding: 32px 28px;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.project-tag {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: #7c3aed; /* Bold premium purple */
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.08em;
}

.result-info h3 {
    font-family: var(--font-body);
    font-size: 1.38rem;
    font-weight: 800;
    color: #111827; /* Dark near-black */
    margin-bottom: 12px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.result-info p {
    font-size: 0.95rem;
    color: #4b5563; /* Slate grey text */
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CYBERPSYCHOLOGY SECTION
   ========================================================================== */

.psychology-section {
    padding: 120px 0;
    background: radial-gradient(circle at bottom right, #140d24, #080911 80%);
    position: relative;
    overflow: hidden;
}

.psychology-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.psycho-banner {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    padding: 64px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.04) 0%, rgba(0, 242, 254, 0.04) 100%);
    border: 1px solid rgba(255, 51, 102, 0.2);
    border-radius: var(--radius-xl);
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 51, 102, 0.05);
}

.section-accent-badge {
    display: inline-block;
    background: rgba(255, 51, 102, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(255, 51, 102, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.psycho-banner h2 {
    font-family: var(--font-body);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.psycho-banner p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.psycho-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.psycho-feat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.85);
}

.psycho-feat-item i {
    font-size: 1.4rem;
    color: var(--secondary);
    filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.5));
}

.psycho-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 250px;
}

.glowing-orb-pink {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary) 0%, var(--tertiary) 100%);
    filter: blur(40px);
    opacity: 0.3;
}

.icon-heartbeat {
    font-size: 6rem;
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(255, 51, 102, 0.4);
    z-index: 1;
    animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@media (max-width: 992px) {
    .psycho-banner {
        grid-template-columns: 1fr;
        padding: 40px;
    }
}

/* ==========================================================================
   MENTORS
   ========================================================================== */

.mentors-section {
    padding: 120px 0;
    background-color: var(--bg-surface);
}

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

.mentor-card {
    padding: 40px;
    text-align: center;
    border-radius: var(--radius-xl);
}

.mentor-photo {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 24px auto;
    border: 4px solid var(--primary);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

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

.mentor-role {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 4px;
    margin-bottom: 16px;
}

.mentor-desc {
    font-size: 0.95rem;
    font-style: italic;
}

@media (max-width: 992px) {
    .mentors-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */

.faq-section {
    padding: 120px 0;
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    padding: 24px 32px;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.95);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.125rem;
}

.faq-question i {
    transition: var(--transition-smooth);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    margin-top: 0;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 16px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--primary);
    color: #ffffff;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

.footer-contact p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact p i {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 40px;
}

.footer-bottom p {
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (NATIVE + FALLBACK)
   ========================================================================== */

@supports ((animation-timeline: view()) and (animation-range: entry)) {
    .scroll-reveal {
        animation: revealOnScroll linear both;
        animation-timeline: view();
        animation-range: entry 10% cover 30%;
    }

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

/* fallback class for JS toggles */
.reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.scroll-reveal:not(.reveal-visible) {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   3D CARD HOVER & SHIFT EFFECTS (JS CONNECTED)
   ========================================================================== */

.tilt-element {
    transition: transform 0.1s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d;
}

.tilt-element-inner {
    transform: translateZ(30px);
}

/* ==========================================================================
   GLOBAL EXPERIMENT EFFECTS (SCIENCE LABS EXPLOSION)
   ========================================================================== */

.global-splash {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 1.8s cubic-bezier(0.1, 0.8, 0.2, 1), opacity 1.8s ease-out;
    background: radial-gradient(circle, 
        rgba(0, 242, 254, 0.65) 0%, 
        rgba(255, 51, 102, 0.5) 40%, 
        rgba(152, 218, 39, 0.4) 70%, 
        rgba(255, 255, 255, 0) 100%
    );
}

.global-splash.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.roblox-expansion-wave {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 1.5s cubic-bezier(0.1, 0.8, 0.2, 1), opacity 1.5s ease-out;
}

.roblox-expansion-wave.gravity-wave {
    background: radial-gradient(circle, 
        rgba(124, 58, 237, 0.6) 0%, 
        rgba(0, 242, 254, 0.4) 45%, 
        rgba(255, 255, 255, 0) 70%
    );
    mix-blend-mode: screen;
}

.roblox-expansion-wave.crash-wave {
    background: radial-gradient(circle, 
        rgba(239, 68, 68, 0.8) 0%, 
        rgba(16, 185, 129, 0.6) 40%, 
        rgba(0, 10, 26, 0.9) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

.roblox-expansion-wave.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.global-bubble {
    position: fixed;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 15px 25px rgba(255, 255, 255, 0.5), 
                inset 5px 5px 15px rgba(255, 255, 255, 0.3), 
                0 10px 25px rgba(0, 242, 254, 0.15);
    pointer-events: none;
    z-index: 9998;
    animation: floatUpGlobal 4s cubic-bezier(0.3, 0.6, 0.4, 1) forwards;
}

@keyframes floatUpGlobal {
    0% {
        transform: translateY(0) translateX(0) scale(0.5) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-120vh) translateX(var(--drift)) scale(1.3) rotate(360deg);
        opacity: 0;
    }
}

/* Hyper-Drive Background Gradient animation during active experiment */
.mesh-container.active-experiment {
    animation: hyperGradientShift 1s linear infinite !important;
}

.mesh-container.active-experiment .mesh-orb {
    opacity: 0.35;
    filter: blur(80px);
}

@keyframes hyperGradientShift {
    0% { background-position: 0% 50%; filter: hue-rotate(0deg); }
    50% { background-position: 100% 50%; filter: hue-rotate(180deg); }
    100% { background-position: 0% 50%; filter: hue-rotate(360deg); }
}

/* ==========================================================================
   CYBER OVERDRIVE GLITCH EFFECT (ACTIVE DURING LAB EXPLOSION)
   ========================================================================== */

.cyber-overdrive .hero-title,
.cyber-overdrive .section-title {
    animation: textGlitch 0.45s infinite;
    position: relative;
}

@keyframes textGlitch {
    0% {
        text-shadow: 2px -2px 0px #ff3366, -2px 2px 0px #00f2fe;
        transform: translate(0);
    }
    20% {
        text-shadow: -3px 2px 0px #ff3366, 3px -2px 0px #00f2fe;
        transform: translate(-1px, 2px);
    }
    40% {
        text-shadow: 4px 0px 0px #ff3366, -4px 0px 0px #00f2fe;
        transform: translate(2px, -1px);
        clip-path: inset(15% 0 35% 0);
    }
    60% {
        text-shadow: -2px -3px 0px #ff3366, 2px 3px 0px #00f2fe;
        transform: translate(-2px, 1px);
        clip-path: inset(45% 0 10% 0);
    }
    80% {
        text-shadow: 3px 3px 0px #ff3366, -3px -3px 0px #00f2fe;
        transform: translate(1px, -2px);
        clip-path: inset(75% 0 15% 0);
    }
    100% {
        text-shadow: 1px -1px 0px #ff3366, -1px 1px 0px #00f2fe;
        transform: translate(0);
        clip-path: none;
    }
}

.cyber-overdrive .logo {
    animation: logoGlitch 0.25s infinite;
}

@keyframes logoGlitch {
    0% { transform: skew(0deg); filter: hue-rotate(0deg); }
    30% { transform: skew(6deg) scale(1.05); filter: hue-rotate(60deg); }
    60% { transform: skew(-6deg) scale(0.95); filter: hue-rotate(180deg); }
    100% { transform: skew(0deg); filter: hue-rotate(360deg); }
}

.cyber-overdrive .custom-cursor-follower {
    border-color: #ff3366 !important;
    background-color: rgba(255, 51, 102, 0.15) !important;
    animation: cursorGlitch 0.15s infinite;
}

@keyframes cursorGlitch {
    0% { transform: scale(1.3) translate(-50%, -50%) skew(0deg); }
    50% { transform: scale(1.7) translate(-50%, -50%) skew(12deg); filter: hue-rotate(90deg); }
    100% { transform: scale(1.2) translate(-50%, -50%) skew(-12deg); }
}

.cyber-overdrive::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), 
                linear-gradient(90deg, rgba(255, 51, 102, 0.04), rgba(0, 242, 254, 0.03), rgba(152, 218, 39, 0.04));
    background-size: 100% 4px, 6px 100%;
    z-index: 99999;
    pointer-events: none;
}

/* ==========================================================================
   ROBLOX SIMULATOR FULL-SCREEN INTERACTION EFFECTS
   ========================================================================== */

/* 1. Full Screen Gravity Drift */
.roblox-gravity-active .floating-accent {
    animation: gravityFloatAccent 4s ease-in-out infinite alternate !important;
}

.roblox-gravity-active .glass-card:not(:hover) {
    animation: gravityFloatCard 3.5s ease-in-out infinite alternate;
}

@keyframes gravityFloatAccent {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-70px) rotate(180deg) scale(1.15); filter: drop-shadow(0 20px 15px rgba(124, 58, 237, 0.2)); }
}

@keyframes gravityFloatCard {
    0% { transform: translateY(0); }
    100% { transform: translateY(-16px); box-shadow: 0 35px 50px rgba(0, 0, 0, 0.1); }
}

/* 2. Full Screen Studio Crash & BSOD */
.roblox-crash-active {
    animation: robloxScreenShake 0.1s infinite;
}

@keyframes robloxScreenShake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(0px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(2px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(2px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

.roblox-crash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000a1a;
    color: #e2e8f0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    opacity: 1;
    animation: bsodFadeIn 0.4s steps(4) forwards;
    transition: opacity 0.8s ease-out;
}

@keyframes bsodFadeIn {
    0% { opacity: 0; filter: brightness(3) contrast(1.5); }
    15% { opacity: 0.8; filter: brightness(1) contrast(1); }
    30% { opacity: 0.2; }
    45% { opacity: 1; }
    100% { opacity: 1; }
}

.bsod-content {
    max-width: 650px;
    padding: 30px;
    text-align: left;
}

.bsod-smiley {
    font-size: 5rem;
    color: #38bdf8;
    margin-bottom: 20px;
}

.bsod-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.bsod-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.bsod-details {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 30px;
    line-height: 1.5;
}

.bsod-reboot {
    font-size: 1rem;
    color: #34d399;
    font-weight: 600;
}

/* Accessibility: Keyboard Navigation Outlines */
a:focus-visible,
button:focus-visible,
.faq-item:focus-visible,
input:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}
