/* =========================================================
   CALIFY — Design System (mobile-first)
   Dark navy + white + electric blue · Apple x Stripe x Uber Eats
   8px spacing scale · 24px card radius · 12-col grid mindset
   ========================================================= */

:root {
  /* Color */
  --navy: #072b4b;
  --navy-deep: #051f38;
  --navy-light: #0e3a63;
  --navy-card: #0c3459;
  --blue: #2fa7ff;
  --blue-soft: #6fc4ff;
  --blue-dim: rgba(47, 167, 255, 0.14);
  --white: #ffffff;
  --off-white: #eaf2fb;
  --muted: #a9bdd4;
  --muted-dim: #7891ac;
  --success: #35d68a;
  --amber: #ffb547;
  --danger: #ff5e6c;

  /* Radius */
  --r-xl: 24px;
  --r-lg: 20px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-full: 999px;

  /* Spacing (8px system) */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* Shadow */
  --shadow-lg: 0 30px 60px -20px rgba(2, 12, 26, 0.65);
  --shadow-md: 0 18px 40px -16px rgba(2, 12, 26, 0.55);
  --shadow-glow: 0 0 0 1px rgba(47, 167, 255, 0.25), 0 20px 50px -18px rgba(47, 167, 255, 0.35);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;

  --header-h: 68px;
  --announce-h: 44px;
}

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

html { scroll-behavior: smooth; }
html:has(.mobile-menu.open),
html:has(.sheet-overlay.open) { overflow: hidden; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.5;
  font-size: 15px;
  padding-bottom: 74px; /* sticky mobile CTA clearance */
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 12px;
  z-index: 1000;
  background: var(--blue);
  color: #04182c;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-2);
}

section { position: relative; }

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Arabic accent typography — decorative secondary line under key EN headings */
.ar {
  font-family: "Tajawal", "Segoe UI", sans-serif;
  direction: rtl;
  unicode-bidi: isolate;
  color: var(--blue-soft);
  font-weight: 500;
  display: block;
}

.ar-lg { font-size: 0.5em; margin-top: 6px; opacity: 0.85; }
.ar-tag { font-size: 12px; margin-top: 2px; opacity: 0.8; }
.ar-inline { display: inline-block; margin-inline-start: 6px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
  background: var(--blue-dim);
  border: 1px solid rgba(47, 167, 255, 0.3);
  padding: 7px 14px;
  border-radius: var(--r-full);
  margin-bottom: var(--sp-2);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--sp-5);
}

.section-head h2 { font-size: clamp(26px, 6vw, 42px); }
.section-head p { color: var(--muted); font-size: 15.5px; margin-top: var(--sp-2); }

.section-pad { padding: var(--sp-8) 0; }

/* ---------- Buttons — large tap targets ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: var(--r-full);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), #1c8ae0);
  color: #04182c;
  box-shadow: 0 14px 30px -10px rgba(47, 167, 255, 0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(47, 167, 255, 0.8); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.3); }
.btn-block { width: 100%; }
.btn-sm { min-height: 42px; padding: 10px 20px; font-size: 13.5px; }

.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: scale(0); animation: ripple 0.6s linear; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Announcement bar ---------- */

.announce-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 510;
  height: var(--announce-h);
  background: linear-gradient(90deg, #0a5ea8, #1c8ae0, #0a5ea8);
  background-size: 200% 100%;
  animation: shimmerBg 6s linear infinite;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@keyframes shimmerBg { to { background-position: 200% 0; } }

.announce-track {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  white-space: nowrap;
  padding: 0 var(--sp-2);
  width: 100%;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #04182c;
}

.announce-track strong { font-weight: 800; }
.announce-countdown { display: inline-flex; gap: 4px; font-variant-numeric: tabular-nums; background: rgba(4, 24, 44, 0.18); padding: 3px 9px; border-radius: var(--r-sm); }
.announce-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); color: #04182c; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }

.announce-extra { display: none; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: var(--announce-h);
  left: 0; right: 0;
  z-index: 500;
  padding: var(--sp-2) 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), top 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

body.announce-dismissed .site-header { top: 0; }
body.announce-dismissed .page-header-space { height: calc(var(--header-h)); }

.site-header.solid {
  background: rgba(7, 43, 75, 0.9);
  backdrop-filter: blur(16px) saturate(140%);
  padding: 12px 0;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }

.logo { display: flex; align-items: center; gap: 9px; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 19px; }
.logo-mark { width: 32px; height: 32px; border-radius: var(--r-sm); background: linear-gradient(135deg, var(--blue), #0a5ea8); display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 8px 18px -6px rgba(47, 167, 255, 0.8); flex-shrink: 0; }

.nav-menu { display: none; }

.nav-cta { display: flex; align-items: center; gap: var(--sp-2); }
.nav-cta .btn-primary { display: none; }

.nav-toggle { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.08); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 600;
  background: var(--navy-deep);
  display: flex; flex-direction: column;
  padding: var(--sp-3) var(--sp-2);
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-5); }
.mobile-menu-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.08); }
.mobile-menu a { font-size: 22px; font-weight: 600; font-family: "Poppins", sans-serif; padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); min-height: 52px; display: flex; align-items: center; }
.mobile-menu .btn { margin-top: var(--sp-3); }
.mobile-menu-promo { margin-top: var(--sp-4); background: var(--blue-dim); border: 1px solid rgba(47,167,255,0.3); border-radius: var(--r-md); padding: var(--sp-2); font-size: 13.5px; }
.mobile-menu-promo strong { color: var(--blue-soft); display: block; margin-bottom: 4px; }

/* ---------- Hero ---------- */

.hero {
  padding: calc(var(--header-h) + var(--announce-h) + var(--sp-4)) 0 var(--sp-8);
  background:
    radial-gradient(90% 50% at 85% 8%, rgba(47, 167, 255, 0.28), transparent 60%),
    radial-gradient(60% 40% at 10% 95%, rgba(47, 167, 255, 0.14), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}

.hero-grid { display: flex; flex-direction: column; gap: var(--sp-5); align-items: center; }

.hero-content { text-align: center; }
.hero-content h1 { font-size: clamp(30px, 9vw, 44px); }
.hero-content h1 .ar { font-size: 0.42em; }

.hero-content p.lead { font-size: 16px; color: var(--muted); margin: var(--sp-2) auto var(--sp-3); max-width: 440px; }

.trial-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(53,214,138,0.18), rgba(47,167,255,0.14));
  border: 1px solid rgba(53,214,138,0.4);
  padding: 8px 16px; border-radius: var(--r-full);
  font-size: 13px; font-weight: 700; color: var(--success);
  margin-bottom: var(--sp-2);
}

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: var(--sp-3); }
.badge { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 12.5px; font-weight: 600; }
.badge svg { color: var(--success); width: 15px; height: 15px; flex-shrink: 0; }

.cta-row { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; margin: 0 auto; }
.cta-row .btn { width: 100%; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; }
.hero-visual-frame { position: relative; width: 100%; max-width: 420px; aspect-ratio: 1/1; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); animation: floatY 6s ease-in-out infinite; }
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5, 22, 40, 0.75) 100%); }

.float-card { position: absolute; background: rgba(9, 34, 60, 0.9); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-md); padding: 12px 15px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; z-index: 2; }
.float-card .icon-wrap { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--blue-dim); display: flex; align-items: center; justify-content: center; color: var(--blue-soft); flex-shrink: 0; }
.float-card strong { display: block; font-size: 13.5px; }
.float-card span { font-size: 11px; color: var(--muted); }
.float-card--top { top: 4%; left: -4%; animation: floatY 5s ease-in-out infinite; }
.float-card--bottom { bottom: 6%; right: -4%; animation: floatY 5.5s ease-in-out infinite 0.6s; }

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

/* ---------- Trust / social proof ---------- */

.trust { padding: var(--sp-4) 0; background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, 0.06); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-2); text-align: center; }
.trust-item strong { display: block; font-family: "Poppins", sans-serif; font-size: clamp(22px, 5vw, 32px); color: var(--white); }
.trust-item span { color: var(--muted); font-size: 12px; font-weight: 500; }

/* ---------- Benefits / Why Calify ---------- */

.why-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
.why-card { padding: var(--sp-3); border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease); }
.why-card:hover, .why-card:focus-within { transform: translateY(-4px); background: rgba(255, 255, 255, 0.05); border-color: rgba(47, 167, 255, 0.3); }
.why-icon { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--blue-dim); color: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-2); }
.why-card h3 { font-size: 17px; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- Goals ---------- */

.goal-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
.goal-card { position: relative; padding: var(--sp-3); border-radius: var(--r-xl); background: linear-gradient(165deg, var(--navy-card), var(--navy-light)); border: 1.5px solid rgba(255, 255, 255, 0.08); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); overflow: hidden; text-align: left; width: 100%; cursor: pointer; }
.goal-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120px 120px at 20% 0%, rgba(47, 167, 255, 0.35), transparent 70%); opacity: 0; transition: opacity 0.4s var(--ease); }
.goal-card:hover, .goal-card:focus-visible { transform: translateY(-6px) scale(1.01); border-color: rgba(47, 167, 255, 0.4); box-shadow: var(--shadow-glow); }
.goal-card:hover::before, .goal-card.selected::before { opacity: 1; }
.goal-card.selected { border-color: var(--blue); box-shadow: var(--shadow-glow); }
.goal-icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--blue-dim); color: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-2); position: relative; z-index: 1; }
.goal-card h3 { font-size: 21px; margin-bottom: 2px; position: relative; z-index: 1; }
.goal-card .ar { font-size: 13px; margin-bottom: 10px; position: relative; z-index: 1; }
.goal-card p { color: var(--muted); font-size: 14px; margin-bottom: var(--sp-3); position: relative; z-index: 1; }
.goal-card-cta { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--blue-soft); position: relative; z-index: 1; }
.goal-card-cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.goal-card:hover .goal-card-cta svg { transform: translateX(4px); }
.goal-check { position: absolute; top: 16px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #04182c; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.5); transition: all 0.3s var(--ease); z-index: 2; }
.goal-card.selected .goal-check { opacity: 1; transform: scale(1); }

/* ---------- Plan tabs + cards ---------- */

.plan-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: var(--sp-3); scrollbar-width: none; }
.plan-tabs::-webkit-scrollbar { display: none; }
.plan-tab { flex-shrink: 0; padding: 12px 18px; min-height: 46px; border-radius: var(--r-full); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; font-size: 13.5px; color: var(--muted); transition: all 0.3s var(--ease); }
.plan-tab.active { background: var(--blue); color: #04182c; border-color: var(--blue); }

.plan-grid { display: flex; gap: var(--sp-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-top: 20px; margin-top: -20px; padding-bottom: 10px; margin-left: calc(var(--sp-2) * -1); margin-right: calc(var(--sp-2) * -1); padding-left: var(--sp-2); padding-right: var(--sp-2); scrollbar-width: none; }
.plan-grid::-webkit-scrollbar { display: none; }
.plan-grid .plan-card { flex: 0 0 82%; scroll-snap-align: center; }

.plan-card { position: relative; display: flex; flex-direction: column; padding: var(--sp-3); border-radius: var(--r-xl); background: var(--navy-card); border: 1.5px solid rgba(255, 255, 255, 0.08); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-card.featured { background: linear-gradient(165deg, #0d3f6d, #0a2c50); border-color: rgba(47, 167, 255, 0.5); box-shadow: var(--shadow-glow); }
.plan-card.trial { background: linear-gradient(165deg, #0d5a3f, #0a2c50); border-color: rgba(53, 214, 138, 0.5); }

.plan-tag { position: absolute; top: -12px; left: var(--sp-3); padding: 6px 14px; border-radius: var(--r-full); font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.plan-tag.popular { background: var(--blue); color: #04182c; }
.plan-tag.premium { background: linear-gradient(135deg, var(--amber), #ff7d47); color: #2b1400; }
.plan-tag.trial-tag { background: var(--success); color: #04182c; }

.plan-name { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--blue-soft); text-transform: uppercase; margin-bottom: 6px; }
.plan-duration { font-size: 22px; font-family: "Poppins", sans-serif; margin-bottom: var(--sp-2); }

.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2px; }
.plan-price strong { font-size: 34px; font-family: "Poppins", sans-serif; }
.plan-price span { color: var(--muted); font-size: 13px; }
.plan-price .was { text-decoration: line-through; color: var(--muted-dim); font-size: 15px; font-weight: 400; }

.plan-save { display: inline-block; font-size: 12px; font-weight: 700; color: var(--success); background: rgba(53,214,138,0.14); padding: 3px 10px; border-radius: var(--r-sm); margin-bottom: var(--sp-2); }
.plan-sub { color: var(--muted); font-size: 13px; margin-bottom: var(--sp-3); }

.plan-features { display: flex; flex-direction: column; gap: 11px; margin-bottom: var(--sp-3); }
.plan-features li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--off-white); }
.plan-features svg { color: var(--blue-soft); width: 17px; height: 17px; flex-shrink: 0; }

.plan-cta { min-height: 52px; }

/* ---------- Weekly menu (day tabs) ---------- */

.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: var(--sp-3); scrollbar-width: none; }
.day-tabs::-webkit-scrollbar { display: none; }
.day-tab { flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); font-weight: 700; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease); }
.day-tab.active { background: var(--blue); color: #04182c; border-color: var(--blue); }

.meal-grid { display: flex; gap: var(--sp-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin: 0 calc(var(--sp-2) * -1); padding-left: var(--sp-2); padding-right: var(--sp-2); scrollbar-width: none; }
.meal-grid::-webkit-scrollbar { display: none; }
.meal-grid .meal-card { flex: 0 0 78%; scroll-snap-align: center; }
.meal-card { border-radius: var(--r-xl); background: var(--navy-card); border: 1px solid rgba(255,255,255,0.08); overflow: hidden; box-shadow: var(--shadow-md); }
.meal-card img { width: 100%; height: 160px; object-fit: cover; }
.meal-card-body { padding: var(--sp-2) var(--sp-3) var(--sp-3); }
.meal-slot-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-soft); margin-bottom: 4px; display: block; }
.meal-card h4 { font-size: 16.5px; margin-bottom: 10px; }
.meal-macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.meal-macro { text-align: center; background: rgba(255,255,255,0.04); border-radius: var(--r-sm); padding: 8px 4px; }
.meal-macro strong { display: block; font-size: 14px; font-family: "Poppins", sans-serif; }
.meal-macro span { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- How it works ---------- */

.timeline { display: flex; flex-direction: column; max-width: 560px; margin: 0 auto; }
.timeline-step { display: flex; gap: var(--sp-2); padding-bottom: var(--sp-4); position: relative; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before { content: ""; position: absolute; left: 23px; top: 52px; bottom: 0; width: 2px; background: repeating-linear-gradient(180deg, rgba(47, 167, 255, 0.5) 0 6px, transparent 6px 12px); }
.timeline-step:last-child::before { display: none; }
.timeline-num { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--blue), #0a5ea8); display: flex; align-items: center; justify-content: center; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 18px; color: #04182c; box-shadow: 0 12px 26px -10px rgba(47, 167, 255, 0.7); z-index: 1; }
.timeline-body { padding-top: 6px; }
.timeline-body h3 { font-size: 18px; margin-bottom: 4px; }
.timeline-body p { color: var(--muted); font-size: 13.5px; }

/* ---------- Delivery ---------- */

.delivery-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); }
.delivery-map { border-radius: var(--r-xl); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); position: relative; min-height: 260px; background: linear-gradient(160deg, #0c3459, #051f38); }
.delivery-map svg { width: 100%; height: 100%; display: block; }
.map-pin { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 6px rgba(47,167,255,0.25); }
.map-pin::after { content: attr(data-label); position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; white-space: nowrap; background: rgba(7,43,75,0.9); padding: 3px 8px; border-radius: 6px; }

.area-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--sp-2) 0 var(--sp-3); }
.area-chip { padding: 9px 14px; border-radius: var(--r-full); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.area-chip svg { width: 14px; height: 14px; color: var(--success); }

.window-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.window-option { padding: var(--sp-2); border-radius: var(--r-md); background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.1); text-align: center; min-height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; transition: all 0.3s var(--ease); }
.window-option.active { border-color: var(--blue); background: var(--blue-dim); }
.window-option strong { font-size: 14px; }
.window-option span { font-size: 12px; color: var(--muted); }

.delivery-days-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-2); }
.day-pill { padding: 6px 12px; border-radius: var(--r-full); background: var(--blue-dim); color: var(--blue-soft); font-size: 12px; font-weight: 700; }
.day-pill.off { background: rgba(255,255,255,0.05); color: var(--muted-dim); text-decoration: line-through; }

/* ---------- Testimonials ---------- */

.review-slider { position: relative; }
.review-track { overflow: hidden; border-radius: var(--r-xl); }
.review-slides { display: flex; transition: transform 0.55s var(--ease); }
.review-slide { flex: 0 0 100%; padding: var(--sp-4) var(--sp-3); background: linear-gradient(165deg, var(--navy-card), var(--navy-light)); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-xl); text-align: center; }
.review-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: var(--sp-2); color: var(--amber); font-size: 18px; }
.review-quote { font-size: 16px; line-height: 1.6; margin-bottom: var(--sp-3); color: var(--off-white); }
.review-person { display: flex; align-items: center; justify-content: center; gap: 10px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(47, 167, 255, 0.5); flex-shrink: 0; }
.review-person strong { display: block; font-size: 14px; }
.review-person span { font-size: 12px; color: var(--muted); }
.review-role { display: inline-block; margin-top: 4px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-soft); background: var(--blue-dim); padding: 2px 8px; border-radius: var(--r-sm); }
.review-nav { display: flex; justify-content: center; gap: 12px; margin-top: var(--sp-3); }
.review-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); transition: all 0.35s var(--ease); }
.review-dot.active { width: 22px; background: var(--blue); }
.review-arrow { display: none; }

/* ---------- FAQ ---------- */

.faq-wrap { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; padding: var(--sp-2) var(--sp-3); text-align: left; font-size: 14.5px; font-weight: 600; min-height: 56px; }
.faq-question .faq-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--blue-soft); background: var(--blue-dim); padding: 3px 8px; border-radius: var(--r-full); margin-right: 8px; display: block; width: fit-content; margin-bottom: 4px; }
.faq-question svg { flex-shrink: 0; transition: transform 0.35s var(--ease); color: var(--muted); }
.faq-item.open .faq-question svg { transform: rotate(45deg); color: var(--blue-soft); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 var(--sp-3) var(--sp-3); color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ---------- Checkout CTA banner ---------- */

.final-cta { padding: var(--sp-8) 0; text-align: center; background: linear-gradient(135deg, #0a3563, #062544); position: relative; overflow: hidden; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 0%, rgba(47, 167, 255, 0.3), transparent 70%); }
.final-cta h2 { font-size: clamp(26px, 7vw, 40px); margin-bottom: var(--sp-1); position: relative; }
.final-cta .ar { justify-content: center; margin-bottom: var(--sp-2); }
.final-cta > .container > p { color: var(--muted); max-width: 420px; margin: 0 auto var(--sp-3); position: relative; }
.final-cta .cta-row { margin: 0 auto; position: relative; }
.final-cta-price { font-size: 13px; color: var(--muted); margin-top: var(--sp-2); position: relative; }
.final-cta-price strong { color: var(--success); }

/* ---------- Footer ---------- */

.site-footer { padding: var(--sp-6) 0 var(--sp-3); background: var(--navy-deep); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); padding-bottom: var(--sp-4); }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin: var(--sp-2) 0 var(--sp-3); max-width: 320px; }
.social-row { display: flex; gap: 10px; }
.social-icon { width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.06); display: flex; align-items: center; justify-content: center; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.social-icon:hover { background: var(--blue); color: #04182c; transform: translateY(-3px); }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.footer-col h4 { font-size: 13.5px; margin-bottom: var(--sp-2); color: var(--white); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 14px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--blue-soft); }
.footer-bottom { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding-top: var(--sp-3); border-top: 1px solid rgba(255, 255, 255, 0.07); color: var(--muted-dim); font-size: 12.5px; }
.footer-bottom a { color: var(--muted-dim); }
.footer-bottom a:hover { color: var(--blue-soft); }
.footer-legal { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.footer-seo { font-size: 11.5px; color: var(--muted-dim); line-height: 1.7; max-width: 900px; margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid rgba(255,255,255,0.06); }

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 400; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 43, 75, 0.97); backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; gap: 10px; align-items: center; }
.sticky-cta-info { flex: 1; min-width: 0; }
.sticky-cta-info strong { display: block; font-size: 13px; }
.sticky-cta-info span { font-size: 11px; color: var(--success); font-weight: 700; }
.sticky-cta .btn { flex-shrink: 0; min-height: 48px; padding: 0 22px; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.13s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.21s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.29s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.37s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.45s; }

@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; }
}

/* ---------- Bottom sheet / modal (popup, exit-intent, mobile pickers) ---------- */

.sheet-overlay { position: fixed; inset: 0; z-index: 700; background: rgba(2, 10, 20, 0.65); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease); display: flex; align-items: flex-end; justify-content: center; }
.sheet-overlay.open { opacity: 1; pointer-events: auto; }
.sheet { width: 100%; max-width: 480px; background: var(--navy-card); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-xl) var(--r-xl) 0 0; padding: var(--sp-3) var(--sp-3) calc(var(--sp-4) + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform 0.4s var(--ease); box-shadow: var(--shadow-lg); max-height: 88vh; overflow-y: auto; }
.sheet-overlay.open .sheet { transform: translateY(0); }
.sheet-handle { width: 40px; height: 5px; border-radius: var(--r-full); background: rgba(255,255,255,0.2); margin: 0 auto var(--sp-2); }
.sheet-close { position: absolute; top: var(--sp-2); right: var(--sp-2); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.sheet h3 { font-size: 20px; margin-bottom: 6px; }
.sheet p { color: var(--muted); font-size: 14px; margin-bottom: var(--sp-3); }

.exit-popup .sheet { text-align: center; }
.exit-popup-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--blue-dim); color: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-2); }
.exit-popup-price { font-size: 40px; font-family: "Poppins", sans-serif; color: var(--success); margin: var(--sp-1) 0; }
.exit-popup-price span { font-size: 15px; color: var(--muted); font-family: "Inter", sans-serif; }

/* =========================================================
   CHECKOUT WIZARD
   ========================================================= */

.checkout-header { position: fixed; top: 0; left: 0; right: 0; z-index: 500; background: rgba(7,43,75,0.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,0.08); padding: var(--sp-2) 0; }
.checkout-header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); }
.checkout-back { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); min-height: 40px; }
.checkout-secure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.checkout-secure svg { width: 15px; height: 15px; color: var(--success); }

.stepper { display: flex; align-items: center; gap: 4px; padding: calc(var(--header-h) + var(--sp-2)) 0 var(--sp-2); }
.step-dot { flex: 1; height: 4px; border-radius: var(--r-full); background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.step-dot.done, .step-dot.active { background: var(--blue); }
.step-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-dim); margin-bottom: var(--sp-3); text-transform: uppercase; letter-spacing: 0.04em; }
.step-labels span.current { color: var(--blue-soft); font-weight: 700; }

.checkout-wrap { padding: 0 0 var(--sp-10); min-height: 100vh; }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeUp 0.4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.wizard-title { margin-bottom: var(--sp-3); }
.wizard-title h1 { font-size: clamp(24px, 6vw, 32px); margin-bottom: 6px; }
.wizard-title p { color: var(--muted); font-size: 14px; }

.pref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pref-chip { padding: var(--sp-2); border-radius: var(--r-md); background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.1); text-align: center; font-size: 13.5px; font-weight: 600; min-height: 64px; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.3s var(--ease); }
.pref-chip.active { border-color: var(--blue); background: var(--blue-dim); color: var(--blue-soft); }
.pref-chip svg { width: 18px; height: 18px; flex-shrink: 0; }

.card { background: var(--navy-card); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-xl); padding: var(--sp-3); }
.card + .card { margin-top: var(--sp-2); }
.card h3 { font-size: 16px; margin-bottom: var(--sp-2); display: flex; align-items: center; gap: 9px; }
.card h3 svg { color: var(--blue-soft); width: 19px; height: 19px; }

.form-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); margin-bottom: var(--sp-2); }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: var(--sp-2); }
.form-group label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.form-group input, .form-group select, .form-group textarea { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--r-sm); padding: 14px 15px; min-height: 50px; color: var(--white); font-size: 15px; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); background: rgba(255, 255, 255, 0.08); }
.form-group input::placeholder { color: var(--muted-dim); }

.area-select-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: var(--sp-2); }
.area-select-chip { padding: 12px 10px; border-radius: var(--r-md); background: rgba(255,255,255,0.04); border: 1.5px solid rgba(255,255,255,0.1); font-size: 13px; font-weight: 600; text-align: center; min-height: 50px; display: flex; align-items: center; justify-content: center; transition: all 0.3s var(--ease); }
.area-select-chip.active { border-color: var(--blue); background: var(--blue-dim); color: var(--blue-soft); }

.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; }

.card-brand-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--sp-3); }
.card-brand { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-sm); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); font-size: 12.5px; font-weight: 700; color: var(--off-white); }
.card-brand::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.card-brand--visa::before { background: #6fc4ff; }
.card-brand--mc::before { background: #ffb547; }
.card-brand--amex::before { background: #35d68a; }

.trust-indicator-row { display: flex; flex-direction: column; gap: 10px; margin-top: var(--sp-3); padding-top: var(--sp-2); border-top: 1px solid rgba(255,255,255,0.08); }
.trust-indicator { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.trust-indicator svg { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }

.card-visual { min-height: 180px; border-radius: var(--r-lg); background: linear-gradient(135deg, #0d3f6d, #062544 60%, #0a5ea8); padding: var(--sp-3); display: flex; flex-direction: column; justify-content: space-between; margin-bottom: var(--sp-2); position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.card-visual::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(47,167,255,0.35), transparent 70%); top: -70px; right: -50px; }
.card-visual-top { display: flex; justify-content: space-between; align-items: flex-start; }
.chip { width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #ffe9a8, #d9a441); }
.card-visual-number { font-size: 17px; letter-spacing: 2.5px; font-family: "Poppins", sans-serif; }
.card-visual-bottom { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
.card-visual-bottom strong { display: block; font-size: 13px; color: var(--white); margin-top: 2px; }

.order-item { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.order-item:last-of-type { border-bottom: none; }
.order-item img { width: 50px; height: 50px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.order-item-info { flex: 1; min-width: 0; }
.order-item-info strong { display: block; font-size: 13.5px; }
.order-item-info span { font-size: 11.5px; color: var(--muted); }
.order-item-price { font-size: 13.5px; font-weight: 700; flex-shrink: 0; }

.summary-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13.5px; color: var(--muted); }
.summary-line strong { color: var(--white); font-weight: 600; }
.summary-total { display: flex; justify-content: space-between; padding-top: var(--sp-2); margin-top: 4px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 17px; font-weight: 700; }
.summary-total span:last-child { color: var(--blue-soft); }
.summary-trial-note { font-size: 12px; color: var(--success); background: rgba(53,214,138,0.1); border: 1px solid rgba(53,214,138,0.3); padding: 10px 12px; border-radius: var(--r-sm); margin-top: var(--sp-2); }

.secure-badges { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }
.secure-badges .badge-mini { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--muted); }
.secure-badges svg { width: 15px; height: 15px; color: var(--success); }

.wizard-nav { display: flex; gap: 10px; margin-top: var(--sp-3); position: sticky; bottom: 12px; }
.wizard-nav .btn { flex: 1; }
.wizard-nav .btn-secondary { flex: 0 0 100px; }

.checkout-promo-strip { text-align: center; font-size: 12px; font-weight: 700; color: var(--success); background: rgba(53,214,138,0.1); border: 1px solid rgba(53,214,138,0.3); border-radius: var(--r-sm); padding: 9px 14px; margin-bottom: var(--sp-2); }

.halal-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(53,214,138,0.1); border: 1px solid rgba(53,214,138,0.3); font-size: 13.5px; margin-bottom: var(--sp-3); }
.halal-note strong { color: var(--success); }
.halal-note .ar { font-size: 12px; opacity: 0.85; margin-left: auto; }

/* ---------- Trust badges checklist ---------- */
.trust-badge-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.trust-badge-item { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); font-size: 13.5px; font-weight: 600; }
.trust-badge-item svg { color: var(--success); width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Process steps (How We Prepare Meals) ---------- */
.process-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
.process-card { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.process-card img { width: 100%; height: 200px; object-fit: cover; }
.process-card-body { padding: var(--sp-2) var(--sp-3) var(--sp-3); background: var(--navy-card); }
.process-step-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-dim); color: var(--blue-soft); font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.process-card h3 { font-size: 17px; margin-bottom: 6px; }
.process-card p { color: var(--muted); font-size: 13.5px; }

/* ---------- Chefs ---------- */
.chef-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
.chef-card { text-align: center; padding: var(--sp-3); border-radius: var(--r-xl); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.chef-photo { width: 88px; height: 88px; border-radius: 50%; overflow: hidden; margin: 0 auto var(--sp-2); border: 2px solid rgba(47,167,255,0.4); }
.chef-photo img { width: 100%; height: 100%; object-fit: cover; }
.chef-card h3 { font-size: 16px; margin-bottom: 2px; }
.chef-card .chef-role { font-size: 11.5px; color: var(--blue-soft); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; display: block; }
.chef-card p { color: var(--muted); font-size: 13px; font-style: italic; }

/* ---------- Nutrition standards ---------- */
.standard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.standard-card { text-align: center; padding: var(--sp-2); border-radius: var(--r-lg); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.standard-card strong { display: block; font-family: "Poppins", sans-serif; font-size: 22px; color: var(--blue-soft); margin-bottom: 4px; }
.standard-card span { font-size: 12px; color: var(--muted); }

/* ---------- Frequently ordered strip ---------- */
.popular-strip { display: flex; gap: var(--sp-2); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--sp-2) * -1); padding-left: var(--sp-2); padding-right: var(--sp-2); scrollbar-width: none; }
.popular-strip::-webkit-scrollbar { display: none; }
.popular-card { flex: 0 0 74%; scroll-snap-align: start; border-radius: var(--r-xl); overflow: hidden; background: var(--navy-card); border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-md); }
.popular-card img { width: 100%; height: 150px; object-fit: cover; }
.popular-card-body { padding: var(--sp-2) var(--sp-2) var(--sp-3); }
.popular-rank { display: inline-block; font-size: 11px; font-weight: 800; color: var(--amber); margin-bottom: 4px; }
.popular-card h4 { font-size: 15px; margin-bottom: 8px; }

/* ---------- Ingredient gallery / Instagram grid (swipeable on mobile) ---------- */
.swipe-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(var(--sp-2) * -1); padding-left: var(--sp-2); padding-right: var(--sp-2); scrollbar-width: none; }
.swipe-gallery::-webkit-scrollbar { display: none; }
.swipe-gallery-item { flex: 0 0 42%; scroll-snap-align: start; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-md); }
.swipe-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }

.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.insta-item { position: relative; aspect-ratio: 1/1; border-radius: var(--r-sm); overflow: hidden; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; }
.insta-item .insta-overlay { position: absolute; inset: 0; background: rgba(4,24,44,0.4); opacity: 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--white); font-weight: 700; font-size: 13px; transition: opacity 0.3s var(--ease); }
.insta-item:hover .insta-overlay, .insta-item:focus-within .insta-overlay { opacity: 1; }
.insta-item .insta-overlay svg { width: 16px; height: 16px; fill: var(--danger); stroke: var(--danger); }

/* ---------- Transformations ---------- */
.transform-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); }
.transform-card { padding: var(--sp-3); border-radius: var(--r-xl); background: linear-gradient(165deg, var(--navy-card), var(--navy-light)); border: 1px solid rgba(255,255,255,0.08); }
.transform-top { display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-2); }
.transform-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(53,214,138,0.5); flex-shrink: 0; }
.transform-avatar img { width: 100%; height: 100%; object-fit: cover; }
.transform-stat { display: inline-flex; align-items: baseline; gap: 5px; background: rgba(53,214,138,0.12); border: 1px solid rgba(53,214,138,0.35); color: var(--success); font-weight: 800; font-size: 20px; font-family: "Poppins", sans-serif; padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 10px; }
.transform-stat span { font-size: 11px; font-weight: 600; color: var(--muted); font-family: "Inter", sans-serif; }
.transform-card p.quote { font-size: 13.5px; color: var(--off-white); font-style: italic; margin-bottom: 10px; }
.transform-plan { font-size: 11px; font-weight: 700; color: var(--blue-soft); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Delivery logistics strip ---------- */
.logistics-row { display: flex; flex-direction: column; gap: 10px; margin-top: var(--sp-2); }
.logistics-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.logistics-item .icon-wrap { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--blue-dim); color: var(--blue-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logistics-item span { font-size: 13px; color: var(--off-white); }

/* ---------- Week toggle (weekly menu) ---------- */
.week-toggle { display: inline-flex; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-full); padding: 4px; margin-bottom: var(--sp-2); }
.week-toggle button { padding: 9px 18px; border-radius: var(--r-full); font-size: 13px; font-weight: 700; color: var(--muted); min-height: 40px; }
.week-toggle button.active { background: var(--blue); color: #04182c; }

/* ---------- Floating decorative plates (parallax feel) ---------- */
.floating-plate { position: absolute; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid rgba(255,255,255,0.08); animation: floatY 7s ease-in-out infinite; z-index: 1; display: none; }
.floating-plate img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Payment phases (processing / 3D Secure / success / error) ---------- */
.payment-phase { display: none; }
.payment-phase.active { display: block; animation: fadeUp 0.4s var(--ease); }

.field-error { display: none; color: var(--danger); font-size: 12px; margin-top: 6px; }
.field-error.visible { display: block; }

.demo-hint { font-size: 11.5px; color: var(--muted-dim); background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.15); border-radius: var(--r-sm); padding: 10px 12px; margin-top: var(--sp-2); line-height: 1.6; }
.demo-hint strong { color: var(--blue-soft); }

.phase-center { max-width: 380px; margin: 0 auto; padding: var(--sp-10) var(--sp-2); text-align: center; }
.phase-center--wide { max-width: 440px; }
.phase-center h2 { font-size: 24px; margin-bottom: 10px; }
.phase-center h2 .ar-tag { display: block; margin-top: 6px; }
.phase-center > p { color: var(--muted); font-size: 14px; margin-bottom: var(--sp-2); }

/* Processing */
.processing-spinner { width: 72px; height: 72px; border-radius: 50%; background: var(--blue-dim); color: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-3); position: relative; }
.processing-spinner::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--blue); animation: spin 0.9s linear infinite; }
.processing-spinner svg { width: 30px; height: 30px; }
@keyframes spin { to { transform: rotate(360deg); } }
.processing-warning { font-size: 12.5px; color: var(--amber); margin-top: var(--sp-2); }

/* OTP / 3D Secure */
.otp-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--blue-dim); color: var(--blue-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-2); }
.otp-phone { font-weight: 600; color: var(--off-white); font-size: 13.5px; margin-bottom: var(--sp-3); }
.otp-row { display: flex; justify-content: center; gap: 8px; margin-bottom: var(--sp-2); }
.otp-digit { width: 44px; height: 56px; text-align: center; font-size: 22px; font-weight: 700; font-family: "Poppins", sans-serif; background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.16); border-radius: var(--r-md); color: var(--white); transition: border-color 0.25s var(--ease), background 0.25s var(--ease); }
.otp-digit:focus { outline: none; border-color: var(--blue); background: rgba(255,255,255,0.08); }
.otp-row.shake { animation: otpShake 0.4s; }
@keyframes otpShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.otp-error { display: none; color: var(--danger); font-size: 13px; font-weight: 600; margin-bottom: var(--sp-2); }
.otp-error.visible { display: block; }
.otp-countdown { font-size: 13px; color: var(--muted); margin-bottom: var(--sp-3); }
.otp-countdown strong { color: var(--blue-soft); font-variant-numeric: tabular-nums; }
.otp-countdown.expired strong { color: var(--danger); }
.otp-links { display: flex; justify-content: center; gap: var(--sp-3); margin-top: var(--sp-2); }
.otp-link { font-size: 13px; font-weight: 700; color: var(--blue-soft); min-height: 40px; }
.otp-link:disabled { color: var(--muted-dim); opacity: 0.6; }
.otp-hint { font-size: 11.5px; color: var(--muted-dim); margin-top: var(--sp-3); line-height: 1.6; }
.otp-hint strong { color: var(--blue-soft); }

/* Success micro-transition */
.phase-success-check { width: 76px; height: 76px; border-radius: 50%; background: rgba(53,214,138,0.15); color: var(--success); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-3); }
.phase-success-check svg { width: 36px; height: 36px; }

/* Error phase */
.phase-error-icon { width: 76px; height: 76px; border-radius: 50%; background: rgba(255,94,108,0.15); color: var(--danger); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-3); }
.phase-error-icon svg { width: 34px; height: 34px; }

@media (min-width: 480px) {
  .otp-digit { width: 48px; height: 60px; }
}

/* =========================================================
   SUCCESS PAGE
   ========================================================= */

.success-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: calc(var(--header-h) + var(--sp-4)) var(--sp-2) var(--sp-6); text-align: center; background: radial-gradient(60% 50% at 50% 20%, rgba(47,167,255,0.22), transparent 65%), var(--navy); }
.success-card { max-width: 480px; width: 100%; }
.success-check { width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(circle, rgba(53,214,138,0.25), transparent 70%); display: flex; align-items: center; justify-content: center; margin: 0 auto var(--sp-3); position: relative; }
.success-check::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid rgba(53,214,138,0.4); animation: pulseRing 2s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.success-check svg { width: 52px; height: 52px; color: var(--success); stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawCheck 0.7s var(--ease) 0.3s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.success-card h1 { font-size: clamp(24px, 7vw, 34px); margin-bottom: 10px; }
.success-card > p { color: var(--muted); margin-bottom: var(--sp-4); font-size: 15px; }
.delivery-info { background: var(--navy-card); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-xl); padding: var(--sp-3); margin-bottom: var(--sp-3); display: flex; align-items: center; gap: var(--sp-2); text-align: left; }
.delivery-info .icon-wrap { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--blue-dim); color: var(--blue-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.delivery-info strong { display: block; font-size: 15px; margin-bottom: 2px; }
.delivery-info span { font-size: 12.5px; color: var(--muted); }
.success-order-id { font-size: 12.5px; color: var(--muted-dim); margin-top: var(--sp-3); }

/* =========================================================
   RESPONSIVE — mobile-first, progressively enhance
   ========================================================= */

@media (min-width: 480px) {
  .pref-grid { grid-template-columns: repeat(3, 1fr); }
  .area-select-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .goal-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .plan-grid .plan-card { flex: initial; }
  .meal-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; }
  .meal-grid .meal-card { flex: initial; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .cta-row { flex-direction: row; max-width: none; }
  .cta-row .btn { width: auto; }
  .trust-badge-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .chef-grid { grid-template-columns: repeat(2, 1fr); }
  .transform-grid { grid-template-columns: repeat(2, 1fr); }
  .standard-grid { grid-template-columns: repeat(4, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  body { font-size: 16px; }
  .container { padding: 0 var(--sp-3); }
  .nav-menu { display: flex; align-items: center; gap: var(--sp-4); }
  .nav-menu a { font-size: 14.5px; font-weight: 500; color: var(--off-white); position: relative; padding: 4px 0; min-height: auto; }
  .nav-menu a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--blue); transition: width 0.3s var(--ease); }
  .nav-menu a:hover::after { width: 100%; }
  .nav-cta .btn-primary { display: inline-flex; }
  .nav-toggle { display: none; }
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }

  .hero-grid { flex-direction: row; text-align: left; gap: var(--sp-8); }
  .hero-content { text-align: left; flex: 1; }
  .hero-content p.lead { margin: var(--sp-2) 0 var(--sp-3); }
  .badge-row { justify-content: flex-start; }
  .cta-row { justify-content: flex-start; margin: 0; }
  .hero-visual { flex: 1; }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .meal-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .chef-grid { grid-template-columns: repeat(4, 1fr); }
  .transform-grid { grid-template-columns: repeat(3, 1fr); }
  .popular-card { flex: 0 0 30%; }
  .swipe-gallery-item { flex: 0 0 18%; }
  .review-slide { padding: var(--sp-5) var(--sp-6); }
  .review-arrow { display: flex; position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); align-items: center; justify-content: center; transition: background 0.3s var(--ease); }
  .review-arrow:hover { background: var(--blue); color: #04182c; }
  .review-arrow.prev { left: -56px; }
  .review-arrow.next { right: -56px; }

  .footer-grid { grid-template-columns: 1.3fr 2fr; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }

  .checkout-grid { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: var(--sp-3); align-items: start; }
  .trust-indicator-row { flex-direction: row; flex-wrap: wrap; }
  .form-row-2 { grid-template-columns: 1fr 1fr; }
  .sheet-overlay { align-items: center; }
  .sheet { border-radius: var(--r-xl); max-width: 420px; }
}

@media (min-width: 1080px) {
  .hero { padding-top: calc(var(--header-h) + var(--announce-h) + var(--sp-6)); }
  .hero-content h1 { font-size: clamp(40px, 5vw, 60px); }
  .goal-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: repeat(4, 1fr); }
  .meal-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .section-pad { padding: var(--sp-12) 0; }
  .floating-plate { display: block; }
  .floating-plate--1 { width: 140px; height: 140px; top: 8%; left: 2%; }
  .floating-plate--2 { width: 110px; height: 110px; bottom: 10%; right: 3%; animation-delay: 1s; }
}

@media (min-width: 1280px) {
  .hero-visual-frame { max-width: 460px; }
}
