:root {
    --primary: #5EB3FF;
    --primary-dark: #2F8FE0;
    --secondary: #8ECAFF;
    --dark: #1A1A2E;
    --dark-light: #16213E;
    --surface: #202040;
    --text: #FFFFFF;
    --text-muted: #B7C3D6;
}

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

body {
    font-family: "Cairo", sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

a { color: inherit; }

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo, .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img, .logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-logo span, .logo span {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
}
.nav-links a:hover { color: var(--primary); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-btn, .nav-cta {
    border: none;
    border-radius: 24px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.lang-btn {
    padding: 10px 16px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.18);
}

.nav-cta {
    padding: 12px 22px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5% 80px;
    position: relative;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 20%, rgba(94, 179, 255, 0.18), transparent 46%),
        radial-gradient(circle at 80% 80%, rgba(47, 143, 224, 0.12), transparent 42%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.25;
    margin-bottom: 18px;
}

.hero-text h1 span, .section-header h2 span {
    background: linear-gradient(135deg, var(--primary), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p, .section-header p, .feature-card p, .step p, .price-card p, .faq p, .legal p, .legal li {
    color: var(--text-muted);
    line-height: 1.8;
}

.hero-text p { font-size: 18px; margin-bottom: 28px; }

.hero-buttons, .stats, .download-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
    padding: 14px 26px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.stats { margin-top: 36px; }
.stat-value { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text-muted); font-size: 14px; }

.phone-mockup {
    width: 280px;
    height: 560px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2a3558, #121628);
    border-radius: 42px;
    padding: 12px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.35);
    animation: float 6s ease-in-out infinite;
}

.phone-screen {
    height: 100%;
    border-radius: 32px;
    background: linear-gradient(180deg, #12182c, #1d2744);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.phone-screen img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.phone-screen h3 { font-size: 28px; margin-bottom: 6px; }
.phone-screen p { color: var(--text-muted); }

section { padding: 90px 5%; }
.section-header { text-align: center; margin-bottom: 42px; }
.section-header h2 { font-size: 38px; margin-bottom: 10px; }

.features, .fields, .faq, .legal-wrap { background: var(--dark-light); }

.features-grid, .fields-grid, .prices-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.features-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fields-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.prices-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.feature-card, .field-card, .price-card, .faq details, .store-badge {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
}

.feature-card, .price-card { padding: 28px 22px; text-align: center; }
.feature-icon { font-size: 34px; margin-bottom: 12px; }
.feature-card h3, .price-card h3, .step h3 { margin-bottom: 8px; }

.steps {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.step { max-width: 280px; text-align: center; }
.step-number {
    width: 64px; height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.field-card { padding: 22px 12px; text-align: center; }
.field-card .emoji { font-size: 32px; margin-bottom: 8px; }
.field-card small { display: block; color: var(--text-muted); margin-top: 4px; }

.price-card strong { display: block; font-size: 36px; color: var(--primary); margin: 8px 0; }
.price-note { max-width: 720px; margin: 22px auto 0; text-align: center; color: var(--text-muted); }

.cta { text-align: center; position: relative; }
.cta-content { position: relative; max-width: 720px; margin: 0 auto; }
.cta h2 { font-size: 36px; margin-bottom: 12px; }
.cta p { color: var(--text-muted); margin-bottom: 28px; }

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    text-align: start;
}
.store-badge span { font-size: 28px; }
.store-badge small { display: block; color: var(--text-muted); }
.store-badge b { font-size: 18px; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq details { padding: 16px 18px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; }

footer {
    padding: 48px 5% 24px;
    background: #101526;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.footer-brand p, .footer-links a { color: var(--text-muted); text-decoration: none; line-height: 1.7; }
.footer-links h4 { margin-bottom: 12px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; color: var(--text-muted); font-size: 14px; }

.legal-wrap { min-height: 100vh; }
.legal {
    max-width: 820px;
    margin: 0 auto;
    padding: 120px 5% 70px;
}
.legal h1 { font-size: 36px; margin: 12px 0 8px; }
.legal h2 { margin: 28px 0 8px; font-size: 24px; }
.legal ul { padding-inline-start: 20px; margin-bottom: 12px; }
.legal .en { direction: ltr; text-align: left; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-content, .footer-content { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 36px; }
    .hero-content { text-align: center; }
    .hero-buttons, .stats, .download-buttons { justify-content: center; }
}
