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

:root {
    --primary: #1e7f5c;
    --primary-dark: #166848;
    --primary-light: #25a474;
    --secondary: #10b981;
    --accent: #f59e0b;
    --accent-2: #ef6c00;
    --hero-grad-1: #f59e0b;
    --hero-grad-2: #ef6c00;
    --bg: #ffffff;
    --bg-alt: #f9fafb;
    --bg-warm: #fff8ed;
    --text: #111827;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 2rem; flex-wrap: nowrap;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem; font-weight: 900;
    color: var(--primary); text-decoration: none;
    display: flex; align-items: center; gap: 0.75rem;
}

.logo img { height: 50px; width: auto; object-fit: contain; }

.nav-links {
    display: flex; list-style: none; gap: 1.5rem;
    align-items: center; flex-wrap: nowrap;
}

.nav-links li { white-space: nowrap; }

.nav-links a {
    color: var(--text); text-decoration: none;
    font-weight: 500; position: relative;
    padding: 0.5rem 0; white-space: nowrap;
}

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

.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.mobile-auth { display: none !important; }
.desktop-auth { display: flex; }

.auth-buttons { display: flex; gap: 1rem; align-items: center; flex-wrap: nowrap; }

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: none; cursor: pointer;
    transition: var(--transition);
    position: relative; overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.4s ease;
}

.btn:hover::before { transform: scaleX(1); }

.btn span, .btn i { position: relative; z-index: 1; }

.btn-student {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; box-shadow: 0 4px 15px rgba(30, 127, 92, 0.3);
}

.btn-student:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(30, 127, 92, 0.4); }

.btn-teacher {
    background: linear-gradient(135deg, var(--secondary), #34d399);
    color: white; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-teacher:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4); }

.btn-parent {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-parent:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4); }

.btn-white {
    background: white; color: var(--accent-2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }

.btn-outline {
    background: transparent; border: 2px solid white; color: white;
}

.btn-outline:hover { background: white; color: var(--accent-2); }

.mobile-toggle {
    display: none; flex-direction: column; gap: 6px;
    cursor: pointer; padding: 0.5rem;
    background: var(--bg-alt); border: 2px solid var(--border);
    border-radius: 8px; z-index: 1002;
    position: fixed; right: 1rem; top: 0.75rem;
    transition: var(--transition);
}

.mobile-toggle:hover, .mobile-toggle.active {
    background: var(--primary); border-color: var(--primary);
}

.mobile-toggle:hover span, .mobile-toggle.active span { background: white; }

.mobile-toggle span {
    width: 24px; height: 2px; background: var(--text);
    border-radius: 2px; transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== Hero ===== */
.hero-section {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
    color: white; position: relative; overflow: hidden;
}

.hero-section::before {
    content: ''; position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-section::after {
    content: ''; position: absolute;
    bottom: -30%; left: -10%;
    width: 500px; height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

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

.hero-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600; margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900; line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight-date {
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-2);
    padding: 0.1rem 0.8rem;
    border-radius: 0.5rem;
    display: inline-block;
}

.hero-content p {
    font-size: 1.35rem; margin-bottom: 2.5rem;
    opacity: 0.95; max-width: 700px;
}

.hero-content p strong {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.1rem 0.5rem; border-radius: 0.4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem; margin-top: 4rem; padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item { text-align: center; }
.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem; font-weight: 900;
    display: block; margin-bottom: 0.5rem;
}
.stat-label { font-size: 0.9rem; opacity: 0.85; }

/* ===== Info Bar ===== */
.info-bar {
    padding: 2rem 0;
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border);
}

.info-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.info-bar-item {
    display: flex; align-items: center; gap: 1rem;
    background: white; padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-2);
}

.info-bar-item i {
    font-size: 1.6rem; color: var(--accent-2);
    width: 50px; height: 50px;
    background: rgba(239, 108, 0, 0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.info-bar-item strong {
    display: block; font-size: 0.85rem;
    color: var(--text-light); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 0.15rem;
}

.info-bar-item span {
    font-weight: 700; color: var(--text);
}

/* ===== Sections (common) ===== */
.features-section, .weeks-section, .curriculum-section, .schedule-section, .why-section, .faq-section {
    padding: 100px 0;
}

.features-section { background: var(--bg-alt); }
.weeks-section { background: white; }
.curriculum-section { background: var(--bg-alt); }
.schedule-section { background: white; }
.why-section { background: linear-gradient(135deg, var(--bg-warm), white); }
.faq-section { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 4rem; }

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600; font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900; color: var(--text);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.15rem; color: var(--text-light);
    max-width: 700px; margin: 0 auto;
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-2);
}

.feature-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: white;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem; font-weight: 800;
    margin-bottom: 1rem;
}

.feature-card p { color: var(--text-light); }

/* ===== Weeks ===== */
.weeks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.week-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    border-top: 6px solid var(--accent-2);
}

.week-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.week-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
    color: white;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700; font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.week-date {
    font-size: 0.85rem; color: var(--text-light);
    font-weight: 600; margin-bottom: 0.75rem;
}

.week-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem; font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.week-card ul { list-style: none; }

.week-card ul li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--text);
    display: flex; align-items: flex-start; gap: 0.6rem;
}

.week-card ul li i {
    color: var(--primary);
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

.week-card ul li:last-child i { color: var(--accent-2); }

/* ===== Curriculum ===== */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.curriculum-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    transition: var(--transition);
}

.curriculum-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.curriculum-card.highlight-card {
    background: linear-gradient(135deg, #fff8ed, white);
    border-color: var(--accent-2);
}

.curriculum-icon {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: white;
    margin-bottom: 1.25rem;
}

.curriculum-card.highlight-card .curriculum-icon {
    background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
}

.curriculum-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem; font-weight: 800;
    margin-bottom: 0.5rem; color: var(--text);
}

.level-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    min-height: 2.6em;
}

.curriculum-topics {
    list-style: none;
    border-top: 1px dashed var(--border);
    padding-top: 1rem;
}

.curriculum-topics li {
    padding: 0.4rem 0;
    color: var(--text);
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.4rem;
}

.curriculum-topics li::before {
    content: '\f00c'; /* fa-check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0; top: 0.5rem;
    color: var(--primary);
    font-size: 0.8rem;
}

/* ===== Schedule (Daily) ===== */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.schedule-grid-two {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.schedule-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}

.schedule-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.schedule-time {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--bg-alt);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-weight: 700; font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.schedule-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.schedule-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== Why Section ===== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
}

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

.why-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin: 1rem 0 1.5rem;
}

.why-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

.why-list { list-style: none; }

.why-list li {
    padding: 0.75rem 0;
    font-size: 1.05rem;
    display: flex; align-items: center; gap: 0.75rem;
    border-bottom: 1px dashed var(--border);
}

.why-list li i {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.big-stat {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    transition: var(--transition);
}

.big-stat:hover {
    transform: translateY(-6px);
    border-color: var(--accent-2);
    box-shadow: var(--shadow-xl);
}

.big-stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block; line-height: 1;
}

.big-stat-number sup { font-size: 0.5em; }

.big-stat-label {
    color: var(--text-light);
    font-weight: 600;
    margin-top: 0.5rem;
    display: block;
}

/* ===== FAQ ===== */
.faq-list {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    transition: var(--transition);
}

.faq-item[open] {
    border-color: var(--accent-2);
    box-shadow: var(--shadow);
}

.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    list-style: none;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary i {
    transition: transform 0.25s ease;
    color: var(--accent-2);
}

.faq-item[open] summary i { transform: rotate(180deg); }

.faq-item p {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--hero-grad-1), var(--hero-grad-2));
    color: white; text-align: center;
    position: relative; overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -30%; right: -10%;
    width: 600px; height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-content {
    position: relative; z-index: 1;
    max-width: 800px; margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: #0f1f1a;
    color: white;
    padding: 4rem 0 2rem;
}

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

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

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

.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-2);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

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

.footer-links li {
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed; top: 0; right: -100%;
        width: 320px; max-width: 85%; height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-links.active { right: 0; }

    .nav-links li { width: 100%; }

    .desktop-auth { display: none; }
    .mobile-auth { display: flex !important; flex-direction: column; gap: 0.75rem; width: 100%; margin-top: 1rem; }
    .mobile-auth .btn { width: 100%; justify-content: center; }

    .mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
    .container { padding: 0 1rem; }
    .hero-section { padding: 130px 0 70px; }
    .hero-content p { font-size: 1.1rem; }
    .hero-stats { gap: 1rem; margin-top: 2.5rem; padding-top: 2rem; }
    .stat-number { font-size: 1.8rem; }
    .features-section, .weeks-section, .curriculum-section, .schedule-section, .why-section, .faq-section, .cta-section { padding: 60px 0; }
    .feature-card, .week-card, .curriculum-card, .schedule-card { padding: 1.5rem; }
    .info-bar-grid { grid-template-columns: 1fr; }
    .why-stats { grid-template-columns: 1fr 1fr; }
    .big-stat { padding: 1.5rem 1rem; }
    .big-stat-number { font-size: 2.5rem; }
}
