/* ============================================================================
   L4DX Learning Management System - Dark Modern Theme - RESPONSIVE
   ============================================================================ */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme Colors - Based on Image */
    --primary-bg: #0A1628;
    --secondary-bg: #0F1E30;
    --tertiary-bg: #1A2942;
    
    /* Accent Colors */
    --cyan-500: #00D4FF;
    --cyan-400: #22D3EE;
    --cyan-600: #0891B2;
    --purple-500: #8B5CF6;
    --purple-400: #A78BFA;
    --purple-600: #7C3AED;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00D4FF, #0891B2);
    --gradient-secondary: linear-gradient(135deg, #8B5CF6, #A78BFA);
    --gradient-mixed: linear-gradient(90deg, #00D4FF, #8B5CF6);
    --gradient-hero: linear-gradient(135deg, #0A1628, #1A2942);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --shadow-glow-cyan: 0 0 30px rgba(0, 212, 255, 0.3);
    --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.3);
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 6rem 0;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive font sizing */
@media (max-width: 768px) {
    :root {
        --section-padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 2rem 0;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--primary-bg);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ============================================================================
   Enhanced Animations
   ============================================================================ */

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

@keyframes blob-1 {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    33% { 
        transform: translate(30px, -50px) scale(1.1) rotate(120deg);
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    66% { 
        transform: translate(-20px, 20px) scale(0.9) rotate(240deg);
        border-radius: 70% 30% 40% 60% / 40% 70% 60% 50%;
    }
}

@keyframes blob-2 {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    33% { 
        transform: translate(-30px, 30px) scale(0.9) rotate(120deg);
        border-radius: 60% 40% 30% 70% / 50% 70% 30% 60%;
    }
    66% { 
        transform: translate(20px, -20px) scale(1.1) rotate(240deg);
        border-radius: 30% 70% 60% 40% / 60% 40% 50% 70%;
    }
}

@keyframes blob-3 {
    0%, 100% { 
        transform: translate(0, 0) scale(1) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    50% { 
        transform: translate(50px, 50px) scale(1.2) rotate(180deg);
        border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
    }
}

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

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.3),
                    0 0 40px rgba(0, 212, 255, 0.2),
                    0 0 60px rgba(0, 212, 255, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.5),
                    0 0 60px rgba(0, 212, 255, 0.3),
                    0 0 90px rgba(0, 212, 255, 0.2);
    }
}

@keyframes pulse-glow-purple {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3),
                    0 0 40px rgba(139, 92, 246, 0.2),
                    0 0 60px rgba(139, 92, 246, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.5),
                    0 0 60px rgba(139, 92, 246, 0.3),
                    0 0 90px rgba(139, 92, 246, 0.2);
    }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ============================================================================
   Header
   ============================================================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

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

@media (max-width: 768px) {
    .header-content {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .header-content {
        height: 60px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.logo:hover {
    transform: scale(1.05);
}

.logo:active {
    transform: scale(0.95);
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-cyan);
    animation: pulse-glow 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-icon .logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .logo-icon .logo-image {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .logo-icon .logo-image {
        border-radius: 8px;
    }
}


@media (max-width: 768px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 36px;
        height: 36px;
    }
}


.logo-text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .logo-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.25rem;
    }
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .logo-text p {
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .logo-text p {
        display: none;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--cyan-500);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--cyan-500);
    background: rgba(0, 212, 255, 0.15);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px var(--cyan-500);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================================================
   Login Button - Stunning Dark Theme with Tooltip
   ============================================================================ */

.login-btn-wrapper {
    margin-left: 0.5rem;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow-cyan);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Shimmer effect on login button */
.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-base);
}

.login-btn:hover svg {
    transform: translateX(3px);
}

.login-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6),
                0 0 40px rgba(139, 92, 246, 0.4),
                0 10px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--cyan-400);
}

/* Tooltip - Appears on hover */
.login-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4),
                var(--shadow-glow-cyan);
    z-index: 1000;
    pointer-events: none;
}

/* Tooltip arrow */
.login-btn[data-tooltip]::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(10, 22, 40, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    pointer-events: none;
}

.login-btn:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    bottom: -50px;
}

.login-btn:hover[data-tooltip]::before {
    opacity: 1;
    visibility: visible;
    bottom: -13px;
}

@media (max-width: 768px) {
    .login-btn-wrapper {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .login-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }
    
    /* Tooltip positioning for mobile */
    .login-btn::after {
        bottom: -55px;
        font-size: 0.75rem;
        max-width: 200px;
        white-space: normal;
        text-align: center;
    }
    
    .login-btn:hover::after {
        bottom: -60px;
    }
}

@media (max-width: 480px) {
    .login-btn {
        font-size: 0.9rem;
        padding: 0.65rem 1.25rem;
    }
    
    .login-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
    padding-top: 80px;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 70px 0 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 3rem 0;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

/* Animated Background Grid */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatSlow 20s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-bg::before {
        background-size: 30px 30px;
    }
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

@media (max-width: 768px) {
    .hero-blob {
        filter: blur(60px);
        opacity: 0.3;
    }
}

.hero-blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cyan-500), transparent);
    top: -10%;
    right: -10%;
    animation: blob-1 25s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-blob-1 {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-blob-1 {
        width: 300px;
        height: 300px;
    }
}

.hero-blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--purple-500), transparent);
    bottom: -10%;
    left: -10%;
    animation: blob-2 20s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-blob-2 {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-blob-2 {
        width: 250px;
        height: 250px;
    }
}

.hero-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--cyan-400), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blob-3 30s ease-in-out infinite;
}

@media (max-width: 768px) {
    .hero-blob-3 {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-blob-3 {
        width: 200px;
        height: 200px;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 0 8rem;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem 0 3rem;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 9999px;
    box-shadow: var(--shadow-glow-cyan);
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }
}

.hero-badge svg {
    width: 18px;
    height: 18px;
    color: var(--cyan-500);
    filter: drop-shadow(0 0 5px var(--cyan-500));
}

@media (max-width: 480px) {
    .hero-badge svg {
        width: 16px;
        height: 16px;
    }
}

.hero-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .hero-badge span {
        font-size: 0.75rem;
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.75rem, 10vw, 2rem);
    }
}

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.5;
}

.gradient-text-cyan {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.125rem);
        margin: 0 auto 2rem;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        max-width: 100%;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        margin-bottom: 3rem;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.875rem 1.5rem;
        width: 100%;
        justify-content: center;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

@media (max-width: 480px) {
    .btn svg {
        width: 18px;
        height: 18px;
    }
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow-cyan);
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5),
                0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .btn-primary:hover {
        transform: translateY(-2px) scale(1.02);
    }
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .btn-secondary:hover {
        transform: translateY(-2px);
    }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .stat-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .stat-card {
        padding: 1.25rem;
    }
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-mixed);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                var(--shadow-glow-cyan);
}

@media (max-width: 768px) {
    .stat-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
}

.stat-value {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--cyan-500);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.scroll-wheel {
    width: 6px;
    height: 6px;
    background: var(--cyan-500);
    border-radius: 50%;
    animation: scrollWheel 2s ease infinite;
    box-shadow: 0 0 10px var(--cyan-500);
}

/* ============================================================================
   Programs Section - RESPONSIVE WITH HORIZONTAL SCROLL
   ============================================================================ */

.programs-section {
    padding: var(--section-padding);
    background: var(--primary-bg);
    min-height: 100vh;
    position: relative;
}

@media (max-width: 768px) {
    .programs-section {
        min-height: auto;
    }
}

.programs-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .programs-section::before {
        background-size: 30px 30px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

@media (max-width: 480px) {
    .section-badge {
        padding: 0.4rem 0.875rem;
        margin-bottom: 1rem;
    }
}

.section-badge svg {
    width: 20px;
    height: 20px;
    color: var(--purple-500);
}

@media (max-width: 480px) {
    .section-badge svg {
        width: 18px;
        height: 18px;
    }
}

.section-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--purple-400);
}

@media (max-width: 480px) {
    .section-badge span {
        font-size: 0.75rem;
    }
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        font-size: 1rem;
    }
}

.loading {
    text-align: center;
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .loading {
        padding: 3rem 0;
    }
}

.spinner {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--cyan-500);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

@media (max-width: 768px) {
    .spinner {
        width: 48px;
        height: 48px;
        border: 3px solid rgba(255, 255, 255, 0.1);
        border-top-color: var(--cyan-500);
    }
}

.loading p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .loading p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .loading p {
        font-size: 1rem;
    }
}

/* ============================================================================
   RESPONSIVE PROGRAMS GRID WITH HORIZONTAL SCROLL (MORE THAN 5 ITEMS)
   ============================================================================ */

.programs-grid-wrapper {
    position: relative;
    z-index: 10;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 10;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile: Horizontal scroll if more than 5 items */
@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: none;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--cyan-500) rgba(255, 255, 255, 0.1);
        gap: 1.5rem;
        padding-bottom: 1rem;
    }
    
    /* Hide scrollbar for clean look but keep functionality */
    .programs-grid::-webkit-scrollbar {
        height: 8px;
    }
    
    .programs-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }
    
    .programs-grid::-webkit-scrollbar-thumb {
        background: var(--gradient-primary);
        border-radius: 10px;
        box-shadow: var(--shadow-glow-cyan);
    }
    
    .programs-grid::-webkit-scrollbar-thumb:hover {
        background: var(--cyan-400);
    }
    
    /* Each card takes minimum 280px width */
    .programs-grid .program-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .programs-grid {
        gap: 1rem;
    }
    
    .programs-grid .program-card {
        flex: 0 0 260px;
    }
}

.program-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .program-card {
        padding: 1.75rem;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .program-card {
        padding: 1.5rem;
    }
}

.program-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.05), 
        rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.program-card:hover::before {
    opacity: 1;
}

.program-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
                var(--shadow-glow-cyan);
}

@media (max-width: 768px) {
    .program-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

.program-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-mixed);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.program-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow-cyan);
    transition: all var(--transition-base);
    position: relative;
}

@media (max-width: 768px) {
    .program-icon {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .program-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
}

.program-card:hover .program-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.program-icon svg {
    width: 32px;
    height: 32px;
    color: var(--text-primary);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

@media (max-width: 768px) {
    .program-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .program-icon svg {
        width: 24px;
        height: 24px;
    }
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .program-card h3 {
        font-size: 1.375rem;
    }
}

@media (max-width: 480px) {
    .program-card h3 {
        font-size: 1.25rem;
    }
}

.program-card:hover h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.program-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .program-card p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .program-card p {
        font-size: 0.875rem;
    }
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cyan-500);
}

@media (max-width: 480px) {
    .course-badge {
        padding: 0.4rem 0.65rem;
        font-size: 0.75rem;
    }
}

.arrow-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow-cyan);
}

@media (max-width: 768px) {
    .arrow-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .arrow-icon {
        width: 32px;
        height: 32px;
    }
}

.program-card:hover .arrow-icon {
    opacity: 1;
    transform: scale(1.2) rotate(360deg);
}

.arrow-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .arrow-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* ============================================================================
   Program Detail View - RESPONSIVE
   ============================================================================ */

.program-detail-view {
    min-height: 100vh;
    background: var(--primary-bg);
    padding-top: 80px;
}

@media (max-width: 768px) {
    .program-detail-view {
        padding-top: 70px;
    }
}

@media (max-width: 480px) {
    .program-detail-view {
        padding-top: 60px;
    }
}

.course-list-view {
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .course-list-view {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .course-list-view {
        padding: 1.5rem 0;
    }
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .back-btn {
        padding: 0.65rem 1.25rem;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .back-btn {
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
    }
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateX(-8px);
    box-shadow: var(--shadow-glow-cyan);
}

@media (max-width: 768px) {
    .back-btn:hover {
        transform: translateX(-4px);
    }
}

.back-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

@media (max-width: 480px) {
    .back-btn svg {
        width: 18px;
        height: 18px;
    }
}

.back-btn:hover svg {
    transform: translateX(-4px);
}

.program-header {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .program-header {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .program-header {
        margin-bottom: 1.5rem;
    }
}

.program-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .program-header h1 {
        font-size: clamp(1.75rem, 6vw, 2rem);
    }
}

.program-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .program-header p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .program-header p {
        font-size: 1rem;
    }
}

/* Courses Grid - Responsive */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .courses-grid {
        gap: 1rem;
    }
}

.course-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .course-card {
        padding: 1.75rem;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .course-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.course-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.course-card:hover::before {
    opacity: 1;
}

.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                var(--shadow-glow-purple);
}

@media (max-width: 768px) {
    .course-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

.course-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow-purple);
    transition: all var(--transition-base);
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .course-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .course-icon {
        width: 44px;
        height: 44px;
    }
}

.course-card:hover .course-icon {
    transform: rotate(360deg) scale(1.1);
}

.course-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .course-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .course-icon svg {
        width: 22px;
        height: 22px;
    }
}

.course-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color var(--transition-base);
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .course-card h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .course-card h3 {
        font-size: 1rem;
    }
}

.course-card:hover h3 {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .course-card p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .course-card p {
        font-size: 0.875rem;
    }
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--purple-400);
    font-weight: 500;
    transition: gap var(--transition-base);
    position: relative;
    z-index: 10;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .course-link {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .course-link {
        font-size: 0.875rem;
    }
}

.course-card:hover .course-link {
    gap: 0.75rem;
}

.course-link svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 480px) {
    .course-link svg {
        width: 14px;
        height: 14px;
    }
}

/* ============================================================================
   Course Detail View - RESPONSIVE
   ============================================================================ */

.course-hero {
    background: linear-gradient(135deg, #0A1628, #1A2942);
    color: var(--text-primary);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .course-hero {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .course-hero {
        padding: 2.5rem 0;
    }
}

.course-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatSlow 20s ease-in-out infinite;
}

@media (max-width: 768px) {
    .course-hero::before {
        background-size: 30px 30px;
    }
}

.course-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-mixed);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.course-hero-content {
    position: relative;
    z-index: 10;
}

.course-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .course-hero h1 {
        font-size: clamp(1.75rem, 7vw, 2rem);
    }
}

.course-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .course-hero p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .course-hero p {
        font-size: 1rem;
    }
}

.course-content {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .course-content {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .course-content {
        padding: 2rem 0;
    }
}

/* Curriculum Card - Responsive */
.curriculum-card {
    background: linear-gradient(135deg, var(--purple-600), #6366f1);
    border-radius: 24px;
    padding: 3rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow-purple);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .curriculum-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .curriculum-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
}

.curriculum-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: floatSlow 15s ease-in-out infinite;
}

@media (max-width: 768px) {
    .curriculum-card::before {
        background-size: 20px 20px;
    }
}

.curriculum-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    animation: blob-1 20s ease-in-out infinite;
}

.curriculum-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.curriculum-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

@media (max-width: 768px) {
    .curriculum-icon {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .curriculum-icon {
        font-size: 2.5rem;
    }
}

.curriculum-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .curriculum-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .curriculum-content h2 {
        font-size: 1.5rem;
    }
}

.curriculum-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .curriculum-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .curriculum-content p {
        font-size: 0.95rem;
    }
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--text-primary);
    color: var(--purple-600);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn-download {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-download {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-download:active::before {
    width: 300px;
    height: 300px;
}

.btn-download:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .btn-download:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

.btn-download svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
}

@media (max-width: 480px) {
    .btn-download svg {
        width: 18px;
        height: 18px;
    }
}

.btn-download:hover svg:last-child {
    transform: translateX(4px);
}

/* Video Section - Responsive */
.video-section {
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .video-section {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .video-section {
        margin-bottom: 2rem;
    }
}

.video-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .video-header {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
    }
}

.video-icon {
    width: 48px;
    height: 48px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

@media (max-width: 768px) {
    .video-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .video-icon {
        width: 36px;
        height: 36px;
    }
}

.video-icon svg {
    width: 24px;
    height: 24px;
    color: #ef4444;
}

@media (max-width: 768px) {
    .video-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .video-icon svg {
        width: 18px;
        height: 18px;
    }
}

.video-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .video-header h3 {
        font-size: 1.375rem;
    }
}

@media (max-width: 480px) {
    .video-header h3 {
        font-size: 1.25rem;
    }
}

.video-wrapper {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: all var(--transition-base);
}

@media (max-width: 768px) {
    .video-wrapper {
        padding: 1.25rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .video-wrapper {
        padding: 1rem;
        border-radius: 16px;
    }
}

.video-wrapper:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow-cyan);
}

.video-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 16px;
}

@media (max-width: 768px) {
    .video-wrapper iframe {
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .video-wrapper iframe {
        border-radius: 12px;
    }
}

/* Info Cards Grid - Responsive */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .info-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .info-cards-grid {
        gap: 1rem;
        margin-bottom: 2rem;
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .info-card {
        padding: 1.75rem;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .info-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
}

.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .info-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

.info-card-offer {
    border-color: rgba(234, 179, 8, 0.3);
}

.info-card-offer:hover {
    border-color: rgba(234, 179, 8, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(234, 179, 8, 0.3);
}

.info-card-cost {
    border-color: rgba(0, 212, 255, 0.3);
}

.info-card-cost:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                var(--shadow-glow-cyan);
}

.info-card-batch {
    border-color: rgba(34, 197, 94, 0.3);
}

.info-card-batch:hover {
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5),
                0 0 30px rgba(34, 197, 94, 0.3);
}

.info-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-base);
}

@media (max-width: 480px) {
    .badge-icon {
        width: 36px;
        height: 36px;
    }
}

.info-card:hover .badge-icon {
    transform: rotate(360deg) scale(1.1);
}

.badge-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .badge-icon svg {
        width: 18px;
        height: 18px;
    }
}

.info-card-offer .badge-icon {
    background: linear-gradient(135deg, #eab308, #f59e0b);
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
}

.info-card-cost .badge-icon {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow-cyan);
}

.info-card-batch .badge-icon {
    background: linear-gradient(135deg, #22c55e, #10b981);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.badge-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 480px) {
    .badge-label {
        font-size: 0.75rem;
    }
}

.info-card-offer .badge-label {
    color: #eab308;
}

.info-card-cost .badge-label {
    color: var(--cyan-500);
}

.info-card-batch .badge-label {
    color: #22c55e;
}

.info-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .info-value {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .info-value {
        font-size: 2rem;
    }
}

.info-card-offer .info-value {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, #eab308, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-subtext {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
    .info-subtext {
        font-size: 0.95rem;
    }
}

.info-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1rem;
    font-size: 1rem;
}

@media (max-width: 480px) {
    .info-description {
        font-size: 0.95rem;
    }
}

.coupon-hint {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-style: italic;
    text-align: center;
}

@media (max-width: 480px) {
    .coupon-hint {
        font-size: 0.875rem;
    }
}

/* Register CTA - Responsive */
.register-cta {
    text-align: center;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .register-cta {
        margin: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    .register-cta {
        margin: 2rem 0;
    }
}

.register-cta-top {
    margin: 0 0 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .register-cta-top {
        margin: 0 0 2.5rem 0;
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .register-cta-top {
        margin: 0 0 2rem 0;
        padding: 1.25rem 0;
    }
}

.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--gradient-mixed);
    color: var(--text-primary);
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow-cyan);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .btn-register {
        padding: 1.25rem 2.5rem;
        font-size: 1.125rem;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .btn-register {
        padding: 1.125rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
    }
}

.btn-register::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-register:active::before {
    width: 400px;
    height: 400px;
}

.btn-register:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.5),
                0 0 50px rgba(139, 92, 246, 0.5),
                0 25px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .btn-register:hover {
        transform: translateY(-4px) scale(1.02);
    }
}

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

@media (max-width: 480px) {
    .register-icon svg {
        width: 20px;
        height: 20px;
    }
}

.register-text strong {
    display: block;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .register-text strong {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .register-text strong {
        font-size: 1.125rem;
    }
}

.register-text small {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

@media (max-width: 768px) {
    .register-text small {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .register-text small {
        font-size: 0.8rem;
    }
}

.register-arrow svg {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-base);
}

@media (max-width: 480px) {
    .register-arrow svg {
        width: 20px;
        height: 20px;
    }
}

.btn-register:hover .register-arrow svg {
    transform: translateX(8px);
}

/* ============================================================================
   Footer - RESPONSIVE
   ============================================================================ */

.footer {
    background: var(--secondary-bg);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1.25rem;
    }
}

.footer-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.3;
}

.footer-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

@media (max-width: 768px) {
    .footer-blob {
        filter: blur(80px);
    }
}

.footer-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cyan-500), transparent);
    top: -10%;
    right: -10%;
    animation: blob-1 25s ease-in-out infinite;
}

@media (max-width: 768px) {
    .footer-blob-1 {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .footer-blob-1 {
        width: 250px;
        height: 250px;
    }
}

.footer-blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--purple-500), transparent);
    bottom: -10%;
    left: -10%;
    animation: blob-2 20s ease-in-out infinite;
}

@media (max-width: 768px) {
    .footer-blob-2 {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 480px) {
    .footer-blob-2 {
        width: 250px;
        height: 250px;
    }
}

.footer > .container {
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 2rem;
        margin-bottom: 2rem;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .footer-brand {
        justify-content: center;
    }
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow-cyan);
    animation: pulse-glow 3s ease-in-out infinite;
}

@media (max-width: 480px) {
    .footer-logo-icon {
        width: 40px;
        height: 40px;
    }
}

.footer-logo-icon svg {
    width: 28px;
    height: 28px;
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .footer-logo-icon svg {
        width: 22px;
        height: 22px;
    }
}

.footer-brand h3 {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .footer-brand h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-brand h3 {
        font-size: 1.375rem;
    }
}

.footer-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .footer-tagline {
        font-size: 0.8rem;
    }
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

@media (max-width: 480px) {
    .footer-description {
        font-size: 0.95rem;
    }
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer-section h4 {
        font-size: 0.95rem;
    }
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

@media (max-width: 480px) {
    .footer-links li {
        margin-bottom: 0.65rem;
    }
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
    font-size: 1rem;
}

@media (max-width: 480px) {
    .footer-links a {
        font-size: 0.95rem;
    }
}

.footer-links a:hover {
    color: var(--cyan-500);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .footer-links a:hover {
        transform: translateX(0);
    }
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 768px) {
    .footer-contact {
        align-items: center;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

@media (max-width: 480px) {
    .contact-icon {
        width: 36px;
        height: 36px;
    }
}

.contact-item:hover .contact-icon {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: var(--shadow-glow-cyan);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
}

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

@media (max-width: 480px) {
    .contact-label {
        font-size: 0.8rem;
    }
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-base);
    font-size: 1rem;
}

@media (max-width: 480px) {
    .contact-item a {
        font-size: 0.95rem;
    }
}

.contact-item a:hover {
    color: var(--cyan-500);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .footer-divider {
        margin: 1.5rem 0;
    }
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer-bottom {
        gap: 1rem;
    }
}

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

@media (max-width: 480px) {
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

@media (max-width: 480px) {
    .social-links {
        gap: 0.75rem;
    }
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

@media (max-width: 480px) {
    .social-link {
        width: 36px;
        height: 36px;
    }
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-glow-cyan);
}

@media (max-width: 768px) {
    .social-link:hover {
        transform: translateY(-2px) scale(1.05);
    }
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color var(--transition-base);
}

@media (max-width: 480px) {
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

.social-link:hover svg {
    color: var(--text-primary);
}

/* ============================================================================
   Responsive Design - Mobile Navigation
   ============================================================================ */

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: left var(--transition-base);
        gap: 0;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        top: 60px;
    }
    
    .nav-link {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/* ============================================================================
   Utility Classes
   ============================================================================ */

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .program-card:hover,
    .course-card:hover,
    .stat-card:hover,
    .info-card:hover {
        transform: none;
    }
    
    .btn:active,
    .program-card:active,
    .course-card:active {
        transform: scale(0.98);
    }
}
