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

:root {
    --brand: #F8B008;
    --brand-dark: #c99200;
    --ink: #111827;
    --muted: #6b7280;
    --surface: #ffffff;
    --surface-alt: #f8fafc;
    --dark: #0f172a;
    --radius: 16px;
    --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', 'Cairo', system-ui, sans-serif;
    color: var(--ink);
    background: var(--surface);
    line-height: 1.6;
}

html[dir="rtl"] body { font-family: 'Cairo', 'Inter', system-ui, sans-serif; }

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

.landing-shell { overflow-x: hidden; }

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.landing-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.landing-brand img { height: 42px; width: auto; border-radius: 10px; }

.landing-nav-links {
    display: none;
    gap: 1.25rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.landing-nav-links a:hover { color: var(--ink); }

.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.landing-nav-actions select {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: #fff;
}

.btn-primary-brand,
.btn-secondary-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-brand {
    background: linear-gradient(135deg, var(--brand), #ffd45a);
    color: #1f2937;
    box-shadow: 0 10px 24px rgba(248, 176, 8, 0.35);
}

.btn-primary-brand:hover { transform: translateY(-2px); }

.btn-secondary-brand {
    background: #fff;
    border: 1px solid #e5e7eb;
    color: var(--ink);
}

.section-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hero-section {
    padding: 7.5rem 0 4rem;
    background:
        radial-gradient(circle at top right, rgba(248, 176, 8, 0.18), transparent 34%),
        linear-gradient(180deg, #fff 0%, #fff9eb 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-copy h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
}

.hero-copy p {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 34rem;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.hero-stat strong { color: var(--ink); }

.phone-frame {
    position: relative;
    width: min(100%, 320px);
    margin: 0 auto;
    aspect-ratio: 9/18;
    border-radius: 34px;
    padding: 12px;
    background: linear-gradient(160deg, #1f2937, #0f172a);
    box-shadow: var(--shadow);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #0f172a;
    border-radius: 999px;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 26px;
    overflow: hidden;
    background: #111;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-strip {
    padding: 1.5rem 0 2.5rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.trust-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
}

.trust-card strong {
    display: block;
    font-size: 1.5rem;
    color: var(--brand-dark);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.section-head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 0 0 0.75rem;
}

.section-head p { color: var(--muted); margin: 0; }

.features-section,
.steps-section,
.showcase-section,
.download-section,
.contact-section {
    padding: 4.5rem 0;
}

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

.features-grid,
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.feature-card,
.step-card,
.contact-card {
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.feature-icon,
.step-number {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(248, 176, 8, 0.15);
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.step-number { border-radius: 999px; }

.showcase-scroll {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}

.showcase-item {
    flex: 0 0 240px;
    scroll-snap-align: start;
}

.showcase-shot {
    border-radius: 22px;
    overflow: hidden;
    background: #111;
    aspect-ratio: 9/19;
    box-shadow: var(--shadow);
}

.showcase-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showcase-caption {
    margin-top: 0.75rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.download-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
}

.download-section .section-head p { color: rgba(255,255,255,0.72); }

.store-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 210px;
    padding: 0.85rem 1.1rem;
    border-radius: 14px;
    background: #111827;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover { transform: translateY(-2px); }

.store-badge.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.store-badge small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.75;
}

.store-badge strong { font-size: 1rem; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-grid-form {
    grid-template-columns: 1fr;
}

.contact-form-card {
    grid-column: 1 / -1;
}

.contact-form .form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.contact-form .form-control,
.contact-form .form-select {
    width: 100%;
    border: 1px solid rgba(26, 26, 26, 0.12);
    border-radius: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #fff;
}

.contact-form .invalid-feedback {
    color: #b42318;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: #b42318;
}

.alert-success {
    background: rgba(248, 176, 8, 0.12);
    border: 1px solid rgba(248, 176, 8, 0.35);
    color: var(--ink);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
}

@media (min-width: 992px) {
    .contact-grid-form {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }

    .contact-form-card {
        grid-column: span 2;
    }
}

.contact-card h3 { margin-top: 0; }

.landing-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.72);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
}

.footer-links a:hover { color: #fff; }

@media (min-width: 768px) {
    .landing-nav-links { display: flex; }

    .hero-grid { grid-template-columns: 1.05fr 0.95fr; }

    .trust-grid { grid-template-columns: repeat(4, 1fr); }

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

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

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: start;
    }
}
