/**
 * ==========================================================================
 * ملف: landing_styles.css
 * المسار: /modules/landing/landing_styles.css
 * الوظيفة: أنماط الصفحة التسويقية الرئيسية لمنصة فجر ون
 * الإصدار: 1.0
 * تاريخ الإنشاء: 2026-02-23
 * ==========================================================================
 */

/* ==========================================================================
   1. المتغيرات الأساسية
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Zain:wght@400;500;700&display=swap');

:root {
    --brand-color: #446179;
    --brand-color-dark: #3a5368;
    --brand-color-darker: #2c4050;
    --brand-color-light: rgba(68, 97, 121, 0.08);
    --text-color-base: #212529;
    --text-color-muted: #6c757d;
    --border-color: #dee2e6;
    --section-background: #f8f9fa;
    --background-page: #f0f2f5;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --main-font: 'Zain', Arial, sans-serif;
    --border-radius: 4px;
}


/* ==========================================================================
   2. أنماط عامة
   ========================================================================== */

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

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    background-color: #fff;
    color: var(--text-color-base);
    direction: rtl;
    line-height: 1.6;
    overflow-x: hidden;
}

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


/* ==========================================================================
   3. Hero Section - تعريف فجر ون
   ========================================================================== */

.hero {
    background: linear-gradient(160deg, var(--brand-color) 0%, var(--brand-color-darker) 100%);
    color: #fff;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

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

.hero-logo {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero-logo-ar {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 25px;
    font-weight: 400;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 1.15rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
}


/* ==========================================================================
   4. الأقسام العامة
   ========================================================================== */

.section {
    padding: 70px 20px;
}

.section-alt {
    background-color: var(--section-background);
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: 10px;
}

.section-header h2 i {
    margin-left: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-color-muted);
    max-width: 600px;
    margin: 0 auto;
}

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


/* ==========================================================================
   5. بطاقات الأنظمة
   ========================================================================== */

.systems-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.system-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.section-alt .system-card {
    border: 1px solid #e0e3e7;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--brand-color);
    opacity: 0;
    transition: opacity 0.3s;
}

.system-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.system-card:hover::before {
    opacity: 1;
}

.system-icon {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.system-icon.erp {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
}

.system-icon.field {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

.system-icon.health {
    background: linear-gradient(135deg, #fce4ec, #f8bbd0);
    color: #c2185b;
}

.system-icon.pos {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ef6c00;
}

.system-icon.ecommerce {
    background: linear-gradient(135deg, #ede7f6, #d1c4e9);
    color: #5e35b1;
}

.system-icon.attendance {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #ef6c00;
}

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

.system-card p {
    font-size: 0.95rem;
    color: var(--text-color-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}

.system-features {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.system-features li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-color-base);
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-features li i {
    color: var(--success-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}


/* ==========================================================================
   6. زر اكتشف المزيد
   ========================================================================== */

.system-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 20px;
    border: 2px solid var(--brand-color);
    border-radius: 6px;
    color: var(--brand-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.system-card-link:hover {
    background: var(--brand-color);
    color: #fff;
}

.system-card-link i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.system-card-link:hover i {
    transform: translateX(-4px);
}


/* ==========================================================================
   7. الفوتر
   ========================================================================== */

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    background: var(--brand-color-light);
    color: var(--brand-color);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color-base);
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-color-muted);
    line-height: 1.6;
}


/* ==========================================================================
   7. الفوتر
   ========================================================================== */

.landing-footer {
    background: var(--brand-color-darker);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9rem;
}

.landing-footer strong {
    color: #fff;
}


/* ==========================================================================
   8. التجاوب (Responsive)
   ========================================================================== */

@media (max-width: 768px) {
    .hero {
        padding: 50px 15px 40px;
    }

    .hero-logo {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .section {
        padding: 50px 15px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .systems-grid {
        grid-template-columns: 1fr 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

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