/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --grad-start: #667eea;
    --grad-end: #764ba2;
    --grad: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
    --text-dark: #1a1a2e;
    --text-mid: #4a4a6a;
    --text-light: #7a7a9a;
    --bg-light: #f8f7ff;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Assistant', sans-serif;
    direction: rtl;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Assistant', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
}

.btn-nav {
    background: var(--white);
    color: var(--grad-start);
    font-size: 0.9rem;
    padding: 10px 22px;
}

.btn-nav:hover {
    background: var(--bg-light);
    transform: translateY(-1px);
}

.btn-large {
    font-size: 1.15rem;
    padding: 16px 40px;
}

.btn-full {
    display: block;
    text-align: center;
    width: 100%;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--grad);
    backdrop-filter: blur(10px);
    padding: 14px 0;
    box-shadow: 0 2px 20px rgba(102,126,234,0.3);
}

.navbar-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

/* ==================== HERO ==================== */
.hero {
    background: var(--grad);
    padding: 80px 20px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    max-width: 720px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--white);
}

.gradient-text {
    background: linear-gradient(135deg, #ffd89b, #ff9a9e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-visual {
    display: none;
}

/* ==================== SECTIONS COMMON ==================== */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-title.white {
    color: var(--white);
}

.section-sub {
    text-align: center;
    color: var(--text-mid);
    margin-bottom: 48px;
    font-size: 1.05rem;
}

.section-sub.white {
    color: rgba(255,255,255,0.85);
}

/* ==================== WHY SECTION ==================== */
.why-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(102,126,234,0.25);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.card p {
    color: var(--text-mid);
    line-height: 1.7;
}

/* ==================== ONLINE BADGE ==================== */
.online-badge {
    margin-top: 36px;
    text-align: center;
    display: inline-block;
    width: 100%;
    background: linear-gradient(135deg, rgba(102,126,234,0.12) 0%, rgba(118,75,162,0.12) 100%);
    border: 2px solid rgba(102,126,234,0.3);
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--grad-end);
}

/* ==================== GALLERY ==================== */
.gallery-section {
    padding: 80px 20px;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.gallery-item img:hover {
    transform: scale(1.06);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ==================== CURRICULUM ==================== */
.curriculum-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.curriculum-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.curriculum-list li {
    background: var(--white);
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 12px rgba(102,126,234,0.1);
    transition: transform 0.2s;
}

.curriculum-list li:hover {
    transform: translateX(-4px);
}

/* ==================== REVIEWS ==================== */
.reviews-section {
    padding: 80px 20px;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.review-card {
    background: var(--bg-light);
    padding: 28px;
    border-radius: var(--radius);
    border-right: 4px solid var(--grad-start);
    box-shadow: var(--shadow);
}

.review-stars {
    font-size: 1rem;
    margin-bottom: 14px;
}

.review-text {
    color: var(--text-mid);
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--grad);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-author span {
    font-weight: 700;
    color: var(--text-dark);
}

/* ==================== PRICING ==================== */
.pricing-section {
    padding: 80px 20px;
    background: var(--grad);
}

.pricing-card {
    background: var(--white);
    max-width: 500px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 44px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    position: relative;
}

.pricing-badge {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    background: linear-gradient(135deg, #ffd89b, #ff9a9e);
    color: #333;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
}

.pricing-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.pricing-price {
    margin-bottom: 28px;
}

.price-original {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 12px;
}

.price-current {
    font-size: 3.2rem;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    list-style: none;
    text-align: right;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 14px;
    background: var(--bg-light);
    border-radius: 10px;
}

.pricing-note {
    margin-top: 16px;
    font-size: 0.82rem;
    color: var(--text-light);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 28px 20px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer a {
    color: var(--grad-start);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    left: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.5);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 36px rgba(37,211,102,0.65);
}

/* ==================== SCISSORS ANIMATION ==================== */
.scissors-anim {
    font-size: 6rem;
    animation: float 3s ease-in-out infinite;
    display: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-10deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* ==================== FADE IN ANIMATION ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        gap: 24px;
    }

    .pricing-card {
        padding: 36px 24px;
    }

    .navbar-inner {
        gap: 12px;
    }

    .logo {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 16px 80px;
        min-height: auto;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
