/* ===================================================
   دوامي — Landing Page Styles
   Primary: #119FFA | Font: Cairo | RTL
=================================================== */

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

:root {
  --primary:       #119FFA;
  --primary-dark:  #0080D4;
  --primary-light: #E8F5FF;
  --accent:        #7C3AED;
  --text:          #0F172A;
  --text-muted:    #64748B;
  --text-light:    #94A3B8;
  --bg:            #FFFFFF;
  --bg-subtle:     #F8FAFC;
  --border:        #E2E8F0;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.06);
  --shadow:        0 8px 32px rgba(17,159,250,.12);
  --shadow-lg:     0 24px 64px rgba(17,159,250,.18);
  --transition:    .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.7;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-family: 'Cairo', sans-serif;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: none; text-decoration: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 20px rgba(17,159,250,.35);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,159,250,.45); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.2); }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ── Store Buttons ── */
.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px; background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; font-family: 'Cairo', sans-serif; font-weight: 600; font-size: 14px;
  text-decoration: none; transition: var(--transition);
}
.store-btn:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.store-btn-white { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }

/* ─────────────────────────────────────────────────
   NAVBAR
───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 100;
  padding: 18px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.92); backdrop-filter: blur(20px);
  padding: 12px 0; box-shadow: 0 2px 24px rgba(0,0,0,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { height: 40px; object-fit: contain; }
.logo-fallback { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 24px; font-weight: 900; color: #fff; }
.navbar.scrolled .logo-text { color: var(--text); }
.logo-text-footer { font-size: 22px; font-weight: 900; color: #fff; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600;
  font-size: 15px; transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; right: 0; left: 0;
  height: 2px; background: #fff; transform: scaleX(0); transition: var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.navbar.scrolled .nav-links a::after { background: var(--primary); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-cta { padding: 9px 22px; font-size: 14px; }
.navbar:not(.scrolled) .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.navbar:not(.scrolled) .btn-outline:hover { background: rgba(255,255,255,.15); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 16px; padding: 20px 24px;
  background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); font-weight: 600; text-decoration: none; font-size: 16px; }

/* ─────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0A1628 0%, #0D2B6B 40%, #0A5CAD 75%, #119FFA 100%);
  position: relative; overflow: hidden; padding: 100px 0 80px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .25;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-1 { width: 500px; height: 500px; top: -100px; right: -100px; background: #119FFA; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; bottom: -50px; left: 100px; background: #7C3AED; animation-delay: -3s; }
.blob-3 { width: 300px; height: 300px; top: 50%; right: 40%; background: #0891B2; animation-delay: -6s; }
@keyframes blobFloat { from { transform: translate(0,0) scale(1); } to { transform: translate(30px, 20px) scale(1.08); } }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-content { color: #fff; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 50px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9);
  margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; background: #4ADE80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } }
.hero-title { font-size: clamp(36px, 4.5vw, 58px); font-weight: 900; line-height: 1.25; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(90deg, #60C5FF, #A78BFA); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.8); max-width: 480px; margin-bottom: 36px; line-height: 1.8; }
.hero-actions { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 900; color: #fff; }
.stat-label { font-size: 12px; color: rgba(255,255,255,.6); font-weight: 600; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* Phone Mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-mockup { position: relative; }
.phone-frame {
  width: 260px; height: 530px; background: #111827; border-radius: 40px;
  padding: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.05);
  position: relative; z-index: 2;
}
.phone-notch { width: 80px; height: 22px; background: #111827; border-radius: 0 0 14px 14px; margin: 0 auto 10px; position: relative; z-index: 3; }
.phone-screen { height: calc(100% - 32px); background: #F8FAFC; border-radius: 28px; overflow: hidden; display: flex; }
.app-screenshot { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-glow { position: absolute; width: 200px; height: 200px; background: radial-gradient(circle, rgba(17,159,250,.6), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(40px); z-index: 1; }
.app-ui { padding: 14px; height: 100%; display: flex; flex-direction: column; gap: 12px; }
.app-header { display: flex; justify-content: space-between; align-items: center; }
.app-greeting { font-size: 13px; font-weight: 700; color: var(--text); }
.app-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.check-card { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 16px; padding: 14px; color: #fff; }
.check-status { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; margin-bottom: 4px; }
.check-time { font-size: 22px; font-weight: 900; }
.check-date { font-size: 10px; opacity: .8; margin-bottom: 10px; }
.check-btn { width: 100%; padding: 8px; background: rgba(255,255,255,.2); border: 1.5px solid rgba(255,255,255,.3); border-radius: 10px; color: #fff; font-family: 'Cairo', sans-serif; font-size: 11px; font-weight: 700; cursor: pointer; }
.app-mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-stat { background: #fff; border-radius: 10px; padding: 8px 6px; text-align: center; box-shadow: var(--shadow-sm); }
.mini-num { font-size: 16px; font-weight: 900; color: var(--primary); }
.mini-label { font-size: 9px; color: var(--text-muted); font-weight: 600; }
.app-chart { display: flex; align-items: flex-end; gap: 5px; height: 60px; background: #fff; border-radius: 12px; padding: 8px 10px; }
.chart-bar { flex: 1; background: var(--primary-light); border-radius: 4px 4px 0 0; transition: .5s; }
.chart-bar.active { background: var(--primary); }

/* Floating cards */
.floating-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(16px);
  border-radius: 14px; padding: 10px 16px; box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.6); z-index: 3;
}
.card-f1 { bottom: 60px; left: -60px; animation: floatY 4s ease-in-out infinite; }
.card-f2 { top: 80px; left: -70px; animation: floatY 4s ease-in-out infinite reverse; animation-delay: -2s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.fc-icon { font-size: 22px; }
.fc-title { font-size: 12px; font-weight: 700; color: var(--text); }
.fc-sub { font-size: 10px; color: var(--text-muted); }

/* Hero Wave */
.hero-wave { position: absolute; bottom: -1px; right: 0; left: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ─────────────────────────────────────────────────
   TRUST
───────────────────────────────────────────────── */
.trust-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; font-size: 13px; color: var(--text-light); font-weight: 600; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 1px; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-logo { font-size: 15px; font-weight: 700; color: var(--text-light); letter-spacing: .5px; }

/* ─────────────────────────────────────────────────
   FEATURES
───────────────────────────────────────────────── */
.features { padding: 100px 0; background: var(--bg-subtle); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block; padding: 5px 16px; background: var(--primary-light);
  color: var(--primary); border-radius: 50px; font-size: 13px; font-weight: 700;
  margin-bottom: 16px;
}
.section-header h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 900; margin-bottom: 14px; }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 500px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--border); transition: var(--transition);
  cursor: default;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ─────────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────────── */
.how-it-works { padding: 100px 0; }
.steps { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.step { display: flex; align-items: flex-start; gap: 20px; max-width: 260px; flex: 1; min-width: 220px; padding: 20px; }
.step-num {
  width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 900; box-shadow: 0 4px 16px rgba(17,159,250,.3);
}
.step-content h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.step-arrow { color: var(--primary); padding: 0 8px; flex-shrink: 0; }

/* ─────────────────────────────────────────────────
   CTA
───────────────────────────────────────────────── */
.cta-section { padding: 100px 0; background: linear-gradient(135deg, #0A1628, #0D2B6B, #0A5CAD); position: relative; overflow: hidden; }
.cta-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .2; }
.cta-blob-1 { width: 400px; height: 400px; top: -100px; right: -80px; background: var(--primary); }
.cta-blob-2 { width: 350px; height: 350px; bottom: -80px; left: -60px; background: var(--accent); }
.cta-card { position: relative; z-index: 1; text-align: center; }
.cta-content h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 900; color: #fff; margin-bottom: 16px; }
.cta-content p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 40px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.store-buttons-cta { display: flex; gap: 12px; }

/* ─────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────── */
.footer { background: #0A1628; padding: 64px 0 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-brand { max-width: 280px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 12px; }
.footer-links { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); text-decoration: none; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); text-align: center; }

/* ─────────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
[data-aos="fade-left"] { transform: translateX(40px); }
[data-aos="zoom-in"] { transform: scale(.95); }
[data-aos].visible { opacity: 1; transform: none; }
[data-aos="fade-left"].visible { transform: none; }
[data-aos="zoom-in"].visible { transform: none; }
[data-aos][data-aos-delay="80"] { transition-delay: .08s; }
[data-aos][data-aos-delay="160"] { transition-delay: .16s; }
[data-aos][data-aos-delay="240"] { transition-delay: .24s; }
[data-aos][data-aos-delay="320"] { transition-delay: .32s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }

/* ─────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { align-items: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { display: none; }
  .hero { padding: 90px 0 60px; }
  .trust-logos { gap: 24px; }
  .footer-inner { flex-direction: column; }
  .footer-links { gap: 32px; }
  .store-buttons-cta { flex-direction: column; align-items: center; }
}