﻿:root {
    --primary-blue: #4f46e5;
    --primary-purple: #6366f1;
    --gradient-text: linear-gradient(135deg, #a855f7, #ec4899);
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --card-border: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
}

/* ================= NAVBAR ================= */
.navbar {
    height: 75px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon-bg {
    width: 38px;
    height: 38px;
    background: #3b82f6;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.brand-sub {
    font-size: 11px;
    color: #64748b;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    border: none;
    background: #f1f5f9;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    color: #475569;
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

/* ================= HERO SECTION (WITH NEW IMAGE) ================= */
.hero-section {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* التغشية اللونية لجعل النص واضحاً ومطابقاً للتصميم */
.gradient-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.65) 50%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 60px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-left-text {
    max-width: 600px;
}

.badge-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-main-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-main-title span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 16px;
    color: #cbd5e1;
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-buttons-group {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: #4f46e5;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #4338ca;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-right-graphics {
    position: relative;
}

.handwritten-note {
    font-family: 'Caveat', cursive;
    font-size: 32px;
    line-height: 1;
    color: #ffffff;
    transform: rotate(-8deg);
    margin-bottom: 20px;
}

.books-stack-graphic {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 220px;
}

.book-spine {
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.book-spine.vocab { background: #0284c7; }
.book-spine.grammar { background: #ea580c; }
.book-spine.listening { background: #059669; }
.book-spine.speaking { background: #7c3aed; }

/* ================= FEATURES STRIP ================= */
.features-strip {
    max-width: 1280px;
    margin: -30px auto 40px;
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
}

.feature-item {
    text-align: center;
}

.feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
    color: #fff;
}

.feat-icon.purple { background: #6366f1; }
.feat-icon.green { background: #10b981; }
.feat-icon.orange { background: #f59e0b; }
.feat-icon.blue { background: #3b82f6; }
.feat-icon.pink { background: #ec4899; }

.feature-item h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 11px;
    color: var(--text-muted);
}

/* ================= COURSES SECTION ================= */
.courses-section {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 24px;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.sub-heading-label {
    font-size: 11px;
    font-weight: 800;
    color: #4f46e5;
    letter-spacing: 1px;
}

.main-heading {
    font-size: 32px;
    font-weight: 800;
    margin: 4px 0;
}

.heading-desc {
    color: var(--text-muted);
    font-size: 14px;
}

.view-all-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.course-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 16px;
}

.blue-bg { background: #3b82f6; }
.purple-bg { background: #8b5cf6; }
.green-bg { background: #10b981; }
.orange-bg { background: #f59e0b; }
.cyan-bg { background: #06b6d4; }
.magenta-bg { background: #d946ef; }

.course-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    min-height: 36px;
}

.card-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.card-link.blue { color: #3b82f6; }
.card-link.purple { color: #8b5cf6; }
.card-link.green { color: #10b981; }
.card-link.orange { color: #f59e0b; }
.card-link.cyan { color: #06b6d4; }
.card-link.magenta { color: #d946ef; }

/* ================= STATS BANNER ================= */
.stats-banner {
    background: #0f172a;
    color: #ffffff;
    padding: 40px 24px;
    margin: 60px 0;
}

.stats-banner {
    max-width: 1280px;
    margin: 60px auto;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-left-title h2 {
    font-size: 24px;
    margin-bottom: 6px;
}

.stats-left-title p {
    color: #94a3b8;
    font-size: 13px;
}

.stats-grid {
    display: flex;
    gap: 40px;
}

.stat-box {
    text-align: center;
}

.stat-box i {
    font-size: 20px;
    color: #38bdf8;
    margin-bottom: 6px;
}

.stat-num {
    font-size: 22px;
    font-weight: 800;
}

.stat-label {
    font-size: 11px;
    color: #94a3b8;
}

/* ================= MOTIVATION & FOOTER ================= */
.motivation-section {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.motivation-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stack-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #1e1b4b;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.btn-purple { background: #6366f1; }

.quote-card {
    background: #eef2ff;
    padding: 24px;
    border-radius: 16px;
    max-width: 360px;
}

.quote-icon {
    color: #818cf8;
    font-size: 20px;
}

.quote-text {
    font-size: 14px;
    font-weight: 600;
    margin: 8px 0;
}

.quote-author {
    font-size: 12px;
    color: #6366f1;
    font-weight: 700;
}

.main-footer {
    background: #090d16;
    color: #94a3b8;
    padding: 40px 24px;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-title {
    color: #fff;
    font-size: 18px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 12px;
    font-size: 13px;
}

.footer-socials a {
    color: #fff;
    margin: 0 8px;
    font-size: 16px;
}

.footer-copy {
    font-size: 12px;
}

@media (max-width: 1024px) {
    .courses-grid { grid-template-columns: repeat(3, 1fr); }
    .features-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .courses-grid, .features-strip { grid-template-columns: 1fr; }
    .hero-content-wrapper { flex-direction: column; text-align: center; }
    .hero-right-graphics { display: none; }
    .stats-banner { flex-direction: column; gap: 24px; }
}