/* ═══════════════════════════════════════════════════════════════════
   Bitikka Labs — World-Class Landing Page
   Palette: Extracted from logo — Yellow #FFC107 on Ink #070708
   Typography: Cairo Black (AR headlines) · Tajawal (AR body) · Inter (EN/nums)
   Motion: GPU-accelerated · prefers-reduced-motion aware
═══════════════════════════════════════════════════════════════════ */

/* Fonts are loaded via <link rel="stylesheet"> in index.html <head> (not
   @import) so the browser can fetch them in parallel with this file instead
   of discovering them only after landing.css finishes downloading. */

/* ── Design Tokens ───────────────────────────────────────────────── */
:root {
  /* Brand — derived from logo */
  --brand:        #FFC107;
  --brand-dark:   #CC9900;
  --brand-bright: #FFD740;
  --brand-glow:   rgba(255, 193,   7, 0.32);
  --brand-glow-sm:rgba(255, 193,   7, 0.16);
  --brand-dim:    rgba(255, 193,   7, 0.08);
  --brand-ultra:  rgba(255, 193,   7, 0.04);

  /* Ink scale */
  --ink-0: #060608;
  --ink-1: #0E0E11;
  --ink-2: #141417;
  --ink-3: #1B1B1F;
  --ink-4: #252529;
  --ink-5: #2E2E33;

  /* Text */
  --text-0: #F0F0F5;
  --text-1: #B0B0BE;
  --text-2: #70707E;
  --text-3: #45454F;

  /* Semantic */
  --ok:   #22C55E;
  --warn: #F59E0B;
  --err:  #EF4444;

  /* Glass */
  --glass-bg:      rgba(255, 255, 255, 0.028);
  --glass-border:  rgba(255, 255, 255, 0.06);
  --glass-hover:   rgba(255, 255, 255, 0.10);

  /* Radius — intentionally mixed for non-AI look */
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:  14px;
  --r-lg:  22px;
  --r-xl:  32px;
  --r-full: 9999px;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);

  /* Transitions */
  --t-fast: 0.18s var(--ease-out-expo);
  --t-med:  0.35s var(--ease-out-expo);
  --t-slow: 0.6s  var(--ease-out-expo);

  /* Layout */
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--ink-0);
  color: var(--text-0);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
body.no-scroll { overflow: hidden; }
[dir="ltr"] body { font-family: 'Inter', sans-serif; }
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ── Utility ─────────────────────────────────────────────────────── */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--gutter);
}
.section { padding: clamp(5rem, 10vh, 8rem) 0; }
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }

/* Gradient text — sparingly, 1-2 key words only */
.text-brand {
  background: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand) 50%, #E6A000 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animated Background Canvas ──────────────────────────────────── */
#bg-canvas {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none;
}

/* ── Scroll-Linked Orbs (CSS fallback) ───────────────────────────── */
.orb-field {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px);
  will-change: transform, opacity;
  animation: orbDrift var(--dur, 18s) ease-in-out infinite alternate;
}
.orb-1 {
  width: 700px; height: 700px;
  top: -200px; right: -150px;
  background: radial-gradient(circle, rgba(255,193,7,0.13) 0%, transparent 70%);
  --dur: 20s; animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  bottom: 10%; left: -100px;
  background: radial-gradient(circle, rgba(255,193,7,0.09) 0%, transparent 70%);
  --dur: 25s; animation-delay: -8s;
}
.orb-3 {
  width: 400px; height: 400px;
  top: 40%; right: 20%;
  background: radial-gradient(circle, rgba(255,215,64,0.06) 0%, transparent 70%);
  --dur: 30s; animation-delay: -15s;
}

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-40px, 30px) scale(1.05); }
  66%  { transform: translate(30px, -20px) scale(0.97); }
  100% { transform: translate(-20px, 40px) scale(1.03); }
}

/* ── Section Divider — glowing draw-in line ───────────────────────── */
.section-divider {
  width: 100%; height: 1px; position: relative;
  background: linear-gradient(90deg, transparent, var(--ink-4), transparent);
  overflow: visible;
}
.section-divider::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 50%, transparent 100%);
  transform: scaleX(0); transform-origin: center;
  transition: transform 1.2s var(--ease-out-expo);
  opacity: 0.5;
}
.section-divider.drawn::after { transform: scaleX(1); }

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; inset-inline: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem var(--gutter);
  backdrop-filter: blur(0px) saturate(1);
  -webkit-backdrop-filter: blur(0px) saturate(1);
  background: rgba(6, 6, 8, 0);
  border-bottom: 1px solid transparent;
  transition: backdrop-filter 0.4s ease, background 0.4s ease,
              border-color 0.4s ease, padding 0.3s ease;
  will-change: backdrop-filter, background;
}
.navbar.scrolled {
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  background: rgba(6, 6, 8, 0.80);
  border-bottom-color: var(--glass-border);
  padding-top: 0.7rem; padding-bottom: 0.7rem;
}

.nav-brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-0);
  text-shadow: 0 0 20px var(--brand-glow);
}
.brand-logo-img {
  height: 36px; width: 36px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--brand-glow), 0 0 16px var(--brand-glow-sm);
  transition: box-shadow var(--t-med);
}
.nav-brand:hover .brand-logo-img {
  box-shadow: 0 0 0 1px var(--brand-glow), 0 0 28px var(--brand-glow);
}
.nav-brand em { color: var(--brand); font-style: normal; }

.nav-links {
  display: flex; align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.nav-links a {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-1);
  position: relative; padding-bottom: 2px;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 0; inset-inline-start: 0;
  width: 0; height: 1.5px;
  background: var(--brand);
  transition: width var(--t-med);
  border-radius: 2px;
}
.nav-links a:hover { color: var(--text-0); }
.nav-links a:hover::after { width: 100%; }

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

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-full);
  font-size: 0.9rem; font-weight: 600;
  transition: all var(--t-med);
  position: relative; overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.btn-ghost {
  color: var(--text-1);
  border: 1px solid var(--glass-border);
  background: transparent;
}
.btn-ghost:hover {
  color: var(--text-0);
  border-color: var(--glass-hover);
  background: var(--glass-bg);
}
.btn-primary {
  background: var(--brand);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 0 0 var(--brand-glow);
  transition: all var(--t-med), box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: var(--brand-bright);
  box-shadow: 0 0 24px var(--brand-glow), 0 4px 20px rgba(255,193,7,0.4);
  transform: translateY(-1px);
}
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1rem;
  border-radius: var(--r-full);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-0);
}
.btn-outline:hover {
  border-color: var(--brand-glow);
  background: var(--brand-dim);
  color: var(--brand);
}
.btn-whatsapp {
  background: #22C55E;
  color: #fff; font-weight: 700;
}
.btn-whatsapp:hover {
  background: #16A34A;
  box-shadow: 0 0 24px rgba(34,197,94,0.35);
  transform: translateY(-1px);
}

/* Magnetic wrapper — JS applies inline transform */
.btn-magnetic { display: inline-flex; }

/* Lang toggle */
.btn-lang {
  display: flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-full);
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-2);
  border: 1px solid var(--glass-border);
  transition: all var(--t-fast);
}
.btn-lang:hover { color: var(--brand); border-color: var(--brand-glow); }

/* Mobile hamburger — glass pill with brand-reactive bars */
.hamburger {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast),
              box-shadow var(--t-fast), transform var(--t-fast);
}
.hamburger:hover {
  border-color: var(--brand-glow);
  background: var(--brand-dim);
  box-shadow: 0 0 0 4px var(--brand-ultra);
}
.hamburger:active { transform: scale(0.93); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-0);
  border-radius: var(--r-full);
  transition: transform 0.42s var(--ease-spring),
              opacity 0.22s var(--ease-in-out),
              background var(--t-fast);
  transform-origin: center;
}
.hamburger:hover span { background: var(--brand); }
.hamburger.active {
  border-color: var(--brand-glow); background: var(--brand-dim);
}
.hamburger.active span { background: var(--brand); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background:
    radial-gradient(circle at 100% 0%, var(--brand-glow-sm), transparent 42%),
    rgba(6, 6, 8, 0.98);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  display: flex; flex-direction: column;
  padding: 1.25rem var(--gutter) 2rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease-out-expo), visibility 0.5s;
  border-inline-start: 1px solid var(--glass-border);
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-overlay.open { transform: translateX(0); visibility: visible; }

/* Overlay header: brand + close */
.mobile-overlay-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--glass-border);
}
.mobile-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-0); cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast),
              color var(--t-fast), transform var(--t-med);
}
.mobile-close:hover {
  border-color: var(--brand-glow); background: var(--brand-dim);
  color: var(--brand); transform: rotate(90deg);
}

/* Overlay nav links — staggered reveal on open */
.mobile-links { display: flex; flex-direction: column; padding-top: 0.5rem; }
.mobile-links a {
  font-size: 1.4rem; font-weight: 700;
  color: var(--text-1); padding: 1rem 0;
  border-bottom: 1px solid var(--glass-border);
  display: flex; align-items: center; gap: 0.6rem;
  transition: color var(--t-fast), transform var(--t-fast);
  opacity: 0; transform: translateX(24px);
}
.mobile-links a::before {
  content: ''; width: 6px; height: 6px; border-radius: var(--r-full);
  background: var(--brand); opacity: 0; transform: scale(0);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.mobile-links a:hover { color: var(--brand); transform: translateX(6px); }
.mobile-links a:hover::before { opacity: 1; transform: scale(1); }
.mobile-overlay.open .mobile-links a {
  opacity: 1; transform: translateX(0);
  transition: color var(--t-fast), transform 0.5s var(--ease-out-expo),
              opacity 0.5s var(--ease-out-expo);
}
.mobile-overlay.open .mobile-links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-overlay.open .mobile-links a:nth-child(2) { transition-delay: 0.14s; }
.mobile-overlay.open .mobile-links a:nth-child(3) { transition-delay: 0.20s; }
.mobile-overlay.open .mobile-links a:nth-child(4) { transition-delay: 0.26s; }

.mobile-overlay .mobile-ctas {
  margin-top: auto; padding-top: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}

/* Overlay social row */
.mobile-social {
  display: flex; gap: 0.75rem; margin-top: 1.25rem;
  padding-top: 1.25rem; border-top: 1px solid var(--glass-border);
}
.mobile-social a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem; border-radius: var(--r-md);
  border: 1px solid var(--glass-border); background: var(--glass-bg);
  color: var(--text-1); font-size: 0.9rem; font-weight: 700;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.mobile-social a:hover {
  border-color: var(--brand-glow); background: var(--brand-dim); color: var(--brand);
}
.mobile-social a svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100dvh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding-top: 5rem;
  padding-inline: var(--gutter);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hero ignition overlay — fades out on load */
.hero-ignition {
  position: absolute; inset: 0; z-index: 10;
  background: var(--ink-0);
  animation: ignitionFade 1s var(--ease-out-expo) 0.2s forwards;
  pointer-events: none;
}
@keyframes ignitionFade {
  0%   { opacity: 1; }
  100% { opacity: 0; pointer-events: none; }
}

/* Hero inner content */
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  max-width: 900px; margin: 0 auto;
}

/* Launch badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  background: var(--brand-ultra);
  border: 1px solid rgba(255,193,7,0.25);
  font-size: 0.85rem; font-weight: 600;
  color: var(--brand);
  margin-bottom: 2rem;
  animation: badgePulse 3s ease-in-out infinite;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-delay: 0.8s;
}
@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255,193,7,0.0);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255,193,7,0.0);
    opacity: 1;
  }
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
  animation: dotBlink 2s ease-in-out infinite;
}
@keyframes dotBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

/* Hero headline */
.hero h1 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-0);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(32px);
  animation: heroReveal 0.9s var(--ease-out-expo) 0.9s forwards;
}
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}
.hero h1 .text-brand {
  display: block;
  font-size: clamp(3rem, 8vw, 6rem);
}

/* Hero sub */
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--text-1);
  max-width: 600px; line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.9s var(--ease-out-expo) 1.1s forwards;
}

/* Hero CTA row */
.hero-ctas {
  display: flex; align-items: center;
  gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 3rem;
  opacity: 0;
  animation: heroReveal 0.9s var(--ease-out-expo) 1.3s forwards;
}

/* Trust strip */
.trust-strip {
  display: flex; align-items: center;
  gap: 1.5rem; flex-wrap: wrap; justify-content: center;
  opacity: 0;
  animation: heroReveal 0.9s var(--ease-out-expo) 1.5s forwards;
}
.trust-label {
  font-size: 0.78rem; color: var(--text-2);
  letter-spacing: 0.05em; text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}
.trust-items {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--text-2);
  font-family: 'Inter', sans-serif;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--ink-4);
  border-radius: var(--r-sm);
  background: var(--glass-bg);
  transition: all var(--t-fast);
}
.trust-item svg { width: 14px; height: 14px; opacity: 0.7; }
.trust-item:nth-child(1) { animation-delay: 1.6s; }
.trust-item:nth-child(2) { animation-delay: 1.7s; }
.trust-item:nth-child(3) { animation-delay: 1.8s; }
.trust-item:nth-child(4) { animation-delay: 1.9s; }

/* ── Dashboard mockup ─────────────────────────────────────────────── */
.hero-visual {
  width: 100%; max-width: 820px;
  margin: 3.5rem auto -4rem;
  position: relative;
  perspective: 1200px;
  opacity: 0;
  animation: heroReveal 1.2s var(--ease-out-expo) 1.4s forwards;
}
.dashboard-tilt {
  transform: rotateX(8deg) rotateY(-2deg);
  transform-style: preserve-3d;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-border);
  background: var(--ink-1);
  box-shadow:
    0 0 0 1px var(--glass-border),
    0 40px 80px rgba(0,0,0,0.7),
    0 0 60px var(--brand-glow-sm);
  overflow: hidden;
  transition: transform 0.6s var(--ease-out-expo);
}
.hero-visual:hover .dashboard-tilt {
  transform: rotateX(3deg) rotateY(-1deg);
}

.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--ink-2);
  border-bottom: 1px solid var(--glass-border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.dash-dots span:nth-child(1) { background: #FF5F57; }
.dash-dots span:nth-child(2) { background: #FFBD2E; }
.dash-dots span:nth-child(3) { background: #28C840; }
.dash-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; color: var(--text-2);
  font-weight: 500;
}
.dash-status {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; color: var(--ok);
  font-weight: 600;
}
.dash-status::before {
  content: ''; width: 6px; height: 6px;
  border-radius: 50%; background: var(--ok);
  animation: dotBlink 2s infinite;
}

.dash-body {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem; padding: 1rem;
}

/* KPI cards */
.kpi-card {
  background: var(--ink-3); border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1rem;
}
.kpi-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem; color: var(--text-2);
  font-weight: 500; margin-bottom: 0.3rem;
}
.kpi-value {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem; font-weight: 800;
  color: var(--text-0); letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 0.3rem;
}
.kpi-change {
  font-size: 0.72rem; font-weight: 600;
  color: var(--ok); display: flex; align-items: center; gap: 2px;
}
.kpi-change.down { color: var(--err); }

/* Live chart area */
.dash-chart {
  grid-column: 1 / 3;
  background: var(--ink-3); border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  padding: 0.75rem 1rem;
  min-height: 120px;
}
.chart-header {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; color: var(--text-2);
  margin-bottom: 0.5rem; font-weight: 500;
}
.chart-bars {
  display: flex; align-items: flex-end;
  gap: 4px; height: 72px;
}
.chart-bars .cb {
  flex: 1; border-radius: 3px 3px 0 0;
  background: var(--ink-5);
  transform-origin: bottom;
  animation: barGrow 1.5s var(--ease-out-expo) forwards;
  animation-delay: var(--d, 0s);
  transform: scaleY(0);
}
.chart-bars .cb.accent { background: var(--brand); opacity: 0.85; }
@keyframes barGrow {
  to { transform: scaleY(1); }
}

/* Orders list */
.dash-orders {
  grid-column: 3;
  grid-row: 2;
  background: var(--ink-3); border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  padding: 0.75rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.order-row {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem; color: var(--text-1);
}
.order-badge {
  background: var(--brand-dim); color: var(--brand);
  padding: 2px 6px; border-radius: 4px;
  font-weight: 700; font-size: 0.62rem; white-space: nowrap;
}
.order-new {
  animation: slideInOrder 0.5s var(--ease-out-expo) forwards;
  opacity: 0;
}
@keyframes slideInOrder {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Most requested ribbon */
.most-req-ribbon {
  grid-column: 1 / 3;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(90deg, var(--brand-dim), transparent);
  border: 1px solid rgba(255,193,7,0.15);
  border-radius: var(--r-sm);
  font-family: 'Cairo', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--brand);
  margin-top: -0.25rem;
}
.most-req-items {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.most-req-item {
  background: var(--brand-dim); color: var(--text-0);
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.68rem; font-weight: 600;
}

/* ── Floating notification cards ─────────────────────────────────── */
.float-notifications {
  position: absolute;
  pointer-events: none;
  inset: 0;
}
.notif-card {
  position: absolute;
  background: var(--ink-2);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  padding: 0.6rem 0.9rem;
  display: flex; align-items: center; gap: 0.6rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px var(--glass-border);
  min-width: 180px; max-width: 220px;
  opacity: 0;
  font-size: 0.8rem;
  white-space: nowrap;
  will-change: transform, opacity;
}
.notif-icon {
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; flex-shrink: 0;
}
.notif-icon.yellow { background: var(--brand-dim); }
.notif-icon.green  { background: rgba(34,197,94,0.12); }
.notif-icon.blue   { background: rgba(99,102,241,0.12); }

.notif-body { display: flex; flex-direction: column; }
.notif-title { font-weight: 700; color: var(--text-0); font-size: 0.78rem; }
.notif-sub   { font-size: 0.68rem; color: var(--text-2); margin-top: 1px; }

.notif-1 { top: 18%; inset-inline-end: -60px; animation: notifLoop1 6s ease-in-out 2s infinite; }
.notif-2 { bottom: 28%; inset-inline-start: -60px; animation: notifLoop2 6s ease-in-out 3.5s infinite; }
.notif-3 { top: 55%; inset-inline-end: -50px; animation: notifLoop3 6s ease-in-out 5s infinite; }

@keyframes notifLoop1 {
  0%,100% { opacity: 0; transform: translateX(20px); }
  15%,85% { opacity: 1; transform: translateX(0); }
}
@keyframes notifLoop2 {
  0%,100% { opacity: 0; transform: translateX(-20px); }
  15%,85% { opacity: 1; transform: translateX(0); }
}
@keyframes notifLoop3 {
  0%,100% { opacity: 0; transform: translateX(20px); }
  15%,85% { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════════
   STATS BAR
═══════════════════════════════════════════════════════════════════ */
.stats-bar {
  padding: 4rem var(--gutter);
  background: linear-gradient(180deg, var(--ink-0) 0%, var(--ink-1) 50%, var(--ink-0) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center; gap: 0;
}
.stat-item {
  text-align: center; padding: 0 2rem;
}
.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.04em;
  color: var(--text-0);
  line-height: 1;
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat-number .unit {
  font-size: 0.55em; color: var(--brand); font-weight: 700;
}
.stat-label {
  font-size: 0.85rem; color: var(--text-2);
  margin-top: 0.4rem; font-weight: 400;
}
.stat-divider {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, var(--brand-glow), transparent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s var(--ease-out-expo);
  transition-delay: var(--d, 0s);
}
.stat-divider.drawn { transform: scaleY(1); }

/* ═══════════════════════════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════════════════════════ */
.section-head {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-full);
  background: var(--brand-ultra);
  border: 1px solid rgba(255,193,7,0.2);
  font-size: 0.78rem; font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}
.section-pill::before {
  content: ''; width: 5px; height: 5px;
  background: var(--brand); border-radius: 50%;
}
.section-head h2 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; letter-spacing: -0.02em;
  line-height: 1.1; color: var(--text-0);
}

/* ═══════════════════════════════════════════════════════════════════
   FEATURES — ASYMMETRIC BENTO GRID
═══════════════════════════════════════════════════════════════════ */
#features { padding-bottom: clamp(5rem, 10vh, 9rem); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  max-width: var(--max-w); margin: 0 auto;
}

.admin-feature-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

/* Base bento card */
.b-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  position: relative; overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
  will-change: transform;
  cursor: default;
  /* Cursor-tracking glow via JS */
  --cx: 50%; --cy: 50%;
}
.b-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--cx) var(--cy),
    rgba(255,193,7,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit; pointer-events: none;
  z-index: 0;
}
.b-card:hover::before { opacity: 1; }
.b-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,193,7,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(255,193,7,0.06);
}

/* Card inner content above pseudo glow */
.b-card > * { position: relative; z-index: 1; }

/* Span variants */
.b-span-7 { grid-column: span 7; }
.b-span-5 { grid-column: span 5; }
.b-span-4 { grid-column: span 4; }
.b-span-8 { grid-column: span 8; }
.b-span-12{ grid-column: span 12; }
.b-span-6 { grid-column: span 6; }

/* Card icon */
.b-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}
.b-icon-yellow { background: var(--brand-dim); color: var(--brand); }
.b-icon-green  { background: rgba(34,197,94,0.1); color: var(--ok); }
.b-icon-amber  { background: rgba(245,158,11,0.1); color: var(--warn); }
.b-icon-red    { background: rgba(239,68,68,0.1); color: var(--err); }
.b-icon-blue   { background: rgba(99,102,241,0.1); color: #818CF8; }

.b-card h3 {
  font-family: 'Cairo', sans-serif;
  font-size: 1.15rem; font-weight: 800;
  color: var(--text-0); margin-bottom: 0.5rem;
  line-height: 1.3;
}
.b-card p {
  font-size: 0.9rem; color: var(--text-1);
  line-height: 1.7;
}

/* QR card — phone mockup */
.qr-phone-wrap {
  margin-top: 1.5rem;
  display: flex; align-items: flex-end; gap: 1rem;
}
.phone-mock {
  width: 100px;
  background: var(--ink-3);
  border-radius: 16px;
  border: 2px solid var(--ink-5);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.phone-screen {
  padding: 6px;
  display: flex; flex-direction: column; gap: 5px;
}
.pm-header {
  background: var(--brand-dim); border-radius: 4px;
  height: 14px; display: flex; align-items: center;
  padding: 0 4px;
}
.pm-logo-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}
.pm-cat-row { display: flex; gap: 3px; }
.pm-cat {
  height: 10px; flex: 1; border-radius: 3px;
  background: var(--ink-5);
}
.pm-cat.active { background: var(--brand); opacity: 0.7; }
.pm-item-card {
  background: var(--ink-4); border-radius: 5px; padding: 4px;
  display: flex; gap: 4px; align-items: center;
}
.pm-thumb { width: 20px; height: 20px; border-radius: 3px; background: var(--ink-5); flex-shrink: 0; }
.pm-lines { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pm-line { height: 4px; border-radius: 2px; background: var(--ink-5); }
.pm-line.short { width: 60%; }

/* الأكثر طلباً ribbon */
.most-req-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #000; font-weight: 800; font-size: 0.75rem;
  font-family: 'Cairo', sans-serif;
  box-shadow: 0 0 20px var(--brand-glow);
  animation: ribbonPulse 3s ease-in-out infinite;
  margin-top: 0.75rem;
  width: fit-content;
}
@keyframes ribbonPulse {
  0%,100% { box-shadow: 0 0 12px var(--brand-glow); }
  50%      { box-shadow: 0 0 30px var(--brand-glow), 0 0 60px var(--brand-glow-sm); }
}

/* Real-time orders mini animation */
.orders-live {
  margin-top: 1.25rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.order-row-mini {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: var(--ink-2); border-radius: var(--r-sm);
  border: 1px solid var(--glass-border);
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; color: var(--text-1);
}
.order-row-mini .ord-badge {
  background: var(--brand-dim); color: var(--brand);
  padding: 1px 5px; border-radius: 3px;
  font-weight: 700; font-size: 0.65rem;
}
.order-row-mini.new-ord {
  border-color: rgba(255,193,7,0.25);
  animation: newOrderFlash 3s ease infinite;
}
@keyframes newOrderFlash {
  0%,100% { border-color: rgba(255,193,7,0.25); }
  50%     { border-color: rgba(255,193,7,0.6); }
}

/* Waiter card — bell animation */
.waiter-bell {
  font-size: 2.5rem; margin-top: 1rem;
  animation: bellRing 4s ease-in-out infinite;
  transform-origin: top center;
  display: inline-block;
}
@keyframes bellRing {
  0%,90%,100% { transform: rotate(0deg); }
  92%  { transform: rotate(12deg); }
  94%  { transform: rotate(-12deg); }
  96%  { transform: rotate(8deg); }
  98%  { transform: rotate(-4deg); }
}

/* Theming card — Al-Qadi before/after */
.theme-preview {
  margin-top: 1.25rem;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  height: 90px;
  border: 1px solid var(--glass-border);
}
.theme-before, .theme-after {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem; font-weight: 700;
  transition: opacity 1.5s ease;
}
.theme-before {
  background: linear-gradient(135deg, #1a0a00, #3d1500);
  color: #ff8c00;
}
.theme-after {
  background: linear-gradient(135deg, #1a1200, #3d2d00);
  color: #D4AF37;
  opacity: 0;
}
.theme-preview:hover .theme-before { opacity: 0; }
.theme-preview:hover .theme-after  { opacity: 1; }

.theme-preview-auto .theme-before { animation: themeCycleOut 6s ease-in-out infinite; }
.theme-preview-auto .theme-after  { animation: themeCycleIn 6s ease-in-out infinite; }

@keyframes themeCycleOut {
  0%,40%  { opacity: 1; }
  50%,90% { opacity: 0; }
  100%    { opacity: 1; }
}
@keyframes themeCycleIn {
  0%,40%  { opacity: 0; }
  50%,90% { opacity: 1; }
  100%    { opacity: 0; }
}

.theme-label {
  position: absolute; top: 6px;
  font-size: 0.6rem; font-weight: 700;
  padding: 1px 6px; border-radius: 3px;
}
.theme-before .theme-label { inset-inline-end: 6px; background: rgba(255,140,0,0.2); color: #ff8c00; }
.theme-after  .theme-label { inset-inline-end: 6px; background: rgba(212,175,55,0.2); color: #D4AF37; }

/* Admin dashboard card */
.admin-dash-preview {
  margin-top: 1.5rem;
  background: var(--ink-0);
  border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  padding: 1rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0.75rem;
}
.admin-kpi {
  background: var(--ink-2); border-radius: var(--r-sm);
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--glass-border);
}
.admin-kpi-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem; color: var(--text-2); margin-bottom: 0.25rem;
}
.admin-kpi-val {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 800; color: var(--text-0);
  letter-spacing: -0.03em;
}
.admin-chart-area {
  grid-column: 1 / 4;
  background: var(--ink-2); border-radius: var(--r-sm);
  padding: 0.75rem;
  border: 1px solid var(--glass-border);
}
.admin-chart-bars {
  display: flex; align-items: flex-end; gap: 5px; height: 60px;
}
.admin-chart-bars .acb {
  flex: 1; border-radius: 3px 3px 0 0;
  background: var(--ink-4);
  transform: scaleY(0); transform-origin: bottom;
  animation: barGrow 1.2s var(--ease-out-expo) var(--d, 0s) forwards;
}
.admin-chart-bars .acb.hi { background: var(--brand); opacity: 0.9; }
.admin-chart-bars .acb.med { background: rgba(255,193,7,0.45); }

.admin-bottom-nav {
  grid-column: 1 / 5;
  display: flex; justify-content: space-around; align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--glass-border);
}
.admin-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem; color: var(--text-2);
  padding: 0.25rem 0.5rem;
  border-radius: var(--r-xs);
}
.admin-nav-item.active { color: var(--brand); }
.admin-nav-icon { font-size: 0.9rem; }

/* ═══════════════════════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════════════════════ */
#how-it-works {
  padding: clamp(5rem, 10vh, 8rem) 0;
  background: linear-gradient(180deg, transparent, var(--ink-1) 30%, var(--ink-1) 70%, transparent);
}
.how-steps {
  display: flex; align-items: flex-start;
  gap: 0; position: relative;
  max-width: 860px; margin: 0 auto;
}
.how-step {
  flex: 1; text-align: center; padding: 0 1rem;
  position: relative;
}
.how-step-connector {
  flex: 0 0 80px;
  display: flex; align-items: center; justify-content: center;
  padding-top: 2.5rem;
}
.connector-line {
  width: 100%; height: 2px;
  background: var(--ink-4);
  position: relative; overflow: visible;
}
.connector-line::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.2s var(--ease-out-expo);
  border-radius: 2px;
}
[dir="rtl"] .connector-line::after { transform-origin: right; }
.connector-line.drawn::after { transform: scaleX(1); }

.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ink-2);
  border: 2px solid var(--ink-4);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem; font-weight: 800; color: var(--text-2);
  margin: 0 auto 1rem;
  transition: all 0.5s var(--ease-out-expo);
  position: relative; z-index: 1;
}
.how-step.active .step-num {
  background: var(--brand); color: #000;
  border-color: var(--brand-bright);
  box-shadow: 0 0 30px var(--brand-glow);
}
.step-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.step-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem; font-weight: 800; color: var(--text-0);
  margin-bottom: 0.5rem;
}
.step-desc { font-size: 0.85rem; color: var(--text-1); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════════════════════════ */
#pricing { background: transparent; }

.pricing-toggle {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--ink-2); border: 1px solid var(--glass-border);
  border-radius: var(--r-full); padding: 0.3rem 0.3rem 0.3rem 1rem;
  margin-bottom: 3rem;
  position: relative; cursor: pointer;
  user-select: none;
}
.toggle-label {
  font-size: 0.85rem; font-weight: 600; color: var(--text-2);
  transition: color var(--t-fast);
}
.toggle-label.active { color: var(--text-0); }
.toggle-pill {
  display: flex; align-items: center;
  background: var(--ink-4); border-radius: var(--r-full);
  padding: 0.2rem;
  position: relative; width: 52px; height: 28px;
}
.toggle-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand-glow-sm);
  transition: transform 0.3s var(--ease-spring);
  position: absolute; inset-inline-start: 2px;
}
.pricing-toggle.yearly .toggle-thumb {
  transform: translateX(24px);
}
[dir="rtl"] .pricing-toggle.yearly .toggle-thumb {
  transform: translateX(-24px);
}
.toggle-save {
  background: var(--brand); color: #000;
  font-size: 0.7rem; font-weight: 800;
  padding: 0.2rem 0.5rem; border-radius: var(--r-full);
  margin-inline-end: 0.25rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem; align-items: start;
  max-width: var(--max-w); margin: 0 auto;
}

.p-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  position: relative; overflow: hidden;
  transition: all var(--t-med);
}
.p-card:hover {
  border-color: var(--glass-hover);
  transform: translateY(-3px);
}
/* Featured "النمو" card */
.p-card.featured {
  background: linear-gradient(155deg,
    rgba(255,193,7,0.05) 0%,
    var(--ink-1) 40%,
    var(--ink-2) 100%);
  border-color: rgba(255,193,7,0.3);
  transform: scale(1.04);
  box-shadow:
    0 0 0 1px rgba(255,193,7,0.3),
    0 30px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(255,193,7,0.08),
    inset 0 1px 0 rgba(255,193,7,0.15);
  z-index: 2;
}
.p-card.featured:hover { transform: scale(1.04) translateY(-3px); }

.popular-badge {
  position: absolute; top: 1rem; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.3rem;
  background: var(--brand); color: #000;
  font-size: 0.72rem; font-weight: 800;
  padding: 0.3rem 0.9rem; border-radius: var(--r-full);
  white-space: nowrap;
  box-shadow: 0 4px 20px var(--brand-glow);
  z-index: 2;
}

.plan-header { padding-top: 1.5rem; margin-bottom: 1.25rem; }
.plan-icon-wrap {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 0.75rem;
}
.p-card.featured .plan-icon-wrap {
  background: var(--brand-dim);
}
.plan-name {
  font-family: 'Cairo', sans-serif;
  font-size: 1.15rem; font-weight: 800; color: var(--text-0);
  margin-bottom: 0.25rem;
}
.plan-desc-tag {
  font-size: 0.78rem; color: var(--text-2);
}
.plan-price {
  display: flex; align-items: baseline; gap: 0.2rem;
  margin: 1rem 0 0.5rem;
}
.plan-currency { font-family: 'Inter', sans-serif; font-size: 1.2rem; color: var(--text-1); }
.plan-amount {
  font-family: 'Inter', sans-serif;
  font-size: 3rem; font-weight: 800; letter-spacing: -0.05em;
  color: var(--text-0); line-height: 1;
  transition: all 0.3s var(--ease-out-expo);
}
.p-card.featured .plan-amount { color: var(--brand); }
.plan-period { font-size: 0.85rem; color: var(--text-2); }
.plan-setup {
  font-size: 0.78rem; color: var(--text-2);
  margin-bottom: 1.25rem;
}
.plan-setup s { color: var(--text-3); }
.plan-setup strong { color: var(--brand); }

.plan-features {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.plan-feature {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.85rem; color: var(--text-1);
  opacity: 0; transform: translateX(10px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-out-expo);
  transition-delay: var(--fd, 0s);
}
.p-card.vis .plan-feature { opacity: 1; transform: translateX(0); }
.feature-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: rgba(34,197,94,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
  color: var(--ok); font-size: 0.65rem;
}

/* Optional paid add-ons, sitting between the plan grid and the note */
.addons-row {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 0.75rem;
  margin-top: 2.5rem;
}

.addon-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem; color: var(--text-2);
  transition: border-color .25s ease, background .25s ease;
}

.addon-chip:hover {
  border-color: var(--brand);
  background: rgba(255,214,0,0.05);
}

.addon-chip .addon-icon { font-size: 1rem; line-height: 1; }
.addon-chip strong { color: var(--brand); font-weight: 700; }

.pricing-note {
  text-align: center; margin-top: 2rem;
  font-size: 0.85rem; color: var(--text-2);
  font-family: 'Cairo', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   INFRASTRUCTURE
═══════════════════════════════════════════════════════════════════ */
#infrastructure {
  background: linear-gradient(180deg, transparent, var(--ink-1) 20%, var(--ink-1) 80%, transparent);
}
.infra-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--gutter);
}
.infra-trust-points {
  display: flex; flex-direction: column; gap: 1.5rem;
  margin-top: 2rem;
}
.trust-point {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  border-inline-start: 2px solid var(--brand);
  transition: all var(--t-med);
}
.trust-point:hover { border-color: rgba(255,193,7,0.3); background: var(--brand-ultra); }
.trust-point-icon {
  font-size: 1.3rem; flex-shrink: 0; margin-top: 2px;
  color: var(--brand);
}
.trust-point-body h4 {
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem; font-weight: 800; color: var(--text-0);
  margin-bottom: 0.25rem;
}
.trust-point-body p {
  font-size: 0.83rem; color: var(--text-1); line-height: 1.6;
}

/* Tech stack visual */
.tech-stack-visual {
  position: relative; padding: 2rem;
  background: var(--ink-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  min-height: 320px;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 2rem;
}
.tech-node {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--ink-2); border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  position: relative;
  transition: all var(--t-med);
}
.tech-node.glowing {
  border-color: rgba(255,193,7,0.3);
  box-shadow: 0 0 30px var(--brand-glow-sm);
  animation: techGlow 2s ease-in-out infinite alternate;
}
@keyframes techGlow {
  from { box-shadow: 0 0 15px rgba(255,193,7,0.1); }
  to   { box-shadow: 0 0 35px rgba(255,193,7,0.2); }
}
.tech-logo {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.tech-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem; font-weight: 700; color: var(--text-1);
}
.tech-sub {
  font-size: 0.6rem; color: var(--text-2);
}

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 12vh, 9rem) var(--gutter);
  text-align: center;
}
.cta-orb {
  position: absolute;
  width: 700px; height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,193,7,0.12) 0%, transparent 65%);
  filter: blur(80px);
  animation: orbDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-inner h2 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900; letter-spacing: -0.02em;
  color: var(--text-0); margin-bottom: 1rem; line-height: 1.1;
}
.cta-inner p {
  font-size: 1.05rem; color: var(--text-1);
  margin-bottom: 2.5rem; line-height: 1.7;
}
.cta-wa-icon {
  display: inline-flex; align-items: center; gap: 0.75rem;
}
.wa-bounce {
  animation: waBounce 2.5s ease-in-out infinite;
  display: inline-block; font-size: 1.3rem;
}
@keyframes waBounce {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.2) rotate(-5deg); }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink-0);
  border-top: 1px solid var(--glass-border);
  padding: 4rem var(--gutter) 2rem;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}
.footer-brand-col .nav-brand { margin-bottom: 1rem; font-size: 1.15rem; }
.footer-tagline {
  font-size: 0.88rem; color: var(--text-2); line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Cairo', sans-serif;
  font-size: 0.85rem; font-weight: 800; color: var(--text-0);
  margin-bottom: 1rem; letter-spacing: 0.04em;
}
.footer-col a, .footer-col p {
  display: block; font-size: 0.83rem; color: var(--text-2);
  margin-bottom: 0.6rem;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--brand); }
.footer-social-link {
  display: inline-flex !important; align-items: center; gap: 0.5rem;
}
.footer-social-link svg { flex-shrink: 0; }

.footer-bottom {
  max-width: var(--max-w); margin: 2rem auto 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.founder-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  transition: all var(--t-med);
}
.founder-card:hover {
  border-color: var(--brand-glow); background: var(--brand-ultra);
}
.founder-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--brand-glow);
  overflow: hidden; flex-shrink: 0;
}
.founder-avatar img { width: 100%; height: 100%; object-fit: cover; }
.founder-name {
  font-size: 0.82rem; font-weight: 700; color: var(--text-0);
  display: block;
}
.founder-role { font-size: 0.72rem; color: var(--text-2); }
.copyright {
  font-size: 0.78rem; color: var(--text-3);
  font-family: 'Inter', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
  transition-delay: var(--rd, 0s);
  will-change: transform, opacity;
}
.reveal.vis { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-36px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
  transition-delay: var(--rd, 0s);
}
.reveal-left.vis { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(36px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
  transition-delay: var(--rd, 0s);
}
.reveal-right.vis { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .b-span-7, .b-span-8, .b-span-6,
  .b-span-5, .b-span-4 { grid-column: span 1; }
  .b-span-12 { grid-column: 1 / -1; }

  .infra-layout { grid-template-columns: 1fr; gap: 2.5rem; }

  .stats-inner {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
  }
  .stat-item:nth-child(5),
  .stat-item:nth-child(6),
  .stat-item:nth-child(7) {
    grid-row: 2;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .btn-lang  { display: none; }

  .hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-visual { margin-bottom: -2rem; }

  .dashboard-tilt { transform: rotateX(4deg) rotateY(0); }
  .notif-1, .notif-3 { inset-inline-end: -10px; }
  .notif-2 { inset-inline-start: -10px; }

  .bento-grid { grid-template-columns: 1fr; }
  .b-span-7, .b-span-5, .b-span-4, .b-span-8, .b-span-12, .b-span-6 {
    grid-column: span 1;
  }
  .admin-feature-layout { grid-template-columns: 1fr; gap: 1rem; }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .stat-divider { display: none; }

  .how-steps { flex-direction: column; gap: 2rem; max-width: 320px; }
  .how-step-connector { display: none; }

  .pricing-grid { grid-template-columns: 1fr; }
  .p-card.featured { transform: scale(1); }
  .p-card.featured:hover { transform: translateY(-3px); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .admin-dash-preview {
    grid-template-columns: 1fr 1fr;
  }
  .admin-chart-area { grid-column: 1 / 3; }
  .admin-bottom-nav { grid-column: 1 / 3; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .trust-strip { flex-direction: column; gap: 0.75rem; }
}

/* Mobile ergonomics: keep the first viewport usable from compact phones to
   tall desktop displays without relying on device-specific breakpoints. */
@supports (padding: max(0px)) {
  .navbar {
    padding-top: max(0.75rem, env(safe-area-inset-top));
    padding-inline-end: max(var(--gutter), env(safe-area-inset-right));
    padding-inline-start: max(var(--gutter), env(safe-area-inset-left));
  }

  .mobile-overlay {
    padding-top: max(1.25rem, env(safe-area-inset-top));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 768px) {
  .navbar { gap: 0.75rem; }
  .nav-actions { margin-inline-start: auto; gap: 0.5rem; }
  .nav-actions > a.btn { display: none; }
  .mobile-overlay { overflow-y: auto; overscroll-behavior: contain; }

  .hero {
    min-height: 100svh;
    padding-top: max(5.5rem, calc(env(safe-area-inset-top) + 4.5rem));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
  .hero-inner { width: 100%; }
  .hero-badge { max-width: min(100%, 34rem); margin-bottom: 1.5rem; line-height: 1.55; }
  .hero-sub { margin-bottom: 2rem; }
  .hero-visual { width: min(100%, 42rem); margin-top: 2.5rem; }
  .section { padding-block: clamp(3.5rem, 10vw, 5rem); }
}

@media (max-width: 520px) {
  .dash-title { display: none; }
  .dash-topbar { padding: 0.65rem 0.75rem; }
  .dash-body { grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.65rem; }
  .kpi-card { padding: 0.65rem; }
  .kpi-card:nth-child(3), .dash-chart, .most-req-ribbon, .dash-orders {
    grid-column: 1 / -1;
  }
  .dash-orders { grid-row: auto; }
  .kpi-value { font-size: 1.2rem; }
  .most-req-ribbon { min-height: 42px; padding: 0.55rem; min-width: 0; }
  .most-req-items { flex: 1; min-width: 0; flex-wrap: nowrap; overflow: hidden; }
  .most-req-item { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .float-notifications { display: none; }
  .trust-items { justify-content: center; gap: 0.5rem; }
  .trust-item { font-size: 0.7rem; }
  .pricing-toggle { max-width: 100%; gap: 0.45rem; padding-inline-start: 0.65rem; }
  .toggle-label { font-size: 0.76rem; }
}

@media (max-width: 420px) {
  .toggle-save { display: none; }
  .pricing-toggle { justify-content: center; }
}

@media (max-width: 380px) {
  .nav-brand span { display: none; }
  .nav-brand { gap: 0; }
  .hero h1 { font-size: 2rem; }
  .hero h1 .text-brand { font-size: 2.25rem; }
  .hero-badge { font-size: 0.76rem; padding-inline: 0.8rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   REDUCED MOTION — Calm fallbacks
═══════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .orb    { animation: none !important; }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important; transform: none !important;
  }
  .notif-card { opacity: 1 !important; transform: none !important; }
  .hero-badge, .hero h1, .hero-sub, .hero-ctas, .trust-strip, .hero-visual {
    opacity: 1 !important; transform: none !important; animation: none !important;
  }
}
