﻿/* Variables */
:root {
    --primary-dark: #0A192F;
    --primary: #1E3A5F;
    --primary-light: #2B4C7C;
    --secondary: #C5A572;
    --secondary-dark: #8B7355;
    --accent: #B22234;
    --light: #F8F9FA;
    --gray: #6B7A8A;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #F5F7FA 0%, #E9ECEF 100%);
    color: var(--primary-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255,255,255,0.98);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

    .navbar.scrolled {
        padding: 0.75rem 0;
        box-shadow: var(--shadow-md);
    }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--secondary-dark);
    font-weight: 600;
}

.nav-link {
    font-weight: 600;
    color: var(--primary-dark) !important;
    transition: var(--transition);
    margin: 0 0.25rem;
}

    .nav-link:hover {
        color: var(--secondary) !important;
    }

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 40px;
    padding: 8px 20px;
    font-weight: 600;
    transition: var(--transition);
}

    .btn-outline-primary:hover {
        background: var(--primary);
        color: white;
    }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -20%;
        right: -10%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(197,165,114,0.08) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(197,165,114,0.15);
    color: var(--secondary-dark);
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

    .hero-title span {
        color: var(--secondary);
    }

.hero-desc {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 32px;
    max-width: 550px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-download {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-android {
    background: var(--primary-dark);
    color: white;
}

    .btn-android:hover {
        background: var(--primary);
        transform: translateY(-3px);
        color: white;
    }

.btn-ios {
    background: #000;
    color: white;
}

    .btn-ios:hover {
        background: #1a1a1a;
        transform: translateY(-3px);
        color: white;
    }

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 550px;
    background: var(--primary-dark);
    border-radius: 40px;
    margin: 0 auto;
    padding: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

    .phone-mockup::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: 25px;
        background: #1a1a1a;
        border-radius: 20px;
    }

.phone-screen {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    height: 100%;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

    .phone-screen i {
        font-size: 4rem;
        color: var(--secondary);
        margin-bottom: 20px;
    }

    .phone-screen h3 {
        font-size: 1.8rem;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .phone-screen p {
        opacity: 0.8;
    }

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--primary-dark);
    padding: 6px 18px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--light);
    padding: 32px 24px;
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        background: white;
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--secondary);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 60px 0 80px;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 40px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-card::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 300px;
        height: 300px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
    }

    .cta-card::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -5%;
        width: 250px;
        height: 250px;
        background: rgba(255,255,255,0.05);
        border-radius: 50%;
    }

    .cta-card h2 {
        color: white;
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 16px;
        position: relative;
        z-index: 1;
    }

    .cta-card p {
        color: rgba(255,255,255,0.85);
        max-width: 500px;
        margin: 0 auto 32px;
        position: relative;
        z-index: 1;
    }

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

    .cta-buttons .btn-download {
        background: white;
        color: var(--primary-dark);
    }

        .cta-buttons .btn-download:hover {
            background: var(--secondary);
            color: var(--primary-dark);
        }

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .footer-brand i {
        font-size: 2rem;
        color: var(--secondary);
    }

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Footer Links - VERTICAL */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
        padding: 0;
    }

    .footer-links a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 0.9rem;
    }

        .footer-links a:hover {
            color: var(--secondary);
        }

/* Contact Info - VERTICAL */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .contact-info li {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 12px;
    }

    .contact-info i {
        width: 20px;
        color: var(--secondary);
    }

    .contact-info span,
    .contact-info a {
        color: rgba(255,255,255,0.7);
        font-size: 0.9rem;
        text-decoration: none;
    }

        .contact-info a:hover {
            color: var(--secondary);
        }

.copyright {
    font-size: 0.85rem;
}
/* Modal */
.modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border: none;
}

    .modal-header .btn-close {
        filter: brightness(0) invert(1);
    }

.modal-body {
    padding: 24px;
    direction: rtl;
}

    .modal-body h6 {
        color: var(--primary);
        font-weight: 700;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .modal-body ul {
        padding-right: 20px;
    }

.modal-footer {
    border-top: 1px solid #dee2e6;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero {
        min-height: auto;
        padding: 80px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-card {
        padding: 40px 24px;
    }

        .cta-card h2 {
            font-size: 1.6rem;
        }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-badge {
        display: table;
        margin: 0 auto 24px;
    }

    .hero-title {
        text-align: center;
    }

    .footer {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
        margin-bottom: 16px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links {
        text-align: center;
    }

        .footer-links li {
            display: block;
            text-align: center;
        }

    .contact-info {
        text-align: center;
    }

        .contact-info li {
            justify-content: center;
        }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .cta-card {
        padding: 32px 20px;
    }

        .cta-card h2 {
            font-size: 1.3rem;
        }

    .btn-download {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
