/* ============================================================
   MySlushie — Landing Page Stylesheet
   Production-ready | Namecheap deployment
   ============================================================ */

/* ── Google Fonts are loaded via <link> in index.html ── */

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  /* Brand Colors */
  --c-navy:        #0b1f3a;
  --c-navy-deep:   #071528;
  --c-navy-mid:    #112a4e;
  --c-blue:        #0077cc;
  --c-blue-lt:     #0ea5e9;
  --c-cyan:        #06b6d4;
  --c-cyan-lt:     #67e8f9;
  --c-purple:      #6d28d9;
  --c-purple-lt:   #a78bfa;
  --c-gold:        #f59e0b;
  --c-gold-lt:     #fcd34d;
  --c-pink:        #ec4899;
  --c-green:       #10b981;

  /* Neutrals */
  --c-ice:         #f0f9ff;
  --c-ice-2:       #e0f2fe;
  --c-ice-3:       #bae6fd;
  --c-white:       #ffffff;
  --c-text:        #0f1f38;
  --c-text-mid:    #3d5a80;
  --c-sub:         #64748b;
  --c-border:      #e2e8f0;
  --c-border-lt:   #f1f5f9;

  /* Typography */
  --f-head:        'Poppins', sans-serif;
  --f-body:        'Inter', sans-serif;
  --f-arabic:      'Tajawal', sans-serif;

  /* Spacing */
  --section-gap:   100px;
  --radius:        14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0, 119, 204, 0.08);
  --shadow-md:     0 6px 24px rgba(0, 119, 204, 0.12);
  --shadow-lg:     0 16px 48px rgba(0, 119, 204, 0.18);
  --shadow-xl:     0 32px 80px rgba(0, 0, 0, 0.22);
  --shadow-card:   0 4px 20px rgba(11, 31, 58, 0.07);

  /* Gradients */
  --grad-hero:     linear-gradient(145deg, #071528 0%, #0b1f3a 45%, #0d2a52 100%);
  --grad-blue:     linear-gradient(135deg, #0ea5e9 0%, #0077cc 100%);
  --grad-teal:     linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
  --grad-gold:     linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --grad-prize:    linear-gradient(145deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);

  /* Transitions */
  --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-lg: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.rtl {
  direction: rtl;
  font-family: var(--f-arabic);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}


/* ============================================================
   3. Layout Utilities
   ============================================================ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

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

.section--alt {
  background: var(--c-ice);
}

.section--dark {
  background: var(--grad-hero);
  color: var(--c-white);
}

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

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

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

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

.text-center .section__sub {
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   4. Typography
   ============================================================ */
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--c-ice-2);
  border: 1px solid var(--c-ice-3);
  color: var(--c-blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.section__eyebrow--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--c-cyan-lt);
}

.section__eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.section__title {
  font-family: var(--f-head);
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-navy);
  margin-bottom: 18px;
}

.section__title--light {
  color: var(--c-white);
}

.section__sub {
  font-size: 1.05rem;
  color: var(--c-sub);
  max-width: 540px;
  line-height: 1.75;
}

.section__sub--light {
  color: rgba(255, 255, 255, 0.62);
}


/* ============================================================
   5. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-blue);
  color: var(--c-white);
  box-shadow: 0 4px 18px rgba(14, 165, 233, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--c-blue);
  border: 2px solid var(--c-ice-3);
}

.btn--outline:hover {
  border-color: var(--c-blue-lt);
  background: var(--c-ice-2);
}

/* Store download buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 12px 22px;
  border-radius: 12px;
  transition: var(--transition);
  text-decoration: none;
}

.store-btn:hover {
  transform: translateY(-2px);
}

.store-btn__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

.store-btn__text small {
  display: block;
  font-size: 0.67rem;
  opacity: 0.72;
  line-height: 1;
  font-weight: 400;
}

.store-btn__text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.store-btn--dark {
  background: var(--c-navy-deep);
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
}

.store-btn--dark:hover {
  background: var(--c-navy-mid);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.store-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.store-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.store-btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}


/* ============================================================
   6. Navigation
   ============================================================ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  transition: var(--transition);
}

#navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--c-navy);
  padding: 2px;
}

.nav__logo-name {
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-navy);
}

.nav__logo-name span {
  color: var(--c-blue-lt);
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--c-sub);
  padding: 7px 13px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--c-blue);
  background: var(--c-ice-2);
}

/* Right side */
.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1.5px solid var(--c-border);
  background: transparent;
  color: var(--c-sub);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lang-toggle:hover {
  border-color: var(--c-blue-lt);
  color: var(--c-blue);
  background: var(--c-ice-2);
}

.lang-toggle svg {
  flex-shrink: 0;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile drawer */
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
  padding: 16px 28px 24px;
  gap: 2px;
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text);
  padding: 11px 0;
  border-bottom: 1px solid var(--c-border-lt);
  transition: color 0.15s;
}

.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--c-blue); }

.nav__mobile-lang {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
}


/* ============================================================
   7. Hero
   ============================================================ */
#hero {
  position: relative;
  background: var(--grad-hero);
  color: var(--c-white);
  overflow: hidden;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
}

/* Decorative orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.14) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: orb-float 10s ease-in-out infinite;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
  animation: orb-float 8s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.12) 0%, transparent 70%);
  top: 30%;
  left: 42%;
  animation: orb-float 12s ease-in-out infinite 2s;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-24px) scale(1.05); }
}

/* Grid noise overlay */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Content */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0 80px;
}

/* Badge pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--c-cyan-lt);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.hero__badge .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-cyan-lt);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.5); }
  50%       { opacity: 0.5; box-shadow: 0 0 0 6px rgba(103, 232, 249, 0); }
}

.hero__title {
  font-family: var(--f-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--c-white);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.hero__title .accent {
  background: linear-gradient(135deg, var(--c-cyan-lt), var(--c-blue-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__tagline {
  font-family: var(--f-head);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero__desc {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 48px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero__trust-item svg {
  color: var(--c-cyan-lt);
  flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__phone-wrap {
  position: relative;
  width: 260px;
}

.hero__phone-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__phone {
  background: #080f1a;
  border-radius: 44px;
  border: 2.5px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  position: relative;
  box-shadow: var(--shadow-xl);
}

/* Notch */
.hero__phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 8px;
  background: #080f1a;
  border-radius: 99px;
  z-index: 5;
}

.hero__phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Floating cards */
.hero__float-card {
  position: absolute;
  background: var(--c-white);
  border-radius: 13px;
  padding: 10px 16px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-navy);
  white-space: nowrap;
  animation: card-float 5s ease-in-out infinite;
  z-index: 10;
}

.hero__float-card:nth-child(2) { animation-delay: -2.5s; }

.hero__float-card--1 {
  bottom: 90px;
  right: -72px;
}

.hero__float-card--2 {
  top: 90px;
  left: -80px;
}

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

.hero__float-card .fc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ============================================================
   8. Stats Strip
   ============================================================ */
#stats {
  background: var(--c-navy-deep);
  padding: 0;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.stats__item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s;
}

.stats__item:last-child { border-right: none; }
.stats__item:hover { background: rgba(255, 255, 255, 0.03); }

.stats__num {
  font-family: var(--f-head);
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 6px;
}

.stats__label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}


/* ============================================================
   9. How It Works
   ============================================================ */
#how {
  background: var(--c-ice);
}

.how__header {
  text-align: center;
  margin-bottom: 72px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

/* Connector line */
.how__grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue-lt), var(--c-cyan), var(--c-purple-lt));
  border-radius: 2px;
  z-index: 0;
}

.how__card {
  position: relative;
  z-index: 1;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 40px 28px 36px;
  text-align: center;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  transition: var(--transition-lg);
}

.how__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-ice-3);
}

.how__step-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-blue);
  color: var(--c-white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.how__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 2.2rem;
}

.how__icon--1 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.how__icon--2 { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }
.how__icon--3 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }

.how__card h3 {
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
}

.how__card p {
  font-size: 0.9rem;
  color: var(--c-sub);
  line-height: 1.65;
}


/* ============================================================
   10. Customer Features
   ============================================================ */
#features {
  background: var(--c-white);
}

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

.features__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-white);
  transition: var(--transition);
  cursor: default;
}

.feature-item:hover {
  border-color: var(--c-ice-3);
  background: var(--c-ice);
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}

body.rtl .feature-item:hover {
  transform: translateX(-5px);
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-item__body h4 {
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: 4px;
}

.feature-item__body p {
  font-size: 0.84rem;
  color: var(--c-sub);
  line-height: 1.55;
}

/* Dual phone mockup */
.features__phones {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 0 48px;
}

.phone-mock {
  width: 178px;
  background: #0a0f1a;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.phone-mock img {
  width: 100%;
  display: block;
}

.phone-mock--back {
  position: absolute;
  width: 158px;
  top: 40px;
  opacity: 0.6;
  transform: rotate(-9deg) translateX(-90px);
  z-index: 0;
}

.phone-mock--front {
  position: relative;
  z-index: 1;
  transform: rotate(4deg);
  transition: var(--transition-lg);
}

.features__phones:hover .phone-mock--front {
  transform: rotate(1deg) translateY(-6px);
}


/* ============================================================
   11. Loyalty Tiers
   ============================================================ */
#tiers {
  background: var(--grad-hero);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

#tiers::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.tiers__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.tier-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-lg);
}

.tier-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.09);
}

.tier-card--gold {
  border-color: rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.07);
}

.tier-card--gold:hover {
  background: rgba(245, 158, 11, 0.1);
}

/* Popular badge */
.tier__popular {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-gold);
  color: var(--c-navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 0 0 10px 10px;
}

.tier__glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.tier__medal {
  font-size: 3.8rem;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  display: block;
}

.tier__name {
  font-family: var(--f-head);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.tier__range {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.tier__perks {
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.tier__perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
}

.tier__perk-check {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* ============================================================
   12. Merchants Section
   ============================================================ */
#merchants {
  background: var(--c-ice);
}

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

.merchants__phone {
  display: flex;
  justify-content: center;
}

.merchants__phone .phone-mock--main {
  width: 220px;
  background: #080f1a;
  border-radius: 34px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotate(-4deg);
  transition: var(--transition-lg);
}

.merchants__phone:hover .phone-mock--main {
  transform: rotate(-1deg) translateY(-6px);
}

.merchants__phone .phone-mock--main img {
  width: 100%;
  display: block;
}

.merchants__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.merchant-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 22px 20px;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.merchant-card:hover {
  border-color: var(--c-ice-3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.merchant-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.merchant-card h4 {
  font-family: var(--f-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 5px;
}

.merchant-card p {
  font-size: 0.8rem;
  color: var(--c-sub);
  line-height: 1.55;
}


/* ============================================================
   13. Find Nearby Store
   ============================================================ */
#nearby {
  background: var(--c-white);
}

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

.nearby__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}

.nearby__list-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--c-ice);
  border: 1px solid var(--c-border);
}

.nearby__list-item .ni-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 42px;
  text-align: center;
}

.nearby__list-item p {
  font-size: 0.9rem;
  color: var(--c-text-mid);
  font-weight: 500;
}

.map-card {
  background: linear-gradient(135deg, var(--c-ice), var(--c-ice-2));
  border: 1px solid var(--c-ice-3);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.map-card__icon {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.map-card__pin {
  font-size: 2.2rem;
  animation: pin-bounce 2.2s ease-in-out infinite;
  display: inline-block;
}

@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  45%       { transform: translateY(-10px); }
  65%       { transform: translateY(-5px); }
}

.map-card p {
  font-size: 0.88rem;
  color: var(--c-sub);
  margin: 14px 0 20px;
  font-weight: 500;
}

.map-card__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.city-tag {
  padding: 5px 15px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
}

.city-tag--active {
  background: var(--c-blue);
  color: var(--c-white);
}

.city-tag--muted {
  background: var(--c-ice-2);
  color: var(--c-blue);
  border: 1px solid var(--c-ice-3);
}


/* ============================================================
   14. Monthly Prizes
   ============================================================ */
#prizes {
  background: var(--grad-prize);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.prize-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: star-twinkle 4s ease-in-out infinite;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.4); }
}

.prizes__header {
  position: relative;
  z-index: 1;
  margin-bottom: 48px;
}

.prizes__box {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  max-width: 700px;
  margin: 0 auto;
}

.prizes__trophy {
  font-size: 4.5rem;
  margin-bottom: 16px;
  display: block;
}

.prizes__box h3 {
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.prizes__box > p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* Steps */
.prizes__steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin: 40px 0 36px;
}

.prize-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 150px;
  position: relative;
}

.prize-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -18px;
  top: 18px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
}

.prize-step__icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.prize-step p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 1.4;
}

.prizes__note {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 10px;
  padding: 16px 24px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.prizes__note strong {
  color: var(--c-gold-lt);
}


/* ============================================================
   15. App Gallery
   ============================================================ */
#gallery {
  background: var(--c-ice);
}

.gallery__header {
  text-align: center;
  margin-bottom: 48px;
}

.gallery__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.gallery__tab {
  padding: 9px 24px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  color: var(--c-sub);
  font-family: var(--f-head);
  transition: var(--transition);
}

.gallery__tab:hover,
.gallery__tab.active {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 14px 8px 32px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--c-blue-lt) var(--c-ice-2);
}

.gallery__track::-webkit-scrollbar { height: 5px; }
.gallery__track::-webkit-scrollbar-track { background: var(--c-ice-2); border-radius: 99px; }
.gallery__track::-webkit-scrollbar-thumb { background: var(--c-blue-lt); border-radius: 99px; }

.gallery__track.hidden { display: none; }

.screen-thumb {
  flex: 0 0 auto;
  width: 152px;
  scroll-snap-align: start;
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--c-border);
  background: #0a0f1a;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: var(--transition-lg);
}

.screen-thumb:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--c-blue-lt);
  box-shadow: var(--shadow-lg);
}

.screen-thumb img {
  width: 100%;
  display: block;
}

.gallery__hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--c-sub);
  margin-top: 8px;
}


/* ============================================================
   16. Contact / CTA Section
   ============================================================ */
#contact {
  background: var(--c-navy);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}

.contact__bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact__text h2 {
  color: var(--c-white);
  margin-bottom: 18px;
}

.contact__text > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
  line-height: 1.75;
}

.contact__channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact__channel:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact__channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact__channel-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 3px;
}

.contact__channel-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-white);
}

.contact__channel-value a {
  color: var(--c-cyan-lt);
  text-decoration: none;
  transition: color 0.15s;
}

.contact__channel-value a:hover {
  color: var(--c-white);
}

/* Download card */
.contact__download-card {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  text-align: center;
}

.contact__download-card .app-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin: 0 auto 20px;
  object-fit: contain;
  background: var(--c-navy-deep);
  padding: 6px;
}

.contact__download-card h3 {
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 8px;
}

.contact__download-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 28px;
}

.contact__download-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}


/* ============================================================
   17. Footer
   ============================================================ */
#footer {
  background: var(--c-navy-deep);
  color: rgba(255, 255, 255, 0.55);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}

/* Brand col */
.footer__brand {}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer__logo img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--c-navy);
  padding: 3px;
}

.footer__logo-name {
  font-family: var(--f-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-white);
}

.footer__desc {
  font-size: 0.86rem;
  line-height: 1.75;
  max-width: 290px;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: var(--c-blue);
}

/* Nav columns */
.footer__col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__col ul li a:hover {
  color: var(--c-cyan-lt);
}

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 0.8rem;
}

.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__bottom-right a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.15s;
}

.footer__bottom-right a:hover {
  color: var(--c-cyan-lt);
}

.footer__flag {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}


/* ============================================================
   18. Lightbox
   ============================================================ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lb-in 0.2s ease;
}

@keyframes lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#lightbox.open {
  display: flex;
}

#lightbox-img {
  max-height: 88vh;
  max-width: min(380px, 90vw);
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
  animation: lb-slide-up 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lb-slide-up {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}


/* ============================================================
   19. Scroll Animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================================
   20. Responsive — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  .hero__inner {
    gap: 40px;
  }

  .hero__phone-wrap {
    width: 220px;
  }

  .hero__float-card--1 { right: -40px; }
  .hero__float-card--2 { left: -40px; }

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

  .footer__brand {
    grid-column: 1 / -1;
  }
}


/* ============================================================
   21. Responsive — Mobile (≤ 860px)
   ============================================================ */
@media (max-width: 860px) {
  :root { --section-gap: 64px; }

  /* Nav */
  .nav__links,
  .nav__right .btn--primary {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding: 60px 0;
  }

  .hero__desc {
    margin: 0 auto 36px;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__phone-wrap {
    width: 200px;
  }

  .hero__float-card {
    display: none;
  }

  /* Stats */
  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.07); }
  .stats__item:nth-child(3),
  .stats__item:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.07);
  }

  /* How */
  .how__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 400px;
    margin: 0 auto;
  }

  .how__grid::before { display: none; }

  /* Features */
  .features__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .phone-mock--back { display: none; }
  .phone-mock--front { transform: none; }

  /* Tiers */
  .tiers__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Merchants */
  .merchants__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Nearby */
  .nearby__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Contact */
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Footer */
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand { grid-column: 1 / -1; }

  /* Prize steps */
  .prizes__steps {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .prize-step:not(:last-child)::after {
    content: '↓';
    right: auto;
    bottom: -18px;
    top: auto;
  }

  .prizes__box {
    padding: 36px 24px;
  }
}


/* ============================================================
   22. Responsive — Small Mobile (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-gap: 52px; }

  .container { padding: 0 18px; }

  .section__title {
    font-size: 1.6rem;
  }

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

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

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom-right {
    justify-content: center;
  }

  .hero__title {
    font-size: 2rem;
  }

  .contact__download-btns {
    gap: 10px;
  }

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


/* ============================================================
   23. RTL Overrides
   ============================================================ */
body.rtl .feature-item:hover {
  transform: translateX(-5px);
}

body.rtl .how__grid::before {
  left: auto;
  right: 16%;
}

body.rtl .prize-step:not(:last-child)::after {
  content: '←';
  right: auto;
  left: -18px;
}

body.rtl .footer__desc {
  margin-left: 0;
  margin-right: 0;
}

body.rtl .section__title,
body.rtl .section__sub,
body.rtl .section__eyebrow,
body.rtl .how__card h3,
body.rtl .tier__name,
body.rtl .merchant-card h4 {
  font-family: var(--f-arabic);
}
