* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f0f9ff;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
    --shadow-lg: 0 10px 25px rgba(30, 64, 175, 0.15);
}

body {
    font-family: 'Noto Kufi Arabic', sans-serif;
    direction: rtl;
    background: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 8px;
    border: solid 0.1px var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu {
    display: none;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 99;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--bg-light), var(--white));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    /* line-height: 1.3; */
    color: var(--text-dark);
}

.gradient-text {
    display: block;
    color: var(--primary-color);
    font-size: 32px;
}

.hero-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.8;
}

.download-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    text-align: left;
    direction: ltr;
}

.btn span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn strong {
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 15px;
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 270px;
    height: 556px;
    background: var(--primary-color);
    border-radius: 40px;
    padding: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(30, 64, 175, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    display: block;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    object-fit: cover;
    background-image: 
        linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

/* Features Section */
.features {
    padding: 60px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 28px;
    background: var(--bg-light);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

/* About Section */
.about {
    padding: 60px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    padding: 10px 0;
    padding-right: 28px;
    position: relative;
    color: var(--text-light);
    font-size: 16px;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.stats-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.stat {
    text-align: center;
    padding: 20px;
    border-radius: 14px;
    background: var(--bg-light);
}

.stat-number {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
}

/* Download Section */
.download {
    padding: 60px 0;
    background: var(--primary-color);
    color: var(--white);
}

.download-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download .section-title {
    color: var(--white);
}

.download-text {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.95;
}

.download .download-buttons {
    justify-content: center;
}

.download .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.download .btn-primary:hover {
    background: var(--bg-light);
}

.download .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.download .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 28px;
}

.footer-logo .logo-icon {
    background: var(--white);
    color: var(--primary-color);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-logo p {
    margin-top: 10px;
    opacity: 0.9;
    font-size: 15px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
    font-size: 15px;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 28px;
    }

    .gradient-text {
        font-size: 26px;
    }

    .hero-description {
        font-size: 15px;
    }

    .phone-frame {
        width: 240px;
        height: 480px;
    }

    .section-title {
        font-size: 26px;
    }

    .features {
        padding: 40px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 40px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .download {
        padding: 40px 0;
    }

    .download-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .logo-text {
        font-size: 20px;
    }
}