:root {
    --primary: #FFD700;
    --dark-bg: #1c1836;
    --bg-color: #1c1836;
    --text-color: #FFFFFF;
    --text-white: #FFFFFF;
    --text-dim: #94A3B8;
    --card-bg: rgba(40, 35, 70, 0.45);
    --navbar-bg: rgba(28, 24, 54, 0.95);
    --navbar-border: rgba(255, 255, 255, 0.05);
    --accent-indigo: #6366f1;
    
    /* Credentials Bar colors (Lighter purple/dark background by default - lightened by 2 tones) */
    --credentials-bg: linear-gradient(180deg, #3f356e 0%, #473c7d 100%);
    --credentials-border: rgba(255, 255, 255, 0.12);
    
    /* Pathway colors */
    --pathway-section-bg: linear-gradient(180deg, #1c1836 0%, #241f45 50%, #2d2657 100%);
    --path-green: #58cc02;
    --path-green-dark: #46a302;
    --path-green-shadow: #3c8700;
    --path-gold: #FFD700;
    --path-gold-dark: #d4a500;
    
    /* Gray locked pathway steps (slate/gray style) */
    --path-locked: #576375;
    --path-locked-border: #78879c;
    --path-locked-shadow: #3b4554;
    
    /* Card/Price Box colors */
    --price-box-bg: rgba(255, 255, 255, 0.03);
    --price-box-border: rgba(255, 255, 255, 0.05);
    
    /* Footer */
    --footer-bg: linear-gradient(180deg, #14102c 0%, #0d0a21 100%);
    --footer-border: rgba(255, 255, 255, 0.06);
    
    /* Cloud colors */
    --cloud-bg: rgba(255, 255, 255, 0.07);
    --cloud-border: rgba(255, 255, 255, 0.25);
}

body.light-theme {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --text-dim: #475569;
    --card-bg: rgba(255, 255, 255, 0.9);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --navbar-border: rgba(0, 0, 0, 0.06);
    
    /* Credentials Bar colors (Light gray/blue background for light theme) */
    --credentials-bg: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    --credentials-border: rgba(0, 0, 0, 0.06);
    
    /* Pathway colors */
    --pathway-section-bg: linear-gradient(180deg, #f8fafc 0%, #eff6ff 50%, #e0f2fe 100%);
    
    /* Gray locked pathway steps in light theme */
    --path-locked: #94a3b8;
    --path-locked-border: #cbd5e1;
    --path-locked-shadow: #64748b;
    
    /* Card/Price Box colors */
    --price-box-bg: #ffffff;
    --price-box-border: rgba(0, 0, 0, 0.08);
    
    /* Footer */
    --footer-bg: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    --footer-border: rgba(0, 0, 0, 0.06);
    
    /* Cloud colors in light theme */
    --cloud-bg: #ffffff;
    --cloud-border: rgba(99, 102, 241, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ═══════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════ */
.navbar {
    height: 80px;
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--navbar-border);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

body.light-theme .theme-toggle-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: var(--accent-indigo);
    color: var(--accent-indigo);
}

body.dark-theme .sun-icon { display: block; }
body.dark-theme .moon-icon { display: none; }
body.light-theme .sun-icon { display: none; }
body.light-theme .moon-icon { display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img { height: 35px; }

.logo-text {
    font-weight: 800;
    font-size: 1.4rem;
}

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

.lang-switcher {
    position: relative;
}

.custom-dropdown {
    position: relative;
    user-select: none;
    min-width: 80px;
}

.dropdown-trigger {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(13, 10, 26, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    min-width: 130px;
}

.custom-dropdown.active .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 10px 18px;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
}

.dropdown-item.active {
    color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: 0.3s;
}

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

.btn-nav {
    background: var(--primary);
    color: var(--dark-bg) !important;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero { 
    padding: 180px 0 120px; 
    background-color: var(--dark-bg); 
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: #818cf8;
    padding: 8px 20px;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.hero-content h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-white);
    letter-spacing: -2px;
}

.hero-content h1 span { color: var(--primary); }

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 580px;
    line-height: 1.6;
}

/* Modern Lead Form */
.hero-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 480px;
    margin-bottom: 24px;
}

.form-group input {
    width: 100%;
    background: rgba(22, 28, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    padding: 18px 24px;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(22, 28, 45, 0.9);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: var(--text-white);
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.6);
}

.social-login {
    max-width: 480px;
}

.btn-social {
    width: 100%;
    background: var(--text-white);
    color: #1f2937;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

/* Trust Bar styling */
.hero-trust-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 440px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-dim);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--text-white);
}

.trust-item strong {
    color: var(--primary);
}

.trust-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--primary);
}

/* Hero Illustration Panel */
.hero-visual-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
}

.hero-illustration {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0,0,0,0.3));
    animation: float-illustration 6s ease-in-out infinite;
    z-index: 10;
}

/* ═══════════════════════════════════════════════
   CREDENTIALS BAR — Harmonized with dark theme
   Uses original logo colors, no invert filter
   ═══════════════════════════════════════════════ */
.credentials-bar {
    background: var(--credentials-bg);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--credentials-border);
    border-bottom: 1px solid var(--credentials-border);
    padding: 50px 0;
    position: relative;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.credentials-bar h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 35px;
    font-weight: 700;
    text-align: center;
}

.credentials-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
}

.credential-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    width: 125px;
    transition: all 0.3s ease;
}

.credential-item:hover {
    transform: translateY(-4px);
}

/* Keep original logo colors — just adjust brightness for dark bg */
.tag-logo-img {
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.credential-item:hover .tag-logo-img {
    opacity: 1;
    transform: scale(1.06);
}

/* SVG logos — can safely invert to white */
.tag-logo-img.bc-logo { height: 32px; filter: invert(1); transition: filter 0.3s ease; }
.tag-logo-img.toefl-logo { height: 52px; filter: invert(1); transition: filter 0.3s ease; }
.tag-logo-img.google-logo { height: 38px; }
.tag-logo-img.ibm-logo { height: 32px; filter: invert(1); transition: filter 0.3s ease; }
.tag-logo-img.yale-logo { height: 122px; transition: filter 0.3s ease; }

/* PNG logos — keep original colors, just brighten for dark bg */
.tag-logo-img.asu-logo {
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.tag-logo-img.montessori-logo {
    height: 65px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 6px;
    background: rgba(255, 255, 255, 0.85);
}

/* Light Theme overrides to prevent logos from disappearing on white bg */
body.light-theme .tag-logo-img.bc-logo { filter: none; }
body.light-theme .tag-logo-img.toefl-logo { filter: none; }
body.light-theme .tag-logo-img.ibm-logo { filter: none; }
body.light-theme .tag-logo-img.yale-logo { filter: none; } /* Show original blue & gray colors, no invert filter */
body.light-theme .tag-logo-img.asu-logo { background: transparent; box-shadow: none; padding: 0; }
body.light-theme .tag-logo-img.montessori-logo { background: transparent; border-color: rgba(0,0,0,0.1); }

.logo-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.5px;
    margin-top: 4px;
    line-height: 1.3;
}

.credential-item:hover .logo-label {
    color: var(--text-white);
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes spin-clockwise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-counter {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes float-illustration {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.8deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* ═══════════════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════════════ */
.section { padding: 80px 0; position: relative; z-index: 10; }
.glass-bg {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
    border-radius: 40px;
}

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

.center-title { text-align: center; margin-bottom: 50px; }
.center-title h2 { font-size: 3rem; margin-bottom: 15px; }

/* Buttons */
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }

.btn-main, .btn-outline {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
    display: inline-block;
}

.btn-main { background: var(--primary); color: #1c1836; }
.btn-outline { border: 2px solid var(--text-dim); color: var(--text-color); }
body.light-theme .btn-outline { color: var(--text-color); border-color: var(--text-dim); }

/* Check list */
.check-list {
    list-style: none;
    padding: 0;
}
.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-dim);
}
.check-list li span:first-child {
    color: var(--primary);
    font-weight: 700;
}

/* Samples Cards */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card-link {
    background: var(--price-box-bg);
    padding: 30px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    border: 1px solid var(--price-box-border);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card-link:hover { border-color: var(--primary); transform: translateY(-5px); }
.card-link strong { font-size: 1.2rem; margin-bottom: 5px; }
.card-link span { color: var(--text-dim); font-size: 0.9rem; }

/* ═══════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════ */
.price-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.price-box {
    background: var(--price-box-bg);
    border: 1px solid var(--price-box-border);
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.price-box.best {
    border: 2px solid var(--primary);
    background: rgba(255, 215, 0, 0.02);
}

.best-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--dark-bg);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.8rem;
}

.cost { font-size: 3rem; font-weight: 800; margin: 15px 0; color: var(--primary); }

.btn-price {
    display: block;
    margin-top: 25px;
    padding: 15px;
    border-radius: 50px;
    border: 1px solid var(--text-dim);
    text-decoration: none;
    color: var(--text-color);
    font-weight: 800;
    transition: all 0.3s ease;
}

.btn-price:hover {
    border-color: var(--primary);
    background: rgba(255, 215, 0, 0.05);
}

.btn-price.primary { background: var(--primary); color: #1c1836; border: none; }
.btn-price.primary:hover { background: #ffe033; }
body.light-theme .btn-price { color: var(--text-color); }
body.light-theme .btn-price.primary { color: #1c1836; }

/* ═══════════════════════════════════════════════
   INTERACTIVE HOMEWORK SHOWCASE
   ═══════════════════════════════════════════════ */
.homework-section {
    padding: 100px 0 120px;
    background: var(--pathway-section-bg);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.homework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.homework-card {
    background: var(--card-bg);
    border: 1px solid var(--price-box-border);
    padding: 45px 35px;
    border-radius: 30px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.homework-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-indigo);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.card-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gold-badge {
    background: rgba(255, 215, 0, 0.12);
    color: var(--primary);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.indigo-badge {
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.topic-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.homework-card h3 {
    font-size: 1.65rem;
    margin: 10px 0 4px;
    color: var(--text-color);
}

.student-attribution {
    font-size: 0.85rem;
    color: var(--accent-indigo);
    font-weight: 600;
    margin-bottom: 25px;
}

.homework-card .card-body p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 25px;
}

.hw-features {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

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

.hw-features li span {
    color: var(--primary);
    font-weight: 700;
}

.btn-play {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-indigo) 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

/* ═══════════════════════════════════════════════
   FOOTER — Premium Polished Design
   ═══════════════════════════════════════════════ */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 40px;
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.2));
}

.footer-logo span {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.footer-divider {
    width: 100%;
    max-width: 600px;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 10px 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 0.85rem;
}

.footer-bottom span[data-i18n] {
    color: var(--text-dim);
}

.side-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
    animation: float-illustration 6s ease-in-out infinite;
    display: block;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   HOMEWORK SHOWCASE — Split Grid Layout
   ═══════════════════════════════════════════════ */
.homework-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    margin-top: 50px;
    align-items: stretch;
}

.homework-panel {
    background: var(--card-bg);
    border: 1px solid var(--price-box-border);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.light-theme .homework-panel {
    background: #ffffff;
    border-color: rgba(0,0,0,0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.panel-header {
    margin-bottom: 30px;
}

.panel-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.panel-header p {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.5;
}

/* Junior Grid — ABC Mouse Playful Kids Style (Pastels & Soft Bubbles) */
.junior-toys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 20px;
    flex-grow: 1;
    align-content: center;
}

.toy-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toy-icon-wrapper {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 0 rgba(0,0,0,0.3);
    transition: all 0.2s ease;
}

.toy-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
}

.toy-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Toy Bubble Themes - bright, friendly cartoon colors */
.toy-yellow .toy-icon-wrapper { background: linear-gradient(135deg, #ffb300, #ff8f00); border: 4px solid #ffe082; }
.toy-blue .toy-icon-wrapper   { background: linear-gradient(135deg, #1e88e5, #1565c0); border: 4px solid #90caf9; }
.toy-green .toy-icon-wrapper  { background: linear-gradient(135deg, #43a047, #2e7d32); border: 4px solid #a5d6a7; }
.toy-red .toy-icon-wrapper    { background: linear-gradient(135deg, #e53935, #c62828); border: 4px solid #ef9a9a; }
.toy-orange .toy-icon-wrapper { background: linear-gradient(135deg, #fb8c00, #ef6c00); border: 4px solid #ffcc80; }
.toy-purple .toy-icon-wrapper { background: linear-gradient(135deg, #8e24aa, #6a1b9a); border: 4px solid #e1bee7; }
.toy-indigo .toy-icon-wrapper { background: linear-gradient(135deg, #3949ab, #283593); border: 4px solid #c5cae9; }

/* Toy Bubble Hovers */
.toy-bubble:hover {
    transform: translateY(-6px);
}

.toy-bubble:hover .toy-icon-wrapper {
    box-shadow: 0 10px 0 rgba(0,0,0,0.35);
    transform: scale(1.05);
}

.toy-bubble:active .toy-icon-wrapper {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(0,0,0,0.35);
}

.toy-yellow:hover .toy-name { color: #ffb300; }
.toy-blue:hover .toy-name   { color: #1e88e5; }
.toy-green:hover .toy-name  { color: #43a047; }
.toy-red:hover .toy-name    { color: #e53935; }
.toy-orange:hover .toy-name { color: #fb8c00; }
.toy-purple:hover .toy-name { color: #8e24aa; }
.toy-indigo:hover .toy-name { color: #3949ab; }

/* Light Theme Adjustments for Toy Names */
body.light-theme .toy-name {
    color: #334155;
}

body.light-theme .toy-icon-wrapper {
    box-shadow: 0 6px 0 #cbd5e1;
}

body.light-theme .toy-bubble:hover .toy-icon-wrapper {
    box-shadow: 0 10px 0 #cbd5e1;
}

body.light-theme .toy-bubble:active .toy-icon-wrapper {
    box-shadow: 0 2px 0 #cbd5e1;
}

/* Senior Card List */
.senior-cards-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    flex-grow: 1;
}

.homework-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--price-box-border);
    padding: 30px;
    border-radius: 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.light-theme .homework-card {
    background: #f8fafc;
    border-color: rgba(0,0,0,0.06);
}

.homework-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-indigo);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.12);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gold-badge {
    background: rgba(255, 215, 0, 0.12);
    color: var(--primary);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.indigo-badge {
    background: rgba(99, 102, 241, 0.12);
    color: var(--accent-indigo);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.topic-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.homework-card h4 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 5px 0 2px;
}

.student-attribution {
    font-size: 0.85rem;
    color: var(--accent-indigo);
    font-weight: 600;
}

.btn-play {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--accent-indigo) 0%, #4f46e5 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    width: 100%;
}

.btn-play:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

/* ═══════════════════════════════════════════════
   MOBILE RESPONSIVENESS
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-grid, .split-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 3rem; }
    .nav-links, .nav-right .btn-nav { display: none; }
    .hero-actions { justify-content: center; }

    .homework-split-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .credentials-grid {
        gap: 20px;
    }

    .credential-item {
        width: 100px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .results-homework-grid {
        grid-template-columns: 1fr !important;
    }
    
    .results-homework-grid .showcase-card {
        grid-template-columns: 1fr !important;
    }
    
    .junior-kids-showcase {
        grid-template-columns: 1fr !important;
    }
}

/* ═══════════════════════════════════════════════
   REVAMPED SHOWCASE CARDS (Real Results)
   ═══════════════════════════════════════════════ */
.results-homework-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.showcase-card {
    background: var(--card-bg);
    border: 1px solid var(--price-box-border);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    transform: translateY(0) scale(1);
}

body.light-theme .showcase-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.showcase-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--accent-indigo);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}

.showcase-img-container {
    width: 100%;
    height: 100%;
    min-height: 250px;
    overflow: hidden;
    position: relative;
    background: #0d0a21;
}

.showcase-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-thumbnail {
    transform: scale(1.04);
}

.showcase-card .card-badge {
    top: 15px;
    left: 15px;
    right: auto;
}

.showcase-content {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-content h4 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin: 6px 0 4px;
    font-weight: 800;
}

.showcase-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.45;
    margin: 12px 0 20px;
}

/* ═══════════════════════════════════════════════
   JUNIOR GAMES revamping (Grid Layout with Images)
   ═══════════════════════════════════════════════ */
.junior-kids-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.junior-game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 4px solid rgba(255, 255, 255, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.1);
    outline-offset: -8px;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1);
    transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.4s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25), inset 0 1px 2px rgba(255,255,255,0.15);
    aspect-ratio: 3 / 3.9;
}

body.light-theme .junior-game-card {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.25);
    outline-color: rgba(99, 102, 241, 0.1);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.06);
}

.junior-game-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.06) 50%, transparent 50.1%, transparent 100%);
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.junior-game-card:hover {
    border-color: var(--primary);
    outline-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 25px 45px rgba(255, 215, 0, 0.3), 0 8px 20px rgba(0,0,0,0.25);
}

body.light-theme .junior-game-card:hover {
    border-color: var(--accent-indigo);
    outline-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 25px 45px rgba(99, 102, 241, 0.25), 0 8px 20px rgba(0,0,0,0.1);
}

.game-img-wrapper {
    position: relative;
    width: 100%;
    flex-grow: 1;
    overflow: hidden;
    background: #0f172a;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.junior-game-card:hover .game-thumbnail {
    transform: scale(1.05);
}

.play-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: var(--primary);
    color: #1c1836;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 12px 18px;
    border-radius: 40px;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.junior-game-card:hover .play-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.game-info {
    padding: 12px 18px 16px;
    background: linear-gradient(180deg, rgba(28, 24, 54, 0.85) 0%, rgba(20, 16, 41, 0.98) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    position: relative;
    z-index: 4;
}

body.light-theme .game-info {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-top-color: rgba(0,0,0,0.05);
}

.game-info h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 800;
}

.game-info p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Placeholders kids visual covers */
.placeholder-img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cartoon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.yellow-bg { background: linear-gradient(135deg, #ffd54f 0%, #ff8f00 100%); }
.blue-bg   { background: linear-gradient(135deg, #64b5f6 0%, #1565c0 100%); }
.green-bg  { background: linear-gradient(135deg, #81c784 0%, #2e7d32 100%); }
.orange-bg { background: linear-gradient(135deg, #ffb74d 0%, #d84315 100%); }
.purple-bg { background: linear-gradient(135deg, #ba68c8 0%, #6a1b9a 100%); }
.indigo-bg { background: linear-gradient(135deg, #7986cb 0%, #283593 100%); }

.junior-game-card, .showcase-card {
    animation: gentle-card-wobble 8s ease-in-out infinite alternate;
}

@keyframes gentle-card-wobble {
    0% {
        transform: perspective(1000px) rotateX(0.5deg) rotateY(-0.5deg) scale(1);
    }
    100% {
        transform: perspective(1000px) rotateX(-0.5deg) rotateY(0.5deg) scale(1);
    }
}

.junior-game-card:hover, .showcase-card:hover {
    animation-play-state: paused;
}

.game-highlight {
    border-color: rgba(99, 102, 241, 0.5);
}

.game-highlight:hover {
    border-color: var(--primary);
}
