/* ========================================
   Modern Arabic Website - Komrau App
   Colors: Indigo/Purple Gradient Theme
======================================== */

:root {
    --primary-start: #6366F1;
    --primary-end: #8B5CF6;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --bg-primary: #0F1419;
    --bg-secondary: #1A1F2E;
    --bg-card: #1E2433;
    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --border: #2D3748;
    --shadow: rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Dubai', 'Tahoma', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
}

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

/* ========================================
   Header
======================================== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

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

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow);
}

.logo h1 {
    font-size: 28px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: var(--bg-card);
    color: var(--primary-start);
}

/* ========================================
   Hero Section
======================================== */

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.download-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    color: white;
    box-shadow: 0 8px 20px var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px var(--shadow);
}

.btn-white {
    background: white;
    color: var(--primary-start);
    border: 2px solid var(--primary-start);
}

.btn-white:hover {
    background: var(--primary-start);
    color: white;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

/* App Logo Showcase */
.app-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.logo-large {
    width: 300px;
    height: 300px;
    border-radius: 70px;
    box-shadow: 0 30px 80px rgba(99, 102, 241, 0.5);
    animation: float 6s ease-in-out infinite;
    object-fit: contain;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ========================================
   Features Section
======================================== */

.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-start);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   CTA Section
======================================== */

.cta {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    padding: 80px 60px;
    border-radius: 30px;
    text-align: center;
    margin: 80px 0;
    box-shadow: 0 20px 60px var(--shadow);
}

.cta h3 {
    color: white;
    font-size: 42px;
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    margin-bottom: 30px;
}

/* ========================================
   Privacy Policy Page
======================================== */

.privacy-content {
    background: var(--bg-card);
    padding: 60px;
    border-radius: 20px;
    margin: 40px 0 80px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px var(--shadow);
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.last-updated {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 14px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-start);
}

.policy-section h4 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 20px 0 12px;
}

.policy-section p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.policy-section ul {
    margin: 16px 0 16px 30px;
    line-height: 1.9;
}

.policy-section ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.policy-section a {
    color: var(--primary-start);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.policy-section a:hover {
    color: var(--primary-end);
    text-decoration: underline;
}

/* ========================================
   Footer
======================================== */

footer {
    background: var(--bg-secondary);
    color: white;
    padding: 60px 0 20px;
    border-radius: 30px 30px 0 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
======================================== */

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
    }

    .stats {
        margin-top: 40px;
    }

    .logo-large {
        width: 200px;
        height: 200px;
        font-size: 100px;
        border-radius: 50px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .cta {
        padding: 50px 30px;
    }

    .cta h3 {
        font-size: 32px;
    }

    .privacy-content {
        padding: 30px 20px;
    }

    .page-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-card {
        padding: 30px 20px;
    }
}
