/* ==========================================================================
   المحل الذكي (SmartShop ERP) — Landing Page Stylesheet
   Professional RTL Design System — v4
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  /* Brand */
  --primary: #E23744;
  --primary-dark: #BE1E2D;
  --primary-light: #FF5C6A;
  --primary-soft: rgba(226, 55, 68, 0.08);
  --primary-glow: rgba(226, 55, 68, 0.22);

  --gold: #F2A900;
  --gold-light: #FFC233;
  --emerald: #0EA97A;
  --whatsapp: #25D366;

  /* Neutrals */
  --ink: #0A0F1C;
  --ink-2: #111A2E;
  --ink-3: #1B2740;
  --navy: #16233D;

  --bg: #F5F7FB;
  --bg-alt: #EEF2F9;
  --surface: #FFFFFF;
  --line: #E4E9F2;
  --line-strong: #D2DAE8;

  --text: #0F172A;
  --text-2: #3D4A61;
  --muted: #6B7890;
  --muted-dark: #9AA7BE;

  /* Elevation — layered, soft */
  --sh-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
  --sh-sm: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 10px rgba(16, 24, 40, 0.05);
  --sh-md: 0 2px 4px rgba(16, 24, 40, 0.04), 0 12px 28px rgba(16, 24, 40, 0.08);
  --sh-lg: 0 4px 8px rgba(16, 24, 40, 0.04), 0 24px 48px rgba(16, 24, 40, 0.12);
  --sh-xl: 0 8px 16px rgba(16, 24, 40, 0.06), 0 40px 80px rgba(16, 24, 40, 0.18);
  --sh-primary: 0 8px 20px rgba(226, 55, 68, 0.28);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.28s var(--ease);
  --t-slow: 0.6s var(--ease-out);

  /* Layout */
  --header-h: 74px;
  --container: 1240px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  direction: rtl;
  text-align: right;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }

::selection { background: var(--primary); color: #fff; }

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

.skip-link {
  position: absolute;
  right: 1rem;
  top: -100px;
  z-index: 3000;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-xs);
  font-weight: 700;
  transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

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

.text-center { text-align: center; }

.gradient-text {
  background: linear-gradient(120deg, var(--primary) 0%, #F2660D 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Screen-reader-only / honeypot */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   3. Reveal Animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t), background-color var(--t), color var(--t);
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity var(--t);
  z-index: -1;
}
.btn:hover::before { opacity: 1; }
.btn:active { transform: translateY(1px) scale(0.995); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: var(--sh-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(226, 55, 68, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2A1B00;
  box-shadow: 0 8px 20px rgba(242, 169, 0, 0.3);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242, 169, 0, 0.4); }

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.36);
}

.btn-lg { padding: 1.05rem 2.1rem; font-size: 1.08rem; }
.btn-full { width: 100%; }

.btn-glow { animation: btnGlow 2.8s ease-in-out infinite alternate; }
@keyframes btnGlow {
  0%   { box-shadow: 0 8px 20px rgba(226, 55, 68, 0.28); }
  100% { box-shadow: 0 10px 36px rgba(226, 55, 68, 0.5), 0 0 0 6px rgba(226, 55, 68, 0.07); }
}

.btn[disabled], .btn-loading { pointer-events: none; opacity: 0.75; }
.btn-loading .fa-spinner { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   5. Scroll Progress + Header
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0%;
  z-index: 1100;
  background: linear-gradient(90deg, var(--gold), var(--primary));
  transition: width 0.1s linear;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 0.9rem 0;
  transition: background-color var(--t), box-shadow var(--t), padding var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom-color: var(--line);
  padding: 0.55rem 0;
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px var(--primary-glow);
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-size: 1.15rem; font-weight: 900; color: var(--navy); }
.logo-text small { font-size: 0.68rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--text-2);
  transition: color var(--t-fast);
  position: relative;
  padding: 0.35rem 0;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: var(--r-full);
  transition: width var(--t);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

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

.header-cta-btn { font-size: 0.92rem; padding: 0.65rem 1.3rem; }

.mobile-menu-btn {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 1010;
  box-shadow: var(--sh-xs);
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 4.5rem;
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(226, 55, 68, 0.09), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(22, 35, 61, 0.07), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  overflow: hidden;
}

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

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
}
.orb-1 { width: 380px; height: 380px; background: rgba(226, 55, 68, 0.16); top: -120px; right: -80px; }
.orb-2 { width: 300px; height: 300px; background: rgba(242, 169, 0, 0.14); bottom: 5%; left: -90px; }
.orb-3 { width: 260px; height: 260px; background: rgba(14, 169, 122, 0.10); top: 45%; right: 42%; }

/* Money rain — subtle depth layer */
.money-rain { position: absolute; inset: 0; overflow: hidden; }
.money-item {
  position: absolute;
  font-size: 2rem;
  animation: moneyFall linear infinite;
  will-change: transform;
}
.money-item:nth-child(1)  { right: 6%;  font-size: 1.8rem; animation-duration: 17s; animation-delay: 0s;   color: rgba(242, 169, 0, 0.10); }
.money-item:nth-child(2)  { right: 16%; font-size: 2.5rem; animation-duration: 21s; animation-delay: -3s;  color: rgba(14, 169, 122, 0.08); }
.money-item:nth-child(3)  { right: 29%; font-size: 1.6rem; animation-duration: 24s; animation-delay: -7s;  color: rgba(226, 55, 68, 0.08); }
.money-item:nth-child(4)  { right: 41%; font-size: 2.2rem; animation-duration: 19s; animation-delay: -4s;  color: rgba(242, 169, 0, 0.09); }
.money-item:nth-child(5)  { right: 53%; font-size: 1.5rem; animation-duration: 26s; animation-delay: -11s; color: rgba(22, 35, 61, 0.07); }
.money-item:nth-child(6)  { right: 66%; font-size: 2.6rem; animation-duration: 22s; animation-delay: -2s;  color: rgba(14, 169, 122, 0.07); }
.money-item:nth-child(7)  { right: 74%; font-size: 1.4rem; animation-duration: 20s; animation-delay: -8s;  color: rgba(242, 169, 0, 0.10); }
.money-item:nth-child(8)  { right: 84%; font-size: 2rem;   animation-duration: 25s; animation-delay: -5s;  color: rgba(226, 55, 68, 0.07); }
.money-item:nth-child(9)  { right: 92%; font-size: 1.7rem; animation-duration: 18s; animation-delay: -9s;  color: rgba(22, 35, 61, 0.07); }
.money-item:nth-child(10) { right: 36%; font-size: 2.4rem; animation-duration: 27s; animation-delay: -13s; color: rgba(242, 169, 0, 0.08); }

@keyframes moneyFall {
  0%   { transform: translate3d(0, -80px, 0) rotate(0deg) scale(0.85); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 0.35; }
  100% { transform: translate3d(0, 105vh, 0) rotate(360deg) scale(0.65); opacity: 0; }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  background: var(--surface);
  border: 1px solid rgba(226, 55, 68, 0.22);
  color: var(--primary-dark);
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
  box-shadow: var(--sh-sm);
}
.hero-badge .fa-bolt { color: var(--gold); }

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-2);
  font-weight: 500;
  max-width: 620px;
  margin-bottom: 1.6rem;
}
.hero-subtitle strong { color: var(--navy); font-weight: 800; }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.2rem;
  margin-bottom: 2rem;
}
.hero-highlights li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-2);
}
.hero-highlights i { color: var(--emerald); font-size: 1rem; flex-shrink: 0; }

.hero-cta-buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust i { color: var(--primary); }

/* Hero visual — CSS-only entrance so the LCP image never waits on JS */
.hero-visual {
  position: relative;
  animation: heroIn 0.7s var(--ease-out) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.hero-promo-img img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  transition: transform var(--t-slow);
  /* لون مؤقت يملأ المساحة أثناء التحميل بدل فراغ أبيض */
  background: linear-gradient(135deg, #1a1410, #2b211a);
}
.hero-visual:hover .hero-promo-img img { transform: translateY(-6px) scale(1.01); }

.floating-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 3;
  animation: float 5s ease-in-out infinite alternate;
}
.floating-stat.stat-1 { top: 8%; right: -26px; }
.floating-stat.stat-2 { bottom: 10%; left: -26px; animation-delay: 1.6s; }

@keyframes float {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--r-xs);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.stat-info { display: flex; flex-direction: column; line-height: 1.35; }
.stat-info strong { font-size: 0.82rem; font-weight: 800; color: var(--navy); }
.stat-info small { font-size: 0.74rem; font-weight: 600; color: var(--muted); }

/* ==========================================================================
   7. Section Primitives
   ========================================================================== */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-tight { padding: clamp(3rem, 5vw, 4rem) 0; }

.section-header { margin-bottom: 3rem; }

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border: 1px solid rgba(226, 55, 68, 0.16);
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.9rem;
}
.section-tag-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  color: var(--muted);
  max-width: 680px;
  margin: 0.7rem auto 0;
}
.text-center .section-subtitle { margin-inline: auto; }

/* ==========================================================================
   8. Pain Points / Questions
   ========================================================================== */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1rem;
}

.question-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.question-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: rgba(226, 55, 68, 0.25);
}

.question-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-xs);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.question-text { font-weight: 700; font-size: 1.02rem; color: var(--navy); }

.solution-banner {
  background: linear-gradient(120deg, var(--ink-2) 0%, var(--ink) 100%);
  color: #fff;
  padding: 1.7rem 2rem;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  border-right: 5px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.solution-banner::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 320px;
  left: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.14), transparent 70%);
  pointer-events: none;
}
.solution-banner-icon { font-size: 2.2rem; color: var(--gold); flex-shrink: 0; }
.solution-banner-text { font-size: 1.1rem; font-weight: 600; line-height: 1.65; flex: 1; }
.solution-banner-text strong { font-weight: 900; }
.solution-banner .btn { flex-shrink: 0; }

/* ==========================================================================
   9. Stats
   ========================================================================== */
.stats-section {
  background: linear-gradient(120deg, var(--ink-2) 0%, var(--ink) 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: -55%;
  right: -15%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(226, 55, 68, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

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

.stat-card { text-align: center; padding: 1.5rem 0.75rem; position: relative; }
.stat-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 22%;
  height: 56%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.stat-card:last-child::after { display: none; }

.stat-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin: 0 auto 0.9rem;
}

.stat-card-number {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
  direction: ltr;
}
.stat-card-number em {
  font-style: normal;
  font-size: 0.55em;
  color: var(--gold);
  font-weight: 900;
}

.stat-card-label { color: var(--muted-dark); font-weight: 600; font-size: 0.95rem; line-height: 1.5; }

/* ==========================================================================
   10. Features
   ========================================================================== */
.features-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.25rem;
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t), box-shadow var(--t), transform var(--t-fast);
  box-shadow: var(--sh-xs);
}
.tab-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.tab-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 6px 18px rgba(22, 35, 61, 0.28);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 1.9rem;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.35s var(--ease) both;
}
/* `display:flex` above out-specifies the UA `[hidden]` rule — restate it. */
.feature-card[hidden] { display: none; }

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--primary), var(--gold));
  transition: height var(--t);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: rgba(226, 55, 68, 0.22);
}
.feature-card:hover::before { height: 100%; }

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(226, 55, 68, 0.12), rgba(242, 169, 0, 0.08));
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1.15rem;
}

.feature-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.4;
}

.feature-description {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.15rem;
}

.feature-list { margin-top: auto; display: flex; flex-direction: column; gap: 0.45rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.6;
}
.feature-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--emerald);
  font-size: 0.72rem;
  margin-top: 0.42em;
  flex-shrink: 0;
}

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

/* ==========================================================================
   11. Offline Banner
   ========================================================================== */
.offline-banner-section {
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.offline-banner-section::before {
  content: '';
  position: absolute;
  bottom: -45%;
  left: -12%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.10) 0%, transparent 65%);
  pointer-events: none;
}

.offline-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.offline-text h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.9rem;
  line-height: 1.3;
}
.offline-text > p { color: var(--muted-dark); font-size: 1.05rem; margin-bottom: 2rem; }

.offline-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.offline-benefit-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  padding: 1.1rem;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: background-color var(--t), border-color var(--t), transform var(--t);
}
.offline-benefit-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}
.offline-benefit-icon { font-size: 1.35rem; color: var(--gold); flex-shrink: 0; }
.offline-benefit-title { font-weight: 700; font-size: 0.98rem; line-height: 1.5; }

.offline-visual img {
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   12. Gallery
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.gallery-card {
  grid-column: span 2;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: var(--surface);
  padding: 0;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  display: block;
  width: 100%;
  text-align: right;
}
.gallery-card-wide { grid-column: span 3; }
.gallery-grid .gallery-card:nth-child(2) { grid-column: span 3; }

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--t-slow);
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: rgba(226, 55, 68, 0.2); }
.gallery-card:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 15, 28, 0.9) 0%, rgba(10, 15, 28, 0.25) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 1.2rem;
  color: #fff;
  opacity: 0;
  transition: opacity var(--t);
}
.gallery-card:hover .gallery-overlay,
.gallery-card:focus-visible .gallery-overlay { opacity: 1; }
.gallery-overlay i { font-size: 1.6rem; color: var(--gold); }
.gallery-overlay span { font-size: 1rem; font-weight: 800; }

/* ==========================================================================
   13. Testimonials
   ========================================================================== */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  border-block: 1px solid var(--line);
}

.testimonials-viewport { overflow: hidden; padding: 0.5rem 0.25rem 1rem; }

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s var(--ease-out);
}

.testimonial-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
  width: calc(50% - 0.75rem);
  flex: 0 0 auto;
  position: relative;
  transition: box-shadow var(--t), transform var(--t);
}
.testimonial-card::before {
  content: '\201D';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 5.5rem;
  color: rgba(226, 55, 68, 0.08);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }

.testimonial-stars { display: flex; gap: 0.15rem; margin-bottom: 0.9rem; color: var(--gold); font-size: 1rem; }

.testimonial-text {
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
}
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.testimonial-author > span { display: flex; flex-direction: column; line-height: 1.45; }
.testimonial-author strong { font-size: 0.98rem; font-weight: 800; color: var(--navy); }
.testimonial-author small { font-size: 0.83rem; color: var(--muted); }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t-fast);
  box-shadow: var(--sh-xs);
}
.slider-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }

.slider-dots { display: flex; gap: 0.45rem; }
.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--r-full);
  background: var(--line-strong);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background-color var(--t), width var(--t);
}
.slider-dot.active { background: var(--primary); width: 26px; }

/* ==========================================================================
   14. Package
   ========================================================================== */
.package-section { background: var(--bg-alt); border-block: 1px solid var(--line); }

.package-box {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.package-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle at top right, rgba(226, 55, 68, 0.07), transparent 70%);
  pointer-events: none;
}

.package-header {
  border-bottom: 2px dashed var(--line-strong);
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
  position: relative;
}

.package-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1rem;
  position: relative;
}

.package-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: background-color var(--t), border-color var(--t), transform var(--t);
}
.package-item:hover {
  background: rgba(226, 55, 68, 0.035);
  border-color: rgba(226, 55, 68, 0.18);
  transform: translateX(-4px);
}

.package-check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(14, 169, 122, 0.14);
  color: var(--emerald);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.package-item-text { font-weight: 700; font-size: 0.98rem; color: var(--navy); line-height: 1.55; }

/* ==========================================================================
   15. Business Types
   ========================================================================== */
.business-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}

.business-type-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 1.6rem 1rem;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.business-type-card:hover {
  transform: translateY(-5px);
  border-color: rgba(226, 55, 68, 0.3);
  box-shadow: var(--sh-md);
}

.business-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 0.85rem;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(226, 55, 68, 0.1), rgba(242, 169, 0, 0.08));
  color: var(--primary);
  font-size: 1.45rem;
}
.business-title { font-weight: 700; color: var(--navy); font-size: 0.98rem; line-height: 1.5; }

/* ==========================================================================
   16. Delivery
   ========================================================================== */
.delivery-section { background: var(--surface); }

.delivery-container {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--sh-sm);
  border: 1px solid var(--line);
}

.delivery-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}
.delivery-timeline::before {
  content: '';
  position: absolute;
  top: 25px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.delivery-step { text-align: center; position: relative; z-index: 1; }

.delivery-step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  box-shadow: 0 6px 16px var(--primary-glow), 0 0 0 6px var(--surface);
}

.delivery-step-title { font-size: 1.08rem; font-weight: 800; color: var(--navy); margin-bottom: 0.35rem; }
.delivery-step-desc { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

.delivery-note {
  background: var(--bg-alt);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 1.15rem 1.35rem;
  margin-top: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  line-height: 1.7;
}
.delivery-note i { color: var(--gold); margin-left: 0.35rem; }

/* ==========================================================================
   17. Order Section
   ========================================================================== */
.order-section {
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(226, 55, 68, 0.12), transparent 60%),
    linear-gradient(160deg, var(--ink-3) 0%, var(--ink) 65%);
  color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

/* Pricing banner */
.order-pricing-banner {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-xl);
  padding: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
  box-shadow: var(--sh-xl);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.order-pricing-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--emerald), var(--primary));
  background-size: 300% 100%;
  animation: gradientSlide 5s ease infinite;
}
@keyframes gradientSlide {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.order-pricing-top {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.order-pricing-image img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  transition: transform var(--t);
}
.order-pricing-image img:hover { transform: scale(1.015); }

.pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(226, 55, 68, 0.16);
}

.pricing-title {
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.pricing-price-box {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  border-radius: var(--r-lg);
  padding: 1.75rem 1.5rem 1.4rem;
  text-align: center;
  margin-bottom: 1.1rem;
  overflow: hidden;
}

.pricing-price-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(242, 169, 0, 0.22) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: priceGlow 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes priceGlow {
  0%   { width: 200px; height: 200px; opacity: 0.5; }
  100% { width: 360px; height: 360px; opacity: 1; }
}

.pricing-price-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem;
}

.pricing-amount {
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  letter-spacing: -0.02em;
  animation: priceShine 3.5s ease-in-out infinite alternate;
}
@keyframes priceShine {
  0%   { text-shadow: 0 0 18px rgba(255, 194, 51, 0.3); }
  100% { text-shadow: 0 0 38px rgba(255, 194, 51, 0.6), 0 0 70px rgba(255, 194, 51, 0.15); }
}
.pricing-currency { font-size: 1.35rem; font-weight: 800; color: var(--muted-dark); }
.pricing-label { font-size: 1.15rem; font-weight: 700; color: var(--muted-dark); }
.pricing-sub {
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted-dark);
}

.pricing-free-delivery {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(14, 169, 122, 0.08);
  border: 2px solid rgba(14, 169, 122, 0.28);
  border-radius: var(--r-full);
  padding: 0.8rem 1.4rem;
  animation: deliveryPulse 2.8s ease-in-out infinite;
}
@keyframes deliveryPulse {
  0%, 100% { border-color: rgba(14, 169, 122, 0.28); }
  50%      { border-color: rgba(14, 169, 122, 0.6); }
}
.pricing-free-delivery i { font-size: 1.15rem; color: var(--emerald); }
.pricing-free-delivery span { font-weight: 800; font-size: 1rem; color: #0B7F5C; }

.order-pricing-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.opf-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg);
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy);
  transition: background-color var(--t), border-color var(--t);
}
.opf-item:hover { background: rgba(226, 55, 68, 0.04); border-color: rgba(226, 55, 68, 0.16); }
.opf-item i { color: var(--primary); font-size: 0.95rem; flex-shrink: 0; }

/* Order wrapper */
.order-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

.order-info h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.order-info > p { color: var(--muted-dark); font-size: 1.05rem; margin-bottom: 1.75rem; }

.order-guarantee-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: background-color var(--t), border-color var(--t), transform var(--t);
}
.order-guarantee-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.guarantee-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: rgba(242, 169, 0, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}
.guarantee-text { display: flex; flex-direction: column; gap: 0.15rem; }
.guarantee-text strong { font-size: 1.02rem; font-weight: 800; color: #fff; }
.guarantee-text small { font-size: 0.9rem; color: #C3CCDC; line-height: 1.6; }

/* Order card / form */
.order-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.order-card-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.35rem;
  text-align: center;
}
.order-card-title i { color: var(--primary); margin-left: 0.4rem; }
.order-card-sub { text-align: center; color: var(--muted); font-size: 0.93rem; margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.1rem; }

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-label i { color: var(--primary); margin-left: 0.35rem; }

.form-input {
  width: 100%;
  padding: 0.85rem 1.05rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  background: var(--bg);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input::placeholder { color: #A6B0C2; }
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px var(--primary-soft);
}
.form-input-tel { text-align: right; letter-spacing: 0.02em; }

.form-input.is-invalid { border-color: var(--primary); background: rgba(226, 55, 68, 0.04); }
.form-input.is-valid { border-color: var(--emerald); }

.form-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.form-error.show { display: block; }
.form-error::before { content: '\26A0'; margin-left: 0.3rem; }

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 0.9rem 1.15rem;
  margin: 1.25rem 0;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}
.order-total strong { font-size: 1.35rem; font-weight: 900; color: var(--primary-dark); }

.form-note {
  text-align: center;
  margin-top: 0.9rem;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
}
.form-note.is-error { color: var(--primary-dark); font-weight: 700; }

/* Success state */
.form-success-content { text-align: center; padding: 1.5rem 0.5rem; }

.success-icon {
  font-size: 3.6rem;
  color: var(--emerald);
  margin-bottom: 0.9rem;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes successPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.form-success-content h3 { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 0.6rem; }
.form-success-content > p { color: var(--muted); font-size: 1rem; margin-bottom: 1.4rem; }

.success-details {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  text-align: right;
}
.success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.success-detail-row:last-child { border-bottom: none; }
.success-detail-row span { color: var(--muted); font-size: 0.88rem; }
.success-detail-row strong { color: var(--navy); font-size: 0.98rem; text-align: left; }

/* يظهر فقط عندما يتعذّر تأكيد وصول الطلب للشيت */
.success-notice {
  margin-top: 1rem;
  background: rgba(242, 169, 0, 0.1);
  border: 1px solid rgba(242, 169, 0, 0.4);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #7A5500;
  line-height: 1.7;
  text-align: right;
}
.success-notice i { color: var(--gold); margin-left: 0.3rem; }
.success-notice a { color: var(--primary-dark); text-decoration: underline; }

/* ==========================================================================
   18. FAQ
   ========================================================================== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--surface);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.6rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  text-align: right;
  line-height: 1.6;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--primary); }

.faq-icon {
  transition: transform var(--t), color var(--t);
  font-size: 0.85rem;
  color: var(--muted);
  flex-shrink: 0;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.faq-answer-inner {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
  padding-inline: 1.6rem;
}

.faq-item.active { border-color: rgba(226, 55, 68, 0.35); box-shadow: 0 6px 22px rgba(226, 55, 68, 0.08); }
.faq-item.active .faq-answer { grid-template-rows: 1fr; }
.faq-item.active .faq-answer-inner { padding-bottom: 1.3rem; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary); }

/* ==========================================================================
   19. Floating Elements
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 58px;
  height: 58px;
  background-color: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform var(--t), background-color var(--t), bottom var(--t);
  animation: pulseWhatsapp 2.6s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); background-color: #1EBE5D; }
@keyframes pulseWhatsapp {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  display: grid;
  place-items: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--t), visibility var(--t), transform var(--t), background-color var(--t), bottom var(--t);
  box-shadow: var(--sh-md);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--primary); }

/* Sticky mobile CTA */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-3) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -6px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease-out);
}
.sticky-cta-bar.visible { transform: none; }

.sticky-cta-price { display: flex; flex-direction: column; gap: 0.1rem; line-height: 1.25; }
.sticky-price-amount { font-size: 1.25rem; font-weight: 900; color: var(--gold-light); }
.sticky-price-label { font-size: 0.72rem; font-weight: 700; color: var(--emerald); }

.sticky-cta-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  animation: stickyPulse 2.2s ease-in-out infinite;
}
@keyframes stickyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 55, 68, 0.45); }
  50%      { box-shadow: 0 0 0 9px rgba(226, 55, 68, 0); }
}

/* Lift floats above the sticky bar */
body.sticky-open .whatsapp-float,
body.sticky-open .back-to-top { bottom: 5.5rem; }

/* ==========================================================================
   20. Image Modal
   ========================================================================== */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 28, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}
.image-modal.active { display: flex; }

.image-modal-content {
  max-width: min(1100px, 92vw);
  position: relative;
  animation: modalIn 0.28s var(--ease-out);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: none; }
}
.image-modal-content img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
}
.image-modal-caption {
  margin-top: 0.9rem;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.image-modal-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  transition: background-color var(--t), color var(--t), transform var(--t-fast);
}
.image-modal-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }

/* ==========================================================================
   21. Footer
   ========================================================================== */
.footer {
  background: #060A14;
  color: var(--muted-dark);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid #16203A;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo { color: #fff; font-size: 1.3rem; font-weight: 900; margin-bottom: 0.5rem; }
.footer-logo i { color: var(--primary); }
.footer-brand p { font-size: 0.93rem; line-height: 1.8; max-width: 420px; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  color: var(--muted-dark);
  font-size: 1.05rem;
  transition: background-color var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-3px); }

.footer-links-col h4 { color: #fff; font-weight: 800; margin-bottom: 1rem; font-size: 1.05rem; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-col li { font-size: 0.93rem; display: flex; align-items: center; gap: 0.45rem; }
.footer-links-col li i { color: var(--gold); width: 16px; text-align: center; }
.footer-links-col a { display: inline-flex; align-items: center; gap: 0.45rem; transition: color var(--t); }
.footer-links-col a:hover { color: var(--gold); }

.footer-copy {
  font-size: 0.86rem;
  border-top: 1px solid #16203A;
  padding-top: 1.5rem;
  text-align: center;
}
.footer-copy i { color: var(--primary); }

/* ==========================================================================
   22. Responsive
   ========================================================================== */
@media (max-width: 1160px) {
  .nav-menu { gap: 1rem; }
  .nav-link { font-size: 0.86rem; }
  .floating-stat.stat-1 { right: -10px; }
  .floating-stat.stat-2 { left: -10px; }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }

  .hero { padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-subtitle { margin-inline: auto; }
  .hero-highlights { text-align: right; max-width: 480px; }
  .hero-cta-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .floating-stat { display: none; }

  .offline-content,
  .order-wrapper,
  .order-pricing-top { grid-template-columns: 1fr; gap: 2rem; }

  /* على الهاتف: الاستمارة تأتي مباشرة تحت السعر، وبطاقات الضمان بعدها.
     الزبون يقرأ الثمن ثم يجد الفورم فوراً بدل التمرير عبر ثلاث بطاقات. */
  .order-card { order: -1; }
  .order-wrapper { gap: 1.5rem; }
  .order-pricing-top { text-align: center; }
  .order-pricing-image img { max-width: 380px; margin-inline: auto; }
  .pricing-tag, .pricing-free-delivery { justify-content: center; }
  .order-pricing-features { grid-template-columns: repeat(2, 1fr); }

  .offline-visual { max-width: 560px; margin-inline: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-card, .gallery-card-wide, .gallery-grid .gallery-card:nth-child(2) { grid-column: span 1; }
  .gallery-overlay { opacity: 1; background: linear-gradient(0deg, rgba(10,15,28,0.88) 0%, transparent 55%); }
  .gallery-overlay i { display: none; }

  .business-types-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .delivery-timeline { grid-template-columns: repeat(2, 1fr); }
  .delivery-timeline::before { display: none; }

  .testimonial-card { width: 100%; padding: 1.75rem; }

  .solution-banner { flex-direction: column; text-align: center; border-right: none; border-top: 5px solid var(--gold); }

  /* Mobile nav */
  .nav-menu {
    display: none;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 82vw);
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 5.5rem 1.75rem 2rem;
    gap: 0;
    box-shadow: -12px 0 44px rgba(10, 15, 28, 0.2);
    z-index: 1005;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu .nav-link {
    font-size: 1.05rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-menu .nav-link::after { display: none; }

  .mobile-menu-btn { display: grid; place-items: center; }
  .header-cta-btn { display: none; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 28, 0.5);
    backdrop-filter: blur(2px);
    z-index: 1004;
    display: none;
  }
  .nav-overlay.active { display: block; }

  body { padding-bottom: 0; }
}

@media (max-width: 576px) {
  .container { padding-inline: 1.1rem; }

  .hero-highlights { grid-template-columns: 1fr; }
  .hero-cta-buttons { flex-direction: column; width: 100%; }
  .hero-cta-buttons .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: center; gap: 0.4rem; }

  .stats-grid { gap: 0.5rem; }
  .stat-card { padding: 1.1rem 0.4rem; }
  .stat-card-icon { width: 46px; height: 46px; font-size: 1.15rem; }

  .gallery-grid, .business-types-grid, .delivery-timeline { grid-template-columns: 1fr; }
  .order-pricing-features { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .opf-item { padding: 0.5rem 0.6rem; font-size: 0.78rem; }
  .order-pricing-image img { max-width: 300px; }

  .tab-btn { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
  .features-tabs { gap: 0.4rem; }

  .feature-card { padding: 1.5rem; }
  .package-item { padding: 0.85rem 0.9rem; }
  .faq-question { padding: 1.05rem 1.15rem; font-size: 0.98rem; }
  .faq-answer-inner { padding-inline: 1.15rem; }

  .footer-grid { text-align: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-social, .footer-links-col li, .footer-links-col a { justify-content: center; }

  .sticky-cta-bar { padding: 0.6rem 0.9rem; }
  .sticky-price-amount { font-size: 1.1rem; }
  .sticky-price-label { font-size: 0.66rem; }
  .sticky-cta-btn { font-size: 0.85rem; padding: 0.6rem 1.15rem; }

  .whatsapp-float { width: 50px; height: 50px; font-size: 1.6rem; bottom: 1rem; left: 1rem; }
  .back-to-top { width: 42px; height: 42px; bottom: 1rem; right: 1rem; }

  .image-modal-close { top: -14px; right: -6px; }
}

/* ==========================================================================
   23. Motion / Print preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .money-rain, .hero-orb { display: none; }
}

@media print {
  .header, .sticky-cta-bar, .whatsapp-float, .back-to-top,
  .scroll-progress, .money-rain, .hero-orb { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1; transform: none; }
}
