/* ========================================
   PREMIUM LANDING PAGE DESIGN SYSTEM
   Following PRD specifications for soft, elegant design
======================================== */

/* CSS Variables - Design Tokens */
:root {
    --gradient-start: #8de3fd;
    --gradient-mid: #f0f3f3;
    --gradient-end: #ffffff;

    /* Primary Colors */
    --primary-accent: #000000;
    --primary-light: #E8F9F3;
    --accent-blue: #2196F3;

    /* Neutrals */
    --white: #FFFFFF;
    --bone-white: #FCFCFC;
    --light-grey: #F5F5F5;
    --light-beige: #FFF9E6;
    --divider-grey: #E0E0E0;
    --text-dark: #000000;
    --text-soft: #5F5F5F;
    --footer-dark: #0A0A0A;

    /* Spacing System */
    --section-spacing: 120px;
    --section-spacing-mobile: 80px;
    --container-padding: 48px;
    --card-padding: 32px;

    /* Typography */
    --font-weight-thin: 450;
    --font-weight-normal: 500;
    --font-weight-medium: 600;
    --font-weight-semibold: 700;

    /* Transitions */
    --transition-smooth: 300ms ease-out;
    --transition-fast: 200ms ease-out;
}

/* ========================================
   DARK MODE OVERRIDES - LANDING PAGE
======================================== */
[data-theme="dark"] {
    --gradient-start: #1e293b;
    --gradient-mid: #1e293b;
    --gradient-end: #1e293b;

    /* Primary Colors */
    --primary-accent: #f1f5f9;
    --primary-light: #1e293b;
    --accent-blue: #60a5fa;

    /* Neutrals */
    --white: #1e293b;
    --bone-white: #0f172a;
    --light-grey: #334155;
    --light-beige: #1e293b;
    --divider-grey: #475569;
    --text-dark: #f1f5f9;
    --text-soft: #cbd5e1;
    --footer-dark: #000000;
}

/* Typography - Thin and Elegant */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-weight: var(--font-weight-thin);
    line-height: 1.7;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Navbar Design - Home Page Override */
.navbar {
    background: #8dccfd;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border-bottom: 0px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0px 0px rgb(255, 255, 255);
    padding: 0;
    transition: background 0.001s ease, backdrop-filter 0.3s ease;
}

[data-theme="dark"] .navbar {
    background: #1e293b;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.7);
}

.navbar-container {
    max-width: 1360px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--container-padding);
    height: 64px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-logo {
    height: 32px;
    width: auto;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .navbar-logo {
    filter: brightness(1) invert(1);
}

/* Change logo to footer logo on non-home pages in dark theme */
body.not-home-page[data-theme="dark"] .navbar-logo {
    content: url("/static/images/footer-logo.7266e6ac7c23.svg");
    filter: brightness(1) invert(1);
}

/* Dark theme login button - white background with black text */
[data-theme="dark"] .btn-nav-primary {
    background: #ffffff !important;
    color: #111827 !important;
}

[data-theme="dark"] .btn-nav-primary:hover {
    background: #f1f5f9 !important;
    color: #111827 !important;
}

.navbar-brand {
    font-weight: var(--font-weight-medium);
    font-size: 0.9375rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-link {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-soft);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.navbar-link:hover {
    color: var(--text-dark);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-nav a {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-soft);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.navbar-nav a:hover {
    color: var(--text-dark);
}

.btn-nav-primary {
    background: var(--text-dark);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 22px;
    font-weight: var(--font-weight-medium) !important;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-nav-primary:hover {
    background: #2A2A2A !important;
    transform: translateY(-1px);
}

.btn-nav {
    background: transparent;
    color: var(--text-dark) !important;
    padding: 10px 20px;
    border: 1px solid var(--divider-grey);
    border-radius: 6px;
    font-weight: var(--font-weight-medium) !important;
    transition: all var(--transition-fast);
}

.btn-nav:hover {
    background: rgba(0, 0, 0, 0.04) !important;
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 20px 50px;
}


.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #8dccfd 20%, var(--gradient-mid) 70%, var(--gradient-end) 100%);
    z-index: -2;
    transition: background 0.3s ease;
}

.hero-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

/* Logo */
.hero-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.logo-image {
    height: 100px;
    width: auto;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .logo-image {
    filter: brightness(1) invert(1);
}

[data-theme="dark"] .hero-gradient {
    background: #1e293b;
}

/* ========================================
   DARK THEME - COURSE CAROUSEL
======================================== */
[data-theme="dark"] .carousel-section {
    background: #1e293b;
}

/* Exam Type Filter Buttons - Dark Theme */
[data-theme="dark"] .exam-type-btn {
    background: rgba(51, 65, 85, 0.5);
    border: 1.5px solid rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .exam-type-btn::before {
    background: rgba(96, 165, 250, 0.15);
}

[data-theme="dark"] .exam-type-btn:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: #60a5fa;
    color: #93c5fd;
    box-shadow: 0 4px 16px rgba(96, 165, 250, 0.25);
}

[data-theme="dark"] .exam-type-btn.active {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.2);
}

/* Course Cards - Dark Theme */
[data-theme="dark"] .course-card-inner {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.4) 0%, rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .course-card-inner:hover {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.6) 0%, rgba(30, 41, 59, 0.8) 100%);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
    transform: translateY(-6px) scale(1.02);
}

/* Course Title & Description */
[data-theme="dark"] .course-title {
    color: #f1f5f9;
}

[data-theme="dark"] .course-description {
    color: #cbd5e1;
}

/* Course Stats - Dark Theme */
[data-theme="dark"] .course-stat-item {
    background: rgba(51, 65, 85, 0.6);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .course-stat-item:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-color: rgba(96, 165, 250, 0.3);
}

/* Price Badge - Dark Theme */
[data-theme="dark"] .price-amount {
    color: #60a5fa;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.5);
}

[data-theme="dark"] .price-currency {
    color: #93c5fd;
}

[data-theme="dark"] .price-amount-old {
    color: #94a3b8;
}

/* Course Link - Dark Theme */
[data-theme="dark"] .course-link {
    color: #93c5fd;
}

[data-theme="dark"] .course-link:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.15);
}

/* Course Icon Enhancement */
[data-theme="dark"] .course-icon img {
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Document Link */
[data-theme="dark"] .course-card-inner a[href*="document"] {
    color: #60a5fa !important;
}

[data-theme="dark"] .course-card-inner a[href*="document"]:hover {
    color: #93c5fd !important;
}

/* Discount Badge Enhancement */
[data-theme="dark"] .discount-badge {
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

/* ========================================
   DARK THEME - BENTO GRID SECTION
======================================== */
[data-theme="dark"] .bento-section {
    background: #1e293b;
    position: relative;
}

/* Ethereal Dark Background with Gradient */
[data-theme="dark"] .bento-section::before {
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                linear-gradient(180deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
}

/* Animated Cosmic Stars - Enhanced for Dark */
[data-theme="dark"] .bento-section::after {
    opacity: 0.6;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.8) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(147, 197, 253, 0.6) 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.7) 1px, transparent 1px),
        radial-gradient(circle at 80% 10%, rgba(96, 165, 250, 0.5) 1px, transparent 1px);
    filter: blur(0.5px);
}

/* Large Bento Block - Premium Glassmorphism */
[data-theme="dark"] .bento-large {
    background: linear-gradient(135deg,
                rgba(59, 130, 246, 0.1) 0%,
                rgba(30, 41, 59, 0.4) 50%,
                rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(148, 163, 184, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

/* Subtle Inner Glow */
[data-theme="dark"] .bento-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .bento-content-large {
    position: relative;
    z-index: 1;
}

/* Bento Title - Glowing Effect */
[data-theme="dark"] .bento-title {
    color: #f1f5f9;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(147, 197, 253, 0.3);
}

/* Bento Text */
[data-theme="dark"] .bento-text {
    color: #cbd5e1;
}

/* CTA Button - Premium Blue Gradient */
[data-theme="dark"] .bento-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #ffffff;
    box-shadow:
        0 4px 16px rgba(59, 130, 246, 0.3),
        0 0 30px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .bento-btn::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

[data-theme="dark"] .bento-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #60a5fa;
    box-shadow:
        0 6px 24px rgba(59, 130, 246, 0.5),
        0 0 40px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* Bento Tiles - Modern Dark Cards */
[data-theme="dark"] .bento-tile {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.4) 0%,
                rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover Glow Effect */
[data-theme="dark"] .bento-tile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

[data-theme="dark"] .bento-tile:hover {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.6) 0%,
                rgba(30, 41, 59, 0.8) 100%);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px) scale(1.02);
}

[data-theme="dark"] .bento-tile:hover::before {
    opacity: 1;
}

/* Icon Enhancement with Glow */
[data-theme="dark"] .bento-icon {
    filter: drop-shadow(0 4px 12px rgba(96, 165, 250, 0.4));
    transform-origin: center;
    transition: transform 0.3s ease;
}

[data-theme="dark"] .bento-tile:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 16px rgba(96, 165, 250, 0.6));
}

/* Tile Title */
[data-theme="dark"] .bento-tile-title {
    color: #f1f5f9;
}

/* Tile Text */
[data-theme="dark"] .bento-tile-text {
    color: #cbd5e1;
}

/* Individual Tile Accent Colors */
[data-theme="dark"] .bento-tile:nth-child(2) {
    border-top: 2px solid rgba(59, 130, 246, 0.3);
}

[data-theme="dark"] .bento-tile:nth-child(3) {
    border-top: 2px solid rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .bento-tile:nth-child(4) {
    border-top: 2px solid rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .bento-tile:nth-child(5) {
    border-top: 2px solid rgba(139, 92, 246, 0.3);
}

[data-theme="dark"] .bento-tile:nth-child(6) {
    border-top: 2px solid rgba(236, 72, 153, 0.3);
}

/* ========================================
   DARK THEME - FEATURES SECTION
======================================== */
[data-theme="dark"] .features-section {
    background: #1e293b;
}

/* Section Headers */
[data-theme="dark"] .section-title {
    color: #f1f5f9;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .section-subtitle {
    color: #cbd5e1;
}

/* Features Grid Container */
[data-theme="dark"] .features-grid {
    background: transparent;
    gap: 24px;
}

/* Feature Cards - Premium Glassmorphism */
[data-theme="dark"] .feature-card {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.4) 0%,
                rgba(30, 41, 59, 0.6) 100%);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Gradient Overlay on Hover */
[data-theme="dark"] .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(96, 165, 250, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

[data-theme="dark"] .feature-card:hover {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.6) 0%,
                rgba(30, 41, 59, 0.8) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(59, 130, 246, 0.2);
    transform: translateY(-8px) scale(1.02);
}

[data-theme="dark"] .feature-card:hover::before {
    opacity: 1;
}

/* Feature Stats - Glowing Numbers */
[data-theme="dark"] .feature-stat {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.6));
    position: relative;
}

/* Individual Card Accent Colors */
[data-theme="dark"] .feature-card:nth-child(1) {
    border-top: 3px solid rgba(59, 130, 246, 0.5);
}

[data-theme="dark"] .feature-card:nth-child(1) .feature-stat {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(96, 165, 250, 0.7));
}

[data-theme="dark"] .feature-card:nth-child(2) {
    border-top: 3px solid rgba(16, 185, 129, 0.5);
}

[data-theme="dark"] .feature-card:nth-child(2) .feature-stat {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.7));
}

[data-theme="dark"] .feature-card:nth-child(3) {
    border-top: 3px solid rgba(245, 158, 11, 0.5);
}

[data-theme="dark"] .feature-card:nth-child(3) .feature-stat {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(245, 158, 11, 0.7));
}

[data-theme="dark"] .feature-card:nth-child(4) {
    border-top: 3px solid rgba(139, 92, 246, 0.5);
}

[data-theme="dark"] .feature-card:nth-child(4) .feature-stat {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.7));
}

/* Feature Title & Text */
[data-theme="dark"] .feature-title {
    color: #f1f5f9;
}

[data-theme="dark"] .feature-text {
    color: #cbd5e1;
}

/* ========================================
   DARK THEME - REVIEWS SECTION
======================================== */
[data-theme="dark"] .reviews-section {
    background: #1e293b;
}

/* Cosmic Background */
[data-theme="dark"] .reviews-section::before {
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                linear-gradient(180deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
}

/* Navigation Buttons - Glowing Style */
[data-theme="dark"] .carousel-nav {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1.5px solid rgba(96, 165, 250, 0.3);
    color: #93c5fd;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .carousel-nav:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #60a5fa;
    color: #ffffff;
    box-shadow:
        0 8px 24px rgba(59, 130, 246, 0.4),
        0 0 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-50%) scale(1.15);
}

/* Carousel Indicators */
[data-theme="dark"] .carousel-indicator {
    background: rgba(71, 85, 105, 0.5);
}

[data-theme="dark"] .carousel-indicator:hover {
    background: #60a5fa;
}

[data-theme="dark"] .carousel-indicator.active {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

/* Review Cards - Premium Design */
[data-theme="dark"] .review-card {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.5) 0%,
                rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(96, 165, 250, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Top Accent Line */
[data-theme="dark"] .review-card::before {
    background: linear-gradient(90deg,
                rgba(96, 165, 250, 0.8) 0%,
                rgba(59, 130, 246, 0.6) 50%,
                rgba(99, 102, 241, 0.8) 100%);
    height: 3px;
    transform: scaleX(1);
}

/* Gradient Glow Overlay */
[data-theme="dark"] .review-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

[data-theme="dark"] .review-card:hover {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.7) 0%,
                rgba(30, 41, 59, 0.9) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(59, 130, 246, 0.25);
    transform: translateY(-6px) scale(1.01);
}

[data-theme="dark"] .review-card:hover::after {
    opacity: 1;
}

/* Avatar - Glowing Border */
[data-theme="dark"] .review-avatar {
    border: 3px solid rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.4);
}

[data-theme="dark"] .review-card:hover .review-avatar {
    border-color: #60a5fa;
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.6);
}

/* Avatar Placeholder */
[data-theme="dark"] .review-avatar-placeholder {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Review Info */
[data-theme="dark"] .review-name {
    color: #f1f5f9;
}

[data-theme="dark"] .review-exam {
    color: #94a3b8;
}

/* Quote Mark - Subtle Glow */
[data-theme="dark"] .review-quote {
    color: rgba(96, 165, 250, 0.2);
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

/* Review Text */
[data-theme="dark"] .review-text {
    color: #cbd5e1;
}

/* Rating Stars - Enhanced */
[data-theme="dark"] .review-rating .star-filled {
    color: #fbbf24;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

[data-theme="dark"] .review-rating .star-empty {
    color: #475569;
}

/* ========================================
   DARK THEME - FAQ SECTION
======================================== */
[data-theme="dark"] .faq-section {
    background: #1e293b;
}

/* FAQ Container */
[data-theme="dark"] .faq-container {
    max-width: 900px;
}

/* FAQ Items */
[data-theme="dark"] .faq-item {
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

[data-theme="dark"] .faq-item:last-child {
    border-bottom: none;
}

/* FAQ Question Button */
[data-theme="dark"] .faq-question {
    background: none;
    transition: all 0.3s ease;
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(51, 65, 85, 0.4);
}

/* Blue Accent Bar */
[data-theme="dark"] .faq-question::before {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

[data-theme="dark"] .faq-item.active .faq-question::before {
    height: 60%;
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.8);
}

/* Question Text */
[data-theme="dark"] .faq-question span {
    color: #f1f5f9;
}

[data-theme="dark"] .faq-item.active .faq-question span {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

/* Plus/Minus Icon */
[data-theme="dark"] .faq-icon {
    background: rgba(51, 65, 85, 0.5);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .faq-item.active .faq-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-color: #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6);
}

/* FAQ Answer */
[data-theme="dark"] .faq-answer {
    background: transparent;
}

[data-theme="dark"] .faq-item.active .faq-answer {
    background: rgba(51, 65, 85, 0.2);
    border-radius: 12px;
    margin: 0 24px 16px 24px;
    padding: 20px 24px !important;
}

[data-theme="dark"] .faq-answer p {
    color: #cbd5e1;
}

/* ========================================
   DARK THEME - TEAM SECTION
======================================== */
[data-theme="dark"] .team-section {
    background: #1e293b;
}

/* Cosmic Background */
[data-theme="dark"] .team-section::before {
    background: radial-gradient(ellipse at bottom, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                linear-gradient(180deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
}

/* Team Cards - Premium Design */
[data-theme="dark"] .team-card {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.5) 0%,
                rgba(30, 41, 59, 0.7) 100%);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(10px);
}

/* Top Accent Line - Green Theme */
[data-theme="dark"] .team-card::before {
    background: linear-gradient(90deg,
                rgba(16, 185, 129, 0.8) 0%,
                rgba(5, 150, 105, 0.6) 50%,
                rgba(6, 182, 212, 0.8) 100%);
    height: 3px;
    transform: scaleX(1);
}

/* Gradient Glow Overlay */
[data-theme="dark"] .team-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

[data-theme="dark"] .team-card:hover {
    background: linear-gradient(135deg,
                rgba(51, 65, 85, 0.7) 0%,
                rgba(30, 41, 59, 0.9) 100%);
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(16, 185, 129, 0.25);
    transform: translateY(-6px) scale(1.01);
}

[data-theme="dark"] .team-card:hover::after {
    opacity: 1;
}

/* Avatar - Glowing Border */
[data-theme="dark"] .team-avatar {
    border: 3px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

[data-theme="dark"] .team-card:hover .team-avatar {
    border-color: #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

/* Team Info */
[data-theme="dark"] .team-name {
    color: #f1f5f9;
}

[data-theme="dark"] .team-position {
    color: #94a3b8;
}

/* Team Description */
[data-theme="dark"] .team-description {
    color: #cbd5e1;
}

/* Navigation Buttons - Green Theme */
[data-theme="dark"] .team-carousel-wrapper .carousel-nav {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8) 0%, rgba(30, 41, 59, 0.9) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(16, 185, 129, 0.2);
}

[data-theme="dark"] .team-carousel-wrapper .carousel-nav:hover {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    color: #ffffff;
    box-shadow:
        0 8px 24px rgba(16, 185, 129, 0.4),
        0 0 30px rgba(16, 185, 129, 0.3);
}

/* ========================================
   DARK THEME - CTA SECTION
======================================== */
[data-theme="dark"] .cta-section {
    background: #1e293b;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cta-content {
    position: relative;
    z-index: 1;
}

/* CTA Title - Gradient Glow */
[data-theme="dark"] .cta-title {
    background: linear-gradient(135deg,
                #ffffff 0%,
                #93c5fd 40%,
                #c084fc 70%,
                #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(147, 197, 253, 0.4));
}

/* CTA Text */
[data-theme="dark"] .cta-text {
    color: #cbd5e1;
}

/* Primary CTA Button - Epic Gradient */
[data-theme="dark"] .cta-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #ffffff;
    box-shadow:
        0 4px 20px rgba(59, 130, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .cta-btn-primary::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

[data-theme="dark"] .cta-btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 50%, #db2777 100%);
    border-color: #93c5fd;
    box-shadow:
        0 8px 32px rgba(59, 130, 246, 0.6),
        0 0 60px rgba(139, 92, 246, 0.5),
        0 0 80px rgba(236, 72, 153, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-4px) scale(1.05);
}

/* Secondary CTA Button */
[data-theme="dark"] .cta-btn-secondary {
    background: rgba(51, 65, 85, 0.6);
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    color: #cbd5e1;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .cta-btn-secondary::before {
    background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
}

[data-theme="dark"] .cta-btn-secondary:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: #60a5fa;
    color: #ffffff;
    box-shadow:
        0 6px 24px rgba(59, 130, 246, 0.4),
        0 0 40px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-title {
    font-size: clamp(3rem, 4vw, 2.25rem);
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Search Bar */
.search-container {
    margin-bottom: 0;
}

.hero-search {
    position: relative;
    max-width: 640px;
    margin: 0 auto 12px;
}

.hero-search-input {
    width: 100%;
    height: 52px;
    padding: 0 56px 0 24px;
    border: none;
    border-radius: 100px;
    background: var(--white);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-smooth);
}

.hero-search-input:focus {
    outline: none;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.hero-search-input::placeholder {
    color: #FFADB5;
    font-weight: var(--font-weight-thin);
}

.hero-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.hero-search-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.search-hint {
    font-size: 0.8125rem;
    color: var(--text-soft);
    font-weight: var(--font-weight-thin);
    margin: 0;
    text-align: center;
}

/* ========================================
   EXAM TYPE TABS
======================================== */
.exam-tabs-section {
    background: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--divider-grey);
}

.exam-tabs {
    display: flex;
    gap: 0;
    justify-content: flex-start;
    border-bottom: 2px solid transparent;
}

.exam-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-soft);
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.exam-tab:hover {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.02);
}

.exam-tab.active {
    color: var(--text-dark);
    border-bottom-color: var(--text-dark);
}

.tab-icon {
    font-size: 1.125rem;
}

.tab-label {
    font-weight: var(--font-weight-semibold);
}

/* ========================================
   GLOBAL LAYOUT & SPACING
======================================== */
.section-spacer {
    padding: var(--section-spacing-mobile) 0;
}

.content-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.25rem);
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.01em;
}

/* ========================================
   COURSE CAROUSEL SECTION
======================================== */
.carousel-section {
    background: var(--white);
}

/* ========================================
   UNIFIED BUTTON SYSTEM
======================================== */

/* Base Button Styles */
.btn-base {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

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

.btn-base:hover::before {
    width: 300px;
    height: 300px;
}

.btn-base>* {
    position: relative;
    z-index: 1;
}

/* Primary Button - Main CTAs */
.btn-primary {
    background: #c2eaff;
    border-color: #c2eaff;
    color: #111827;
    box-shadow: 0 4px 12px rgba(194, 234, 255, 0.4);
}

.btn-primary:hover {
    background: #a8dcff;
    border-color: #a8dcff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 234, 255, 0.6);
}

/* Secondary Button - Supporting CTAs */
.btn-secondary {
    background: white;
    border-color: #e5e7eb;
    color: #111827;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    border-color: #c2eaff;
    color: #111827;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 234, 255, 0.4);
}

/* Outline Button - Minimal emphasis */
.btn-outline {
    background: transparent;
    border-color: #111827;
    color: #111827;
}

.btn-outline:hover {
    background: rgba(17, 24, 39, 0.04);
    transform: translateY(-2px);
}

/* Link Button - Text with icon */
.btn-link {
    background: transparent;
    border: none;
    color: #111827;
    padding: 8px 16px;
    font-weight: 500;
}

.btn-link:hover {
    color: #2563eb;
}

.btn-link::before {
    display: none;
}

/* Exam Type Filter */
.exam-type-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.exam-type-btn {
    padding: 12px 32px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.exam-type-btn:hover::before {
    width: 300px;
    height: 300px;
}

.exam-type-btn:hover {
    border-color: #c2eaff;
    color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 234, 255, 0.4);
}

.exam-type-btn.active {
    background: #c2eaff;
    border-color: #c2eaff;
    color: #111827;
    box-shadow: 0 4px 16px rgba(194, 234, 255, 0.6);
}

.exam-type-btn.active::before {
    display: none;
}

/* Course card filtering */
.course-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card.hidden {
    display: none;
}

.carousel-wrapper {
    position: relative;
    overflow: visible;
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.course-card {
    opacity: 0;
    transform: translateY(20px);
}

.course-card.visible {
    animation: fadeInUp var(--transition-smooth) forwards;
}

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

.course-card-inner {
    background: var(--white);
    border-radius: 24px;
    padding: var(--card-padding);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For absolute positioning of price badge */
}

.course-card-inner:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px) scale(1.01);
}

/* Price Badge in Top Right Corner */
.course-price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.3s ease;
    z-index: 10;
}

.course-price-badge:hover {
    transform: translateY(-2px) scale(1.05);
    /* box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35); */
}

.price-amount {
    font-size: 1.825rem;
    font-weight: 700;
    color: rgb(91 180 255);
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-currency {
    font-size: 0.8875rem;
    font-weight: 500;
    color: rgb(91 180 255);
    text-transform: lowercase;
    line-height: 1;
}

.course-icon {
    margin-bottom: 24px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.course-description {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 10px;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.course-questions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-soft);
    background: rgba(194, 234, 255, 0.3);
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    margin-top: 12px;
    width: fit-content;
    max-width: max-content;
}

.course-questions svg {
    color: var(--accent-blue);
}

/* Course Stats - Two Separate Elements */
.course-stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: 12px;
}

.course-stat-item {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-soft);
    background: rgba(194, 234, 255, 0.3);
    padding: 6px 12px;
    border-radius: 100px;
    width: fit-content;
    transition: all 0.2s ease;
}

.course-stat-item:hover {
    background: rgba(194, 234, 255, 0.5);
    transform: translateY(-1px);
}

.course-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.course-link:hover {
    gap: 12px;
    color: #87cefa;
    background: rgba(194, 234, 255, 0.2);
}

.course-link svg {
    transition: transform var(--transition-fast);
}

.course-link:hover svg {
    transform: translateX(4px);
}

/* ========================================
   BENTO GRID SECTION
======================================== */
.bento-section {
    position: relative;
    overflow: hidden;
}

.bento-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #ebf1c7 50%, #FFFFFF 100%);
    z-index: -1;
}

.bento-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
    background-image:
        radial-gradient(circle at 20% 30%, white 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, white 2px, transparent 2px),
        radial-gradient(circle at 50% 50%, white 1px, transparent 1px),
        radial-gradient(circle at 80% 10%, white 1px, transparent 1px);
    background-size: 300px 300px, 400px 400px, 250px 250px, 350px 350px;
    background-position: 0 0, 50px 50px, 100px 0, 0 100px;
    animation: starsMove 15s linear infinite;
}

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

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    padding: 64px;
    display: flex;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.bento-content-large {
    max-width: 480px;
}

.bento-title {
    font-size: clamp(1.75rem, 3vw, 2rem);
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.bento-text {
    font-size: 1.0625rem;
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    line-height: 1.8;
    margin-bottom: 32px;
}

.bento-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 100px;
    color: #111827;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

.bento-btn:hover::before {
    width: 300px;
    height: 300px;
}

.bento-btn:hover {
    border-color: #c2eaff;
    gap: 12px;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 234, 255, 0.4);
}

.bento-btn svg {
    position: relative;
    z-index: 1;
    transition: transform var(--transition-fast);
}

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

.bento-tile {
    background: var(--white);
    border-radius: 24px;
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
}

.bento-tile.visible {
    animation: fadeInUp var(--transition-smooth) forwards;
}

.bento-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.bento-tile-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.bento-tile-text {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    line-height: 1.7;
}

/* ========================================
   FEATURES SECTION
======================================== */
.features-section {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
}

.feature-card {
    background: var(--white);
    padding: 48px 40px;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    animation: fadeInUp var(--transition-smooth) forwards;
}

.feature-stat {
    font-size: 4rem;
    font-weight: var(--font-weight-semibold);
    color: #c2eaff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.feature-text {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    line-height: 1.7;
}

/* ========================================
   TEAM SECTION
======================================== */
.team-section {
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #ebf1c7 50%, #FFFFFF 100%);
    z-index: -1;
}

/* Team Carousel Wrapper */
.team-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Team Carousel Container */
.team-carousel {
    overflow: hidden;
    width: 100%;
}

/* Team Carousel Track */
.team-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 32px;
}

.team-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 2px solid #ebf1c7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 0 0 calc(50% - 16px);
    width: calc(50% - 16px);
    max-width: calc(50% - 16px);
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ebf1c7 0%, #d9e5a8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.team-card:hover {
    border-color: #d9e5a8;
    box-shadow: 0 8px 32px rgba(235, 241, 199, 0.4);
    transform: translateY(-4px);
}

.team-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #ebf1c7;
}

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

.team-info {
    flex: 1;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-position {
    font-size: 1rem;
    color: var(--text-soft);
    font-weight: var(--font-weight-thin);
}

.team-content {
    position: relative;
    margin-bottom: 0;
}

.team-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

/* Team Carousel Navigation - Override with green colors */
.team-carousel-wrapper .carousel-nav {
    border: 2px solid #ebf1c7;
}

.team-carousel-wrapper .carousel-nav:hover {
    background: #e6f0b2;
    box-shadow: 0 8px 24px rgba(235, 241, 199, 0.4);
}

/* ========================================
   REVIEWS SECTION
======================================== */
.reviews-section {
    position: relative;
    overflow: hidden;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #def1fc 50%, #FFFFFF 100%);
    z-index: -1;
}

.section-subtitle {
    font-size: 1.125rem;
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

/* Carousel Wrapper */
.reviews-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Carousel Container */
.reviews-carousel {
    overflow: hidden;
    width: 100%;
}

/* Carousel Track */
.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 32px;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #c2eaff;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: #c2eaff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(194, 234, 255, 0.4);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-nav-prev {
    left: 0;
}

.carousel-nav-next {
    right: 0;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.carousel-indicator:hover {
    background: #c2eaff;
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: #c2eaff;
    width: 24px;
    border-radius: 4px;
}

.review-card {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 2px solid #c2eaff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    flex: 0 0 calc(50% - 16px);
    width: calc(50% - 16px);
    max-width: calc(50% - 16px);
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c2eaff 0%, #a8dcff 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.review-card:hover {
    border-color: #a8dcff;
    box-shadow: 0 8px 32px rgba(194, 234, 255, 0.3);
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #c2eaff;
}

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

.review-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c2eaff 0%, #a8dcff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.review-info {
    flex: 1;
}

.review-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.review-exam {
    font-size: 0.875rem;
    color: var(--text-soft);
    font-weight: var(--font-weight-thin);
}

.review-content {
    position: relative;
    margin-bottom: 20px;
}

.review-quote {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 4rem;
    line-height: 1;
    color: rgba(194, 234, 255, 0.3);
    font-family: Georgia, serif;
    font-weight: bold;
}

.review-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    font-style: italic;
}

.review-rating {
    display: flex;
    gap: 4px;
}

.review-rating .star-filled {
    color: #fbbf24;
}

.review-rating .star-empty {
    color: #d1d5db;
}

.review-rating svg {
    width: 18px;
    height: 18px;
}

.empty-state {
    text-align: center;
    color: var(--text-soft);
    font-size: 1.125rem;
    padding: 4rem 0;
    grid-column: 1 / -1;
}

/* ========================================
   FAQ SECTION
======================================== */
.faq-section {
    background: var(--white);
}

.faq-container {
    max-width: 900px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--divider-grey);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item.visible {
    animation: fadeInUp var(--transition-smooth) forwards;
}

.faq-question {
    width: 100%;
    padding: 32px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    border-radius: 16px;
    position: relative;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #87cefa;
    border-radius: 0 4px 4px 0;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question::before {
    height: 60%;
}

.faq-question span {
    font-size: 1.125rem;
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.faq-item.active .faq-question span {
    color: #000000;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--text-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    padding: 4px;
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
    background: #87cefa;
    color: rgb(255, 255, 255);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 24px 32px 24px;
}

.faq-answer p {
    font-size: 0.9375rem;
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    line-height: 1.8;
    animation: fadeInContent 0.5s ease-out 0.2s both;
}

@keyframes fadeInContent {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: white;
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
}

.cta-content.visible {
    animation: fadeInUp var(--transition-smooth) forwards;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: var(--font-weight-normal);
    color: var(--text-dark);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-text {
    font-size: 1.125rem;
    font-weight: var(--font-weight-thin);
    color: var(--text-soft);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary,
.cta-btn-secondary {
    padding: 14px 40px;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cta-btn-primary::before,
.cta-btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(194, 234, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.cta-btn-primary:hover::before,
.cta-btn-secondary:hover::before {
    width: 400px;
    height: 400px;
}

.cta-btn-primary {
    background: #c2eaff;
    color: #111827;
    border: 2px solid #c2eaff;
    box-shadow: 0 4px 12px rgba(194, 234, 255, 0.4);
}

.cta-btn-primary:hover {
    background: #a8dcff;
    border-color: #a8dcff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 234, 255, 0.6);
}

.cta-btn-secondary {
    background: white;
    color: #111827;
    border: 2px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cta-btn-secondary:hover {
    border-color: #c2eaff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(194, 234, 255, 0.4);
}

/* ========================================
   ANIMATIONS
======================================== */
.fade-in {
    animation: fadeIn 600ms ease-out forwards;
}

.fade-in-delay-1 {
    animation: fadeIn 600ms ease-out 200ms forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 600ms ease-out 400ms forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 600ms ease-out 600ms forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
}

.scroll-reveal.visible {
    animation: fadeInUp 600ms ease-out forwards;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (min-width: 1024px) {
    .section-spacer {
        padding: var(--section-spacing) 0;
    }
}

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

    .bento-large {
        grid-column: span 1;
        grid-row: span 1;
        padding: 48px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 24px;
        --card-padding: 32px;
    }

    .navbar-container {
        height: 64px;
        padding: 0 24px;
    }

    .hero-section {
        min-height: 350px;
        padding: 50px 20px 40px;
    }

    .logo-image {
        height: 48px;
    }

    .exam-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .exam-tab {
        flex-shrink: 0;
        padding: 12px 20px;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .carousel-track {
        grid-template-columns: 1fr;
    }

    .course-price-badge {
        top: 16px;
        right: 16px;
        padding: 6px 12px;
        border-radius: 10px;
    }

    .price-amount {
        font-size: 1rem;
    }

    .price-currency {
        font-size: 0.625rem;
    }

    .bento-large {
        padding: 40px 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        text-align: center;
    }

    /* Reviews Carousel Mobile */
    .reviews-carousel-wrapper {
        padding: 0 50px;
    }

    .review-card {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
        --card-padding: 24px;
    }

    .hero-search-input {
        height: 48px;
        padding: 0 56px 0 24px;
        font-size: 0.9375rem;
    }

    .category-tag {
        font-size: 0.8125rem;
        padding: 6px 16px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}