/* ==================== IMPORTS & SETUP ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
    /* Colors */
    --deep-blue: #0A0E27;
    --dark-blue: #0F1729;
    --blue-900: #1A2332;
    --blue-800: #1E293B;
    --blue-700: #334155;
    --gold-500: #F59E0B;
    --gold-400: #FBBF24;
    --gold-300: #FCD34D;
    --cyan-400: #22D3EE;
    --cyan-300: #67E8F9;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 50%, #FCD34D 100%);
    --gradient-blue: linear-gradient(180deg, #0A0E27 0%, #1A2332 100%);
    --gradient-premium: linear-gradient(135deg, #22D3EE 0%, #3B82F6 50%, #8B5CF6 100%);

    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --transition-spring: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--deep-blue);
    color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Ensure no white space at top */
#app {
    min-height: 100vh;
    background: var(--deep-blue);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ==================== GRADIENT MESH BACKGROUND ==================== */
.gradient-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.3), transparent);
    animation-delay: 0s;
}

.blob-2 {
    width: 600px;
    height: 600px;
    top: 30%;
    right: -200px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25), transparent);
    animation-delay: 5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    bottom: -100px;
    left: 20%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent);
    animation-delay: 10s;
}

.blob-4 {
    width: 550px;
    height: 550px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2), transparent);
    animation-delay: 15s;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 50% 50% 50%;
    }
    25% {
        transform: translate(50px, -50px) scale(1.1) rotate(90deg);
        border-radius: 40% 60% 50% 50%;
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9) rotate(180deg);
        border-radius: 60% 40% 60% 40%;
    }
    75% {
        transform: translate(40px, -20px) scale(1.05) rotate(270deg);
        border-radius: 50% 50% 40% 60%;
    }
}

/* ==================== GRID OVERLAY ==================== */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    pointer-events: none;
}

/* ==================== HERO SECTION ==================== */
.hero-immersive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-blue);
    perspective: 1000px;
    margin-top: 0;
    padding-top: 0;
}

/* Animated Background Layers */
.hero-bg-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.layer-1 {
    background: radial-gradient(circle at 20% 50%, rgba(34, 211, 238, 0.15) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.layer-2 {
    background: radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite reverse;
}

.layer-3 {
    background: radial-gradient(circle at 50% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Enhanced Light Beams */
.light-beams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.beam {
    position: absolute;
    top: -50%;
    left: 50%;
    width: 1.5px;
    height: 120%;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(245, 158, 11, 0.5) 40%,
        rgba(245, 158, 11, 0.8) 50%,
        rgba(245, 158, 11, 0.5) 60%,
        transparent 100%);
    transform-origin: top center;
    animation: rotateBeam 40s linear infinite;
    opacity: 0.6;
}

.beam-1 { animation-delay: 0s; filter: blur(1px); }
.beam-2 { animation-delay: 6.67s; filter: blur(1.5px); }
.beam-3 { animation-delay: 13.33s; filter: blur(2px); }
.beam-4 { animation-delay: 20s; filter: blur(1px); }
.beam-5 { animation-delay: 26.67s; filter: blur(1.5px); }
.beam-6 { animation-delay: 33.33s; filter: blur(2px); }

@keyframes rotateBeam {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Enhanced Floating Particles */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: var(--size, 4px);
    height: var(--size, 4px);
    background: var(--gold-400);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: particleFloat 8s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow:
        0 0 10px rgba(245, 158, 11, 0.8),
        0 0 20px rgba(245, 158, 11, 0.4);
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-150px) scale(1.2);
        opacity: 0;
    }
}

/* Hero Container */
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
    padding-top: 100px;
    padding-bottom: 60px;
}

.hero-content-wrapper {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Hero Badge */
.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    margin-bottom: 32px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(245, 158, 11, 0);
    }
}

.badge-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
}

.badge-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Hero Heading with Word Reveal */
.hero-heading {
    margin-bottom: 24px;
}

.heading-line-1,
.heading-line-2 {
    display: block;
}

.heading-line-1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    letter-spacing: -0.02em;
}

.heading-line-2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.word-reveal {
    display: inline-block;
    animation: wordReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
    animation-delay: calc(var(--delay, 0s) + 0.2s);
}

@keyframes wordReveal {
    from {
        opacity: 0;
        transform: translateY(30px) rotateX(-90deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

.gradient-text-premium {
    background: linear-gradient(135deg,
        #22D3EE 0%,
        #F59E0B 50%,
        #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Hero Tagline & Mission */
.hero-tagline {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    line-height: 1.5;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-mission {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin-bottom: 40px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

/* Enhanced CTA Buttons with Magnetic Effect */
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

.btn-premium {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    will-change: transform;
}

.btn-premium:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.3);
}

.btn-premium:active {
    transform: scale(0.98);
}

.btn-live {
    background: var(--gradient-gold);
    color: var(--deep-blue);
    box-shadow:
        0 10px 40px rgba(245, 158, 11, 0.3),
        0 0 0 0 rgba(245, 158, 11, 0.5);
}

.btn-live:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(245, 158, 11, 0.4),
        0 0 0 8px rgba(245, 158, 11, 0.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(245, 158, 11, 0.6);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 40px rgba(245, 158, 11, 0.2);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #DC2626;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.btn-arrow {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-premium:hover .btn-arrow {
    transform: translateX(6px);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-live:hover .btn-shine {
    left: 150%;
}

.btn-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, var(--gold-400), transparent);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: borderGlowRotate 3s linear infinite;
}

@keyframes borderGlowRotate {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.btn-outline:hover .btn-border-glow {
    opacity: 1;
}

/* Button Particles Effect */
.btn-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.btn-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-300);
    border-radius: 50%;
    opacity: 0;
}

.btn-live:hover .btn-particle {
    animation: particleExplode 1s ease-out;
}

.btn-particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.btn-particle:nth-child(2) {
    top: 50%;
    left: 70%;
    animation-delay: 0.15s;
}

.btn-particle:nth-child(3) {
    top: 80%;
    left: 50%;
    animation-delay: 0.3s;
}

@keyframes particleExplode {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx, 30px), var(--ty, -30px)) scale(0);
    }
}

/* Enhanced Hero Visual - 3D Orb */
.hero-visual-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
}

.orb-system {
    position: relative;
    width: 500px;
    height: 500px;
    transform-style: preserve-3d;
}

.orb-main {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
}

.orb-glow-outer {
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
    filter: blur(20px);
}

.orb-glow-inner {
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    border-radius: 50%;
    box-shadow:
        0 0 60px rgba(245, 158, 11, 0.6),
        0 0 100px rgba(245, 158, 11, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.2);
    animation: rotate 20s linear infinite;
}

.orb-core-3d {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: rotate3D 30s linear infinite;
}

@keyframes rotate3D {
    from { transform: rotateY(0deg) rotateX(0deg); }
    to { transform: rotateY(360deg) rotateX(360deg); }
}

.orb-face {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
}

.orb-face.front {
    transform: translateZ(20px);
}

.orb-face.back {
    transform: translateZ(-20px) rotateY(180deg);
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Orbit Rings with Trails */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.ring-1 {
    width: 260px;
    height: 260px;
    animation: orbitRotate 15s linear infinite;
}

.ring-2 {
    width: 350px;
    height: 350px;
    animation: orbitRotate 25s linear infinite reverse;
}

.ring-3 {
    width: 440px;
    height: 440px;
    animation: orbitRotate 35s linear infinite;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--gradient-gold);
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(245, 158, 11, 0.9),
        0 0 40px rgba(245, 158, 11, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.dot-trail {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent);
    filter: blur(8px);
}

.dot-1 { top: 0; left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
.dot-2 { top: 50%; right: 0; transform: translate(50%, -50%); animation-delay: 0.5s; }
.dot-3 { bottom: 0; left: 50%; transform: translate(-50%, 50%); animation-delay: 1s; }

/* Constellation Lines */
.constellation {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
}

.constellation-line {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 3s ease-in-out infinite;
}

.line-1 { animation-delay: 0s; }
.line-2 { animation-delay: 1s; }
.line-3 { animation-delay: 2s; }

@keyframes drawLine {
    0%, 100% { stroke-dashoffset: 200; opacity: 0.2; }
    50% { stroke-dashoffset: 0; opacity: 0.6; }
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: bounce 2.5s ease-in-out infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(15px); }
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--gold-400), transparent);
    position: relative;
}

.scroll-wheel {
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 26px; opacity: 0.5; }
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
}

.scroll-indicator:hover .scroll-text {
    color: var(--gold-400);
}

/* ==================== PROGRAMS SECTION ==================== */
.programs-section {
    padding: var(--section-padding) 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.02) 0%, transparent 60%);
    animation: sectionBgPulse 15s ease-in-out infinite;
}

@keyframes sectionBgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.section-header-premium {
    text-align: center;
    margin-bottom: 80px;
}

.section-header-premium.centered {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-500);
    margin-bottom: 16px;
    position: relative;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--deep-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-500);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Enhanced Programs Grid */
.programs-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* 3D Tilt Card Effect */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tilt-card:hover {
    transform: perspective(1000px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
}

.program-card-premium {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
}

.program-card-premium:focus-within {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.program-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-card-premium:hover::before {
    transform: scaleX(1);
}

.program-card-premium:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.program-card-premium.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--deep-blue) 0%, var(--blue-800) 100%);
    color: var(--white);
}

/* 3D Shine Effect */
.card-3d-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 45%,
        transparent 55%,
        transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.program-card-premium:hover .card-3d-shine {
    transform: translateX(100%);
}

.card-bg-gradient {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.program-card-premium:hover .card-bg-gradient {
    opacity: 1;
}

.card-glass-effect {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.program-card-premium:hover .card-glass-effect {
    opacity: 1;
}

.card-header-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.program-icon-wrapper {
    position: relative;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-glow {
    position: absolute;
    inset: -8px;
    background: var(--gradient-gold);
    border-radius: 20px;
    opacity: 0.2;
    filter: blur(12px);
    transition: opacity 0.4s ease;
}

.program-card-premium:hover .icon-glow {
    opacity: 0.5;
    animation: iconGlowPulse 2s ease-in-out infinite;
}

@keyframes iconGlowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.icon-ring {
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(245, 158, 11, 0);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.program-card-premium:hover .icon-ring {
    border-color: rgba(245, 158, 11, 0.4);
    transform: rotate(180deg);
}

.program-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

.program-badge {
    padding: 8px 16px;
    background: var(--gradient-gold);
    color: var(--deep-blue);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.card-body-premium {
    margin-bottom: 28px;
}

.program-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured .program-title {
    color: var(--white);
}

.program-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.featured .program-description {
    color: rgba(255, 255, 255, 0.85);
}

.program-meta-group {
    display: flex;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-400);
}

.featured .meta-item {
    color: rgba(255, 255, 255, 0.7);
}

.meta-item svg {
    color: var(--gold-500);
}

.card-link-premium {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--deep-blue);
    text-decoration: none;
    transition: gap 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                color 0.3s ease;
    position: relative;
}

.card-link-premium::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-link-premium:hover::after {
    width: calc(100% - 28px);
}

.featured .card-link-premium {
    color: var(--gold-400);
}

.card-link-premium:hover {
    gap: 14px;
    color: var(--gold-500);
}

.card-link-premium:focus {
    outline: none;
    color: var(--gold-500);
}

.card-link-premium svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-link-premium:hover svg {
    transform: translateX(4px);
}

.card-hover-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.program-card-premium:hover .card-hover-glow {
    opacity: 1;
    animation: glowRotate 8s linear infinite;
}

@keyframes glowRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Live Streaming Card */
.live-streaming {
    border: 2px solid rgba(220, 38, 38, 0.3);
}

.live-icon-wrapper .program-icon {
    color: #DC2626;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.live-glow {
    background: radial-gradient(circle, rgba(220, 38, 38, 0.5) 0%, transparent 70%);
}

.live-ring {
    border-color: rgba(220, 38, 38, 0.4) !important;
}

/* ==================== MISSION SECTION ==================== */
.mission-section {
    padding: var(--section-padding) 0;
    background: var(--deep-blue);
    position: relative;
    overflow: hidden;
}

.mission-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.mission-parallax-layer {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.05), transparent 60%);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mission-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 32px;
}

.mission-text-large {
    font-size: 1.5rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    font-weight: 500;
}

.mission-verse {
    position: relative;
    padding: 32px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
    border-left: 4px solid var(--gold-400);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.mission-verse:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(8px);
}

.verse-icon {
    margin-bottom: 16px;
    color: var(--gold-400);
    opacity: 0.5;
}

.verse-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 16px;
}

.verse-ref {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold-400);
    font-style: normal;
}

/* Cross Emblem */
.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cross-emblem-modern {
    position: relative;
    width: 300px;
    height: 300px;
    animation: floatSlow 6s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.emblem-glow-ring {
    position: absolute;
    inset: 0;
    border: 3px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

.emblem-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cross-v,
.cross-h {
    position: absolute;
    background: var(--gradient-gold);
    box-shadow:
        0 0 40px rgba(245, 158, 11, 0.7),
        0 0 80px rgba(245, 158, 11, 0.4);
}

.cross-v {
    width: 24px;
    height: 160px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
}

.cross-h {
    width: 120px;
    height: 24px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
}

.emblem-particles {
    position: absolute;
    inset: 0;
}

.e-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold-400);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: rotate(var(--angle)) translateX(130px) translateY(-50%);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.8);
    animation: particleOrbit 10s linear infinite;
}

@keyframes particleOrbit {
    from { transform: rotate(var(--angle)) translateX(130px) rotate(0deg); }
    to { transform: rotate(var(--angle)) translateX(130px) rotate(360deg); }
}

/* ==================== VALUES SECTION ==================== */
.values-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.values-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.value-card-modern {
    position: relative;
    background: var(--white);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.value-card-modern:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.value-icon-modern {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.icon-bg-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    border-radius: 24px;
    opacity: 0.15;
    transition: opacity 0.4s ease;
}

.value-card-modern:hover .icon-bg-glow {
    opacity: 0.3;
    animation: iconGlowPulse 2s ease-in-out infinite;
}

.value-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 12px;
}

.value-card-modern p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-500);
}

.card-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
}

.value-card-modern:hover .card-shimmer {
    animation: shimmer 1.5s ease-in-out;
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--deep-blue);
    position: relative;
    overflow: hidden;
}

.cta-bg-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.15) 0%, transparent 60%);
}

.cta-mesh-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
}

.cta-card-premium {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 60px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.cta-glow-effect {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    opacity: 0.6;
    animation: glowPulse 4s ease-in-out infinite;
}

.cta-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 2;
}

.subscribe-form-premium {
    display: flex;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 2;
}

.form-group-premium {
    position: relative;
    flex: 1;
}

.input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    z-index: 3;
}

.input-premium {
    width: 100%;
    padding: 20px 20px 20px 52px;
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-smooth);
    will-change: border-color, background, box-shadow;
}

.input-premium::placeholder {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease;
}

.input-premium:hover::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-premium:focus {
    outline: none;
    border-color: var(--gold-400);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1),
                0 8px 24px rgba(245, 158, 11, 0.15);
}

.input-premium:focus ~ .input-icon {
    color: var(--gold-400);
}

.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.4s ease;
}

.input-premium:focus + .input-focus-line {
    width: 100%;
}

.btn-submit-premium {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 36px;
    background: var(--gradient-gold);
    color: var(--deep-blue);
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    overflow: hidden;
}

.btn-submit-premium:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 20px 60px rgba(245, 158, 11, 0.4);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent);
}

.btn-submit-premium:hover .btn-shimmer {
    animation: shimmer 1s ease-in-out;
}

.social-connect-premium {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

.social-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.social-icons-premium {
    display: flex;
    gap: 12px;
}

.social-btn {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.social-btn:hover {
    background: var(--gradient-gold);
    color: var(--deep-blue);
    transform: translateY(-6px) scale(1.1);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

.social-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.social-btn:hover .social-ripple {
    transform: scale(2);
    opacity: 1;
}

/* ==================== SCROLL REVEAL ANIMATIONS ==================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--delay, 0s);
    animation: autoRevealFallback 0.8s ease-out 0.5s forwards;
}

/* Fallback auto-reveal animation in case JS fails */
@keyframes autoRevealFallback {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
    animation: none;
}

/* Reveal Variations */
.reveal-fade {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    animation: autoRevealFallback 0.8s ease-out 0.5s forwards;
}

.reveal-fade.revealed {
    opacity: 1;
    animation: none;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: autoRevealFallback 0.8s ease-out 0.5s forwards;
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
    animation: none;
}

.reveal-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: autoRevealFallback 0.8s ease-out 0.5s forwards;
}

.reveal-slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
    animation: none;
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: autoRevealFallback 0.8s ease-out 0.5s forwards;
}

.reveal-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
    animation: none;
}

/* ==================== BUTTON RIPPLE EFFECT ==================== */
.btn-ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* ==================== CURSOR TRAIL (OPTIONAL) ==================== */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-gold);
    opacity: 0.4;
    pointer-events: none;
    z-index: 9999;
    filter: blur(8px);
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual-wrapper {
        order: -1;
    }

    .orb-system {
        width: 400px;
        height: 400px;
    }

    .mission-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .program-card-premium.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .subscribe-form-premium {
        flex-direction: column;
    }

    .social-connect-premium {
        flex-direction: column;
        gap: 16px;
    }

    .cta-card-premium {
        padding: 60px 32px;
    }

    .orb-system {
        width: 300px;
        height: 300px;
    }

    .programs-grid-premium {
        grid-template-columns: 1fr;
    }

    .values-grid-premium {
        grid-template-columns: 1fr;
    }

    .mesh-blob {
        width: 300px;
        height: 300px;
    }
}