/* ===================================================================
   FORSAFEED (فورصة فيد) - MODERN BILINGUAL STYLESHEET (EN & AR)
   Default: English (LTR) | Toggle: Arabic (RTL)
   Brand Colors: Deep Royal Purple (#481783) & Vibrant Orange (#F27001)
   =================================================================== */

:root {
  /* Brand Core Colors */
  --primary-purple: #481783;
  --primary-purple-dark: #2c0b56;
  --primary-purple-deep: #170530;
  --primary-purple-light: #6829b8;
  --primary-purple-subtle: #f4eefb;
  --primary-purple-glow: rgba(72, 23, 131, 0.28);

  --primary-orange: #f27001;
  --primary-orange-dark: #d45f00;
  --primary-orange-light: #ff851b;
  --primary-orange-subtle: #fff4ea;
  --primary-orange-glow: rgba(242, 112, 1, 0.35);

  --accent-gold: #ffb800;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  /* Surfaces & Backgrounds */
  --bg-main: #fbf9fd;
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-glass-dark: rgba(23, 5, 48, 0.85);

  /* Typography */
  --text-primary: #190f2b;
  --text-secondary: #5d5470;
  --text-muted: #8b839c;
  --text-inverse: #ffffff;

  /* Borders & Shadows */
  --border-subtle: rgba(72, 23, 131, 0.08);
  --border-medium: rgba(72, 23, 131, 0.16);
  --border-glow: rgba(242, 112, 1, 0.4);

  --shadow-xs: 0 2px 6px rgba(44, 11, 86, 0.04);
  --shadow-sm: 0 4px 12px rgba(44, 11, 86, 0.06);
  --shadow-md: 0 10px 25px rgba(44, 11, 86, 0.09);
  --shadow-lg: 0 20px 45px rgba(44, 11, 86, 0.13);
  --shadow-xl: 0 30px 60px rgba(44, 11, 86, 0.18);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container */
  --container-width: 1240px;
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  direction: ltr;
  text-align: left;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* Arabic RTL Specific Override */
html[dir="rtl"] body {
  font-family: 'Cairo', system-ui, -apple-system, sans-serif;
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-fast);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
}

.badge-purple {
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
  border: 1px solid rgba(72, 23, 131, 0.15);
}

.badge-orange {
  background: var(--primary-orange-subtle);
  color: var(--primary-orange);
  border: 1px solid rgba(242, 112, 1, 0.2);
}

/* ================= TOP ANNOUNCEMENT BAR ================= */
.announcement-bar {
  background: linear-gradient(90deg, #320d61 0%, #481783 50%, #d45f00 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 16px;
  text-align: center;
  position: relative;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.announcement-bar span.promo-tag {
  background: #ffffff;
  color: var(--primary-purple);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
}

.announcement-bar a {
  color: #ffdebd;
  text-decoration: underline;
  font-weight: 700;
  margin-inline-start: 6px;
}

/* ================= STICKY NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform var(--transition-bounce);
}

.brand-logo-wrap:hover .brand-logo-img {
  transform: rotate(-6deg) scale(1.08);
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-purple);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand-title span {
  color: var(--primary-orange);
}

.brand-tagline-mini {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.3;
}

html[dir="rtl"] .nav-link {
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-purple);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-purple));
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

html[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Language Switcher Button */
.btn-lang-switcher {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: ltr; /* Keeps icon and text orientation consistent */
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
  border: 1.5px solid rgba(72, 23, 131, 0.18);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-lang-switcher:hover {
  background: var(--primary-purple);
  color: #ffffff;
  border-color: var(--primary-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(72, 23, 131, 0.18);
}

.btn-lang-switcher i {
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  transition: all var(--transition-bounce);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff891e 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(242, 112, 1, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(242, 112, 1, 0.45);
  background: linear-gradient(135deg, #ff8014 0%, #ff9533 100%);
}

.btn-purple {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #6322b3 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(72, 23, 131, 0.32);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(72, 23, 131, 0.45);
}

.btn-outline-purple {
  background: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

.btn-outline-purple:hover {
  background: var(--primary-purple-subtle);
  transform: translateY(-2px);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* Mobile Drawer hidden by default on desktop */
.mobile-drawer {
  display: none;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  padding: 60px 0 90px;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 23, 131, 0.12) 0%, rgba(72, 23, 131, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  left: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 112, 1, 0.12) 0%, rgba(242, 112, 1, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge-wrap {
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-title span.highlight-orange {
  color: var(--primary-orange);
  position: relative;
  display: inline-block;
}

.hero-title span.highlight-purple {
  color: var(--primary-purple);
  position: relative;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 34px;
  max-width: 580px;
}

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

.hero-mobile-download-btn {
  display: none;
}

.store-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #110822;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 6px 18px rgba(17, 8, 34, 0.25);
  transition: all var(--transition-normal);
}

.btn-store:hover {
  transform: translateY(-3px);
  background: #1d0f39;
  border-color: var(--primary-orange);
  box-shadow: 0 10px 24px rgba(242, 112, 1, 0.25);
}

.btn-store i {
  font-size: 1.8rem;
  color: #ffffff;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.btn-store-text span.small {
  font-size: 0.68rem;
  color: #b0a7c4;
  font-weight: 500;
}

.btn-store-text span.big {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.qr-trigger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  border: 1px dashed var(--primary-purple);
  cursor: pointer;
}

.qr-trigger-btn:hover {
  background: rgba(72, 23, 131, 0.12);
  transform: translateY(-2px);
}

/* Hero Social Proof */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--border-subtle);
  width: 100%;
}

.proof-avatars {
  display: flex;
}

.proof-avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  margin-left: -12px;
  object-fit: cover;
  box-shadow: var(--shadow-xs);
}

html[dir="rtl"] .proof-avatars img {
  margin-left: 0;
  margin-right: -12px;
}

.proof-avatars img:first-child {
  margin-left: 0;
  margin-right: 0;
}

.proof-info {
  display: flex;
  flex-direction: column;
}

.proof-stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  display: flex;
  gap: 3px;
}

.proof-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.proof-text strong {
  color: var(--primary-purple);
  font-weight: 800;
}

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

.phone-mockup-wrapper {
  position: relative;
  width: 320px;
  perspective: 1000px;
  z-index: 2;
}

.phone-device {
  width: 100%;
  height: 650px;
  background: #110722;
  border-radius: 52px;
  padding: 12px;
  box-shadow:
    0 25px 60px -10px rgba(44, 11, 86, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 0 0 4px #261642,
    inset 0 0 0 5px #110722;
  position: relative;
  overflow: hidden;
  transform: rotate(-1.5deg);
  transition: transform var(--transition-bounce);
}

.phone-mockup-wrapper:hover .phone-device {
  transform: rotate(0deg) scale(1.02);
}

.phone-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
}

.phone-island::after {
  content: '';
  width: 9px;
  height: 9px;
  background: #132438;
  border-radius: 50%;
}

.phone-screen-container {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

.phone-screen-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity var(--transition-normal);
}

/* Floating Badges */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  animation: floatAnim 4s ease-in-out infinite;
}

.card-top-left {
  top: 80px;
  left: -50px;
  animation-delay: 0s;
}

.card-bottom-right {
  bottom: 90px;
  right: -55px;
  animation-delay: 2s;
}

.card-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.card-icon-box.orange {
  background: var(--primary-orange-subtle);
  color: var(--primary-orange);
}

.card-icon-box.purple {
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
}

.card-text {
  display: flex;
  flex-direction: column;
}

.card-text span.title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

.card-text span.sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* 3D Graphics Floating */
.floating-3d-box {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 140px;
  z-index: 5;
  animation: floatBox 5s ease-in-out infinite;
  filter: drop-shadow(0 15px 25px rgba(242, 112, 1, 0.35));
}

.floating-3d-scooter {
  position: absolute;
  bottom: -30px;
  left: -35px;
  width: 155px;
  z-index: 5;
  animation: floatScooter 4.5s ease-in-out infinite;
  filter: drop-shadow(0 15px 25px rgba(72, 23, 131, 0.3));
}

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

@keyframes floatBox {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(4deg); }
}

@keyframes floatScooter {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
}

/* ================= SECTION HEADERS ================= */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 12px;
  background: var(--primary-orange-subtle);
  padding: 6px 18px;
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= FOOD CATEGORIES CHIPS ================= */
.categories-section {
  padding: 50px 0 70px;
  background: var(--bg-main);
}

.categories-carousel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.category-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.category-chip:hover {
  background: var(--primary-purple);
  color: #ffffff;
  border-color: var(--primary-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.category-chip .icon {
  font-size: 1.3rem;
}

/* ================= MYSTERY BOX SECTION ================= */
.mystery-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3fd 100%);
  position: relative;
  overflow: hidden;
}

.mystery-box-interactive-card {
  background: radial-gradient(circle at top right, #39116a 0%, #1c0638 100%);
  border-radius: var(--radius-xl);
  padding: 55px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mystery-decor-circle {
  position: absolute;
  top: -80px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242, 112, 1, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.mystery-content {
  position: relative;
  z-index: 2;
}

.mystery-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 18px;
}

.mystery-title span {
  color: var(--primary-orange);
}

.mystery-desc {
  font-size: 1.08rem;
  color: #c9bede;
  line-height: 1.8;
  margin-bottom: 28px;
}

.mystery-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.mystery-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #f1edfa;
}

.mystery-highlight-item i {
  color: var(--primary-orange);
  font-size: 1.25rem;
}

.mystery-game-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.04);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  backdrop-filter: blur(10px);
}

.mystery-box-clickable {
  width: 210px;
  cursor: pointer;
  transition: transform var(--transition-bounce);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.mystery-box-clickable:hover {
  transform: scale(1.08) rotate(3deg);
}

.mystery-box-clickable.opened {
  animation: boxPop 0.6s ease forwards;
}

@keyframes boxPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.18) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.mystery-instruction {
  margin-top: 20px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffe6d1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mystery-revealed-reward {
  display: none;
  margin-top: 20px;
  background: #ffffff;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  width: 100%;
  animation: slideInUp 0.4s ease forwards;
  box-shadow: var(--shadow-lg);
}

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

.revealed-header {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-purple);
  margin-bottom: 6px;
}

.revealed-deal {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.promo-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-orange-subtle);
  border: 1.5px dashed var(--primary-orange);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.promo-code-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary-orange);
  letter-spacing: 1px;
}

.btn-copy-code {
  background: var(--primary-orange);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
}

.btn-copy-code:hover {
  background: var(--primary-orange-dark);
}

/* ================= APP SCREEN SIMULATOR SECTION ================= */
.simulator-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.simulator-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.screen-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screen-tab-btn {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-main);
  border: 1.5px solid transparent;
  transition: all var(--transition-normal);
  text-align: left;
  width: 100%;
}

html[dir="rtl"] .screen-tab-btn {
  text-align: right;
}

.screen-tab-btn:hover {
  background: #f4effb;
  border-color: rgba(72, 23, 131, 0.15);
  transform: translateX(4px);
}

html[dir="rtl"] .screen-tab-btn:hover {
  transform: translateX(-4px);
}

.screen-tab-btn.active {
  background: #ffffff;
  border-color: var(--primary-orange);
  box-shadow: 0 10px 30px rgba(72, 23, 131, 0.08);
  position: relative;
}

.screen-tab-btn.active::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -5px;
  height: 70%;
  width: 5px;
  background: var(--primary-orange);
  border-radius: var(--radius-full);
}

html[dir="rtl"] .screen-tab-btn.active::before {
  left: auto;
  right: -5px;
}

.tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
  transition: all var(--transition-fast);
}

.screen-tab-btn.active .tab-icon {
  background: var(--primary-orange);
  color: #ffffff;
}

.tab-text {
  display: flex;
  flex-direction: column;
}

.tab-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.tab-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.sim-phone-frame {
  width: 330px;
  height: 670px;
  background: #180931;
  border-radius: 54px;
  padding: 12px;
  box-shadow:
    0 30px 70px rgba(44, 11, 86, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 0 0 4px #2b134d;
  position: relative;
}

.sim-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

.sim-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ================= CORE FEATURES GRID ================= */
.features-section {
  padding: 100px 0;
  background: var(--bg-main);
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-bounce);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: transparent;
  transition: background var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(72, 23, 131, 0.15);
}

.feature-card:hover::before {
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-purple));
}

.feature-icon-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.12) rotate(4deg);
}

.feature-icon-purple {
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
}

.feature-icon-orange {
  background: var(--primary-orange-subtle);
  color: var(--primary-orange);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= DINE-IN SPOTLIGHT ================= */
.dinein-spotlight {
  padding: 100px 0;
  background: linear-gradient(135deg, #1b0735 0%, #2f0e5b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.dinein-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.dinein-content .badge {
  margin-bottom: 18px;
}

.dinein-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}

.dinein-title span {
  color: var(--primary-orange);
}

.dinein-desc {
  font-size: 1.12rem;
  color: #d1c6e6;
  line-height: 1.8;
  margin-bottom: 32px;
}

.dinein-steps-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 38px;
}

.dinein-step-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.dinein-preview-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.dinein-phone {
  width: 310px;
  border-radius: 46px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 8px solid #0f041e;
}

/* ================= HOW IT WORKS ================= */
.how-it-works-section {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

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

.steps-grid::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: dashed 2px var(--border-medium);
  z-index: 0;
  border-top: 2px dashed rgba(72, 23, 131, 0.2);
}

.step-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.step-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-orange);
}

.step-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-purple) 0%, #6829b8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(72, 23, 131, 0.28);
  position: relative;
}

.step-badge-number {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  background: var(--primary-orange);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.step-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================= STATS SECTION ================= */
.stats-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #2b0b57 0%, #481783 100%);
  color: #ffffff;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--primary-orange);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2d9f3;
}

/* ================= PARTNER WITH US SECTION ================= */
.partner-section {
  padding: 100px 0;
  background: #ffffff;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.partner-card {
  border-radius: var(--radius-xl);
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-bounce);
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.partner-card.restaurant-card {
  background: linear-gradient(145deg, #faf7ff 0%, #f0e6fc 100%);
  border: 1.5px solid rgba(72, 23, 131, 0.15);
}

.partner-card.rider-card {
  background: linear-gradient(145deg, #fff9f4 0%, #ffe9d6 100%);
  border: 1.5px solid rgba(242, 112, 1, 0.2);
}

.partner-badge {
  font-size: 0.82rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
  align-self: flex-start;
}

.restaurant-card .partner-badge {
  background: var(--primary-purple);
  color: #ffffff;
}

.rider-card .partner-badge {
  background: var(--primary-orange);
  color: #ffffff;
}

.partner-heading {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.partner-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 26px;
}

.partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.benefit-item i {
  color: var(--accent-green);
  font-size: 1.15rem;
}

/* ================= TESTIMONIALS SECTION ================= */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-main);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 1.02rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.author-rating {
  color: var(--accent-gold);
  font-size: 0.85rem;
  display: flex;
  gap: 2px;
  margin-top: 2px;
}

/* ================= FAQ SECTION ================= */
.faq-section {
  padding: 100px 0;
  background: #ffffff;
}

.faq-accordion-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-purple);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  background: transparent;
}

html[dir="rtl"] .faq-question-btn {
  text-align: right;
}

.faq-icon-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-purple-subtle);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: 10px;
}

html[dir="rtl"] .faq-icon-arrow {
  margin-left: 0;
  margin-right: 10px;
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--primary-orange);
  color: #ffffff;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer-panel {
  padding: 0 24px 22px;
}

.faq-answer-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ================= DOWNLOAD CTA BANNER ================= */
.download-section {
  padding: 80px 0 100px;
  position: relative;
}

.download-banner-card {
  background: radial-gradient(circle at top left, #5f21a8 0%, #300c5c 60%, #17042f 100%);
  border-radius: var(--radius-xl);
  padding: 65px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(44, 11, 86, 0.4);
}

.download-content {
  position: relative;
  z-index: 2;
}

.download-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.download-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
}

.download-title span {
  color: var(--primary-orange);
}

.download-desc {
  font-size: 1.12rem;
  color: #ddd4ef;
  line-height: 1.8;
  margin-bottom: 34px;
}

.download-actions-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.qr-code-box {
  background: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.qr-code-box img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.qr-code-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 6px;
}

.download-mockup-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.download-mockup-wrap img {
  width: 290px;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.5));
  animation: floatAnim 4.5s ease-in-out infinite;
}

/* ================= FOOTER ================= */
.footer {
  background: #110624;
  color: #ffffff;
  padding: 80px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.footer-brand-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
}

.footer-brand-title span {
  color: var(--primary-orange);
}

.footer-desc {
  font-size: 0.94rem;
  color: #aba1be;
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--primary-orange);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--primary-orange);
  border-radius: var(--radius-full);
}

html[dir="rtl"] .footer-heading::after {
  left: auto;
  right: 0;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.94rem;
  color: #aba1be;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--primary-orange);
  transform: translateX(4px);
}

html[dir="rtl"] .footer-links-list a:hover {
  transform: translateX(-4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.94rem;
  color: #aba1be;
}

.footer-contact-item i {
  color: var(--primary-orange);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #8b81a0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ================= MODAL & POPUPS ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 4, 30, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 540px;
  position: relative;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-main);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 20px;
}

.modal-close-btn:hover {
  background: #e9e5f0;
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-purple);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input, .form-select {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-medium);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--primary-purple);
  background: #ffffff;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #190a30;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--primary-orange);
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-proof {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

/* ===================================================================
   RESPONSIVE DESIGN BREAKPOINTS (MOBILE FIRST POLISH)
   =================================================================== */

@media (max-width: 1200px) {
  .nav-links {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .btn {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1060px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  /* Mobile Drawer Menu */
  .mobile-drawer {
    display: flex;
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 99;
    padding: 26px 20px;
    flex-direction: column;
    gap: 14px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-top: 1px solid var(--border-subtle);
    overflow-y: auto;
  }

  html[dir="rtl"] .mobile-drawer {
    transform: translateX(-100%);
  }

  .mobile-drawer.open {
    transform: translateX(0);
  }

  .mobile-nav-link {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-primary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* Tablet Layout (769px to 1080px) */
@media (max-width: 1080px) and (min-width: 769px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .phone-mockup-wrapper {
    width: 260px;
  }

  .phone-device {
    height: 530px;
  }

  .card-top-left {
    left: -20px;
    top: 40px;
  }

  .card-bottom-right {
    right: -20px;
    bottom: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .simulator-layout {
    grid-template-columns: 1fr;
  }

  .mystery-box-interactive-card {
    grid-template-columns: 1fr;
    padding: 35px;
  }

  .dinein-grid {
    grid-template-columns: 1fr;
  }

  .download-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px;
  }
}

/* ===================================================================
   MOBILE DEVICES (max-width: 768px)
   Features side-by-side hero, zero text/button overlaps,
   2x2 grids, horizontal scrolling chips, and crisp proportions!
   =================================================================== */
@media (max-width: 768px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Announcement Bar */
  .announcement-bar {
    font-size: 0.74rem;
    padding: 6px 10px;
    gap: 6px;
    line-height: 1.35;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .announcement-bar span.promo-tag {
    font-size: 0.68rem;
    padding: 1px 7px;
  }

  /* Navbar on Mobile */
  .nav-container {
    height: 60px;
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brand-logo-wrap {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .brand-logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 1.15rem;
    line-height: 1.1;
    white-space: nowrap;
  }

  /* Hide tagline on mobile navbar to keep top bar clean and prevent wide overflow */
  .brand-tagline-mini {
    display: none !important;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .btn-lang-switcher {
    padding: 5px 10px;
    font-size: 0.78rem;
    gap: 5px;
  }

  /* CRITICAL: Hide bulky Download App button from top navbar on mobile (prevents 150px+ header overflow) */
  .nav-actions .btn-primary,
  .nav-actions #navDownloadBtn {
    display: none !important;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    padding: 0;
  }

  .mobile-drawer {
    top: 60px;
  }

  /* HERO SECTION: SIDE-BY-SIDE MOBILE DESIGN */
  .hero {
    padding: 18px 0 35px;
    overflow: hidden;
    max-width: 100%;
    width: 100%;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 10px;
    text-align: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-content {
    align-items: flex-start;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .hero-badge-wrap {
    margin-bottom: 6px;
    max-width: 100%;
  }

  .hero-badge-wrap .badge {
    font-size: 0.68rem;
    padding: 3px 8px;
    white-space: normal;
    line-height: 1.3;
  }

  .hero-title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    word-break: break-word;
  }

  .hero-desc {
    font-size: 0.76rem;
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Hero CTA on Mobile */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .hero-mobile-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    font-size: 0.84rem;
    font-weight: 800;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    margin-bottom: 0;
  }

  /* Hide redundant side-by-side store buttons in the mobile hero text column */
  .hero-cta-group .store-buttons-row {
    display: none !important;
  }

  .qr-trigger-btn {
    display: none !important;
  }

  /* Hero Proof on Mobile */
  .hero-proof {
    padding-top: 6px;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 100%;
  }

  .proof-avatars img {
    width: 24px;
    height: 24px;
    margin-left: -6px;
  }

  html[dir="rtl"] .proof-avatars img {
    margin-left: 0;
    margin-right: -6px;
  }

  .proof-stars {
    font-size: 0.7rem;
  }

  .proof-text {
    font-size: 0.7rem;
    white-space: normal;
    line-height: 1.3;
  }

  /* HERO PHONE MOCKUP ON MOBILE (Side-by-side, perfectly scaled) */
  .hero-visual {
    width: 100%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
  }

  .phone-mockup-wrapper {
    width: 135px;
    max-width: 100%;
    perspective: none;
    position: relative;
  }

  .phone-device {
    height: 290px;
    border-radius: 28px;
    padding: 5px;
    box-shadow: 0 12px 30px rgba(44, 11, 86, 0.25);
    transform: none !important;
  }

  .phone-island {
    width: 52px;
    height: 14px;
    top: 8px;
    border-radius: 10px;
  }

  .phone-screen-container {
    border-radius: 23px;
  }

  /* Hide huge overlapping floating cards on mobile */
  .floating-card {
    display: none !important;
  }

  .floating-3d-box {
    width: 60px;
    top: -10px;
    right: -8px;
  }

  .floating-3d-scooter {
    width: 65px;
    bottom: -10px;
    left: -8px;
  }

  html[dir="rtl"] .floating-3d-box {
    right: auto;
    left: -8px;
  }

  html[dir="rtl"] .floating-3d-scooter {
    left: auto;
    right: -8px;
  }

  /* SECTION HEADERS ON MOBILE */
  .section-header {
    margin-bottom: 32px;
  }

  .section-subtitle {
    font-size: 0.8rem;
    padding: 4px 12px;
    margin-bottom: 8px;
  }

  .section-title {
    font-size: 1.65rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .section-desc {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* CATEGORIES SECTION ON MOBILE (Swipeable row) */
  .categories-section {
    padding: 30px 0;
  }

  .categories-carousel-wrap {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 6px 12px;
    gap: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .categories-carousel-wrap::-webkit-scrollbar {
    display: none;
  }

  .category-chip {
    flex: 0 0 auto;
    padding: 8px 16px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .category-chip .icon {
    font-size: 1.1rem;
  }

  /* MYSTERY SECTION ON MOBILE */
  .mystery-section {
    padding: 50px 0;
  }

  .mystery-box-interactive-card {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 28px;
    border-radius: var(--radius-lg);
  }

  .mystery-title {
    font-size: 1.65rem;
    margin-bottom: 12px;
  }

  .mystery-desc {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .mystery-highlights {
    gap: 10px;
    margin-bottom: 22px;
  }

  .mystery-highlight-item {
    font-size: 0.86rem;
    gap: 8px;
  }

  .mystery-game-area {
    padding: 22px 16px;
  }

  .mystery-box-clickable {
    width: 140px;
  }

  .mystery-instruction {
    font-size: 0.92rem;
  }

  .promo-code-text {
    font-size: 1rem;
  }

  /* APP SIMULATOR ON MOBILE */
  .simulator-section {
    padding: 50px 0;
  }

  .simulator-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .screen-tabs-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .screen-tabs-list::-webkit-scrollbar {
    display: none;
  }

  .screen-tab-btn {
    flex: 0 0 auto;
    padding: 10px 14px;
    border-radius: var(--radius-full);
    gap: 8px;
    align-items: center;
    width: auto;
  }

  .screen-tab-btn.active::before {
    display: none;
  }

  .screen-tab-btn .tab-icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 50%;
  }

  .screen-tab-btn .tab-title {
    font-size: 0.84rem;
    margin-bottom: 0;
    white-space: nowrap;
  }

  .screen-tab-btn .tab-desc {
    display: none;
  }

  .sim-phone-frame {
    width: 220px;
    height: 450px;
    border-radius: 38px;
    padding: 8px;
    margin: 0 auto;
  }

  /* FEATURES GRID ON MOBILE (2x2 clean layout) */
  .features-section {
    padding: 50px 0;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .feature-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .feature-title {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }

  .feature-desc {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* DINE-IN SPOTLIGHT ON MOBILE */
  .dinein-spotlight {
    padding: 50px 0;
  }

  .dinein-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .dinein-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dinein-title {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }

  .dinein-desc {
    font-size: 0.9rem;
    margin-bottom: 22px;
  }

  .dinein-steps-list {
    text-align: start;
    width: 100%;
    gap: 12px;
    margin-bottom: 26px;
  }

  .dinein-step-item {
    gap: 12px;
  }

  .step-num {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .step-text {
    font-size: 0.88rem;
  }

  .dinein-phone {
    width: 220px;
    border-radius: 36px;
    border-width: 6px;
  }

  /* HOW IT WORKS ON MOBILE (2x2 grid) */
  .how-it-works-section {
    padding: 50px 0;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .steps-grid::before {
    display: none;
  }

  .step-box {
    padding: 18px 12px;
  }

  .step-circle {
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
    margin-bottom: 12px;
  }

  .step-badge-number {
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
  }

  .step-title {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .step-desc {
    font-size: 0.76rem;
    line-height: 1.45;
  }

  /* STATS SECTION ON MOBILE (2x2) */
  .stats-section {
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-num {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.82rem;
  }

  /* PARTNERS ON MOBILE */
  .partner-section {
    padding: 50px 0;
  }

  .partner-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-card {
    padding: 26px 20px;
  }

  .partner-heading {
    font-size: 1.45rem;
  }

  .partner-text {
    font-size: 0.88rem;
    margin-bottom: 18px;
  }

  .partner-benefits {
    gap: 10px;
    margin-bottom: 24px;
  }

  .benefit-item {
    font-size: 0.86rem;
  }

  /* TESTIMONIALS ON MOBILE */
  .testimonials-section {
    padding: 50px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .testimonial-card {
    padding: 22px 18px;
  }

  .testimonial-quote {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }

  /* FAQ ACCORDION ON MOBILE */
  .faq-section {
    padding: 50px 0;
  }

  .faq-question-btn {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer-text {
    font-size: 0.86rem;
  }

  /* DOWNLOAD BANNER ON MOBILE */
  .download-section {
    padding: 40px 0 60px;
  }

  .download-banner-card {
    grid-template-columns: 1fr;
    padding: 30px 20px;
    text-align: center;
    gap: 25px;
  }

  .download-title {
    font-size: 1.8rem;
  }

  .download-desc {
    font-size: 0.88rem;
    margin-bottom: 22px;
  }

  .download-actions-wrap {
    flex-direction: column;
    width: 100%;
  }

  .download-actions-wrap .store-buttons-row {
    width: 100%;
  }

  .qr-code-box {
    display: none; /* Hide on mobile devices */
  }

  .download-mockup-wrap img {
    width: 200px;
  }

  /* FOOTER ON MOBILE */
  .footer {
    padding: 50px 0 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Extra small mobile adjustments (<= 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.25rem;
  }

  .phone-mockup-wrapper {
    width: 135px;
  }

  .phone-device {
    height: 290px;
  }

  .features-grid, .steps-grid {
    grid-template-columns: 1fr;
  }
}

