/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.relative {
    position: relative;
}

.text-emerald {
    color: #10b981;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 1rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: #10b981;
    color: #fff;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    background: #34d399;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.5);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-dark {
    background: #334155;
    color: #fff;
}

.btn-dark:hover {
    background: #475569;
}

.btn-white-ghost {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.875rem;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: #10b981;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.logo:hover .logo-icon {
    background: #34d399;
}

.logo span {
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #34d399;
}

.nav-cta {
    display: none;
}

@media (min-width: 768px) {
    .nav-cta {
        display: inline-flex;
    }
}

.menu-toggle {
    display: block;
    color: #fff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.mobile-menu {
    display: none;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1rem 1.5rem;
}

.mobile-menu.open {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.mobile-link:hover {
    color: #34d399;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-cta {
    display: block;
    margin-top: 0.75rem;
    text-align: center;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0f172a;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.2);
}

.blob-2 {
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.15);
}

.blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: rgba(30, 41, 59, 0.5);
    filter: blur(80px);
}

.blob-4 {
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.2);
}

.blob-5 {
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.15);
}

.blob-6 {
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.2);
}

.blob-7 {
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.15);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 6rem;
    padding-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .hero-content {
        flex-direction: row;
    }
}

.hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: right;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}

.hero-desc {
    color: #94a3b8;
    font-size: 1.125rem;
    line-height: 1.8;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

@media (min-width: 1024px) {
    .hero-desc {
        margin-right: 0;
        margin-left: auto;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (min-width: 1024px) {
    .hero-badges {
        justify-content: flex-start;
    }
}

.hero-badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.hero-badge-item svg {
    color: #34d399;
}

/* phone mockup */
.hero-phone {
    flex-shrink: 0;
    position: relative;
}

.phone-shell {
    position: relative;
    width: 256px;
    height: 520px;
    background: #1e293b;
    border-radius: 2.5rem;
    border: 6px solid #334155;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 1024px) {
    .phone-shell {
        width: 288px;
        height: 580px;
    }
}

.phone-screen {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    text-align: center;
}

.phone-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #34d399;
}

.phone-timer {
    color: #fff;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.phone-sub {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.phone-progress {
    width: 100%;
    background: #334155;
    border-radius: 9999px;
    height: 8px;
    margin-bottom: 1.5rem;
}

.phone-progress-bar {
    background: #10b981;
    height: 8px;
    border-radius: 9999px;
}

.phone-motivate {
    color: #34d399;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.phone-motivate-sub {
    color: #94a3b8;
    font-size: 0.75rem;
    line-height: 1.5;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 24px;
    background: #1e293b;
    border-radius: 0 0 0.75rem 0.75rem;
}

/* floating badges */
.float-badge {
    position: absolute;
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.float-badge-1 {
    left: -2rem;
    top: 6rem;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: floatSlow 3s ease-in-out infinite;
}

.float-icon {
    width: 40px;
    height: 40px;
    background: #d1fae5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
}

.float-label {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
}

.float-value {
    color: #059669;
    font-weight: 900;
    font-size: 1.125rem;
    line-height: 1;
}

.float-badge-2 {
    right: -1.5rem;
    bottom: 8rem;
    background: #1e293b;
    border: 1px solid #334155;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.float-value-sm {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* hero wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* ===== STATS ===== */
.stats {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    padding: 3.5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 900;
    color: #10b981;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

.section-header p {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto;
}

.section-tag {
    color: #059669;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-header-light h2 {
    color: #fff;
}

.section-header-light p {
    color: #94a3b8;
}

/* ===== HOW IT WORKS ===== */
.how {
    background: #f8fafc;
    padding: 6rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.step-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2.25rem;
    font-weight: 900;
    color: #f1f5f9;
    transition: color 0.3s;
}

.step-card:hover .step-number {
    color: #e2e8f0;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.step-icon-sky {
    background: #f0f9ff;
    color: #0284c7;
}

.step-icon-emerald {
    background: #ecfdf5;
    color: #059669;
}

.step-icon-amber {
    background: #fffbeb;
    color: #d97706;
}

.step-icon-rose {
    background: #fff1f2;
    color: #e11d48;
}

.step-card h3 {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ===== FEATURES ===== */
.features {
    background: #fff;
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-icon-rose {
    background: #fff1f2;
    color: #e11d48;
}

.feature-icon-emerald {
    background: #ecfdf5;
    color: #059669;
}

.feature-icon-sky {
    background: #f0f9ff;
    color: #0284c7;
}

.feature-icon-amber {
    background: #fffbeb;
    color: #d97706;
}

.feature-icon-violet {
    background: #f5f3ff;
    color: #7c3aed;
}

.feature-icon-teal {
    background: #f0fdfa;
    color: #0d9488;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: #f8fafc;
    padding: 6rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.review-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: box-shadow 0.3s;
}

.review-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.review-stars {
    display: flex;
    justify-content: flex-end;
    gap: 2px;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.review-text {
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.review-name {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.875rem;
}

.review-grade {
    color: #94a3b8;
    font-size: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 0.875rem;
}

.bg-emerald {
    background: #10b981;
}

.bg-sky {
    background: #0ea5e9;
}

.bg-amber {
    background: #f59e0b;
}

.bg-rose {
    background: #f43f5e;
}

/* ===== PREMIUM ===== */
.premium {
    background: #0f172a;
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
}

.premium-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-card {
    border-radius: 1.5rem;
    padding: 2rem;
}

.pricing-free {
    background: #1e293b;
    border: 1px solid #334155;
}

.pricing-premium {
    background: linear-gradient(135deg, #059669, #0d9488);
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.2);
    position: relative;
}

.premium-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.pricing-card h3 {
    color: #fff;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.pricing-sub {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.pricing-premium .pricing-sub {
    color: rgba(209, 250, 229, 0.8);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2rem;
}

.pricing-currency {
    font-size: 1.5rem;
}

.pricing-price-soon {
    font-size: 3rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.pricing-features li svg {
    color: #34d399;
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-premium .pricing-features li {
    color: #d1fae5;
}

.premium-feat-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.premium-feat-icon svg {
    color: #fff;
}

/* ===== COURSES ===== */
.courses {
    background: #f8fafc;
    padding: 6rem 0;
}

.courses-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .courses-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.courses-header h2 {
    font-size: 1.875rem;
    font-weight: 900;
    color: #0f172a;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .courses-header h2 {
        font-size: 2.25rem;
    }
}

.courses-header p {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 36rem;
}

.courses-see-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: color 0.2s;
}

.courses-see-all:hover {
    color: #047857;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.course-card {
    background: #fff;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}

.course-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.course-thumb {
    position: relative;
    height: 176px;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-card:hover .course-thumb img {
    transform: scale(1.05);
}

.course-play {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.course-card:hover .course-play {
    opacity: 1;
}

.course-play-btn {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-source {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #dc2626;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.course-body {
    padding: 1.25rem;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.course-grade {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

.course-subject {
    background: #d1fae5;
    color: #047857;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 0.5rem;
}

.course-card h3 {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.course-lessons {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #94a3b8;
    font-size: 0.75rem;
}

/* ===== DOWNLOAD ===== */
.download {
    background: #fff;
    padding: 6rem 0;
}

.download-box {
    position: relative;
    background: linear-gradient(135deg, #0f172a, #1e293b, #064e3b);
    border-radius: 2.5rem;
    overflow: hidden;
    padding: 4rem 2rem;
    text-align: center;
}

.download-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.download-content {
    position: relative;
    z-index: 10;
}

.download-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #34d399;
}

.download-box h2 {
    font-size: 1.875rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

@media (min-width: 640px) {
    .download-box h2 {
        font-size: 3rem;
    }
}

.download-box p {
    color: #94a3b8;
    font-size: 1.125rem;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.download-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .download-actions {
        flex-direction: row;
        justify-content: center;
    }
}

.download-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.download-trust span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.875rem;
}

.download-trust span svg {
    color: #34d399;
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-brand {
    text-align: right;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: #fff;
    font-weight: 900;
    font-size: 1.25rem;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: #94a3b8;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #34d399;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== SUBPAGE COMMON ===== */
.subpage-hero {
    background: #0f172a;
    padding-top: 7rem;
    padding-bottom: 4rem;
    text-align: center;
}

.subpage-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #34d399;
}

.subpage-hero h1 {
    font-size: 1.875rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .subpage-hero h1 {
        font-size: 2.25rem;
    }
}

.subpage-hero p {
    color: #94a3b8;
}

.subpage-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #059669;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s;
}

.subpage-back:hover {
    color: #047857;
}

.subpage-body {
    max-width: 48rem;
    margin: 0 auto;
    padding: 3rem 1rem;
}

@media (min-width: 640px) {
    .subpage-body {
        padding: 3rem 1.5rem;
    }
}

.subpage-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.subpage-card h2 {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
}

.subpage-card ul {
    list-style: none;
}

.subpage-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #475569;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.subpage-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
    }
}

.contact-info-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: #ecfdf5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #059669;
}

.contact-info-label {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
}

.contact-info-value {
    color: #0f172a;
    font-weight: 700;
    font-size: 0.875rem;
}

.contact-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.contact-social-link {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.contact-social-link:hover {
    background: #ecfdf5;
    color: #059669;
}

.contact-form-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    color: #334155;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-family: inherit;
    color: #0f172a;
    transition: all 0.2s;
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.form-textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    background: #10b981;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.875rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.2);
    transition: background 0.2s;
}

.form-submit:hover {
    background: #34d399;
}

.form-success {
    text-align: center;
    padding: 3rem 0;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: #ecfdf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: #10b981;
}

.form-success h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.form-success p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.form-success a {
    color: #059669;
    font-weight: 700;
    font-size: 0.875rem;
}

/* ===== ABOUT ===== */
.about-intro {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
}

.about-intro p {
    color: #334155;
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-intro strong {
    color: #0f172a;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.value-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: #ecfdf5;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #059669;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.7;
}

.timeline-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.timeline-card h2 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 2rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 11px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #f1f5f9;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-dot {
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.timeline-item h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.timeline-item p {
    font-size: 0.875rem;
    color: #64748b;
}

/* ===== 404 ===== */
.notfound {
    min-height: 100vh;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.notfound-icon {
    width: 80px;
    height: 80px;
    background: #f1f5f9;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #94a3b8;
}

.notfound h1 {
    font-size: 3.75rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.notfound p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.notfound .sub {
    color: #94a3b8;
    font-size: 0.875rem;
    max-width: 28rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}