/* ==========================================================================
   SKILLFORGE ACADEMY - MODERN ENTERPRISE DESIGN SYSTEM
   Theme: White & Dark Blue, Cyan Accents, Glassmorphism, Micro-Animations
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-navy-dark: #070F2B;
    --bg-navy-card: #0B192C;
    --bg-navy-light: #1E3E62;
    --bg-glass: rgba(11, 25, 44, 0.75);
    --bg-glass-hover: rgba(30, 62, 98, 0.85);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-glass-glow: rgba(0, 216, 246, 0.35);

    /* Brand Accent Colors */
    --accent-cyan: #00D8F6;
    --accent-blue: #2563EB;
    --accent-gold: #F59E0B;
    --accent-purple: #8B5CF6;
    --accent-green: #10B981;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dark: #0F172A;

    /* Fonts & Radii */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-code: 'Fira Code', monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Shadows & Transitions */
    --shadow-glow: 0 10px 30px -10px rgba(0, 216, 246, 0.3);
    --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
    --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-navy-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-navy-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-navy-light);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* CONTAINER & UTILITIES */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--accent-cyan) 60%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--accent-cyan) !important; }
.text-gold { color: var(--accent-gold) !important; }
.text-blue { color: var(--accent-blue) !important; }
.text-muted { color: var(--text-muted) !important; }

/* GLASSMORPHISM CARD */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    border-color: var(--border-glass-glow);
}

/* BUTTONS SYSTEM */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    color: #000000;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    font-weight: 600;
    font-family: var(--font-heading);
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: var(--radius-sm); }
.btn-md { padding: 0.75rem 1.4rem; font-size: 1rem; }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1.1rem; border-radius: var(--radius-md); }
.btn-block { width: 100%; }

.glow-effect {
    position: relative;
}
.glow-effect::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.4;
    filter: blur(10px);
    transition: var(--transition-fast);
}
.glow-effect:hover::after {
    opacity: 0.8;
    filter: blur(15px);
}

/* ANNOUNCEMENT BAR */
.announcement-bar {
    background: linear-gradient(90deg, #1E3E62 0%, #070F2B 50%, #1E3E62 100%);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 101;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-new {
    background: var(--accent-cyan);
    color: #000000;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
}

.announcement-link {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}
.announcement-link:hover { text-decoration: underline; }

.announcement-close {
    position: absolute;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(7, 15, 43, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(7, 15, 43, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.4rem;
    box-shadow: var(--shadow-glow);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-badge {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

/* Mega Dropdown */
.nav-item.dropdown {
    position: relative;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: -100px;
    width: 780px;
    background: var(--bg-navy-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 220px;
    gap: 1.5rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    z-index: 200;
    margin-top: 15px;
}

.nav-item.dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-heading {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 0.8rem;
    letter-spacing: 0.5px;
}

.dropdown-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    transition: var(--transition-fast);
}

.dropdown-column a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.featured-card {
    background: rgba(30, 62, 98, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1rem;
}
.badge-hot {
    background: var(--accent-gold);
    color: #000000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-sm);
}
.featured-card h4 { font-size: 0.95rem; margin: 0.5rem 0 0.2rem; }
.featured-card p { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.8rem; }
.btn-text { color: var(--accent-cyan); text-decoration: none; font-size: 0.85rem; font-weight: 700; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-search-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.nav-search-btn:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); }

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger-menu span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* MOBILE DRAWER */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-navy-card);
    border-left: 1px solid var(--border-glass);
    z-index: 999;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}
.mobile-drawer.open { right: 0; }

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-glass);
}
.drawer-close { background: none; border: none; color: var(--text-primary); font-size: 1.4rem; cursor: pointer; }

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}
.drawer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* SECTION GLOBAL STYLES */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    display: inline-block;
    margin-bottom: 0.6rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto;
}

/* 1. HERO SECTION */
.hero-section {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 216, 246, 0.15) 0%, rgba(37, 99, 235, 0.1) 40%, rgba(7, 15, 43, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.5;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(30, 62, 98, 0.5);
    border: 1px solid var(--border-glass-glow);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.pill-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-cyan);
}
.pill-icon { color: var(--accent-gold); }

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.4rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.play-icon-circle {
    width: 32px;
    height: 32px;
    background: var(--accent-cyan);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-glass);
}

.avatar-stack {
    display: flex;
    align-items: center;
}
.avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--bg-navy-dark);
    margin-left: -10px;
    object-fit: cover;
}
.avatar-img:first-child { margin-left: 0; }
.avatar-count {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    border: 2px solid var(--bg-navy-dark);
}

.stars { color: var(--accent-gold); font-size: 0.85rem; margin-bottom: 0.2rem; }
.rating-text { font-size: 0.85rem; color: var(--text-secondary); }

/* Hero Visual Showcase */
.hero-visual {
    position: relative;
}

.hero-card-wrapper {
    overflow: hidden;
    border-color: rgba(0, 216, 246, 0.3);
}

.card-header-bar {
    background: rgba(7, 15, 43, 0.8);
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-glass);
}
.window-dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #FF5F56; }
.dot.yellow { background: #FFBD2E; }
.dot.green { background: #27C93F; }

.window-title { font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-code); }
.status-live { background: rgba(16, 185, 129, 0.2); color: var(--accent-green); font-size: 0.65rem; font-weight: 800; padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); }

.card-hero-media {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.hero-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.floating-widget {
    position: absolute;
    background: rgba(11, 25, 44, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    z-index: 10;
}

.widget-top-right { top: 20px; right: 20px; }
.widget-bottom-left { bottom: 20px; left: 20px; }

.widget-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
}
.bg-cyan { background: var(--accent-cyan); }
.bg-purple { background: var(--accent-purple); color: #fff; }

.widget-title { display: block; font-size: 0.85rem; font-weight: 700; }
.widget-subtitle { font-size: 0.75rem; color: var(--text-muted); }
.widget-progress { width: 100px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; margin-top: 4px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--accent-purple); }

.hero-play-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background: var(--accent-cyan);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(0, 216, 246, 0.6);
    transition: var(--transition-fast);
}
.hero-play-center:hover { transform: translate(-50%, -50%) scale(1.1); }

.hero-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1rem;
    background: rgba(7, 15, 43, 0.9);
}
.footer-stat-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; }

/* Trusted Logos Strip */
.trusted-logos-strip {
    padding: 2.5rem 0 1rem;
    border-bottom: 1px solid var(--border-glass);
}
.trusted-label { text-center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.7;
}
.logo-item { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--text-secondary); display: flex; align-items: center; gap: 0.5rem; }

/* 2. STUDENT STATISTICS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.stat-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.bg-blue-glow { background: rgba(37, 99, 235, 0.15); color: var(--accent-blue); }
.bg-cyan-glow { background: rgba(0, 216, 246, 0.15); color: var(--accent-cyan); }
.bg-gold-glow { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.bg-purple-glow { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; }
.stat-growth { font-size: 0.75rem; color: var(--accent-green); display: block; margin-top: 0.2rem; }

/* 3. FEATURED COURSES */
.filter-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glass);
    gap: 0.3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent-blue);
    color: #FFFFFF;
}

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

.course-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 216, 246, 0.25);
}

.course-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}
.course-card:hover .thumb-img { transform: scale(1.05); }

.course-level-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}
.badge-advanced { background: rgba(239, 68, 68, 0.9); color: #fff; }
.badge-intermediate { background: rgba(245, 158, 11, 0.9); color: #000; }
.badge-executive { background: rgba(139, 92, 246, 0.9); color: #fff; }

.bookmark-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(7, 15, 43, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bookmark-btn:hover { color: var(--accent-cyan); }

.course-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.8rem;
}

.course-cat { color: var(--accent-cyan); font-weight: 700; }
.course-rating { color: var(--accent-gold); font-weight: 700; display: flex; align-items: center; gap: 0.2rem; }
.review-count { color: var(--text-muted); font-size: 0.75rem; }

.course-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.course-excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-instructor {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 1rem;
}

.instructor-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.instructor-name { display: block; font-size: 0.85rem; font-weight: 700; }
.instructor-title { font-size: 0.75rem; color: var(--text-muted); }

.course-stats-strip {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-current { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--accent-cyan); }
.price-original { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.3rem; }

/* 4. COURSE CATEGORIES */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    padding: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.category-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
}

.cat-icon-bg {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.cat-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.cat-count { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.2rem; }

.cat-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}
.cat-tags li {
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.cat-link { font-size: 0.85rem; font-weight: 700; color: var(--accent-cyan); display: flex; align-items: center; gap: 0.4rem; }

/* 5. INSTRUCTOR SHOWCASE */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.instructor-card {
    overflow: hidden;
}

.instructor-img-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.faculty-photo { width: 100%; height: 100%; object-fit: cover; }
.faculty-company-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(7, 15, 43, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid var(--border-glass);
}

.instructor-card-body {
    padding: 1.4rem;
}
.faculty-rating { font-size: 0.8rem; color: var(--accent-gold); font-weight: 700; margin-bottom: 0.4rem; }
.faculty-name { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.2rem; }
.faculty-role { font-size: 0.85rem; color: var(--accent-cyan); font-weight: 600; margin-bottom: 0.75rem; }
.faculty-bio { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-bottom: 1rem; }
.faculty-courses-list { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* 6. LEARNING DASHBOARD PREVIEW */
.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.dash-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition-fast);
}

.dash-tab-btn.active, .dash-tab-btn:hover {
    background: var(--bg-navy-light);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.dashboard-window {
    border-color: rgba(0, 216, 246, 0.2);
    overflow: hidden;
}

.dash-window-header {
    background: rgba(7, 15, 43, 0.9);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}
.dash-breadcrumbs { color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; }
.active-crumb { color: var(--accent-cyan); font-weight: 700; }

.badge-streak { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); font-weight: 800; padding: 0.3rem 0.8rem; border-radius: var(--radius-sm); margin-right: 1rem; }
.dash-user-name { font-weight: 700; }

.dash-tab-content {
    display: none;
    padding: 1.5rem;
}
.dash-tab-content.active { display: block; }

/* Dash Video Tab */
.dash-video-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 1.5rem;
}
.video-main-player {
    position: relative;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #000;
}
.player-overlay-top {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
}
.lesson-tag { background: rgba(7, 15, 43, 0.85); backdrop-filter: blur(8px); padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 700; border: 1px solid var(--border-glass); }

.video-preview-frame { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

.custom-video-controls {
    position: absolute;
    bottom: 0;
    inset-x: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.play-btn-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-cyan); border: none; color: #000; font-size: 1rem; cursor: pointer; }

.video-seek-bar { flex-grow: 1; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; overflow: hidden; }
.seek-fill { height: 100%; background: var(--accent-cyan); }
.time-stamp { font-size: 0.8rem; font-family: var(--font-code); }
.speed-btn, .hd-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; padding: 0.2rem 0.6rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 700; cursor: pointer; }

.video-side-notes {
    background: rgba(7, 15, 43, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.video-side-notes h4 { font-size: 0.95rem; margin-bottom: 1rem; }
.notes-list { display: flex; flex-direction: column; gap: 0.8rem; }
.note-item { background: rgba(255,255,255,0.04); padding: 0.6rem 0.8rem; border-radius: var(--radius-sm); font-size: 0.8rem; border-left: 3px solid transparent; }
.active-note { border-left-color: var(--accent-cyan); background: rgba(0, 216, 246, 0.1); }
.note-time { color: var(--accent-cyan); font-weight: 800; font-family: var(--font-code); }

/* Dash Code Tab */
.dash-code-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 1.5rem;
}

.code-editor-pane {
    background: #0D1117;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.editor-header {
    background: #161B22;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    font-family: var(--font-code);
}

.code-block {
    padding: 1.2rem;
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: #C9D1D9;
    line-height: 1.6;
    overflow-x: auto;
}
.code-keyword { color: #FF7B72; font-weight: 700; }
.code-string { color: #A5D6FF; }
.code-comment { color: #8B949E; font-style: italic; }
.code-func { color: #D2A8FF; }

.ai-tutor-pane {
    background: rgba(7, 15, 43, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ai-tutor-header { font-weight: 800; font-size: 0.95rem; margin-bottom: 1rem; }
.ai-chat-box { display: flex; flex-direction: column; gap: 0.8rem; font-size: 0.825rem; }
.chat-msg { padding: 0.8rem; border-radius: var(--radius-md); max-width: 90%; }
.ai-msg { background: rgba(30, 62, 98, 0.6); align-self: flex-start; }
.user-msg { background: var(--accent-blue); color: #fff; align-self: flex-end; }
.ai-input-bar { display: flex; gap: 0.5rem; margin-top: 1rem; }
.ai-input-bar input { flex-grow: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); padding: 0.5rem 0.8rem; color: #fff; font-size: 0.85rem; }

/* Dash Syllabus & Quiz Tabs */
.syllabus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.module-card { padding: 1.2rem; }
.module-num { font-size: 0.8rem; font-weight: 800; margin-bottom: 0.3rem; }
.badge-done { color: var(--accent-green); font-size: 0.75rem; font-weight: 800; }
.badge-in-progress { color: var(--accent-gold); font-size: 0.75rem; font-weight: 800; }
.badge-locked { color: var(--text-muted); font-size: 0.75rem; }

.quiz-container { max-width: 600px; margin: 0 auto; text-align: left; }
.quiz-question { margin-bottom: 1.5rem; }
.quiz-options { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.quiz-opt { background: rgba(255,255,255,0.04); border: 1px solid var(--border-glass); padding: 1rem; border-radius: var(--radius-md); cursor: pointer; display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; }
.correct-ans { border-color: var(--accent-cyan); background: rgba(0, 216, 246, 0.1); font-weight: 700; }

/* 7. LEARNING ANALYTICS */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.chart-card {
    padding: 1.8rem;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.chart-header h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; }
.chart-badge { background: rgba(0, 216, 246, 0.15); color: var(--accent-cyan); font-size: 0.75rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: var(--radius-sm); }

.chart-wrapper {
    position: relative;
    height: 300px;
    width: 100%;
}

/* 8. CERTIFICATION PROGRAMS */
.cert-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.cert-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 2rem 0;
}
.cert-feat-item { display: flex; gap: 1rem; }
.cert-feat-item i { font-size: 1.6rem; margin-top: 0.2rem; }
.cert-feat-item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.2rem; }
.cert-feat-item p { font-size: 0.9rem; color: var(--text-secondary); }

.cert-search-box {
    padding: 1.5rem;
    border-color: rgba(0, 216, 246, 0.3);
}
.cert-search-box h4 { margin-bottom: 0.4rem; }
.cert-search-box p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }
.cert-search-box code { color: var(--accent-cyan); font-family: var(--font-code); background: rgba(0, 216, 246, 0.1); padding: 0.1rem 0.4rem; border-radius: 4px; }

.verify-input-group { display: flex; gap: 0.6rem; }
.verify-input-group input { flex-grow: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--border-glass); padding: 0.7rem 1rem; border-radius: var(--radius-md); color: #fff; font-family: var(--font-code); }

.verify-result-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent-green);
    font-size: 0.85rem;
}
.verify-result-box.hidden { display: none; }

/* Certificate Preview Card Visual */
.certificate-preview-card {
    padding: 2.5rem 2rem;
    position: relative;
    border: 2px solid var(--accent-cyan);
    box-shadow: 0 0 50px rgba(0, 216, 246, 0.2);
    overflow: hidden;
}

.cert-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14rem;
    color: rgba(255,255,255,0.02);
    pointer-events: none;
}

.cert-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    font-size: 0.85rem;
}
.cert-brand { font-family: var(--font-heading); font-weight: 800; letter-spacing: 1px; }
.cert-id-tag { font-family: var(--font-code); color: var(--text-muted); }

.cert-sub { font-size: 0.75rem; letter-spacing: 2px; color: var(--text-muted); font-weight: 800; }
.cert-recipient-name { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; margin: 0.5rem 0 1rem; color: var(--accent-cyan); }
.cert-course-name { font-size: 1.05rem; margin-bottom: 1.5rem; }
.cert-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 2.5rem; }

.cert-bottom-signatures {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sig-box { text-align: center; }
.sig-line { display: block; font-weight: 700; border-top: 1px solid var(--border-glass); padding-top: 0.4rem; font-size: 0.85rem; }
.sig-title { font-size: 0.72rem; color: var(--text-muted); }

.seal-inner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #B45309);
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}
.seal-inner i { font-size: 1.2rem; margin-bottom: 2px; }

/* 9. STUDENT SUCCESS STORIES */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.user-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.user-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.user-name { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; }
.user-role { font-size: 0.8rem; color: var(--accent-cyan); font-weight: 600; }

.user-quote { font-size: 0.95rem; color: var(--text-secondary); font-style: italic; line-height: 1.6; margin-bottom: 1.5rem; }

.company-badge-placed {
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
}
.company-badge-placed strong { color: var(--text-primary); }

/* 10. PRICING PLANS */
.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.toggle-label { font-weight: 700; color: var(--text-secondary); }
.toggle-label.active { color: var(--text-primary); }

/* CSS Toggle Switch */
.switch { position: relative; display: inline-block; width: 54px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background-color: var(--bg-navy-light); transition: .4s; border-radius: 34px; border: 1px solid var(--border-glass); }
.slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--accent-blue); }
input:checked + .slider:before { transform: translateX(26px); }

.discount-pill { background: var(--accent-gold); color: #000; font-size: 0.75rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: var(--radius-sm); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    padding: 2.5rem 2rem;
    position: relative;
}

.popular-plan {
    border-color: var(--accent-cyan);
    transform: scale(1.05);
    box-shadow: 0 25px 60px -10px rgba(0, 216, 246, 0.3);
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    color: #000;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
}

.plan-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.4rem; }
.plan-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.8rem; min-height: 40px; }

.price-display { margin-bottom: 2rem; display: flex; align-items: baseline; }
.currency { font-size: 1.5rem; font-weight: 800; color: var(--accent-cyan); }
.price-val { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.period { color: var(--text-muted); font-size: 0.9rem; margin-left: 0.3rem; }

.plan-features { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.2rem; font-size: 0.9rem; }
.plan-features li { display: flex; align-items: center; gap: 0.75rem; }
.plan-features li.disabled { color: var(--text-muted); text-decoration: line-through; }

/* 11. FAQ ACCORDION */
.faq-accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.faq-icon { transition: transform 0.3s ease; color: var(--accent-cyan); }
.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.8rem;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.8rem 1.4rem;
}
.faq-answer p { font-size: 0.98rem; color: var(--text-secondary); line-height: 1.7; }

/* 12. CALL TO ACTION */
.cta-banner-card {
    padding: 4.5rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(30, 62, 98, 0.7) 0%, rgba(7, 15, 43, 0.9) 100%);
    border-color: rgba(0, 216, 246, 0.4);
    box-shadow: 0 30px 80px rgba(0, 216, 246, 0.2);
}

.cta-title { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 800; margin-bottom: 1rem; }
.cta-subtitle { font-size: 1.2rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto 2.5rem; }

.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-bottom: 2rem; }

.cta-guarantee { display: flex; justify-content: center; gap: 2rem; font-size: 0.85rem; color: var(--text-muted); }

/* 13. FOOTER */
.footer {
    background: #04091A;
    border-top: 1px solid var(--border-glass);
    padding: 5rem 0 2rem;
}

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

.brand-col .brand-logo { margin-bottom: 1.2rem; }
.footer-tagline { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }

.social-links { display: flex; gap: 1rem; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); border: 1px solid var(--border-glass); color: var(--text-secondary); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: var(--transition-fast); }
.social-links a:hover { color: var(--accent-cyan); border-color: var(--accent-cyan); transform: translateY(-3px); }

.footer-col h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 1.2rem; color: var(--text-primary); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: var(--transition-fast); }
.footer-col a:hover { color: var(--accent-cyan); }

.badge-hiring { background: var(--accent-green); color: #000; font-size: 0.65rem; font-weight: 900; padding: 0.1rem 0.4rem; border-radius: 3px; margin-left: 0.4rem; }

.newsletter-col p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; }
.newsletter-form { display: flex; gap: 0.5rem; margin-bottom: 0.8rem; }
.newsletter-form input { flex-grow: 1; background: rgba(255,255,255,0.06); border: 1px solid var(--border-glass); padding: 0.7rem 1rem; border-radius: var(--radius-md); color: #fff; font-size: 0.9rem; }
.privacy-note { font-size: 0.75rem; color: var(--text-muted); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-glass);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--accent-cyan); }

/* MODALS */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 9, 26, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal-card {
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}
.modal-backdrop.open .modal-card { transform: translateY(0); }

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
}

.modal-header h3 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 0.4rem; }
.modal-header p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }

.social-login-btn { margin-bottom: 0.8rem; }
.divider-text { text-align: center; border-bottom: 1px solid var(--border-glass); line-height: 0.1em; margin: 1.5rem 0; font-size: 0.8rem; color: var(--text-muted); }
.divider-text span { background: var(--bg-navy-card); padding: 0 10px; }

.input-group { margin-bottom: 1.2rem; }
.input-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; }
.input-group input { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid var(--border-glass); padding: 0.8rem 1rem; border-radius: var(--radius-md); color: #fff; font-size: 0.95rem; }

.video-modal-card { max-width: 900px; padding: 1rem; }
.video-container-iframe { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--radius-md); }
.video-container-iframe iframe { position: absolute; top:0; left:0; width: 100%; height: 100%; }

.course-modal-card { max-width: 760px; }

/* TOAST NOTIFICATION */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.toast {
    background: var(--bg-navy-card);
    border: 1px solid var(--accent-cyan);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
    .courses-grid, .instructors-grid, .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; }
    .mega-dropdown { width: 650px; left: -150px; }
}

@media (max-width: 992px) {
    .hero-container, .cert-grid { grid-template-columns: 1fr; gap: 3rem; }
    .nav-links, .nav-login-btn { display: none; }
    .hamburger-menu { display: flex; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .analytics-grid { grid-template-columns: 1fr; }
    .dash-video-layout, .dash-code-layout { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-title { font-size: 2.2rem; }
    .hero-title { font-size: 2.5rem; }
}

@media (max-width: 576px) {
    .stats-grid { grid-template-columns: 1fr; }
    .courses-grid, .instructors-grid, .categories-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group button, .hero-cta-group a { width: 100%; }
    .syllabus-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
