/* ===========================
   عالسريع - Landing Page CSS
   =========================== */

:root {
    --primary: #6c63ff;
    --primary-dark: #4c46c4;
    --primary-light: #e8e7ff;
    --secondary: #00b894;
    --accent: #e17055;
    --dark: #1a1a2e;
    --dark2: #16213e;
    --text: #2d3436;
    --text-muted: #636e72;
    --bg: #f8f9fa;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 24px rgba(108,99,255,.12);
    --shadow-lg: 0 12px 48px rgba(108,99,255,.18);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all .3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ── Navbar ── */
.nav {
    position: fixed;
    top: 0; right: 0; left: 0;
    z-index: 1000;
    background: rgb(228 226 255 / 65%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: .85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-brand img {
  max-height: 44px;
  display: block;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,.15)) drop-shadow(0 0 2px rgba(0,0,0,.08));
}
.nav-links {
    display: flex;
    gap: 1.75rem;
    margin-inline-start: auto;
}
.nav-links a {
    color: var(--text-muted);
    font-size: .93rem;
    font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; gap: .75rem; align-items: center; }
.btn-outline {
    padding: .5rem 1.2rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    font-size: .88rem;
    transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-solid {
    padding: .5rem 1.2rem;
    background: var(--primary);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: .88rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(108,99,255,.35);
}
.btn-solid:hover { background: var(--primary-dark); box-shadow: 0 6px 20px rgba(108,99,255,.45); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-inline-start: auto;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-mobile {
    display: none;
    flex-direction: column;
    padding: .75rem 1.25rem 1rem;
    border-top: 1px solid var(--border);
    gap: .25rem;
}
.nav-mobile a {
    padding: .6rem .5rem;
    color: var(--text);
    font-size: .95rem;
    border-bottom: 1px solid var(--border);
    transition: color .2s;
}
.nav-mobile a:hover { color: var(--primary); }
.nav-mobile-cta {
    margin-top: .5rem;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 50px;
    text-align: center;
    padding: .6rem !important;
    font-weight: 600;
    border-bottom: none !important;
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .nav-toggle { display: flex; }
    .nav-mobile.open { display: flex; }
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, #0f3460 100%);
    padding-top: 80px;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(108,99,255,.25) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 20%, rgba(0,184,148,.15) 0%, transparent 50%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding: 4rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(108,99,255,.2);
    border: 1px solid rgba(108,99,255,.4);
    color: #a29bfe;
    padding: .35rem .9rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}
.hero-text h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}
.hero-text h1 span {
    background: linear-gradient(135deg, #a29bfe, #6c63ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 460px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--primary), #a29bfe);
    color: #fff;
    padding: .85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(108,99,255,.45);
    transition: var(--transition);
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(108,99,255,.55);
    color: #fff;
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 2px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.85);
    padding: .85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}
.btn-hero-secondary:hover {
    border-color: rgba(255,255,255,.7);
    color: #fff;
    background: rgba(255,255,255,.08);
}
.hero-stats { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.stat strong { display: block; color: #fff; font-size: 1.5rem; font-weight: 800; }
.stat span { color: rgba(255,255,255,.6); font-size: .8rem; }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* Hero Card */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 1.75rem;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 24px 64px rgba(0,0,0,.3);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.hc-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.hc-header img { height: 36px; border-radius: 8px; }
.hc-title { color: #fff; font-weight: 700; font-size: .95rem; }
.hc-sub { color: rgba(255,255,255,.5); font-size: .75rem; }
.hc-track { display: flex; flex-direction: column; gap: .5rem; }
.hc-step {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: rgba(255,255,255,.4);
    font-size: .85rem;
}
.hc-step.done { color: var(--secondary); }
.hc-step.active { color: var(--white); font-weight: 600; }
.hc-step i { font-size: 1rem; width: 18px; text-align: center; }
.hc-line {
    width: 2px; height: 16px;
    background: rgba(255,255,255,.15);
    margin-right: 8px;
}
.hc-line.done { background: var(--secondary); }
.hc-line.active { background: linear-gradient(var(--secondary), var(--primary)); }
.hc-eta {
    margin-top: 1.25rem;
    background: rgba(108,99,255,.25);
    border-radius: 10px;
    padding: .6rem .9rem;
    color: #a29bfe;
    font-size: .8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.hero-float {
    position: absolute;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: .5rem .9rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: .4rem;
    white-space: nowrap;
    animation: float-badge 4s ease-in-out infinite;
}
.f1 { top: 15%; left: -5%; animation-delay: 1s; }
.f2 { bottom: 20%; left: -10%; animation-delay: 2s; }
@keyframes float-badge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

@media (max-width: 900px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
}

/* ── Sections ── */
.section { padding: 6rem 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: .3rem .9rem;
    border-radius: 50px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: .75rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: .75rem;
}
.section-header p { color: var(--text-muted); font-size: 1.02rem; max-width: 550px; margin: 0 auto; }

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    cursor: default;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.fc-icon {
    width: 56px; height: 56px;
    background: color-mix(in srgb, var(--c) 15%, transparent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    color: var(--c);
}
.feature-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: .5rem;
}
.feature-card p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* Steps */
.steps-grid {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
    position: absolute;
    top: -18px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), #a29bfe);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(108,99,255,.4);
}
.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.step-card p { color: var(--text-muted); font-size: .88rem; line-height: 1.65; }
.steps-arrow {
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    opacity: .5;
}
.how-cta { text-align: center; margin-top: 3rem; }

/* Numbers */
.nums-section { background: linear-gradient(135deg, var(--dark), var(--dark2)); }
.nums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    text-align: center;
}
.num-item strong {
    display: block;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    background: linear-gradient(135deg, #fff, #a29bfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: .25rem;
}
.num-item span { color: rgba(255,255,255,.6); font-size: .92rem; }

/* CTA */
.cta-section { padding: 6rem 0; background: var(--white); }
.cta-box {
    background: linear-gradient(135deg, var(--dark), var(--dark2));
    border-radius: 28px;
    padding: 4rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(108,99,255,.3), transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(0,184,148,.2), transparent 60%);
}
.cta-box * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: .75rem; }
.cta-box p { color: rgba(255,255,255,.7); font-size: 1.05rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 4rem 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.55); font-size: .87rem; transition: color .2s; }
.footer-links a:hover { color: #a29bfe; }
.footer-contact { display: flex; flex-direction: column; gap: .6rem; }
.footer-contact a {
    color: rgba(255,255,255,.55);
    font-size: .87rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: color .2s;
}
.footer-contact a:hover { color: #a29bfe; }
.footer-social { display: flex; gap: .75rem; margin-top: .75rem; }
.footer-social a {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
    color: rgba(255,255,255,.35);
    font-size: .82rem;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section { padding: 4rem 0; }
    .steps-arrow { display: none; }
    .steps-grid { flex-direction: column; align-items: stretch; }
    .step-card { max-width: 100%; }
    .features-grid { grid-template-columns: 1fr; }
}
