/* ============================================================
   THIQAH DESIGN SYSTEM — CSS Variables & Base
   ============================================================ */
:root {
  /* Brand Colors extracted from Logo */
  --primary:        #0D5C2E;   /* Deep forest green */
  --primary-dark:   #083A1C;
  --primary-light:  #1A7A3F;
  --secondary:      #C9952A;   /* Rich gold */
  --secondary-dark: #A67820;
  --secondary-light:#E8B84B;
  --gold-bright:    #F5CB5C;
  --accent:         #FFD700;   /* Pure gold accent */

  /* Dark Mode (default) */
  --bg:             #080F0C;
  --bg-2:           #0C1710;
  --surface:        #111A13;
  --surface-2:      #182219;
  --surface-3:      #1E2B20;
  --border:         rgba(201, 149, 42, 0.15);
  --border-strong:  rgba(201, 149, 42, 0.35);
  --text:           #F0EDE5;
  --text-muted:     #B8B8A0;
  --text-dim:       #888877;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  --grad-gold:    linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-light) 60%, var(--gold-bright) 100%);
  --grad-card:    linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  --grad-hero:    radial-gradient(ellipse at 60% 0%, rgba(13,92,46,0.4) 0%, transparent 60%),
                  radial-gradient(ellipse at 0% 80%, rgba(201,149,42,0.15) 0%, transparent 50%);

  /* Typography */
  --font-main: 'Cairo', 'Tajawal', sans-serif;

  /* Spacing */
  --section-py: 100px;
  --container-max: 1280px;

  /* Borders */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  /* Shadows */
  --shadow-card: 0 4px 30px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 30px rgba(201,149,42,0.2);
  --shadow-glow: 0 0 60px rgba(201,149,42,0.15);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode */
body.light-mode {
  --bg:        #F5F3EE;
  --bg-2:      #EDEAE3;
  --surface:   #FFFFFF;
  --surface-2: #F8F6F2;
  --surface-3: #F0EDE5;
  --border:    rgba(13,92,46,0.12);
  --border-strong: rgba(13,92,46,0.3);
  --text:      #0D1A10;
  --text-muted:#3A4A3E;
  --text-dim:  #6A7A6E;
  --grad-hero: radial-gradient(ellipse at 60% 0%, rgba(13,92,46,0.08) 0%, transparent 60%),
               radial-gradient(ellipse at 0% 80%, rgba(201,149,42,0.06) 0%, transparent 50%);
  --shadow-card: 0 4px 30px rgba(0,0,0,0.08);
}

/* ── Light mode explicit card + text overrides ───────────── */
body.light-mode .about-card,
body.light-mode .bento-card,
body.light-mode .lf-item,
body.light-mode .testimonial-card,
body.light-mode .trust-item,
body.light-mode .step-item,
body.light-mode .app-panel-content,
body.light-mode .contact-form,
body.light-mode .app-tab,
body.light-mode .faq-item {
  background: #FFFFFF;
  border-color: rgba(13,92,46,0.14);
}

body.light-mode .about-card h3,
body.light-mode .bento-content h3,
body.light-mode .lf-item h4,
body.light-mode .step-content h3,
body.light-mode .trust-item h4,
body.light-mode .app-panel-title,
body.light-mode .faq-question {
  color: #0D1A10;
}

body.light-mode .about-card p,
body.light-mode .bento-content p,
body.light-mode .lf-item p,
body.light-mode .step-content p,
body.light-mode .trust-item p,
body.light-mode .app-panel-desc,
body.light-mode .app-features-list li,
body.light-mode .test-comment,
body.light-mode .test-role,
body.light-mode .section-desc {
  color: #3A4A3E;
}

/* Section titles in light mode - solid color instead of gradient */
body.light-mode .section-title {
  background: linear-gradient(135deg, #0D1A10 0%, #A67820 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.light-mode .hero-title-line { color: #0D1A10; }

body.light-mode .section-label {
  background: rgba(13,92,46,0.08);
  border-color: rgba(13,92,46,0.2);
  color: #0D5C2E;
}

body.light-mode .nav-link        { color: #3A4A3E; }
body.light-mode .nav-link:hover,
body.light-mode .nav-link.active { color: #A67820; background: rgba(166,120,32,0.08); }

body.light-mode .about-card-icon,
body.light-mode .lf-icon,
body.light-mode .trust-item-icon,
body.light-mode .contact-icon {
  background: rgba(13,92,46,0.07);
  border-color: rgba(13,92,46,0.15);
}

body.light-mode .hero-desc,
body.light-mode .hero-badge  { color: #3A4A3E; }
body.light-mode .trust-badge { color: #3A4A3E; }

body.light-mode .hero-badge {
  background: rgba(13,92,46,0.08);
  border-color: rgba(13,92,46,0.2);
  color: #0D5C2E;
}

body.light-mode .faq-answer p  { color: #3A4A3E; }
body.light-mode .testimonial-card { background: #FFFFFF; }
body.light-mode .test-name { color: #0D1A10; }

body.light-mode .app-tab { background: #FFFFFF; color: #3A4A3E; }
body.light-mode .app-tab.active { background: var(--grad-gold); color: var(--primary-dark); }

body.light-mode .step-number { color: var(--secondary-dark); }
body.light-mode .step-icon {
  background: #FFFFFF;
  border-color: rgba(13,92,46,0.25);
  color: #0D5C2E;
}

body.light-mode .carousel-btn {
  background: #FFFFFF;
  border-color: rgba(13,92,46,0.2);
  color: #A67820;
}

body.light-mode .social-icon {
  background: #FFFFFF;
  border-color: rgba(13,92,46,0.15);
  color: #3A4A3E;
}

body.light-mode .form-group input,
body.light-mode .form-group textarea {
  background: #F8F6F2;
  border-color: rgba(13,92,46,0.18);
  color: #0D1A10;
}

body.light-mode .hub-label { color: #A67820; }
body.light-mode .eco-node span { color: #3A4A3E; }
body.light-mode .eco-node-icon {
  background: #FFFFFF;
  border-color: rgba(13,92,46,0.2);
  color: #0D5C2E;
}

body.light-mode .scroll-indicator span { color: #6A7A6E; }
body.light-mode .back-to-top { box-shadow: 0 4px 20px rgba(166,120,32,0.3); }

body.light-mode .app-img-label {
  color: #6A7A6E;
  border-color: rgba(13,92,46,0.2);
  background: rgba(13,92,46,0.05);
}

/* About section in light mode */
body.light-mode .about-section { background: #EDEAE3; }
body.light-mode .services-section { background: #F5F3EE; }
body.light-mode .how-section { background: #EDEAE3; }
body.light-mode .testimonials-section { background: #F5F3EE; }
body.light-mode .faq-section { background: #EDEAE3; }
body.light-mode .contact-section { background: #F5F3EE; }

/* Loyalty cards in light mode */
body.light-mode .level-card.bronze { background: #FDF8F0; border-color: rgba(176,141,87,0.3); }
body.light-mode .level-card.silver { background: #F8F9FA; border-color: rgba(150,150,150,0.3); }
body.light-mode .level-card.gold   { background: #FFFBF0; border-color: rgba(200,160,0,0.3); }
body.light-mode .level-card.vip    { background: #FBF5FF; border-color: rgba(140,70,210,0.3); }
body.light-mode .level-pts  { color: #6A7A6E; }
body.light-mode .level-perks li { color: #3A4A3E; border-bottom-color: rgba(0,0,0,0.06); }

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-main); }
input, textarea, select { font-family: var(--font-main); }

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
#splash-screen {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

#splash-screen.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
}

.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.splash-logo-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: splashLogoIn 1s var(--ease-out) forwards;
  position: relative;
  z-index: 2;
  border-radius: 24px;
}

.splash-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(201,149,42,0.5) 0%, transparent 70%);
  animation: splashGlow 2s ease-in-out infinite alternate;
  border-radius: 50%;
}

.splash-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(201,149,42,0.3);
  animation: splashRing 2.5s linear infinite;
}
.splash-ring.ring-1 { width: 160px; height: 160px; animation-delay: 0s; }
.splash-ring.ring-2 { width: 200px; height: 200px; animation-delay: -1.25s; }

.splash-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeUpIn 0.8s 0.5s var(--ease) both;
}

.splash-brand {
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 4px;
}

.splash-tagline {
  font-size: 0.95rem;
  color: rgba(240,237,229,0.7);
  letter-spacing: 1px;
}

.splash-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 200px;
  animation: fadeUpIn 0.8s 0.8s var(--ease) both;
}

.loader-track {
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 10px;
  width: 0%;
  transition: width 0.1s linear;
}

.loader-pct {
  font-size: 0.8rem;
  color: rgba(240,237,229,0.5);
  font-weight: 600;
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-gold);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 9998;
  transition: transform 0.1s linear;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(8,15,12,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.4);
  padding: 0 24px;
}

body.light-mode .navbar.scrolled {
  background: rgba(245,243,238,0.92);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }

.nav-brand-text {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-light);
  background: rgba(201,149,42,0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.theme-toggle:hover { background: var(--surface-3); transform: rotate(20deg); }

.btn-download-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--grad-gold);
  color: var(--primary-dark);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 800;
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 16px rgba(201,149,42,0.3);
}

.btn-download-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,149,42,0.4);
}

.hamburger {
  width: 38px;
  height: 38px;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--secondary-light);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.active { opacity: 1; }

/* ============================================================
   CONTAINER & SECTION BASE
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  background: rgba(201,149,42,0.08);
  border: 1px solid rgba(201,149,42,0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,149,42,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,149,42,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--secondary);
  opacity: 0;
  animation: particleFloat var(--dur, 8s) var(--delay, 0s) infinite linear;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13,92,46,0.2);
  border: 1px solid rgba(13,92,46,0.4);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-light);
  animation: pulse 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-title-line { color: var(--text); }
.hero-title-accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-apps-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: all 0.3s var(--ease);
  color: var(--text);
}

.app-btn i {
  font-size: 1.2rem;
  color: var(--secondary-light);
}

.app-btn small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.app-btn strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.app-btn:hover {
  background: var(--surface-3);
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--grad-gold);
  color: var(--primary-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 4px 20px rgba(201,149,42,0.4);
}

.btn-primary-hero:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(201,149,42,0.5);
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  color: var(--secondary-light);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary-hero:hover {
  background: rgba(201,149,42,0.08);
  border-color: var(--secondary);
}

.hero-trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.trust-badge i { color: var(--secondary); font-size: 0.85rem; }

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-glow-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,149,42,0.12) 0%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}

/* Real phone device frame for screenshots */
.phone-device {
  position: relative;
  width: 280px;
  z-index: 2;
  animation: phoneFloat 5s ease-in-out infinite;
}

.phone-device--panel {
  width: min(280px, 72vw);
  animation: none;
}

.phone-device-bezel {
  position: relative;
  background: linear-gradient(165deg, #1f2e24 0%, #0c1610 55%, #152019 100%);
  border-radius: 42px;
  padding: 10px;
  border: 1.5px solid rgba(201, 149, 42, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(201, 149, 42, 0.08);
  overflow: hidden;
}

.phone-device-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: #050a07;
  border-radius: 0 0 14px 14px;
  z-index: 3;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-device-screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
  background: #0a1210;
}

.phone-device-home {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 3;
}

.phone-frame {
  position: relative;
  width: 280px;
  background: linear-gradient(180deg, #1A2820 0%, #0D1A10 100%);
  border-radius: 44px;
  border: 2px solid rgba(201,149,42,0.4);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(201,149,42,0.1),
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.08);
  animation: phoneFloat 5s ease-in-out infinite;
}

.phone-notch {
  width: 90px;
  height: 22px;
  background: #0D1A10;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  padding: 8px 12px 24px;
}

.app-screen-mockup { color: var(--text); }

.app-header-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.app-logo-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--secondary-light);
}
.app-logo-sm img { width: 24px; height: 24px; border-radius: 6px; }

.app-notif-mock {
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--secondary-light);
}

.app-greeting {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text);
}

.app-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.service-tile {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}
.service-tile i { font-size: 1.2rem; color: var(--secondary-light); }

.app-promo-banner {
  background: linear-gradient(135deg, rgba(13,92,46,0.6), rgba(201,149,42,0.2));
  border: 1px solid rgba(201,149,42,0.2);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.app-map-placeholder {
  height: 90px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin-anim {
  font-size: 1.8rem;
  color: var(--secondary);
  animation: mapPinBounce 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.map-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  opacity: 0.1;
}
.mline { height: 1px; background: var(--secondary); border-radius: 2px; }
.mline:nth-child(2) { width: 70%; }
.mline:nth-child(3) { width: 50%; margin-right: auto; }

.phone-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  border-radius: 50%;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  min-width: 170px;
  white-space: nowrap;
}

.float-badge i { font-size: 1.3rem; }
.float-badge strong { font-size: 0.85rem; font-weight: 800; display: block; }
.float-badge small { font-size: 0.7rem; color: var(--text-muted); display: block; }

.badge-ride { top: 10%; right: -30px; animation: floatBadge1 6s ease-in-out infinite; }
.badge-ride i { color: var(--secondary); }
.badge-pts { bottom: 25%; right: -40px; animation: floatBadge2 7s ease-in-out infinite; animation-delay: -2s; }
.badge-pts i { color: var(--accent); }
.badge-order { bottom: 10%; left: -40px; animation: floatBadge1 5.5s ease-in-out infinite; animation-delay: -1s; }
.badge-order i { color: var(--primary-light); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 2px;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--secondary);
  border-radius: 4px;
  animation: scrollWheel 2s ease-in-out infinite;
}

/* ============================================================
   ABOUT / ECOSYSTEM
   ============================================================ */
.about-section { background: var(--bg-2); }

.ecosystem-diagram {
  position: relative;
  margin: 0 auto 80px;
  width: 100%;
  max-width: 680px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-center {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.eco-logo-hub {
  position: relative;
  width: 100px;
  height: 100px;
  background: var(--surface-3);
  border-radius: 50%;
  border: 2px solid var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
}

.hub-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,149,42,0.2);
  animation: hubPulse 3s ease-in-out infinite;
}
.hub-ring.r1 { width: 130px; height: 130px; animation-delay: 0s; }
.hub-ring.r2 { width: 180px; height: 180px; animation-delay: -1s; border-color: rgba(201,149,42,0.12); }
.hub-ring.r3 { width: 240px; height: 240px; animation-delay: -2s; border-color: rgba(201,149,42,0.06); }

.hub-label {
  font-size: 1.1rem;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eco-nodes { position: absolute; inset: 0; }

.eco-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.eco-node-icon {
  width: 56px;
  height: 56px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--secondary-light);
  transition: all 0.3s;
  box-shadow: var(--shadow-card);
}

.eco-node:hover .eco-node-icon {
  background: var(--surface-3);
  border-color: var(--secondary);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

.eco-node span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Node positions (RTL circle layout) */
.node-rider    { top: 10%; left: 50%; transform: translateX(-50%); }
.node-driver   { top: 30%; left: 5%; }
.node-merchant { top: 30%; right: 5%; }
.node-delivery { bottom: 20%; left: 10%; }
.node-customer { bottom: 20%; right: 10%; }

.eco-connection {
  position: absolute;
  top: 50%;
  right: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,149,42,0.3), transparent);
  width: 80px;
  animation: connectionPulse 3s linear infinite;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.about-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  cursor: default;
}

.about-card:hover {
  border-color: var(--secondary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold);
}

.about-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(201,149,42,0.08);
  border: 1px solid rgba(201,149,42,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: var(--secondary-light);
  transition: all 0.3s;
}

.about-card:hover .about-card-icon {
  background: rgba(201,149,42,0.15);
  transform: scale(1.1) rotate(-5deg);
}

.about-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.about-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--primary-dark);
}

.stats-bg-effect {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 0% 50%, rgba(201,149,42,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(13,92,46,0.3) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  padding: 32px 16px;
  border-right: 1px solid rgba(201,149,42,0.15);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(240,237,229,0.6);
  font-weight: 600;
}

/* ============================================================
   APPS SECTION
   ============================================================ */
.apps-section { background: var(--bg); }

.apps-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.app-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

.app-tab:hover { color: var(--text); border-color: var(--secondary); }

.app-tab.active {
  background: var(--grad-gold);
  color: var(--primary-dark);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(201,149,42,0.35);
}

.apps-panels { position: relative; }

.app-panel {
  display: none;
  animation: fadeInPanel 0.4s var(--ease-out);
}

.app-panel.active { display: block; }

.app-panel-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
}

.app-panel-badge {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.rider-badge    { background: rgba(13,92,46,0.3); color: #5CDB95; border: 1px solid rgba(92,219,149,0.2); }
.driver-badge   { background: rgba(201,149,42,0.15); color: var(--secondary-light); border: 1px solid var(--border); }
.merchant-badge { background: rgba(59,130,246,0.15); color: #60A5FA; border: 1px solid rgba(96,165,250,0.2); }
.delivery-badge { background: rgba(239,68,68,0.15); color: #F87171; border: 1px solid rgba(248,113,113,0.2); }

.app-panel-title {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
}

.app-panel-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.app-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-bottom: 32px;
}

.app-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.app-features-list li i {
  color: var(--secondary);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.app-download-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  font-size: 0.875rem;
  transition: all 0.3s var(--ease);
  color: var(--text);
  background: var(--surface-2);
}

.store-btn i { font-size: 1.4rem; }
.store-btn small { display: block; font-size: 0.65rem; color: var(--text-muted); font-weight: 500; }
.store-btn strong { display: block; font-weight: 800; }
.store-btn.google i { color: #4CAF50; }
.store-btn.apple i { color: var(--text); }

.store-btn:hover {
  background: var(--surface-3);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Phone Mockups inside app panels */
.app-panel-visual { display: flex; justify-content: center; align-items: center; }

.app-mockup-phone {
  width: 240px;
  border-radius: 36px;
  overflow: hidden;
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--shadow-gold);
  animation: phoneFloat 5s ease-in-out infinite;
}

.mockup-screen {
  background: var(--surface);
  padding: 16px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mock-header {
  background: var(--primary-dark);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary-light);
  text-align: center;
}

.mock-map-view {
  flex: 1;
  background: rgba(13,92,46,0.1);
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-car-icon { position: absolute; top: 40%; right: 30%; font-size: 1.5rem; color: var(--secondary); animation: carMove 4s ease-in-out infinite; }
.mock-route-line { position: absolute; top: 50%; right: 32%; width: 60px; height: 2px; background: rgba(201,149,42,0.4); border-radius: 2px; }
.mock-dest-pin { position: absolute; top: 30%; left: 25%; font-size: 1.3rem; color: #ef4444; }

.mock-ride-info {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid var(--border);
}

.mock-driver-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mock-driver-avatar { font-size: 2rem; color: var(--text-muted); }
.mock-name { font-size: 0.8rem; font-weight: 800; }
.mock-stars { font-size: 0.75rem; color: var(--accent); }
.mock-eta { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.mock-eta strong { color: var(--secondary-light); }

.mock-earnings {
  background: var(--grad-primary);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(201,149,42,0.15);
}
.earn-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); margin-bottom: 4px; }
.earn-num { font-size: 1.4rem; font-weight: 900; color: var(--secondary-light); }
.earn-num small { font-size: 0.75rem; }
.earn-trips { font-size: 0.72rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

.mock-trip-req {
  background: rgba(201,149,42,0.08);
  border: 1px solid rgba(201,149,42,0.2);
  border-radius: 12px;
  padding: 12px;
}
.trip-req-badge { font-size: 0.7rem; font-weight: 800; color: var(--secondary); margin-bottom: 8px; }
.trip-req-details { display: flex; gap: 12px; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 10px; }
.trip-req-details i { color: var(--secondary); }
.trip-req-actions { display: flex; gap: 8px; }
.accept-btn, .reject-btn { flex: 1; padding: 6px; border-radius: 8px; font-size: 0.72rem; font-weight: 800; border: none; cursor: pointer; font-family: var(--font-main); }
.accept-btn { background: var(--grad-gold); color: var(--primary-dark); }
.reject-btn { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }

.mock-store-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.store-stat {
  background: var(--surface-3);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}
.s-num { font-size: 1.3rem; font-weight: 900; color: var(--secondary-light); }
.s-label { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }

.mock-orders-list { display: flex; flex-direction: column; gap: 8px; }
.mock-order { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; background: var(--surface-2); font-size: 0.72rem; }
.order-badge { padding: 2px 8px; border-radius: 50px; font-weight: 700; font-size: 0.65rem; }
.mock-order.new .order-badge    { background: rgba(201,149,42,0.2); color: var(--secondary); }
.mock-order.prep .order-badge   { background: rgba(59,130,246,0.2); color: #60a5fa; }
.mock-order.done .order-badge   { background: rgba(34,197,94,0.2); color: #4ade80; }

.delivery-status {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13,92,46,0.2);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(13,92,46,0.3);
}
.del-icon { font-size: 1.5rem; color: var(--secondary-light); }
.del-info { font-size: 0.72rem; color: var(--text-muted); }
.del-info strong { color: var(--text); display: block; margin-top: 2px; }

.del-steps { display: flex; flex-direction: column; gap: 8px; }
.del-step { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--text-dim); font-weight: 600; }
.del-step.done { color: #4ade80; }
.del-step.active { color: var(--secondary-light); }
.del-step i { font-size: 0.7rem; }

.del-earn {
  background: var(--surface-2);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: auto;
}
.del-earn strong { color: var(--secondary); }

/* ============================================================
   BENTO GRID SERVICES
   ============================================================ */
.services-section { background: var(--bg-2); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 16px;
}

.bento-card {
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: default;
}

.bento-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.bento-card:hover .bento-glow {
  opacity: 1;
}

.bento-large { grid-column: span 2; grid-row: span 1; }
.bento-tall  { grid-column: span 1; grid-row: span 2; }
.bento-wide  { grid-column: span 2; grid-row: span 1; }

.bento-icon {
  font-size: 2rem;
  color: var(--secondary-light);
  margin-bottom: 14px;
  transition: transform 0.35s var(--ease);
}
.bento-card:hover .bento-icon { transform: scale(1.15) rotate(-8deg); }

.bento-content h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.bento-content p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

.bento-glow {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(201,149,42,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

/* ============================================================
   LOYALTY
   ============================================================ */
.loyalty-section { background: var(--bg); }

.loyalty-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.level-card {
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.level-card:hover { transform: translateY(-8px); }

.level-card.bronze { background: linear-gradient(160deg, #2D1F10 0%, #1A1208 100%); border: 1px solid rgba(176,141,87,0.3); }
.level-card.silver { background: linear-gradient(160deg, #1A1F22 0%, #0F1316 100%); border: 1px solid rgba(192,192,192,0.25); }
.level-card.gold   { background: linear-gradient(160deg, #1F1800 0%, #120F00 100%); border: 1px solid rgba(255,215,0,0.3); }
.level-card.vip    { background: linear-gradient(160deg, #1A0F1F 0%, #0D0812 100%); border: 1px solid rgba(168,85,247,0.35); }

.level-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.bronze .level-icon { color: #CD7F32; }
.silver .level-icon { color: #C0C0C0; }
.gold   .level-icon { color: #FFD700; }
.vip    .level-icon { color: #A855F7; }

.level-name {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.bronze .level-name { color: #CD7F32; }
.silver .level-name { color: #C0C0C0; }
.gold   .level-name { color: #FFD700; }
.vip    .level-name { color: #A855F7; }

.level-pts { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 20px; font-weight: 600; }

.level-perks { text-align: right; }
.level-perks li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-weight: 600;
}
.level-perks li::before { content: '✓ '; color: var(--secondary); }

.vip-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: glowPulse 3s ease-in-out infinite;
}

.loyalty-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.lf-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}

.lf-item:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

.lf-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,149,42,0.08);
  border: 1px solid rgba(201,149,42,0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
  color: var(--secondary-light);
}

.lf-item h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 6px; }
.lf-item p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section { background: var(--bg-2); }

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201,149,42,0.4), transparent);
  z-index: 0;
}

.step-item {
  position: relative;
  text-align: center;
  padding: 0 16px;
  z-index: 1;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--secondary);
  letter-spacing: 2px;
  margin-bottom: 12px;
  opacity: 0.6;
}

.step-icon {
  width: 88px;
  height: 88px;
  background: var(--surface-2);
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--secondary-light);
  position: relative;
  z-index: 2;
  transition: all 0.4s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.step-item:hover .step-icon {
  background: rgba(201,149,42,0.15);
  border-color: var(--secondary);
  transform: scale(1.1);
  box-shadow: var(--shadow-gold);
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   TRUST / SECURITY
   ============================================================ */
.trust-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.trust-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(13,92,46,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.shield-graphic {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-outer {
  width: 160px;
  height: 160px;
  background: rgba(13,92,46,0.2);
  border: 2px solid rgba(201,149,42,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.shield-inner {
  width: 110px;
  height: 110px;
  background: var(--surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
}

.shield-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,149,42,0.3);
  animation: shieldPulse 3s ease-in-out infinite;
}
.shield-pulse.p1 { width: 200px; height: 200px; animation-delay: 0s; }
.shield-pulse.p2 { width: 240px; height: 240px; animation-delay: -1s; border-color: rgba(201,149,42,0.15); }
.shield-pulse.p3 { width: 280px; height: 280px; animation-delay: -2s; border-color: rgba(201,149,42,0.07); }

.trust-nodes {
  position: absolute;
  inset: 0;
}

.tnode {
  position: absolute;
  width: 44px;
  height: 44px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--secondary-light);
  animation: nodeFloat 4s ease-in-out infinite;
}

.tnode:nth-child(1) { top: 5%; right: 10%; animation-delay: 0s; }
.tnode:nth-child(2) { top: 5%; left: 10%; animation-delay: -1s; }
.tnode:nth-child(3) { bottom: 10%; right: 15%; animation-delay: -2s; }
.tnode:nth-child(4) { bottom: 10%; left: 15%; animation-delay: -3s; }

.trust-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.trust-item:hover { border-color: var(--secondary); background: var(--surface-2); }

.trust-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,149,42,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--secondary-light);
  flex-shrink: 0;
}

.trust-item h4 { font-size: 0.875rem; font-weight: 800; margin-bottom: 4px; }
.trust-item p  { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--bg-2); }

.testimonials-carousel { position: relative; overflow: hidden; }

.testimonials-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s var(--ease-out);
  padding: 8px 4px 24px;
}

.testimonial-card {
  min-width: calc(33.333% - 14px);
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.test-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 2px solid var(--border-strong);
}

.rider-avatar    { background: rgba(13,92,46,0.2); color: #5CDB95; }
.driver-avatar   { background: rgba(201,149,42,0.15); color: var(--secondary-light); }
.merchant-avatar { background: rgba(59,130,246,0.15); color: #60A5FA; }
.delivery-avatar { background: rgba(239,68,68,0.15); color: #F87171; }

.test-name { font-size: 0.9rem; font-weight: 800; }
.test-role { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.test-stars { margin-right: auto; color: var(--accent); font-size: 0.85rem; letter-spacing: 1px; }
.test-comment { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; font-weight: 500; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--secondary-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.carousel-btn:hover {
  background: rgba(201,149,42,0.1);
  border-color: var(--secondary);
}

.carousel-dots { display: flex; gap: 6px; }

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--secondary);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-section {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.download-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,149,42,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(13,92,46,0.4) 0%, transparent 50%);
}

.download-section .section-title {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-section .section-desc { color: rgba(240,237,229,0.6); }

.download-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.dl-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,149,42,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s var(--ease-out);
}

.dl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,149,42,0.5);
  box-shadow: 0 20px 48px rgba(0,0,0,0.4);
}

.dl-card-header {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.dl-card-header i { font-size: 2rem; color: rgba(255,255,255,0.9); }
.dl-card-header h3 { font-size: 1rem; font-weight: 800; color: rgba(255,255,255,0.9); }

.rider-gradient    { background: linear-gradient(135deg, #0D5C2E 0%, #1A7A3F 100%); }
.driver-gradient   { background: linear-gradient(135deg, #C9952A 0%, #E8B84B 100%); }
.merchant-gradient { background: linear-gradient(135deg, #1E3A5F 0%, #2D5986 100%); }
.delivery-gradient { background: linear-gradient(135deg, #5C1A0D 0%, #8A2A1A 100%); }

.dl-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qr-inner {
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.qr-grid {
  position: absolute;
  inset: 8px;
  background-image:
    linear-gradient(rgba(201,149,42,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,149,42,0.3) 1px, transparent 1px);
  background-size: 10px 10px;
}

.qr-inner span {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--secondary-light);
  position: relative;
  z-index: 1;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
}

.qr-placeholder small { font-size: 0.7rem; color: var(--text-muted); }

.dl-store-btns { display: flex; flex-direction: column; gap: 8px; width: 100%; }

.store-btn-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(201,149,42,0.25);
  background: rgba(255,255,255,0.04);
  color: rgba(240,237,229,0.8);
  transition: all 0.3s;
}

.store-btn-sm:hover { background: rgba(255,255,255,0.08); border-color: rgba(201,149,42,0.5); }
.store-btn-sm.google i { color: #4CAF50; }
.store-btn-sm.apple i { color: rgba(240,237,229,0.9); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--bg-2); }

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--secondary-light); }
.faq-question[aria-expanded="true"] { color: var(--secondary-light); }

.faq-icon {
  font-size: 0.9rem;
  color: var(--secondary);
  transition: transform 0.35s var(--ease);
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-answer p {
  padding: 0 0 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-answer.open { max-height: 400px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,149,42,0.08);
  border: 1px solid rgba(201,149,42,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--secondary-light);
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.875rem; font-weight: 800; margin-bottom: 4px; }
.contact-item p  { font-size: 0.875rem; color: var(--text-muted); }
.contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-item a:hover { color: var(--secondary-light); }

.contact-social h4 { font-size: 0.875rem; font-weight: 800; margin-bottom: 12px; }

.social-icons { display: flex; gap: 10px; }

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.social-icon:hover {
  background: rgba(201,149,42,0.1);
  border-color: var(--secondary);
  color: var(--secondary-light);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.3s;
  direction: rtl;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--surface-3);
  box-shadow: 0 0 0 3px rgba(201,149,42,0.1);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--grad-gold);
  color: var(--primary-dark);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
  transition: all 0.35s var(--ease-out);
  box-shadow: 0 4px 20px rgba(201,149,42,0.3);
  font-family: var(--font-main);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(201,149,42,0.45);
}

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: #4ade80;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--primary-dark); border-top: 1px solid rgba(201,149,42,0.15); }

.footer-top { padding: 72px 0 48px; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo img { width: 50px; height: 50px; border-radius: 12px; }

.footer-logo span {
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(240,237,229,0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.footer-contact a {
  color: rgba(240, 237, 229, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.footer-contact a:hover { color: var(--secondary-light); }
.footer-contact i {
  color: var(--secondary);
  width: 16px;
  text-align: center;
}

.footer-social { display: flex; gap: 10px; }

.footer-col-title {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--secondary-light);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links-col ul li { margin-bottom: 10px; }
.footer-links-col ul li a {
  font-size: 0.875rem;
  color: rgba(240,237,229,0.5);
  font-weight: 600;
  transition: color 0.25s;
}
.footer-links-col ul li a:hover { color: var(--secondary-light); }

.footer-store-btns { display: flex; flex-direction: column; gap: 10px; }

.footer-store-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,149,42,0.2);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(240,237,229,0.7);
  transition: all 0.3s;
}

.footer-store-btn:hover { background: rgba(255,255,255,0.08); color: var(--secondary-light); }

.footer-bottom {
  border-top: 1px solid rgba(201,149,42,0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(240,237,229,0.4);
  font-weight: 600;
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(240,237,229,0.4); transition: color 0.25s; }
.footer-legal a:hover { color: var(--secondary-light); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--grad-gold);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(201,149,42,0.4);
  transition: all 0.4s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(201,149,42,0.5); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-animate="fade-up"]    { transform: translateY(40px); }
[data-animate="fade-left"]  { transform: translateX(40px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-in"]    { }

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* Keyframes */
@keyframes splashLogoIn {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes splashGlow {
  from { opacity: 0.4; transform: scale(0.9); }
  to   { opacity: 0.8; transform: scale(1.1); }
}

@keyframes splashRing {
  from { opacity: 0.4; transform: scale(0.95); }
  to   { opacity: 0; transform: scale(1.3); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.3); opacity: 0.7; }
}

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

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

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

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.15); }
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes mapPinBounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-12px); }
  60%       { transform: translateY(-8px); }
}

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

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) translateX(0); }
  10%  { opacity: 1; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(calc(var(--vy, -1) * 300px)) translateX(calc(var(--vx, 0.5) * 200px)); }
}

@keyframes hubPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.05); }
}

@keyframes connectionPulse {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes shieldPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.1; transform: scale(1.05); }
}

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

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ============================================================
   APP SCREENSHOT IMAGES
   ============================================================ */
.app-img-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
}

.app-img-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 12% auto;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 149, 42, 0.18) 0%, transparent 70%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}

.app-img-wrap .phone-device {
  position: relative;
  z-index: 1;
}

.app-screenshot {
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 32px;
  border: none;
  box-shadow: none;
  animation: none;
  display: block;
  object-fit: cover;
  object-position: top center;
  background: #0a1210;
}

.app-img-label {
  font-size: 0.78rem;
  color: var(--secondary-light);
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(201, 149, 42, 0.1);
  border: 1px solid rgba(201, 149, 42, 0.28);
}

