/* =========================================================
   index.css - تصميم صفحة الإقلاع (Landing Page)
   ========================================================= */

:root {
    --brand: #006c35;
    --brand-dark: #004d26;
    --brand-light: #e8f5e9;
    --brand-rgb: 0, 108, 53;
    --bg1: #f4f6fa;
    --bg2: #e9eef6;
    --ink: #1a1a2e;
    --text: #2d3748;
    --muted: #64748b;
    --line: #e2e8f0;
    --soft: #f8fafc;
    --white: #ffffff;
    --shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    direction: rtl;
    color: var(--text);
    line-height: 1.6;
}

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

/* =============================
   2) البار العلوي (Navbar) - نسخة مكبرة
   ============================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 32px;  /* زيادة */
    height: 80px;  /* كانت 70px */
    display: flex;
    align-items: center;
}

.navbar-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 38px;  /* تكبير */
    font-weight: 900;
    color: var(--ink);
}

.logo-main {
    color: var(--brand);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 20px;  /* كانت 16px */
}

.nav-link {
    font-weight: 700;
    font-size: 1.1rem;  /* تكبير */
    color: var(--muted);
    padding: 10px 16px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--brand);
}

.nav-login {
    color: var(--ink);
    font-size: 1.1rem;
}

.nav-login i {
    margin-left: 8px;
}

.nav-btn-primary {
    background: var(--brand);
    color: var(--white);
    padding: 14px 32px;  /* تكبير */
    font-weight: 800;
    font-size: 1.1rem;  /* تكبير */
    transition: all 0.2s ease;
}

.nav-btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(var(--brand-rgb), 0.4);
}

.nav-btn-primary i {
    margin-right: 8px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;  /* تكبير */
    color: var(--ink);
    cursor: pointer;
    padding: 8px;
}
/* ===== القسم الرئيسي ===== */
.hero {
    padding: 120px 24px 80px;
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-light);
    color: var(--brand);
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-highlight {
    color: var(--brand);
    position: relative;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-light);
    z-index: -1;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: var(--brand);
    color: var(--white);
    padding: 16px 32px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.2s ease;
}

.hero-btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(var(--brand-rgb), 0.4);
}

.hero-btn-primary i {
    margin-right: 8px;
}

.hero-btn-secondary {
    background: var(--white);
    color: var(--ink);
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--line);
    transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
    transform: translateY(-2px);
}

.hero-btn-secondary i {
    margin-left: 8px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--line);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .stat-number {
    font-size: 28px;
    font-weight: 900;
    color: var(--ink);
}

.hero-stat .stat-label {
    font-size: 14px;
    color: var(--muted);
    font-weight: 600;
}

/* ===== صورة الهيرو ===== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.illustration-card {
    background: var(--white);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.illustration-card i {
    font-size: 36px;
    color: var(--brand);
    display: block;
    margin-bottom: 12px;
}

.illustration-card span {
    font-weight: 700;
    font-size: 16px;
    color: var(--ink);
}

/* ===== المميزات ===== */
.features {
    padding: 80px 24px;
    background: var(--white);
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand);
    padding: 4px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 12px;
}

.highlight {
    color: var(--brand);
}

.section-subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--soft);
    padding: 30px 24px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--brand);
}

.feature-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ===== الإحصائيات ===== */
.stats-section {
    padding: 60px 24px;
    background: var(--brand);
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    display: block;
}

.stat-item .stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

/* ===== آراء العملاء ===== */
.testimonials {
    padding: 80px 24px;
    background: var(--bg1);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px 28px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
}

.testimonial-stars i {
    font-size: 16px;
    margin-left: 2px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.author-avatar i {
    font-size: 40px;
    color: var(--muted);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 800;
    font-size: 16px;
    color: var(--ink);
}

.author-role {
    font-size: 13px;
    color: var(--muted);
}

/* ===== CTA ===== */
.cta-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, var(--ink), #2d2d4e);
}

.cta-container {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 40px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-title .highlight {
    color: var(--brand);
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.cta-btn {
    display: inline-block;
    background: var(--brand);
    color: var(--white);
    padding: 18px 48px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -10px rgba(var(--brand-rgb), 0.5);
}

.cta-btn i {
    margin-right: 10px;
}

/* ===== الفوتر ===== */
.footer {
    background: var(--ink);
    padding: 60px 24px 20px;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 12px;
}

.footer-brand .logo-main {
    color: var(--brand);
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--brand);
    transform: translateY(-2px);
}

.footer-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact i {
    margin-left: 10px;
    color: var(--brand);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* ===== الريسبونسف ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-illustration {
        max-width: 300px;
        margin: 0 auto;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .navbar-links.active {
        display: flex;
    }
    .nav-toggle {
        display: block;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .hero-stat .stat-number {
        font-size: 22px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .section-title {
        font-size: 28px;
    }
    .cta-title {
        font-size: 30px;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 26px;
    }
    .illustration-card {
        padding: 20px 16px;
    }
    .illustration-card i {
        font-size: 28px;
    }
    .hero {
        padding: 100px 16px 60px;
    }
}
/* =========================================================
   تحسين هيدر وقائمة صفحة الهبوط على الجوال
   ========================================================= */
@media (max-width: 768px) {
    .navbar {
        height: 68px;
        padding: 0 14px;
        background: rgba(255,255,255,.97);
        box-shadow: 0 8px 24px rgba(15,23,42,.06);
    }

    .navbar-container {
        position: relative;
        max-width: none;
        min-height: 68px;
    }

    .navbar-logo {
        order: 1;
    }

    .navbar-logo .logo-text {
        font-size: 31px;
        line-height: 1;
        letter-spacing: -.6px;
    }

    .nav-toggle {
        order: 2;
        display: grid;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(226,232,240,.9);
        border-radius: 12px;
        background: #fff;
        color: var(--ink);
        font-size: 23px;
        box-shadow: 0 5px 14px rgba(15,23,42,.06);
        transition: .18s ease;
    }

    .nav-toggle.active {
        color: var(--brand);
        border-color: rgba(0,108,53,.28);
        background: #f5fbf7;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        z-index: 1002;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        padding: 10px;
        gap: 4px;
        flex-direction: column;
        align-items: stretch;
        background: rgba(255,255,255,.99);
        border: 1px solid #e6ebf0;
        border-radius: 15px;
        box-shadow: 0 18px 45px rgba(15,23,42,.14);
    }

    .navbar-links.active {
        display: flex;
        animation: mobileMenuIn .16s ease-out;
    }

    .navbar-links .nav-link {
        width: 100%;
        padding: 10px 12px;
        border-radius: 9px;
        font-size: 14px;
        font-weight: 700;
        text-align: right;
        color: var(--ink);
        background: transparent;
    }

    .navbar-links .nav-link:hover,
    .navbar-links .nav-link:active {
        color: var(--brand);
        background: #f3f8f5;
    }

    .navbar-links .nav-login {
        margin-top: 2px;
        border-top: 1px solid #edf1f4;
        border-radius: 0;
        padding-top: 12px;
    }

    .navbar-links .nav-btn-primary {
        width: 100%;
        margin-top: 4px;
        padding: 11px 14px;
        border-radius: 10px;
        font-size: 14px;
        text-align: center;
        justify-content: center;
    }

    @keyframes mobileMenuIn {
        from { opacity: 0; transform: translateY(-6px) scale(.985); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
}

@media (max-width: 480px) {
    .navbar {
        height: 64px;
        padding-inline: 12px;
    }

    .navbar-container {
        min-height: 64px;
    }

    .navbar-logo .logo-text {
        font-size: 29px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .navbar-links {
        top: 57px;
        left: 2px;
        right: 2px;
        width: auto;
        max-width: none;
    }
}
