/* Base Styles */
:root {
    --primary-color: #4F46E5;
    --secondary-color: #7C3AED;
    --text-color: #1F2937;
    --light-bg: #F9FAFB;
    --white: #FFFFFF;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-700: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* WhatsApp-Style Testimonials */
.testimonials-bar {
    background-color: transparent; /* Completely transparent background */
    position: relative;
    padding: 30px 0 20px;
    overflow-x: auto; /* Enable horizontal scrolling */
    overflow-y: visible; /* Allow some vertical overflow for testimonial items */
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: thin; /* Thin scrollbar on Firefox */
    scrollbar-color: #888 #f1f1f1; /* Scrollbar colors on Firefox */
}

/* Background pattern removed */

.testimonials-slider {
    display: flex;
    width: max-content; /* Let content determine width */
    margin: 0 auto;
    position: relative;
    z-index: 1;
    gap: 20px; /* Space between testimonials */
    padding: 15px 0; /* Increased vertical padding */
}

@keyframes slideTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-item {
    flex: 0 0 auto; /* Auto width based on content */
    min-width: 150px;
    max-width: 260px;
    position: relative;
    margin: 0 15px;
    animation: fadeIn 0.4s ease;
    height: auto; /* Auto height based on content */
    min-height: 80px;
    max-height: none; /* No maximum height to allow full content */
    overflow: visible; /* Allow content to be fully visible */
    margin-top: 8px; /* Ensure top part is not cut off */
    margin-bottom: 8px; /* Additional space at bottom */
}

.testimonial-item.user-message {
    background-color: #DCF8C6; /* WhatsApp green message bubble */
    border-radius: 7.5px 0 7.5px 7.5px;
    padding: 8px 12px;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    align-self: flex-end;
}

.testimonial-item.received-message {
    background-color: white; /* WhatsApp white message bubble */
    border-radius: 0 7.5px 7.5px 7.5px;
    padding: 8px 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle border */
    align-self: flex-start;
}

/* Removed message bubble arrows */

.testimonial-quote {
    margin-bottom: 4px;
    position: relative;
    height: auto; /* Auto height */
    overflow: visible; /* Allow all content to be visible */
    display: flex;
    flex-direction: column;
}

.testimonial-quote p {
    margin: 0;
    font-size: 14px;
    color: #303030;
    line-height: 1.4;
    flex-grow: 1;
    overflow: visible;
    /* Remove line clamping to show all content */
    display: block;
    word-break: break-word;
    padding-right: 40px; /* Space for timestamp */
    max-width: 100%;
    padding-bottom: 16px; /* Space for timestamp */
}

.testimonial-name {
    font-size: 13px;
    color: #4F7FBA; /* WhatsApp blue links */
    font-weight: 600;
    display: block;
    margin-bottom: 5px; /* Space between name and message */
    position: relative;
}

.message-time {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.45);
    position: absolute;
    right: 12px;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    margin-bottom: 2px;
}

/* Blue and gray double check marks for all messages */
.message-time::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 9px;
    margin-right: 3px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: scale(0.9);
}

/* Blue double check marks */
.message-time.blue-ticks::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="11" viewBox="0 0 16 11"><path d="M15.01 3.316l-.478-.372a.365.365 0 0 0-.51.063L8.666 9.879a.32.32 0 0 1-.484.033l-.358-.325a.319.319 0 0 0-.484.032l-.378.483a.418.418 0 0 0 .036.541l1.32 1.266c.143.14.361.125.484-.033l6.272-8.048a.366.366 0 0 0-.064-.512zm-4.1 0l-.478-.372a.365.365 0 0 0-.51.063L4.566 9.879a.32.32 0 0 1-.484.033L1.891 7.769a.366.366 0 0 0-.515.006l-.423.433a.364.364 0 0 0 .006.514l3.258 3.185c.143.14.361.125.484-.033l6.272-8.048a.365.365 0 0 0-.063-.51z" fill="%234FC3F7"/></svg>');
}

/* Grey double check marks */
.message-time.grey-ticks::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="11" viewBox="0 0 16 11"><path d="M15.01 3.316l-.478-.372a.365.365 0 0 0-.51.063L8.666 9.879a.32.32 0 0 1-.484.033l-.358-.325a.319.319 0 0 0-.484.032l-.378.483a.418.418 0 0 0 .036.541l1.32 1.266c.143.14.361.125.484-.033l6.272-8.048a.366.366 0 0 0-.064-.512zm-4.1 0l-.478-.372a.365.365 0 0 0-.51.063L4.566 9.879a.32.32 0 0 1-.484.033L1.891 7.769a.366.366 0 0 0-.515.006l-.423.433a.364.364 0 0 0 .006.514l3.258 3.185c.143.14.361.125.484-.033l6.272-8.048a.365.365 0 0 0-.063-.51z" fill="%23A0A0A0"/></svg>');
}

.message-footer {
    display: none; /* Hide the footer as we're moving names to the top */
}

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

/* Make sure testimonials look good on mobile */
@media (max-width: 768px) {
    .testimonial-item {
        max-width: 230px;
        min-height: 70px;
        margin: 0 10px;
    }
    
    .testimonial-quote p {
        font-size: 13px;
        /* Remove line clamping */
        display: block;
    }
    
    .testimonials-bar::before {
        opacity: 0.07; /* Even more subtle on mobile */
    }
    
    /* Hide scrollbar on mobile but keep functionality */
    .testimonials-bar {
        -ms-overflow-style: none; /* IE and Edge */
        scrollbar-width: none; /* Firefox */
    }
    
    .testimonials-bar::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }
}

@keyframes slideTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.9;
    }
    25%, 75% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
        transform: translateY(-3px);
    }
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-symbol {
    background: linear-gradient(135deg, #434dea 0%, #434dea 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 3px 8px rgba(67, 77, 234, 0.3);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #7d3bed 0%, #7d3bed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
    padding-right: 20px;
}

/* Test styles */
.playground-link {
    position: relative;
    color: #4F46E5 !important;
}

.soon-tag {
    display: inline-block;
    position: relative;
    top: -8px;
    font-size: 11px;
    background: #ff946b !important;
    color: white !important;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: lowercase;
    margin-left: 4px;
}

.nav-cta-button {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%) !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25) !important;
    margin-left: 10px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
    font-size: 16px;
    padding: 8px 16px;
    position: relative;
    white-space: nowrap;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Add soon tag styles */
.playground-link {
    position: relative;
    padding-right: 20px;
}

.soon-tag {
    display: inline-block;
    position: relative;
    top: -8px;
    font-size: 11px;
    background: #F59E0B;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: lowercase;
    margin-left: 4px;
}

/* Navigation CTA button */
.nav-cta-button {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s !important;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    margin-left: 10px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
    color: white !important;
}

/* Playground soon tag */
.playground-link {
    position: relative;
    padding-right: 10px;
}

.soon-tag {
    position: relative;
    top: -8px;
    font-size: 11px;
    background: #F59E0B;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: 600;
    text-transform: lowercase;
}

/* Language Switcher */
.language-switcher {
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 5px 12px;
    background-color: var(--gray-100);
    border-radius: 20px;
}

.language-switcher span {
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.2s;
}

.language-switcher span.active {
    font-weight: 600;
    color: var(--primary-color);
}

.language-switcher span.hero-cta {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white !important;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
    font-size: 16px;
    min-height: 48px;
    min-width: 160px;
    white-space: nowrap;
}

.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary-color) !important;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.15);
    font-size: 16px;
    min-height: 48px;
    min-width: 160px;
    white-space: nowrap;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: #4338CA;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    padding: 120px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%234F46E5' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 0;
}

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

.hero-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    font-size: 16px;
    min-height: 48px;
    min-width: 160px;
    white-space: nowrap;
}

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.secondary-cta {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.secondary-cta:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo-circle {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.3);
    position: relative;
    z-index: 1;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border-radius: 50%;
    z-index: -1;
}

.logo-circle::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 50%;
    z-index: -2;
}

.logo-circle span {
    font-size: 100px;
    font-weight: 800;
    color: white;
}

.hero-logo .logo-text {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.subtitle {
    font-size: 20px;
    color: var(--gray-700);
    margin-bottom: 40px;
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 0;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.stat-item {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text {
        text-align: center;
        order: 1;
    }
    
    .hero-illustration {
        order: 0;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .logo-circle {
        width: 140px;
        height: 140px;
    }
    
    .logo-circle span {
        font-size: 80px;
    }
    
    .hero-logo .logo-text {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .stat-item {
        border-bottom: 1px solid var(--gray-200);
        padding-bottom: 15px;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray-700);
}

/* Video Section */
.video-section {
    padding: 80px 0;
    text-align: center;
}

.video-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.video-placeholder {
    background-color: var(--gray-100);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--gray-700);
    font-size: 18px;
}

/* Teachers Section */
.teachers {
  padding: 60px 0;
  overflow: hidden;
  background-color: #f9fafc;
}

.teachers .container {
  max-width: 100%;
  padding: 0 15px;
}

.teachers h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
}

.teacher-slider {
  position: relative;
  padding: 0 50px;
  margin: 0 auto;
  max-width: 1600px;
}

.teacher-cards {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding: 10px 0 30px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
}

.teacher-cards::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}
.teacher-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 16px;
  width: 200px;
  min-height: 340px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  flex-shrink: 0;
  scroll-snap-align: start;
}
.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.animated-card {
  opacity: 0;
  animation: cardFadeIn 0.8s cubic-bezier(.4,1.6,.4,1) forwards;
}
.animated-card[data-card="1"] { animation-delay: 0.1s; }
.animated-card[data-card="2"] { animation-delay: 0.25s; }
.animated-card[data-card="3"] { animation-delay: 0.4s; }
@keyframes cardFadeIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: none; }
}
.card-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  justify-content: space-between;
}
.card-number {
  background: #4F46E5;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 8px;
  box-shadow: 0 2px 6px rgba(80,70,229,0.12);
}
.status-badge {
  background: #22C55E;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 16px;
  padding: 2px 14px;
  margin-right: 6px;
  margin-left: 0;
  box-shadow: 0 1px 3px rgba(34,197,94,0.09);
  display: inline-block;
}
.status-badge:not(.available) {
  background: #E5E7EB;
  color: #6B7280;
}
.level-badge {
  background: #E0E7FF;
  color: #6366F1;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 16px;
  padding: 2px 14px;
  margin-left: auto;
  margin-right: 0;
  box-shadow: 0 1px 3px rgba(99,102,241,0.09);
  display: inline-block;
}
.level-badge.advanced {
  background: #FDE68A;
  color: #B45309;
}
.level-badge.expert {
  background: #E0E7FF;
  color: #6366F1;
}
.avatar-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 12px auto;
  background: linear-gradient(135deg, #E0E7FF 0%, #F1F5F9 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(80, 70, 229, 0.08);
}
.teacher-avatar {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.avatar-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
  will-change: transform, opacity;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  background: linear-gradient(135deg, #E0E7FF 0%, #F1F5F9 100%);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
  transform-origin: center;
}

.teacher-avatar:hover {
  transform: translateY(-4px) rotate(2deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.teacher-avatar:hover .avatar-image {
  opacity: 1;
  transform: scale(1.05);
  filter: brightness(1.02);
}

.teacher-avatar:hover .avatar-placeholder {
  opacity: 0;
  transform: scale(1.3);
}

.card-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  font-size: 14px;
}
.card-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.teacher-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #4F46E5;
  margin-right: 6px;
}

.metrics {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 60%;
}

.metric {
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 10px 4px 8px;
  border-radius: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4F46E5;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(79, 70, 229, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.metric:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.18);
  background: #4F46E5;
  color: white;
  border-color: transparent;
}

.rating-badge, .star {
  display: none;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 10px 0;
}
.tag {
  background: #EEF2FF;
  color: #6366F1;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 12px;
  padding: 4px 10px;
  box-shadow: 0 1px 2px rgba(99,102,241,0.05);
  transition: background 0.2s, color 0.2s;
}
.teacher-card:hover .tag {
  background: #6366F1;
  color: #fff;
}
.cta-button {
  width: 100%;
  background: linear-gradient(90deg, #4F46E5 60%, #7C3AED 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 10px 0;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(79,70,229,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cta-button:hover {
  background: linear-gradient(90deg, #7C3AED 60%, #4F46E5 100%);
  box-shadow: 0 6px 18px rgba(79,70,229,0.16);
  transform: scale(1.03);
}
@media (max-width: 1100px) {
  .teacher-cards {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .teacher-card {
    width: 95vw;
    min-width: 0;
    max-width: 400px;
  }
}
.teacher-card h3 {
    margin-bottom: 8px;
    color: var(--text-color);
}

.teacher-card p {
    color: var(--gray-700);
    font-size: 14px;
    margin-bottom: 4px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: var(--background-color);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 8px;
}

.pricing .section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
}

.pricing-grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content: center;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-header {
    background-color: #f9fafb;
    padding: 30px 20px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popular-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #ff946b;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #111827;
    text-align: left;
    position: absolute;
    top: 12px;
    left: 20px;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7d3bed;
    gap: 4px;
    margin-top: 24px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 400;
}

.card-content {
    padding: 24px 20px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.features-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: #374151;
}

.features-list li.included::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23434dea'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.features-list li.not-included {
    color: #9CA3AF;
    opacity: 0.6;
}

.features-list li.not-included::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23D1D5DB'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.pricing-card .cta-button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    background: #7d3bed;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-card .cta-button:hover {
    background: #ff946b;
}

@media (max-width: 992px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    .pricing-grid {
        padding: 0 24px;
        flex-wrap: wrap;
    }
    
    .pricing-card {
        flex-basis: 100%;
        max-width: 450px;
    }
}

@media (max-width: 992px) {
    .pricing-grid {
        padding: 0 24px;
        flex-wrap: wrap;
    }
    
    .pricing-card {
        flex-basis: 100%;
        max-width: 450px;
    }
}
/* Aya Playground Section */
.playground-section {
    position: relative;
    overflow: hidden;
    background-color: #0f172a;
    padding: 60px 0;
    color: white;
    transition: background-color 0.8s ease-in-out;
}

.playground-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    opacity: 0;
    transition: opacity 0.8s ease-out;
    z-index: 0;
    will-change: opacity;
}

.playground-section.in-view::before {
    opacity: 1;
}

.playground-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.3) 0%, rgba(15, 23, 42, 0) 70%);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 1s ease;
    z-index: 1;
    pointer-events: none;
    will-change: opacity, transform;
}

.playground-section.scrolling-in .playground-background {
    opacity: 0.2;
    transform: scale(0.9);
}

.playground-section.in-view .playground-background {
    opacity: 1;
    transform: scale(1);
}

.playground-content {
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

.playground-card {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    transform: perspective(1000px) scale(0.9) translateY(40px);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease;
    position: relative;
    z-index: 10;
    will-change: transform, opacity;
}

/* Reduce complexity of pseudo-element on mobile */
@media (min-width: 768px) {
    .playground-card::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 30px;
        background: linear-gradient(135deg, rgba(99, 102, 241, 0.5) 0%, rgba(79, 70, 229, 0.2) 50%, rgba(99, 102, 241, 0) 100%);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.6s ease;
        filter: blur(15px);
        will-change: opacity;
    }

    .playground-section.in-view .playground-card::before {
        opacity: 1;
    }
}

.playground-section.scrolling-in .playground-card {
    transform: perspective(1000px) scale(0.95) translateY(20px);
    opacity: 0.8;
}

.playground-section.in-view .playground-card {
    transform: perspective(1000px) scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.playground-header {
    padding: 20px 30px;
    background: rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-circle {
    width: 32px;
    height: 32px;
    background: #6366f1;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
}

.playground-logo h3 {
    font-size: 1.25rem;
    color: white;
    margin: 0;
    font-weight: 600;
}

.coming-soon-badge {
    font-size: 0.85rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.7) 0%, rgba(79, 70, 229, 0.8) 100%);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    animation: pulseBadge 2s infinite alternate;
}

.coming-soon-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shineEffect 3s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

@keyframes shineEffect {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

.playground-body {
    padding: 40px;
    color: white;
}

.playground-body h2 {
    font-size: 2.25rem;
    margin: 0 0 16px;
    background: linear-gradient(to right, #c4b5fd, #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.playground-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.playground-features {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.playground-feature {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playground-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playground-feature .feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: 0 4px 8px rgba(129, 140, 248, 0.2);
    margin: 0 auto 15px;
    border: 2px solid rgba(129, 140, 248, 0.2);
}

.playground-feature .feature-icon i {
    font-size: 24px;
    color: #7d3bed;
    display: block !important;
}

.playground-feature h4 {
    font-size: 1.125rem;
    margin: 0 0 10px;
    color: white;
}

.playground-feature p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.5;
}

.playground-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-screen {
    width: 100%;
    max-width: 600px;
    background: #1a1c29;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: perspective(1000px) translateZ(0);
    transition: transform 0.4s ease;
    position: relative;
    will-change: transform;
}

/* Only add the scanline effect on desktop for better performance */
@media (min-width: 768px) {
    .mockup-screen::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(to right, #6366f1, #4f46e5, #6366f1);
        animation: scanline 4s ease-in-out infinite;
        opacity: 0.7;
        will-change: transform;
    }

    @keyframes scanline {
        0% { transform: translateY(0); opacity: 0.7; }
        50% { transform: translateY(300px); opacity: 0.2; }
        100% { transform: translateY(600px); opacity: 0; }
    }
}

.mockup-screen:hover {
    transform: perspective(1000px) translateZ(10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.2);
}

.screen-content {
    padding: 20px;
    position: relative;
}

.mockup-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(99, 102, 241, 0.6);
    border-radius: 50%;
    animation: float 4s infinite ease-in-out;
}

/* Optimized animation with fewer keyframes */
@keyframes float {
    0% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(-50px); opacity: 0.7; }
    100% { transform: translateY(-100px); opacity: 0; }
}

.screen-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.screen-tabs {
    display: flex;
    gap: 20px;
}

.screen-tabs span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease;
}

.screen-tabs span.active {
    color: white;
    background: rgba(99, 102, 241, 0.2);
}

.screen-tabs span.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366F1;
    animation: tabSlide 0.3s ease-in-out forwards;
}

@keyframes tabSlide {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.screen-exercise {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2;
}

.screen-exercise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: -1;
    border-radius: 8px;
}

.screen-exercise .exercise-topic {
    position: absolute;
    top: -8px;
    right: 15px;
    background: rgba(99, 102, 241, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
}

.screen-exercise h5 {
    font-size: 1rem;
    color: white;
    margin: 0 0 15px;
}

.exercise-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.exercise-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.filter {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.75rem;
    position: relative;
}

.filter::after {
    content: '▼';
    font-size: 0.6rem;
    margin-left: 8px;
    opacity: 0.7;
}

.generate-button {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    font-size: 0.875rem;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.generate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.generate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.generate-button:hover::before {
    left: 100%;
}

.example-sentence {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    border-left: 2px solid #6366f1;
}

.example-sentence .highlight {
    color: #818cf8;
    font-weight: 500;
}

.examples-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.completion-indicator {
    position: absolute;
    bottom: -10px;
    right: 20px;
    height: 4px;
    width: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.completion-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #818cf8);
    border-radius: 2px;
    transition: width 0.8s ease;
}

@media (max-width: 992px) {
    .playground-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .playground-body {
        padding: 30px 20px;
    }
    
    .playground-body h2 {
        font-size: 1.75rem;
    }
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a2240 0%, #2b2a5e 50%, #3a2973 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mission.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(180deg, #1e293b 0%, #1a2240 100%);
    z-index: 1;
}

.mission .container {
    position: relative;
    z-index: 2;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 20px;
    align-items: center;
}

.mission-content {
    text-align: left;
    padding-right: 40px;
}

.mission-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    line-height: 1.2;
}

.mission-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 48px;
    color: #94A3B8;
    max-width: 540px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.impact-stat {
    background: rgba(255, 255, 255, 0.07);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.impact-number {
    font-size: 2rem;
    font-weight: 700;
    color: #7C3AED;
}

.impact-label {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #CBD5E1;
}

.mission-media {
    position: relative;
    height: 100%;
    min-height: 480px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    border: 2px dashed rgba(124, 58, 237, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(124, 58, 237, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    z-index: 2;
    transition: transform 0.3s, background-color 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(124, 58, 237, 1);
}

.placeholder-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    text-align: center;
    z-index: 2;
}

.coming-soon {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.1);
}

@media (max-width: 768px) {
    .mission-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .mission-content {
        padding-right: 0;
        text-align: center;
    }

    .mission-content h2 {
        font-size: 2rem;
    }

    .mission-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .impact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 400px;
        margin: 0 auto;
    }

    .mission-media {
        min-height: 400px;
    }
}

/* Transition between Playground and Mission sections */
.playground-section.transitioning-out {
    background-color: #182234; /* Slightly lighter transition color */
}

/* Create a gradient transition at the bottom of the playground section */
.playground-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0), rgba(31, 41, 55, 0.8));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.playground-section.transitioning-out::after {
    opacity: 1;
}

.author-info p {
    margin: 4px 0 0;
    color: var(--gray-700);
    font-size: 14px;
}

.impact-stats {
    display: flex;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.impact-stat {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.impact-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: var(--gray-200);
}

.impact-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1;
}

.impact-text {
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.5;
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
    background-color: #f5f7fc;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 10px;
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
}

.contact-form .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: white;
    font-size: 1.1rem;
    line-height: 1.5;
}

.contact-form .container {
    padding: 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Form Progress Indicator */
.form-progress {
    margin-bottom: 30px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 30px;
}

.progress-step {
    width: 100%;
    height: 6px;
    background-color: #E5E7EB;
    border-radius: 3px;
    margin: 0 5px;
    transition: background-color 0.3s ease;
}

.progress-step.active {
    background-color: #3B82F6;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Form Elements */
.form-step h3 {
    font-size: 1.5rem;
    color: #111827;
    margin-bottom: 25px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 1rem;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s;
    background-color: #fff;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Radio Buttons */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.radio-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.radio-option:hover {
    border-color: #D1D5DB;
}

.radio-custom {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.radio-option input[type="radio"]:checked ~ .radio-custom {
    border-color: #3B82F6;
    background-color: #fff;
}

.radio-option input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #3B82F6;
    display: block;
}

.radio-option input[type="radio"]:checked ~ .radio-label {
    color: #6366f1;
}

/* Pricing option in mini form */
.pricing-radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.pricing-option {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.pricing-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.pricing-option input[type="radio"]:checked + .radio-custom + .plan-details {
    color: #6366f1;
}

.pricing-option input[type="radio"]:checked + .radio-custom {
    border-color: #6366f1;
    background-color: #6366f1;
}

.plan-details {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.plan-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.plan-price {
    font-weight: 500;
    color: #6366f1;
    margin-bottom: 2px;
}

.plan-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.form-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    text-align: center;
}

.radio-label {
    flex: 1;
}

.radio-label strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.radio-label p {
    color: #6B7280;
    font-size: 0.9rem;
    margin: 0;
}

/* Checkbox Options */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    position: relative;
    padding: 5px 0;
    cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #D1D5DB;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-custom {
    border-color: #3B82F6;
    background-color: #3B82F6;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-label {
    font-size: 1rem;
    color: #4B5563;
}

/* Days and Time Grid */
.days-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.day-option {
    flex: 0 0 calc(33.333% - 7px);
    position: relative;
    cursor: pointer;
}

.day-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: #F3F4F6;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #4B5563;
    transition: all 0.2s ease;
}

.day-option input[type="checkbox"]:checked + .day-label {
    background-color: #EBF5FF;
    color: #1E40AF;
    font-weight: 500;
}

.time-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.time-option {
    flex: 0 0 calc(50% - 5px);
    position: relative;
    cursor: pointer;
}

.time-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.time-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background-color: #F3F4F6;
    border-radius: 30px;
    font-size: 0.9rem;
    color: #4B5563;
    transition: all 0.2s ease;
}

.time-option input[type="checkbox"]:checked + .time-label {
    background-color: #EBF5FF;
    color: #1E40AF;
    font-weight: 500;
}

/* Contact Fields */
.contact-fields {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-fields .input-group {
    flex: 1;
}

/* Terms Checkbox */
.terms-checkbox {
    margin-bottom: 30px;
}

.checkbox-option.terms {
    padding: 10px 0;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn-prev {
    background-color: #F3F4F6;
    color: #4B5563;
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-prev:hover {
    background-color: #E5E7EB;
}

.btn-next {
    background-color: #3B82F6;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-next:hover {
    background-color: #2563EB;
}

.btn-submit {
    background-color: #3B82F6;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.btn-submit:hover {
    background-color: #2563EB;
}

/* Form Completion */
.form-completion {
    text-align: center;
}

.completion-message {
    margin-bottom: 30px;
}

.completion-message h3 {
    font-size: 1.3rem;
    color: #1E40AF;
    margin-bottom: 10px;
}

/* Contact Form Background */
.contact-form {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    position: relative;
    overflow: hidden;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-container {
        padding: 25px 20px;
    }
    
    .day-option {
        flex: 0 0 calc(50% - 5px);
    }
    
    .time-option {
        flex: 0 0 100%;
    }
    
    .contact-fields {
        flex-direction: column;
        gap: 10px;
    }
}

.text-button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.2s;
}

.text-button:hover {
    background-color: rgba(79, 70, 229, 0.05);
}

.text-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 24px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.form-success p {
    color: var(--gray-700);
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--gray-100);
    padding: 40px 0;
    margin-top: 80px;
}

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

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--gray-700);
    transition: color 0.2s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .pricing-card {
        max-width: 100%;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-navigation .cta-button {
        width: 100%;
    }
    
    .mission .container {
        grid-template-columns: 1fr;
    }
    
    .mission-image {
        order: -1;
        min-height: 300px;
    }
    
    .impact-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .impact-stat {
        padding: 15px 0;
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .impact-stat:last-child {
        border-bottom: none;
    }
    
    .nav-links {
        display: none; /* Will be replaced with mobile menu */
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .teacher-carousel {
        flex-direction: column;
        align-items: center;
    }
    
    .teacher-card {
        width: 100%;
        max-width: 300px;
    }
}
