/* =====================================================================
   ORIVO PAY — TWO-COLOR DESIGN SYSTEM (WHITE & GREEN)
   White background canvas with rich green button effects & green outlines.
   Zero black anywhere. Fully dark-mode compatible.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ─── TOKENS: WHITE CANVAS & GREEN OUTLINES (DEFAULT) ─────────────── */
:root, [data-theme="light"] {
  /* Green Spectrum */
  --g-bright: #00E665;
  --g-vivid: #00C853;
  --g-mid: #10B958;
  --g-mint: #4ADE80;
  --g-forest: #008738;
  --g-deep: #042E16;

  --g5: #00C853;
  --g4: #10B958;
  --g3: #4ADE80;
  --g6: #008738;
  --g8: #042E16;

  /* Surfaces: Crisp Pure White */
  --bg0: #FFFFFF;
  --bg1: #FFFFFF;
  --bg2: #FFFFFF;
  --bg3: #F4FAF6;

  --header-bg: rgba(255, 255, 255, 0.96);

  /* Green Outlines & Borders */
  --brd: rgba(0, 168, 68, 0.25);
  --brdl: #00A844;
  --brdg: #00E665;

  /* Typography: Rich Deep Green (Zero black) */
  --t1: #042E16;
  --t2: #0E522C;
  --t3: #1E7542;
  --ta: #00A844;

  /* Card Finishes */
  --card-emerald: linear-gradient(140deg, #0A4F29, #05361B 55%, #021E0F);
  --card-mint: linear-gradient(140deg, #00E665, #00A844 55%, #04381B);
  --card-pine: linear-gradient(140deg, #10B958, #0B572B 50%, #06381C);
  --card-jade: linear-gradient(140deg, #07381D, #031F10);
  --card-white: linear-gradient(140deg, #FFFFFF, #EAF7EE 60%, #D4F4DF);
  --card-frosted: rgba(255, 255, 255, 0.85);

  /* Shadows: Soft green aura, zero black */
  --sh: 0 2px 10px rgba(0, 168, 68, 0.08), 0 8px 24px rgba(0, 168, 68, 0.06);
  --shf: 0 4px 24px rgba(0, 168, 68, 0.14);

  --fd: 'Outfit', sans-serif;
  --fb: 'Plus Jakarta Sans', sans-serif;
  --fm: 'JetBrains Mono', monospace;
  --r0: 6px; --r1: 10px; --r2: 16px; --r3: 24px; --r4: 32px;
  --rp: 9999px;
  --mw: 1200px;
  --ease: cubic-bezier(.22,1,.36,1);
  --tf: .18s ease;
  --tm: .3s var(--ease);
}

/* ─── SYSTEM DARK MODE PREFERENCE FALLBACK ───────────────────────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg0: #03170C;
    --bg1: #062413;
    --bg2: #0A331D;
    --bg3: #0E3E24;
    --header-bg: rgba(3, 23, 12, 0.94);

    --brd: rgba(74, 222, 128, 0.22);
    --brdl: #4ADE80;
    --brdg: #00E665;

    --t1: #FFFFFF;
    --t2: #D1EFE0;
    --t3: #8AC7A5;
    --ta: #00E665;

    --sh: 0 2px 12px rgba(1, 18, 9, 0.5), 0 8px 28px rgba(1, 18, 9, 0.45);
    --shf: 0 4px 28px rgba(1, 18, 9, 0.65);
  }
}

/* ─── DARK MODE (DEEP GREEN & WHITE) ─────────────────────────────── */
[data-theme="dark"] {
  --bg0: #03170C;
  --bg1: #062413;
  --bg2: #0A331D;
  --bg3: #0E3E24;
  --header-bg: rgba(3, 23, 12, 0.94);

  --brd: rgba(74, 222, 128, 0.22);
  --brdl: #4ADE80;
  --brdg: #00E665;

  --t1: #FFFFFF;
  --t2: #D1EFE0;
  --t3: #8AC7A5;
  --ta: #00E665;

  --sh: 0 2px 12px rgba(1, 18, 9, 0.5), 0 8px 28px rgba(1, 18, 9, 0.45);
  --shf: 0 4px 28px rgba(1, 18, 9, 0.65);
}

/* ─── RESET & INSTANT THEME RENDERING ────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--bg0);
  color-scheme: light;
}
html[data-theme="dark"] {
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
  }
}
body {
  font-family: var(--fb);
  background: var(--bg0);
  color: var(--t1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  touch-action: pan-y;
}
body.theme-animating,
body.theme-animating .site-header,
body.theme-animating .legal-card-section {
  transition: background-color .28s ease, color .28s ease, border-color .28s ease !important;
}
body.menu-open,
body.modal-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* Smooth anchor scrolling offset below sticky header */
section[id],
div[id],
.legal-card-section {
  scroll-margin-top: 90px;
}
@media (max-width: 768px) {
  section[id],
  div[id],
  .legal-card-section {
    scroll-margin-top: 76px;
  }
}

/* Touch responsiveness: eliminate 300ms tap lag and add green tap feedback */
a, button, input, select, textarea, .legal-tab, .cookie-slider, .social-icon-btn, .theme-btn, .lang-trigger {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 200, 83, 0.18);
}

a { color: inherit; text-decoration: none; }
button, input, select {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}
img { display: block; max-width: 100%; }
[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .rates-bar {
  direction: ltr;
}
[dir="rtl"] .hero-copy {
  text-align: right;
}
[dir="rtl"] .hero-actions {
  justify-content: flex-start;
}
[dir="rtl"] .opp-card,
[dir="rtl"] .bm-card,
[dir="rtl"] .roadmap-card,
[dir="rtl"] .contact-form-card {
  text-align: right;
}
[dir="rtl"] .bm-list,
[dir="rtl"] .roadmap-list {
  padding-right: 0;
}
[dir="rtl"] .bm-list li,
[dir="rtl"] .roadmap-list li {
  padding-left: 0;
  padding-right: 1.2rem;
}
[dir="rtl"] .bm-list li::before,
[dir="rtl"] .roadmap-list li::before {
  left: auto;
  right: 0;
}
[dir="rtl"] .inv-form-group {
  text-align: right;
}
[dir="rtl"] .ft-col {
  text-align: right;
}
[dir="rtl"] .ft-links {
  align-items: flex-start;
}
[dir="rtl"] .modal-panel {
  text-align: right;
}

/* ─── LAYOUT ─────────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 7rem 0; }
.section--alt {
  background: var(--bg1);
  border-top: 1.5px solid var(--brd);
  border-bottom: 1.5px solid var(--brd);
}
.section-hd { text-align: center; max-width: 640px; margin: 0 auto; }
.section-hd .lead { margin: 0 auto; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ta);
  margin-bottom: 1rem;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ta);
  display: inline-block;
  box-shadow: 0 0 8px var(--ta);
}
.h-xl { font-family: var(--fd); font-size: clamp(2.6rem,5vw,4.2rem); font-weight: 900; line-height: 1.07; letter-spacing: -.03em; color: var(--t1); }
.h-lg { font-family: var(--fd); font-size: clamp(2rem,4vw,3.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; color: var(--t1); }
.h-md { font-family: var(--fd); font-size: clamp(1.4rem,3vw,2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; color: var(--t1); }
.h-sm { font-family: var(--fd); font-size: 1.1rem; font-weight: 700; color: var(--t1); }
.lead { font-size: 1.1rem; color: var(--t2); line-height: 1.7; max-width: 580px; }
.muted { color: var(--t3); font-size: .9rem; }
.green { color: var(--ta); }

.grad {
  background: linear-gradient(135deg, var(--t1) 30%, var(--ta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS: GREEN COLOR EFFECT & GREEN OUTLINES ───────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .78rem 1.5rem;
  border-radius: var(--rp);
  font-weight: 700;
  font-size: .92rem;
  transition: all var(--tf);
  white-space: nowrap;
}

/* Button with Vibrant Green Color Effect */
.btn-p {
  background: linear-gradient(135deg, #00C853 0%, #009E44 100%);
  color: #FFFFFF;
  border: 1.5px solid #00E665;
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.35);
}
.btn-p:hover {
  background: linear-gradient(135deg, #10B958 0%, #008738 100%);
  color: #FFFFFF;
  border-color: #00C853;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 200, 83, 0.5);
}

/* Button with Crisp Green Outline */
.btn-g {
  background: var(--bg1);
  border: 2px solid var(--brdl);
  color: var(--t1);
  box-shadow: 0 2px 8px rgba(0, 168, 68, 0.06);
}
.btn-g:hover {
  background: rgba(0, 200, 83, 0.1);
  border-color: var(--g-bright);
  color: var(--ta);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.2);
}
[data-theme="dark"] .btn-g {
  background: var(--bg2);
}

/* Secondary Button with Green Outline */
.btn-s {
  background: var(--bg2);
  border: 1.5px solid var(--brd);
  color: var(--t1);
}
.btn-s:hover {
  border-color: var(--brdl);
  color: var(--ta);
  transform: translateY(-2px);
}

.btn-sm { padding: .6rem 1.35rem; font-size: .88rem; }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.02rem; }

/* ─── RATES BAR (WHITE BACKGROUND & GREEN OUTLINE) ───────────────── */
.rates-bar {
  background: var(--bg0);
  border-bottom: 1.5px solid var(--brd);
  padding: .5rem 0;
  overflow: hidden;
}
.rates-scroller { display: flex; width: max-content; animation: ticker 55s linear infinite; }
.rates-scroller:hover { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rates-set { display: flex; align-items: center; gap: 2.5rem; padding: 0 1.25rem; }
.rate-item {
  font-family: var(--fm);
  font-size: .77rem;
  color: var(--t2);
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
}
.rate-item strong { color: var(--t1); }
.rate-up { color: var(--ta); font-size: .7rem; font-weight: 700; }
.rate-down { color: #f43f5e; font-size: .7rem; font-weight: 700; }

/* ─── HEADER (WHITE BACKGROUND & CLEAN ELEVATION) ─────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1.5px solid var(--brd);
}
.site-header.scrolled {
  border-bottom-color: var(--brdl);
  box-shadow: 0 4px 24px rgba(0, 168, 68, 0.09);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 2.5rem;
  width: 100%;
}

/* ─── LOGO (SEAMLESS, NO BOX/OUTLINE, CRISP SCALE) ────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--fd);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--t1);
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--tf), opacity var(--tf);
}
.logo:hover {
  transform: translateY(-1px);
  opacity: .92;
}
.logo img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: block;
}
.logo em,
.logo-text em {
  font-style: normal;
  color: var(--ta);
  font-weight: 900;
}
[dir="rtl"] .logo {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  letter-spacing: 0;
}

/* ─── NAVIGATION LINKS (SPACED & POLISHED) ───────────────────────── */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: .6rem;
  margin: 0;
  padding: 0;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: .55rem 1.05rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--t2);
  border-radius: var(--rp);
  border: 1px solid transparent;
  transition: all var(--tf);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--ta);
  background: rgba(0, 200, 83, 0.08);
  border-color: var(--brd);
}

/* ─── CONTROLS & CTA BUTTONS (SPACED & ELEVATED) ─────────────────── */
.nav-controls {
  display: flex;
  align-items: center;
  gap: .95rem;
  flex-shrink: 0;
}
.icon-btn,
.theme-btn {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: var(--rp);
  background: var(--bg0);
  border: 1.5px solid var(--brd);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--t1);
  transition: all var(--tf);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 200, 83, 0.18);
}
.icon-btn:hover,
.theme-btn:hover {
  color: var(--ta);
  border-color: var(--brdl);
  background: rgba(0, 200, 83, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.15);
}
.icon-btn:active,
.theme-btn:active {
  transform: scale(0.95);
}
.icon-btn svg,
.theme-btn svg {
  display: block;
  transition: transform var(--tf);
  flex-shrink: 0;
}
.lang-wrap {
  position: relative;
}
.lang-trigger {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.05rem;
  border-radius: var(--rp);
  background: var(--bg0);
  border: 1.5px solid var(--brd);
  font-size: .88rem;
  font-weight: 600;
  color: var(--t1);
  transition: all var(--tf);
  cursor: pointer;
}
.lang-trigger:hover {
  color: var(--ta);
  border-color: var(--brdl);
  background: rgba(0, 200, 83, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.12);
}
.lang-panel {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg0);
  border: 1.5px solid var(--brdl);
  border-radius: var(--r2);
  padding: .5rem;
  min-width: 165px;
  box-shadow: var(--shf);
  z-index: 200;
  flex-direction: column;
  gap: 3px;
}
.lang-panel.open {
  display: flex;
}
.lang-opt {
  padding: .6rem .85rem;
  border-radius: var(--r1);
  font-size: .86rem;
  font-weight: 600;
  color: var(--t2);
  transition: all var(--tf);
  text-align: left;
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
}
.lang-opt:hover, .lang-opt.active {
  background: rgba(0, 200, 83, 0.12);
  color: var(--ta);
}
.lang-flag-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2.5px;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .flag-icon {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 1px 3px rgba(0, 0, 0, 0.5);
}
.mob-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r1);
  background: var(--bg0);
  border: 1.5px solid var(--brd);
  color: var(--t1);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  padding: 4.25rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg0);
}
.hero-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(100px); }
.hero-glow-1 {
  width: 520px;
  height: 520px;
  background: var(--ta);
  opacity: .12;
  top: -160px;
  right: -60px;
}
.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: #00E665;
  opacity: .08;
  bottom: -60px;
  left: -40px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 1;
  max-width: min(1440px, 94vw);
}
.hero-copy { padding-right: 1.5rem; }
.hero-phone-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-right: clamp(0.75rem, 2.5vw, 2.5rem);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--bg1);
  border: 1.5px solid var(--brdl);
  border-radius: var(--rp);
  padding: .38rem 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ta);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 168, 68, 0.1);
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ta);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: .6; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.2); } }
.hero-headline { font-family: var(--fd); font-size: clamp(2.5rem,5vw,4.1rem); font-weight: 900; line-height: 1.07; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.1rem; color: var(--t2); line-height: 1.7; margin-bottom: 2rem; max-width: 490px; }
.hero-actions { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin-bottom: 2.6rem; }

/* Store Buttons with Green Outlines */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .68rem 1.25rem;
  border-radius: var(--r2);
  background: var(--bg1);
  border: 2px solid var(--brd);
  color: var(--t1);
  box-shadow: 0 2px 8px rgba(0, 168, 68, 0.06);
  transition: all var(--tf);
}
.store-btn:hover {
  border-color: var(--brdl);
  color: var(--ta);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 200, 83, 0.16);
}
.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.sl { line-height: 1.25; }
.sl span { display: block; font-size: .67rem; font-weight: 600; color: var(--t3); text-transform: uppercase; letter-spacing: .06em; }
.sl strong { font-size: .93rem; font-weight: 700; }
.hero-stats { display: flex; gap: 2.5rem; padding-top: 1.8rem; border-top: 1.5px solid var(--brd); }
.stat strong { display: block; font-family: var(--fd); font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: var(--t1); }
.stat span { font-size: .8rem; color: var(--t3); }

.hero-visual { position: relative; display: flex; justify-content: center; }

/* ─── SAMSUNG GALAXY A15 MOCKUP ───────────────────────────────────── */

/* Outer wrapper — centers the phone + accounts for side buttons */
.sa15-wrap,
.samsung-a15-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
  filter: drop-shadow(0 28px 50px rgba(0, 168, 68, 0.22)) drop-shadow(0 6px 16px rgba(0,0,0,0.10));
  transition: filter var(--tm), transform var(--tm);
}
.sa15-wrap:hover,
.samsung-a15-wrap:hover {
  filter: drop-shadow(0 36px 64px rgba(0, 168, 68, 0.32)) drop-shadow(0 8px 22px rgba(0,0,0,0.14));
  transform: translateY(-6px);
}

/* Phone body — Galaxy A15 aspect ratio ~2.11:1 (161.8mm × 76.8mm) */
.sa15-body {
  position: relative;
  width: 310px;
  background: linear-gradient(160deg, #e8e8e8 0%, #d0d0d0 40%, #c2c2c2 100%);
  border-radius: 46px;
  padding: 14px 6px 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1.5px solid rgba(255,255,255,0.6);
  box-sizing: border-box;
  /* inner highlight rim */
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.85),
    inset 0 -2px 4px rgba(0,0,0,0.15),
    inset 2px 0 4px rgba(255,255,255,0.5),
    inset -2px 0 4px rgba(0,0,0,0.12);
}
[data-theme="dark"] .sa15-body {
  background: linear-gradient(160deg, #2a2a2a 0%, #1c1c1c 40%, #141414 100%);
  border-color: rgba(255,255,255,0.12);
  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.08),
    inset 0 -2px 4px rgba(0,0,0,0.6),
    inset 2px 0 4px rgba(255,255,255,0.05),
    inset -2px 0 4px rgba(0,0,0,0.4);
}

/* Top bar (speaker area above screen) */
.sa15-topbar {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 18px;
  margin-bottom: 4px;
}

/* Earpiece / call speaker */
.sa15-speaker {
  width: 58px;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #a0a0a0, #b8b8b8, #a0a0a0);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.35), 0 1px 1px rgba(255,255,255,0.4);
}
[data-theme="dark"] .sa15-speaker {
  background: linear-gradient(90deg, #333, #444, #333);
}

/* Screen container — the AMOLED display area */
.sa15-screen {
  position: relative;
  width: 100%;
  /* A15 screen ratio ~20:9, screen fills body minus top/bottom bar */
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  /* subtle screen bevel */
  box-shadow:
    inset 0 0 0 1.5px rgba(0,0,0,0.5),
    inset 0 0 12px rgba(0,0,0,0.3);
  user-select: none;
}

/* Punch-hole camera inside screen — A15 has centered top punch-hole */
.sa15-punchhole {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  background: #050505;
  border-radius: 50%;
  z-index: 30;
  pointer-events: none;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.08), inset 0 0 3px rgba(255,255,255,0.05);
}

/* Status bar (time + icons row above slides) */
.sa15-statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 20px;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
}
.sa15-time {
  font-family: var(--fm);
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .03em;
}
.sa15-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}

/* Bottom chin (below screen) */
.sa15-chin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0 4px;
}

/* USB-C port */
.sa15-usbc {
  width: 28px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #888, #aaa, #888);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4), 0 1px 1px rgba(255,255,255,0.3);
}
[data-theme="dark"] .sa15-usbc {
  background: linear-gradient(90deg, #2a2a2a, #3a3a3a, #2a2a2a);
}

/* Home gesture bar */
.sa15-home-bar {
  width: 80px;
  height: 4px;
  border-radius: 3px;
  background: rgba(0,0,0,0.25);
}
[data-theme="dark"] .sa15-home-bar {
  background: rgba(255,255,255,0.18);
}

/* ── Physical side buttons ── */
/* Volume UP */
.sa15-btn-vol-up {
  position: absolute;
  left: -4px;
  top: 130px;
  width: 4px;
  height: 36px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(to right, #b0b0b0, #c8c8c8);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), -1px 0 3px rgba(0,0,0,0.18);
}
/* Volume DOWN */
.sa15-btn-vol-dn {
  position: absolute;
  left: -4px;
  top: 176px;
  width: 4px;
  height: 36px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(to right, #b0b0b0, #c8c8c8);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), -1px 0 3px rgba(0,0,0,0.18);
}
/* Power / Lock button */
.sa15-btn-power {
  position: absolute;
  right: -4px;
  top: 150px;
  width: 4px;
  height: 52px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(to left, #b0b0b0, #c8c8c8);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.5), 1px 0 3px rgba(0,0,0,0.18);
}
[data-theme="dark"] .sa15-btn-vol-up,
[data-theme="dark"] .sa15-btn-vol-dn,
[data-theme="dark"] .sa15-btn-power {
  background: linear-gradient(to right, #222, #333);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.07), -1px 0 3px rgba(0,0,0,0.5);
}

/* ── Screen contents (single screenshot or slides) ── */
.phone-screen-single,
.phone-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 32px;
  background: #000;
}

/* ── Multi-Language Phone Screens ── */
.phone-screen-lang {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
  pointer-events: none;
  z-index: 1;
}

/* Active language display */
:root:not([lang="sw"]):not([lang="fr"]):not([lang="ar"]) .phone-screen-lang[data-screen-lang="en"],
:root[lang="en"] .phone-screen-lang[data-screen-lang="en"],
:root[lang="ar"] .phone-screen-lang[data-screen-lang="ar"],
:root[lang="sw"] .phone-screen-lang[data-screen-lang="sw"],
:root[lang="fr"] .phone-screen-lang[data-screen-lang="fr"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

:root[lang="sw"] .phone-screen-lang:not([data-screen-lang="sw"]),
:root[lang="fr"] .phone-screen-lang:not([data-screen-lang="fr"]),
:root[lang="ar"] .phone-screen-lang:not([data-screen-lang="ar"]),
:root[lang="en"] .phone-screen-lang:not([data-screen-lang="en"]) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.phone-screen-lang.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.phone-screen-img,
.phone-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

/* Light mode default */
.phone-screen-img.screen-light {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.phone-screen-img.screen-dark {
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

/* System dark mode preference (when not overridden by light data-theme) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone-screen-img.screen-light {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
  }
  :root:not([data-theme="light"]) .phone-screen-img.screen-dark {
    opacity: 1;
    visibility: visible;
    z-index: 2;
  }
}

/* Explicit site dark mode */
[data-theme="dark"] .phone-screen-img.screen-light {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1;
}
[data-theme="dark"] .phone-screen-img.screen-dark {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2;
}

/* Explicit site light mode */
[data-theme="light"] .phone-screen-img.screen-light {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 2;
}
[data-theme="light"] .phone-screen-img.screen-dark {
  opacity: 0 !important;
  visibility: hidden !important;
  z-index: 1;
}

/* ── Slide Dots ── */
.phone-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 25;
  padding: .3rem .6rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--rp);
  backdrop-filter: blur(6px);
}
.phone-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  transition: all var(--tf);
  cursor: pointer;
  padding: 0;
}
.phone-dot:hover { background: rgba(255,255,255,0.7); }
.phone-dot.active {
  width: 18px;
  border-radius: 4px;
  background: var(--ta);
  box-shadow: 0 0 8px rgba(0,200,83,0.6);
}

/* ── Swipe Nav Arrows ── */
.phone-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  z-index: 25;
  opacity: 0;
  transition: opacity var(--tf), background var(--tf), transform var(--tf);
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.sa15-screen:hover .phone-nav { opacity: 0.88; }
.phone-nav:hover {
  opacity: 1 !important;
  background: var(--ta);
  border-color: var(--ta);
  transform: translateY(-50%) scale(1.1);
}
.phone-nav.prev { left: 8px; }
.phone-nav.next { right: 8px; }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .95rem;
  background: var(--bg1);
  border: 1.5px solid var(--brdl);
  border-radius: var(--r2);
  box-shadow: var(--shf);
  z-index: 10;
  animation: floatY 5s ease-in-out infinite;
  backdrop-filter: blur(10px);
}
.float-badge:nth-child(2) { animation-delay: 1.5s; }
.float-badge:nth-child(3) { animation-delay: 3s; }
.fb-tl { top: 8%; left: -25px; }
.fb-mr { top: 42%; right: -25px; }
.fb-br { bottom: 12%; right: -18px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fb-ico {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(0, 200, 83, 0.15);
  color: var(--ta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
}
.fb-info { line-height: 1.3; }
.fb-info small { display: block; font-size: .67rem; color: var(--t3); }
.fb-info b { font-size: .83rem; font-family: var(--fm); font-weight: 600; color: var(--t1); }

/* ─── PARTNERS (GREEN OUTLINES) ─────────────────────────────────── */
.partners {
  padding: 1.8rem 0;
  background: var(--bg0);
  border-top: 1.5px solid var(--brd);
  border-bottom: 1.5px solid var(--brd);
  overflow: hidden;
}
.p-label { text-align: center; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); margin-bottom: 1.1rem; }
.p-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.p-track:hover { animation-play-state: paused; }
.p-set { display: flex; align-items: center; gap: 1.8rem; padding: 0 .9rem; }
.p-tag {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .95rem;
  border-radius: var(--rp);
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  font-size: .86rem;
  font-weight: 600;
  color: var(--t2);
  white-space: nowrap;
  transition: all var(--tf);
}
.p-tag:hover {
  color: var(--ta);
  border-color: var(--brdl);
  box-shadow: 0 2px 10px rgba(0, 168, 68, 0.12);
}

/* ─── SPLIT LAYOUT ───────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-rev { direction: rtl; }
.split-rev > * { direction: ltr; }

/* ─── CORRIDOR SIMULATOR (WHITE CARD & GREEN OUTLINES) ───────────── */
.sim-card {
  background: var(--bg1);
  border: 2px solid var(--brd);
  border-radius: var(--r4);
  padding: 2rem;
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
.sim-card:hover {
  border-color: var(--brdl);
}
.sim-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 200, 83, 0.04), transparent 55%);
  pointer-events: none;
}
.sim-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.4rem; }
.sim-title { font-family: var(--fd); font-size: 1.08rem; font-weight: 700; color: var(--t1); }
.spd-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid var(--brdl);
  color: var(--ta);
  font-size: .74rem;
  font-weight: 700;
  padding: .28rem .7rem;
  border-radius: var(--rp);
}
.inp-box {
  background: var(--bg2);
  border: 1.5px solid var(--brd);
  border-radius: var(--r2);
  padding: .95rem 1.15rem;
  margin-bottom: .55rem;
  transition: all var(--tf);
}
.inp-box:focus-within {
  border-color: var(--brdl);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.15);
}
.inp-lbl { font-size: .72rem; font-weight: 600; color: var(--t3); margin-bottom: .45rem; display: flex; justify-content: space-between; }
.inp-row { display: flex; align-items: center; gap: .7rem; }
.amt-field { font-family: var(--fm); font-size: 1.55rem; font-weight: 700; color: var(--t1); width: 100%; background: transparent; }
.curr-chip {
  display: flex;
  align-items: center;
  gap: .42rem;
  background: var(--bg2);
  border: 1.5px solid var(--brdl);
  padding: .42rem .8rem;
  border-radius: var(--rp);
  font-weight: 700;
  font-size: .88rem;
  white-space: nowrap;
  color: var(--t1);
}
.swap-row { display: flex; justify-content: center; margin: -1px 0; position: relative; z-index: 2; }
.swap-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1.5px solid var(--brdl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ta);
  transition: all var(--tf);
}
.swap-btn:hover {
  transform: rotate(180deg);
  background: var(--ta);
  color: #FFFFFF;
}
.breakdown {
  background: var(--bg3);
  border: 1px solid var(--brd);
  border-radius: var(--r2);
  padding: .85rem 1rem;
  margin: .95rem 0;
  font-size: .83rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.bd-row { display: flex; justify-content: space-between; color: var(--t2); }
.bd-row strong { color: var(--t1); }
.free-lbl { color: var(--ta); font-weight: 700; }
.rcpt-row { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: 2px; margin-bottom: 1.1rem; }
.rcpt-chip {
  display: flex;
  align-items: center;
  gap: .42rem;
  padding: .38rem .8rem;
  background: var(--bg2);
  border: 1.5px solid var(--brd);
  border-radius: var(--rp);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all var(--tf);
}
.rcpt-chip:hover, .rcpt-chip.active {
  border-color: var(--brdl);
  color: var(--ta);
  background: rgba(0, 200, 83, 0.08);
}
.rcpt-av {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--ta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .66rem;
  color: #FFFFFF;
  font-weight: 700;
}
.feature-pts { list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }
.fp { display: flex; align-items: flex-start; gap: .8rem; }
.fp-ico {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid var(--brdl);
  color: var(--ta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.fp h4 { font-size: .97rem; font-weight: 700; margin-bottom: .12rem; color: var(--t1); }
.fp p { font-size: .88rem; color: var(--t2); }

/* ─── DEBIT CARD VISUALIZER ──────────────────────────────────────── */
.card-viz { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.dcard {
  width: 100%;
  max-width: 415px;
  height: 250px;
  border-radius: 18px;
  padding: 1.55rem;
  background: var(--card-emerald);
  border: 2px solid var(--brdl);
  box-shadow: 0 16px 40px rgba(0, 168, 68, 0.2);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: all .5s var(--ease);
  transform-style: preserve-3d;
}
.dcard.white-finish {
  background: var(--card-white);
  color: #042E16;
  border: 2px solid var(--brdl);
  box-shadow: 0 16px 40px rgba(0, 168, 68, 0.15);
}
.dcard.white-finish .dc-kind {
  background: rgba(0, 168, 68, 0.12);
  color: #042E16;
  border: 1px solid var(--brdl);
}
.dcard.white-finish .emv {
  background: linear-gradient(135deg, #0A4F29, #05361B 60%, #00C853);
}
.dcard.white-finish .emv::after {
  background: rgba(255, 255, 255, 0.5);
}
.dcard.white-finish .cvv-d { color: #008738; }
.dcard.white-finish .dc-holder small,
.dcard.white-finish .dc-ev small {
  opacity: .8;
  color: #0E522C;
}

.dcard.frosted {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  color: #042E16;
  border: 2px solid var(--brdl);
}
.dcard.frozen::after {
  content: 'Card Frozen';
  position: absolute;
  inset: 0;
  background: rgba(4, 46, 22, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 1.35rem;
  font-weight: 800;
  color: #4ADE80;
  border: 2px dashed #4ADE80;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 18px;
}
.dc-top { display: flex; justify-content: space-between; align-items: center; }
.dc-brand { font-family: var(--fd); font-weight: 800; font-size: 1.1rem; }
.dc-kind {
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .17rem .52rem;
  border-radius: var(--rp);
  background: rgba(255, 255, 255, 0.2);
}
.dc-chip-row { display: flex; align-items: center; gap: .95rem; margin: .55rem 0; }
.emv {
  width: 42px;
  height: 31px;
  border-radius: 5px;
  background: linear-gradient(135deg, #FFFFFF, #B9E6C9 60%, #FFFFFF);
  border: 1px solid rgba(0, 200, 83, 0.4);
  position: relative;
}
.emv::after {
  content: '';
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(4, 46, 22, 0.35);
}
.nfc { font-size: 1.1rem; opacity: .85; }
.dc-num { font-family: var(--fm); font-size: 1.12rem; letter-spacing: .15em; }
.dc-bot { display: flex; justify-content: space-between; align-items: flex-end; }
.dc-holder small { display: block; font-size: .58rem; opacity: .75; text-transform: uppercase; letter-spacing: .08em; }
.dc-name { font-size: .88rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dc-ev { display: flex; gap: 1rem; font-family: var(--fm); font-size: .78rem; }
.dc-ev small { display: block; font-size: .57rem; opacity: .75; text-transform: uppercase; letter-spacing: .06em; }
.cvv-d { color: var(--g3); font-weight: 700; }
.dc-net { font-family: 'Georgia', serif; font-style: italic; font-size: 1.25rem; font-weight: 700; }

.card-ctrls {
  width: 100%;
  max-width: 415px;
  background: var(--bg1);
  border: 2px solid var(--brd);
  border-radius: var(--r3);
  padding: 1.1rem;
  box-shadow: var(--sh);
}
.fin-lbl {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--t3);
  margin-bottom: .65rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fin-lbl span { color: var(--ta); text-transform: none; letter-spacing: 0; font-size: .8rem; font-weight: 700; }
.swatches { display: flex; gap: .45rem; margin-bottom: 1rem; }
.sw {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all var(--tf);
}
.sw.sel {
  border-color: #FFFFFF;
  transform: scale(1.2);
  box-shadow: 0 0 0 2px var(--brdl);
}
.sw-emerald { background: var(--card-emerald); }
.sw-mint { background: var(--card-mint); }
.sw-pine { background: var(--card-pine); }
.sw-jade { background: var(--card-jade); }
.sw-white { background: var(--card-white); border: 1.5px solid var(--brd); }
.sw-frosted { background: rgba(0, 200, 83, 0.15); border: 1.5px solid var(--brdl); }

.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.qa {
  padding: .58rem .75rem;
  background: var(--bg2);
  border: 1.5px solid var(--brd);
  border-radius: var(--r1);
  font-size: .8rem;
  font-weight: 600;
  color: var(--t1);
  transition: all var(--tf);
  display: flex;
  align-items: center;
  gap: .4rem;
  justify-content: center;
}
.qa:hover {
  border-color: var(--brdl);
  color: var(--ta);
  background: rgba(0, 200, 83, 0.08);
}
.qa.frozen {
  border-color: #00C853;
  color: #00C853;
  background: rgba(0, 200, 83, 0.12);
}
.qa.s2 { grid-column: span 2; }

/* ─── UTILITIES (WHITE CARDS & GREEN OUTLINES) ───────────────────── */
.util-tabs { display: flex; justify-content: center; gap: .45rem; margin: 2.2rem 0 1.8rem; flex-wrap: wrap; }
.util-tab {
  padding: .48rem 1.15rem;
  border-radius: var(--rp);
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  font-size: .85rem;
  font-weight: 600;
  color: var(--t2);
  transition: all var(--tf);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.util-tab:hover {
  color: var(--ta);
  border-color: var(--brdl);
  background: rgba(0, 200, 83, 0.06);
}
.util-tab.active {
  background: linear-gradient(135deg, #00C853, #008738);
  color: #FFFFFF;
  font-weight: 700;
  border-color: #00C853;
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.28);
}

.util-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); gap: 1.1rem; }
.util-card {
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  border-radius: var(--r3);
  padding: 1.3rem;
  cursor: pointer;
  transition: all var(--tf);
  position: relative;
  box-shadow: var(--sh);
}
.util-card:hover {
  border-color: var(--brdl);
  transform: translateY(-2px);
  box-shadow: var(--shf);
}
.util-card.sel {
  border-color: var(--brdl);
  box-shadow: 0 0 0 2px var(--brdl);
}
.util-flag { position: absolute; top: 1.1rem; right: 1.1rem; font-size: 1.15rem; }
[dir="rtl"] .util-flag { right: auto; left: 1.1rem; }
.util-ico {
  width: 40px;
  height: 40px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid var(--brd);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: .8rem;
  color: var(--ta);
}
.util-card h4 { font-size: .92rem; font-weight: 700; margin-bottom: .2rem; color: var(--t1); }
.util-card p { font-size: .76rem; color: var(--t3); }

.token-box {
  background: var(--bg1);
  border: 2px solid var(--brd);
  border-radius: var(--r4);
  padding: 2rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--sh);
}
.tok-disp {
  font-family: var(--fm);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ta);
  background: var(--bg3);
  padding: .85rem 1.1rem;
  border-radius: var(--r2);
  text-align: center;
  letter-spacing: .1em;
  margin: .75rem 0;
  border: 1.5px solid var(--brd);
}
.receipt-panel {
  font-family: var(--fm);
  font-size: .8rem;
  color: var(--t2);
  line-height: 1.7;
  background: var(--bg3);
  border: 1.5px dashed var(--brdl);
  border-radius: var(--r2);
  padding: 1.1rem;
}

/* ─── CRYPTO (WHITE CARDS & GREEN OUTLINES) ──────────────────────── */
.coin-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin: 2.2rem 0; }
.coin-card {
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  border-radius: var(--r3);
  padding: 1.25rem;
  transition: all var(--tf);
  box-shadow: var(--sh);
}
.coin-card:hover {
  border-color: var(--brdl);
  transform: translateY(-2px);
  box-shadow: var(--shf);
}
.coin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .65rem; }
.coin-id { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .93rem; color: var(--t1); }
.coin-sym { color: var(--t3); font-size: .72rem; }
.coin-chg {
  font-size: .72rem;
  font-weight: 700;
  padding: .16rem .48rem;
  border-radius: var(--rp);
  border: 1px solid var(--brd);
}
.chg-up {
  background: rgba(0, 200, 83, 0.12);
  color: var(--ta);
  border-color: var(--brdl);
}
.coin-p { font-family: var(--fd); font-size: 1.3rem; font-weight: 800; color: var(--t1); }
.coin-l { font-family: var(--fm); font-size: .74rem; color: var(--t3); margin-top: .18rem; }
.swap-box {
  background: var(--bg1);
  border: 2px solid var(--brd);
  border-radius: var(--r4);
  padding: 2rem;
  max-width: 550px;
  margin: 0 auto;
  box-shadow: var(--sh);
}
.swap-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.1rem; }
.swap-head h3 { font-family: var(--fd); font-size: 1.08rem; font-weight: 700; color: var(--t1); }

/* ─── COMPARE TABLE (WHITE & GREEN OUTLINES) ─────────────────────── */
.compare-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.ctbl-wrap {
  background: var(--bg1);
  border: 2px solid var(--brd);
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--sh);
}
.ctbl { width: 100%; border-collapse: collapse; font-size: .87rem; }
.ctbl th, .ctbl td { padding: .88rem 1.1rem; text-align: left; }
[dir="rtl"] .ctbl th, [dir="rtl"] .ctbl td { text-align: right; }
.ctbl th {
  background: var(--bg3);
  color: var(--t3);
  font-weight: 700;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1.5px solid var(--brd);
}
.ctbl tr { border-bottom: 1px solid var(--brd); }
.ctbl tr:last-child { border-bottom: none; }
.ctbl .row-h { background: rgba(0, 200, 83, 0.08); }
.ctbl .row-h td { font-weight: 700; color: var(--t1); }
.best-bdg {
  display: inline-block;
  padding: .14rem .48rem;
  background: var(--ta);
  color: #FFFFFF;
  border-radius: var(--rp);
  font-size: .67rem;
  font-weight: 800;
  vertical-align: middle;
  margin-left: .4rem;
}
.free-v { color: var(--ta); font-weight: 700; }
.val-list { list-style: none; margin-top: 1.8rem; display: flex; flex-direction: column; gap: .8rem; }
.vl { display: flex; gap: .75rem; font-size: .93rem; color: var(--t2); }
.vl .ck { color: var(--ta); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

/* ─── SECURITY (WHITE CARDS & GREEN OUTLINES) ────────────────────── */
.sec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.1rem; margin-top: 3.2rem; }
.sec-card {
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  border-radius: var(--r3);
  padding: 1.7rem 1.4rem;
  transition: all var(--tf);
  box-shadow: var(--sh);
}
.sec-card:hover {
  border-color: var(--brdl);
  transform: translateY(-3px);
  box-shadow: var(--shf);
}
.sec-ico {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(0, 200, 83, 0.12);
  border: 1.5px solid var(--brdl);
  color: var(--ta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
.sec-card h3 { font-family: var(--fd); font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; color: var(--t1); }
.sec-card p { font-size: .86rem; color: var(--t2); line-height: 1.6; }

/* ─── TESTIMONIALS (WHITE CARDS & GREEN OUTLINES) ─────────────────── */
.t-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-top: 2.8rem; }
.t-card {
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  border-radius: var(--r4);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--tf);
  box-shadow: var(--sh);
}
.t-card:hover {
  border-color: var(--brdl);
  transform: translateY(-3px);
  box-shadow: var(--shf);
}
.t-stars { color: var(--ta); font-size: .83rem; margin-bottom: .75rem; }
.t-q { font-size: .95rem; line-height: 1.65; margin-bottom: 1.5rem; color: var(--t1); }
.t-auth { display: flex; align-items: center; gap: .75rem; }
.t-av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .88rem;
  background: rgba(0, 200, 83, 0.12);
  color: var(--ta);
  border: 2px solid var(--brdl);
}
.t-auth h4 { font-size: .88rem; font-weight: 700; color: var(--t1); }
.t-auth span { font-size: .76rem; color: var(--t3); }

/* ─── FAQ (WHITE ACCORDION & GREEN OUTLINES) ─────────────────────── */
.faq-wrap { max-width: 750px; margin: 2.8rem auto 0; display: flex; flex-direction: column; gap: .7rem; }
.faq-item {
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  border-radius: var(--r2);
  overflow: hidden;
  transition: all var(--tf);
  box-shadow: var(--sh);
}
.faq-item:hover, .faq-item.open {
  border-color: var(--brdl);
}
.faq-q {
  width: 100%;
  padding: 1.15rem 1.35rem;
  text-align: left;
  font-family: var(--fd);
  font-size: .98rem;
  font-weight: 700;
  color: var(--t1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-tog {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid var(--brdl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ta);
  font-size: .95rem;
  flex-shrink: 0;
  transition: transform var(--tf);
}
.faq-item.open .faq-tog { transform: rotate(45deg); background: var(--ta); color: #FFFFFF; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .3s ease;
  padding: 0 1.35rem;
  font-size: .91rem;
  color: var(--t2);
  line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 260px; padding-bottom: 1.35rem; }

/* ─── CTA BANNER (WHITE BACKGROUND & GREEN OUTLINE) ──────────────── */
.cta-banner {
  background: var(--bg1);
  border: 2.5px solid var(--brdl);
  border-radius: var(--r4);
  padding: 4rem 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 168, 68, 0.12);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.15), transparent 70%);
  pointer-events: none;
}
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--fd); font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 900; line-height: 1.1; letter-spacing: -.025em; margin-bottom: .75rem; color: var(--t1); }
.cta-inner p { font-size: 1.02rem; color: var(--t2); margin-bottom: 1.6rem; }
.sms-row { display: flex; gap: .55rem; max-width: 430px; }
.sms-in {
  flex: 1;
  background: var(--bg2);
  border: 1.5px solid var(--brd);
  padding: .75rem 1.05rem;
  border-radius: var(--rp);
  font-size: .9rem;
  color: var(--t1);
  transition: all var(--tf);
}
.sms-in:focus {
  border-color: var(--brdl);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.15);
  outline: none;
}
.sms-in::placeholder { color: var(--t3); }

.qr-box {
  background: var(--bg1);
  border: 2px solid var(--brdl);
  padding: 1.1rem;
  border-radius: var(--r3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
  width: max-content;
  margin: 0 auto;
  box-shadow: var(--shf);
}
.qr-box p {
  font-size: .74rem;
  color: var(--t1);
  font-weight: 700;
  text-align: center;
  max-width: 145px;
  line-height: 1.4;
}

/* ─── FOOTER (WHITE BACKGROUND & GREEN OUTLINE) ─────────────────── */
.site-footer {
  background: var(--bg0);
  border-top: 1.5px solid var(--brd);
  padding: 4.5rem 0 2.5rem;
}
.ft-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3.2rem; }
.ft-desc { color: var(--t2); font-size: .88rem; line-height: 1.65; margin: .9rem 0 1.1rem; max-width: 290px; }
.flag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.ft-col h4 { font-family: var(--fd); font-size: .93rem; font-weight: 700; margin-bottom: 1rem; color: var(--t1); }
.ft-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.ft-links a { font-size: .86rem; color: var(--t2); transition: color var(--tf); }
.ft-links a:hover { color: var(--ta); }
.ft-links span { font-size: .86rem; color: var(--t2); }
.ft-bottom {
  padding-top: 1.8rem;
  border-top: 1.5px solid var(--brd);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}
.legal { font-size: .78rem; color: var(--t3); line-height: 1.55; max-width: 660px; }
.copy { font-size: .8rem; color: var(--t3); white-space: nowrap; }

/* ─── FOOTER SOCIALS & ICONS ─────────────────────────────────────── */
.footer-socials {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .95rem;
  border-radius: var(--rp);
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  color: var(--t2);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--tf);
}
.social-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--t2);
  transition: transform var(--tf), color var(--tf);
}
.social-link:hover {
  background: rgba(0, 200, 83, 0.12);
  border-color: var(--brdl);
  color: var(--ta);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 200, 83, 0.18);
}
.social-link:hover svg {
  color: var(--ta);
  transform: scale(1.12);
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1.5px solid var(--brd);
  color: var(--t2);
  transition: all var(--tf);
}
.social-icon-btn svg {
  width: 17px;
  height: 17px;
  transition: transform var(--tf);
}
.social-icon-btn:hover {
  background: rgba(0, 200, 83, 0.15);
  border-color: var(--brdl);
  color: var(--ta);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.22);
}
.social-icon-btn:hover svg {
  transform: scale(1.15);
}

/* ─── MODALS ─────────────────────────────────────────────────────── */
.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 38, 19, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  padding-top: max(clamp(0.75rem, 3vw, 1.5rem), env(safe-area-inset-top, 0.75rem));
  padding-bottom: max(clamp(0.75rem, 3vw, 1.5rem), env(safe-area-inset-bottom, 0.75rem));
  padding-left: max(clamp(0.75rem, 3vw, 1.5rem), env(safe-area-inset-left, 0.75rem));
  padding-right: max(clamp(0.75rem, 3vw, 1.5rem), env(safe-area-inset-right, 0.75rem));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.modal-bg.open { display: flex; animation: fdIn .22s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes fdIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes panelPop {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-panel {
  background: var(--bg1);
  border: 2px solid var(--brdl);
  border-radius: var(--r4);
  padding: 2.2rem;
  max-width: 490px;
  width: 100%;
  margin: auto;
  margin-inline: auto;
  height: auto;
  min-height: min-content;
  max-height: calc(100dvh - 2rem);
  max-height: min(92dvh, calc(100vh - 2rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 168, 68, 0.22);
  box-sizing: border-box;
  animation: panelPop .24s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-panel .h-md {
  padding-right: 2.6rem;
  word-break: break-word;
}
[dir="rtl"] .modal-panel .h-md {
  padding-right: 0;
  padding-left: 2.6rem;
}
.modal-x {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid var(--brd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--t2);
  transition: all var(--tf);
  z-index: 10;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
}
.modal-x:hover { color: var(--ta); border-color: var(--brdl); background: rgba(0, 200, 83, 0.18); }
[dir="rtl"] .modal-x { right: auto; left: 1rem; }

/* ─── CONTACT ACTION MODAL & BUTTONS ─────────────────────────────── */
.contact-modal-actions {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin: 1.4rem 0 1rem;
}
.btn-contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .85rem 1.4rem;
  border-radius: var(--r2);
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--tf);
  border: 1.5px solid transparent;
  width: 100%;
  box-sizing: border-box;
}
.btn-contact-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  border-color: #20bd5a;
}
.btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.btn-gmail {
  background: #ea4335;
  color: #fff !important;
  border-color: #d33828;
}
.btn-gmail:hover {
  background: #d33828;
  box-shadow: 0 8px 22px rgba(234, 67, 53, 0.35);
}
.btn-phone-call {
  background: var(--ta);
  color: #000 !important;
  border-color: var(--ta);
}
.btn-phone-call:hover {
  background: #00e65e;
  box-shadow: 0 8px 22px rgba(0, 200, 83, 0.35);
}
.btn-default-email {
  background: var(--bg2);
  color: var(--t1) !important;
  border-color: var(--brdl);
}
.btn-default-email:hover {
  border-color: var(--ta);
  color: var(--ta) !important;
}
.contact-value-box {
  background: var(--bg2);
  border: 1.5px dashed var(--brdl);
  border-radius: var(--r2);
  padding: .75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-family: var(--fm);
  font-size: .92rem;
  color: var(--t1);
  margin-top: .8rem;
}
.contact-copy-btn {
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid var(--brd);
  color: var(--ta);
  padding: .35rem .75rem;
  border-radius: var(--rp);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--tf);
}
.contact-copy-btn:hover {
  background: var(--ta);
  color: #000;
}
.badge-contact {
  display: inline-block;
  font-size: .68rem;
  padding: .15rem .45rem;
  border-radius: 4px;
  background: rgba(0, 200, 83, 0.12);
  color: var(--ta);
  border: 1px solid rgba(0, 200, 83, 0.25);
  margin-left: .4rem;
  font-weight: 700;
  vertical-align: middle;
}
[dir="rtl"] .badge-contact {
  margin-left: 0;
  margin-right: .4rem;
}

/* ─── TOASTS ─────────────────────────────────────────────────────── */
.toasts { position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 9999; display: flex; flex-direction: column; gap: .55rem; pointer-events: none; }
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 1.1rem;
  background: var(--bg1);
  border: 1.5px solid var(--brdl);
  border-radius: var(--r2);
  font-size: .86rem;
  font-weight: 600;
  color: var(--t1);
  box-shadow: var(--shf);
  animation: toIn .3s var(--ease);
}
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ta); flex-shrink: 0; box-shadow: 0 0 6px var(--ta); }
@keyframes toIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ─── INVESTOR PORTAL SECTIONS ──────────────────────────────────── */
.investor-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  background: rgba(0, 200, 83, 0.12);
  border: 1.5px solid var(--brdl);
  border-radius: var(--rp);
  font-size: .8rem;
  font-weight: 700;
  color: var(--ta);
  margin-bottom: 1.2rem;
}
.investor-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ta);
  box-shadow: 0 0 10px var(--ta);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(0.95); opacity: 1; }
}

/* Market Opportunity / Problem Cards */
.opp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.8rem; }
.opp-card {
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  border-radius: var(--r3);
  padding: 2rem 1.6rem;
  transition: all var(--tf);
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
}
.opp-card:hover {
  border-color: var(--brdl);
  transform: translateY(-3px);
  box-shadow: var(--shf);
}
.opp-num {
  font-family: var(--fm);
  font-size: .85rem;
  font-weight: 700;
  color: var(--ta);
  margin-bottom: .8rem;
  display: inline-block;
}
.opp-stat {
  font-family: var(--fd);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--t1);
  margin-bottom: .5rem;
  line-height: 1.2;
}
.opp-card h3 { font-family: var(--fd); font-size: 1.12rem; font-weight: 700; margin-bottom: .6rem; color: var(--t1); }
.opp-card p { font-size: .88rem; color: var(--t2); line-height: 1.6; }

/* ─── BUSINESS MODEL & UNIT ECONOMICS ───────────────────────────── */
.bm-zero-card {
  background: var(--bg2);
  border: 2px solid var(--brdl);
  border-radius: var(--r3);
  padding: 2.2rem 2.4rem;
  margin-top: 2.8rem;
  box-shadow: 0 4px 24px rgba(0, 200, 83, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}
.bm-zero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .32rem .85rem;
  border-radius: var(--rp);
  background: rgba(0, 200, 83, 0.12);
  color: var(--ta);
  font-family: var(--fm);
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .75rem;
  border: 1px solid var(--brdl);
}
.bm-zero-price {
  font-family: var(--fd);
  font-size: 3rem;
  font-weight: 900;
  color: var(--ta);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}
.bm-zero-price small {
  display: block;
  font-size: .84rem;
  font-family: var(--fb);
  font-weight: 600;
  color: var(--t2);
  margin-top: .4rem;
}

.bm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.bm-card {
  background: var(--bg2);
  border: 1.5px solid var(--brd);
  border-radius: var(--r3);
  padding: 2.2rem 1.8rem;
  transition: all var(--tf);
  box-shadow: var(--sh);
  display: flex;
  flex-direction: column;
}
.bm-card:hover {
  border-color: var(--brdl);
  transform: translateY(-3px);
  box-shadow: var(--shf);
}
.bm-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(0, 200, 83, 0.12);
  border: 1.5px solid var(--brdl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  color: var(--ta);
}
.bm-ico-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}
[data-theme="dark"] .bm-ico-invert {
  filter: brightness(0) invert(1);
}
.bm-card h3 {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: .6rem;
  color: var(--t1);
}
.bm-card .bm-rate {
  font-family: var(--fm);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ta);
  margin-bottom: .6rem;
}
.bm-card p {
  font-size: .88rem;
  color: var(--t2);
  line-height: 1.6;
}
.bm-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--brd);
}
.bm-list li {
  font-size: .84rem;
  color: var(--t2);
  line-height: 1.55;
  position: relative;
  padding-left: 1.2rem;
}
.bm-list li::before {
  content: '•';
  color: var(--ta);
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}
.bm-list li strong {
  color: var(--t1);
  display: block;
  margin-bottom: .15rem;
}

/* ─── Business Model Table ─── */
.bm-table-section {
  margin-top: 3.5rem;
}
.bm-table-header {
  text-align: center;
  margin-bottom: 1.6rem;
}
.bm-table-tag {
  display: inline-block;
  font-family: var(--fm);
  font-size: .78rem;
  font-weight: 700;
  color: var(--ta);
  letter-spacing: .08em;
  margin-bottom: .4rem;
}
.bm-table-section .ctbl-wrap {
  background: var(--bg2);
  max-width: 900px;
  margin: 0 auto;
}

/* Roadmap Timeline */
.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.roadmap-card {
  background: var(--bg1);
  border: 1.5px solid var(--brd);
  border-radius: var(--r3);
  padding: 2rem 1.7rem;
  position: relative;
  box-shadow: var(--sh);
  transition: all var(--tf);
}
.roadmap-card:hover {
  border-color: var(--brdl);
  transform: translateY(-3px);
  box-shadow: var(--shf);
}
.roadmap-card.active-phase {
  border-color: var(--brdl);
  box-shadow: 0 0 0 2px var(--brdl), var(--shf);
}
.phase-tag {
  display: inline-block;
  font-family: var(--fm);
  font-size: .75rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: var(--rp);
  background: rgba(0, 200, 83, 0.12);
  color: var(--ta);
  border: 1px solid var(--brdl);
  margin-bottom: 1rem;
}
.roadmap-card h3 { font-family: var(--fd); font-size: 1.2rem; font-weight: 800; margin-bottom: .8rem; color: var(--t1); }
.roadmap-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.roadmap-list li {
  font-size: .86rem;
  color: var(--t2);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.roadmap-list li::before {
  content: '✓';
  color: var(--ta);
  font-weight: 800;
  font-size: .85rem;
}

/* Investor Pitch Form inside Modal */
.inv-form-group { margin-bottom: 0.95rem; text-align: left; }
.inv-form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--t1); margin-bottom: .35rem; }
.inv-input, .inv-select {
  width: 100%;
  box-sizing: border-box;
  padding: .75rem 1rem;
  background: var(--bg3);
  border: 1.5px solid var(--brd);
  border-radius: var(--r1);
  font-size: .92rem;
  color: var(--t1);
  min-height: 44px;
  height: auto;
  transition: all var(--tf);
}
.inv-input:focus, .inv-select:focus, .inv-textarea:focus {
  border-color: var(--brdl);
  box-shadow: 0 0 0 3px rgba(0, 200, 83, 0.15);
  outline: none;
}
.inv-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: .75rem 1rem;
  background: var(--bg3);
  border: 1.5px solid var(--brd);
  border-radius: var(--r1);
  font-size: .92rem;
  color: var(--t1);
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  max-height: 180px;
  height: auto;
  transition: all var(--tf);
}
.inv-note { font-size: .76rem; color: var(--t3); line-height: 1.45; margin-top: .75rem; text-align: center; }
.doc-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .35rem .85rem;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid var(--brdl);
  border-radius: var(--rp);
  font-size: .8rem;
  color: var(--ta);
  font-weight: 700;
  margin-bottom: .9rem;
}

/* ─── CONTACT & SUPABASE REACH-OUT SECTION ──────────────────────── */
.contact-wrap {
  max-width: 680px;
  margin: 3.2rem auto 0;
  width: 100%;
}
.contact-form-card {
  background: var(--bg2);
  border: 2px solid var(--brdl);
  border-radius: var(--r4);
  padding: 2.8rem 2.4rem;
  box-shadow: var(--shf);
}
.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── FOOTER FLAG PILLS (6 EAST AFRICAN NATIONS) ─────────────────── */
.flag-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.1rem;
}
.flag-t {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .75rem;
  border-radius: var(--rp);
  background: var(--bg3);
  border: none;
  outline: none;
  box-shadow: none;
  font-size: .8rem;
  font-weight: 700;
  color: var(--t1);
  transition: all var(--tf);
}
.flag-t:hover {
  border: none;
  outline: none;
  background: rgba(0, 200, 83, 0.16);
  color: var(--ta);
  transform: translateY(-1px);
}
.flag-ico {
  font-size: 1rem;
  line-height: 1;
}
.flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* ─── SAFE AREA INSETS (IPHONE NOTCH & HOME BAR SUPPORT) ────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }
  .site-footer {
    padding-bottom: calc(2.2rem + env(safe-area-inset-bottom, 0px));
  }
  .cookie-banner {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .floating-cookie-trigger {
    bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  }
  .toasts {
    bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  }
}

.mob-menu-cta { display: none; }

/* ─── TABLETS & IPADS (max-width: 1024px) ────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .mob-btn { display: flex; }
  .nav-links.mob-open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    background: var(--bg0);
    border-bottom: 2px solid var(--brdl);
    padding: 1.25rem 1.5rem;
    gap: .4rem;
    box-shadow: 0 16px 36px rgba(0, 168, 68, 0.22);
    z-index: 99;
  }
  .nav-links.mob-open a {
    padding: .75rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
    border-radius: var(--r1);
    min-height: 44px;
    align-items: center;
  }
  .mob-menu-cta {
    display: block;
    width: 100%;
    margin-top: .4rem;
  }
  .mob-menu-cta a {
    background: var(--ta) !important;
    color: var(--g-black) !important;
    font-weight: 700 !important;
    justify-content: center;
    text-align: center;
  }

  .split, .hero-layout, .compare-layout, .cta-inner, .contact-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-copy {
    padding-right: 0;
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-phone-col {
    justify-content: center;
    padding-right: 0;
  }
  .split-rev { direction: ltr; }
  .sec-grid, .coin-grid, .opp-grid, .bm-grid, .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
  }
  .ft-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .t-grid { grid-template-columns: 1fr; }
  .float-badge { display: none; }
  .token-box { grid-template-columns: 1fr; }
  .sa15-body {
    max-width: 310px;
    margin: 0 auto;
  }
}

/* ─── PHONES & SMALL TABLETS (max-width: 768px) ──────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4.2rem 0; }
  .section-hd { padding: 0 .4rem; }

  /* iOS Safari input zoom lock: minimum 16px font-size */
  input, select, textarea,
  .inv-input, .inv-select, .inv-textarea {
    font-size: 16px !important;
    min-height: 48px;
  }

  .hero {
    padding: 2.8rem 0 3.8rem;
  }
  .hero-headline {
    font-size: clamp(2.1rem, 7.8vw, 3rem);
    line-height: 1.12;
  }
  .hero-sub {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 1.8rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: .75rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: .85rem 1.4rem;
    min-height: 48px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    width: 100%;
    text-align: left;
    padding-top: 1.5rem;
  }
  [dir="rtl"] .hero-stats {
    text-align: right;
  }
  .stat strong {
    font-size: 1.4rem;
  }
  .stat span {
    font-size: .78rem;
  }

  .sa15-wrap {
    max-width: 100%;
  }
  .sa15-body {
    width: min(295px, 86vw);
    margin: 0 auto;
  }

  .sec-grid, .coin-grid, .opp-grid, .bm-grid, .roadmap-grid, .form-row-dual {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .opp-card, .bm-card, .roadmap-card, .contact-form-card {
    padding: 1.6rem 1.25rem;
    border-radius: var(--r2);
  }
  .bm-zero-card {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1.6rem 1.25rem;
    text-align: center;
  }
  .bm-zero-price {
    text-align: center;
  }
  .ft-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .cta-banner {
    padding: 2.4rem 1.3rem;
    border-radius: var(--r3);
    text-align: center;
  }
  .cta-inner {
    text-align: center;
  }
  .sms-row { flex-direction: column; }

  /* Header Nav Controls & Dark Mode Button Scaling on Mobile */
  .site-header .nav-wrap {
    height: 70px;
    gap: 0.75rem;
  }
  .nav-controls {
    gap: 0.5rem;
  }
  .icon-btn,
  .theme-btn,
  #themeBtn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .icon-btn svg,
  .theme-btn svg,
  #themeBtn svg {
    width: 16px;
    height: 16px;
  }
  .mob-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }
  .lang-trigger {
    padding: .45rem .75rem;
    font-size: .84rem;
    min-height: 38px;
  }
  #navGetBtn {
    display: none;
  }

  /* Modals on Phones: Horizontally Centered, Dynamic Scale, Zero Fixed-Height Lock */
  .modal-bg {
    padding: clamp(0.6rem, 3vw, 1rem);
    padding-top: max(clamp(0.6rem, 3vw, 1rem), env(safe-area-inset-top, 0.6rem));
    padding-bottom: max(clamp(0.6rem, 3vw, 1rem), env(safe-area-inset-bottom, 0.6rem));
    padding-left: max(clamp(0.6rem, 3vw, 1rem), env(safe-area-inset-left, 0.6rem));
    padding-right: max(clamp(0.6rem, 3vw, 1rem), env(safe-area-inset-right, 0.6rem));
    align-items: center;
    justify-content: center;
  }
  .modal-panel {
    width: 100%;
    max-width: 480px;
    margin: auto;
    margin-inline: auto;
    height: auto;
    min-height: min-content;
    max-height: calc(100dvh - 1.5rem);
    max-height: min(94dvh, calc(100vh - 1.5rem));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.55rem 1.25rem;
    border-radius: var(--r3);
    box-shadow: 0 16px 40px rgba(0, 168, 68, 0.28);
  }
  .modal-panel .h-md {
    font-size: 1.25rem;
    line-height: 1.3;
    padding-right: 2.6rem;
  }
  [dir="rtl"] .modal-panel .h-md {
    padding-right: 0;
    padding-left: 2.6rem;
  }
  .modal-panel .muted {
    font-size: .82rem !important;
    margin-bottom: 1.1rem !important;
  }
  .modal-x {
    top: .75rem;
    right: .75rem;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 1.05rem;
  }
  [dir="rtl"] .modal-x {
    right: auto;
    left: .75rem;
  }
  .inv-form-group {
    margin-bottom: .75rem;
  }
  .inv-form-group label {
    font-size: .8rem;
    margin-bottom: .28rem;
  }
  .inv-input, .inv-select {
    padding: .65rem .85rem;
    min-height: 44px;
    font-size: 16px !important;
  }
  .inv-textarea {
    padding: .65rem .85rem;
    min-height: 74px;
    max-height: 130px;
    font-size: 16px !important;
  }
  .modal-panel .btn {
    min-height: 46px;
    padding: .75rem 1.2rem;
    font-size: .92rem;
  }

  /* Floating Cookie Trigger */
  .floating-cookie-trigger {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 1rem;
    width: 38px;
    height: 38px;
  }
  [dir="rtl"] .floating-cookie-trigger {
    left: auto;
    right: 1rem;
  }

  /* Legal Policies on Mobile */
  .legal-wrap {
    padding: 2rem 1rem 4.5rem;
  }
  .legal-card-section {
    padding: 1.6rem 1.2rem;
    border-radius: var(--r2);
    margin-bottom: 1.8rem;
  }
  .legal-card-section h2 {
    font-size: 1.35rem;
  }
  .legal-tabs {
    padding: .4rem .6rem;
    -webkit-overflow-scrolling: touch;
  }
  .legal-tab {
    padding: .45rem .85rem;
    font-size: .8rem;
    min-height: 42px;
  }
}

/* ─── EXTRA SMALL PHONES & IPHONE SE (max-width: 480px) ─────────── */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .site-header .nav-wrap {
    height: 64px;
    gap: 0.5rem;
  }
  .nav-controls {
    gap: 0.38rem;
  }
  .icon-btn,
  .theme-btn,
  #themeBtn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
  .icon-btn svg,
  .theme-btn svg,
  #themeBtn svg {
    width: 15px;
    height: 15px;
  }
  .mob-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }
  .lang-trigger {
    padding: .4rem .6rem;
    font-size: .78rem;
    min-height: 36px;
    gap: .35rem;
  }
  .logo img {
    height: 38px;
  }
  .logo-text {
    font-size: 1.15rem;
  }
  .legal-back-btn {
    padding: .4rem .65rem !important;
    font-size: .78rem !important;
    min-height: 36px;
  }

  /* Modals on Small Screens: Full width clamp, no fixed-height lock */
  .modal-bg {
    padding: 0.5rem;
    padding-top: max(0.5rem, env(safe-area-inset-top, 0.5rem));
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0.5rem));
    padding-left: max(0.5rem, env(safe-area-inset-left, 0.5rem));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0.5rem));
  }
  .modal-panel {
    padding: 1.35rem 1rem;
    border-radius: var(--r2);
    max-height: calc(100dvh - 1rem);
    max-height: min(95dvh, calc(100vh - 1rem));
  }
  .modal-panel .h-md {
    font-size: 1.15rem;
    padding-right: 2.4rem;
  }
  [dir="rtl"] .modal-panel .h-md {
    padding-right: 0;
    padding-left: 2.4rem;
  }
  .modal-panel .muted {
    font-size: .8rem !important;
    margin-bottom: .95rem !important;
  }
  .modal-x {
    top: .65rem;
    right: .65rem;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    font-size: 1rem;
  }
  [dir="rtl"] .modal-x {
    right: auto;
    left: .65rem;
  }
  .inv-form-group {
    margin-bottom: .62rem;
  }
  .inv-form-group label {
    font-size: .78rem;
    margin-bottom: .22rem;
  }
  .inv-input, .inv-select {
    padding: .6rem .75rem;
    min-height: 42px;
  }
  .inv-textarea {
    padding: .6rem .75rem;
    min-height: 68px;
    max-height: 115px;
  }
  .modal-panel .btn {
    min-height: 44px;
    padding: .68rem 1rem;
    font-size: .88rem;
  }

  .hero-headline {
    font-size: 1.95rem;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  .stat strong {
    font-size: 1.35rem;
  }
  .rates-set {
    gap: 1.5rem;
  }
  .sa15-body {
    width: min(265px, 86vw);
  }
  .h-xl { font-size: 1.95rem; }
  .h-lg { font-size: 1.6rem; }
  .h-md { font-size: 1.25rem; }
  .cookie-cat-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }
  .cookie-cat-header .cookie-switch,
  .cookie-cat-header .cookie-badge-locked {
    align-self: flex-end;
  }
}

@media (max-width: 340px) {
  .container { padding: 0 .75rem; }
  .site-header .nav-wrap {
    height: 60px;
    gap: 0.3rem;
  }
  .nav-controls {
    gap: 0.25rem;
  }
  .icon-btn,
  .theme-btn,
  #themeBtn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
  .icon-btn svg,
  .theme-btn svg,
  #themeBtn svg {
    width: 14px;
    height: 14px;
  }
  .mob-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }
  .lang-trigger {
    padding: .32rem .48rem;
    font-size: .74rem;
    min-height: 34px;
  }
  .logo img {
    height: 32px;
  }
  .logo-text {
    font-size: 1.05rem;
  }
  .legal-back-btn {
    padding: .35rem .5rem !important;
    font-size: .74rem !important;
    min-height: 34px;
  }
  .modal-panel {
    padding: 1.15rem .8rem;
  }
  .modal-panel .h-md {
    font-size: 1.05rem;
    padding-right: 2.2rem;
  }
  [dir="rtl"] .modal-panel .h-md {
    padding-right: 0;
    padding-left: 2.2rem;
  }
  .modal-x {
    top: .55rem;
    right: .55rem;
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: .95rem;
  }
  [dir="rtl"] .modal-x {
    right: auto;
    left: .55rem;
  }
  .sa15-body { width: 245px; }
  .btn { padding: .65rem .95rem; font-size: .82rem; }
}

/* Prevent Flash of Untranslated Content (FOUC) when switching pages */
html.i18n-pending body {
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ─── COOKIE CONSENT BANNER & PREFERENCES MODAL ─────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
  z-index: 950;
  background: var(--bg1);
  border: 1.5px solid var(--brdl);
  border-radius: var(--r3);
  box-shadow: 0 16px 45px rgba(0, 168, 68, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(.22,1,.36,1), opacity 0.45s ease;
}
.cookie-banner.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  flex: 1;
}
.cookie-banner-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 200, 83, 0.12);
  border: 1.5px solid var(--brdl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ta);
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 200, 83, 0.25);
}
.cookie-banner-text h4 {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-banner-text p {
  font-size: 0.88rem;
  color: var(--t2);
  line-height: 1.55;
  margin-bottom: 0.4rem;
}
.cookie-banner-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ta);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--tf);
}
.cookie-banner-link:hover {
  color: var(--g-bright);
}
.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-banner-actions .btn {
  padding: 0.65rem 1.15rem;
  font-size: 0.86rem;
  white-space: nowrap;
}

/* Floating Cookie Trigger (accessible anytime) */
.floating-cookie-trigger {
  position: fixed;
  bottom: 1.6rem;
  left: 1.6rem;
  z-index: 940;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg1);
  border: 1.5px solid var(--brdl);
  box-shadow: 0 4px 16px rgba(0, 168, 68, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ta);
  cursor: pointer;
  transition: all var(--tf);
}
.floating-cookie-trigger:hover {
  transform: scale(1.1);
  background: rgba(0, 200, 83, 0.15);
  box-shadow: 0 0 16px var(--brdg);
}
[dir="rtl"] .floating-cookie-trigger {
  left: auto;
  right: 1.6rem;
}
[dir="rtl"] .cookie-banner {
  text-align: right;
}
[dir="rtl"] .cookie-banner-actions {
  flex-direction: row-reverse;
}

/* Preferences Modal Layout */
.cookie-modal-panel {
  max-width: 620px;
  width: 100%;
  margin: auto;
  margin-inline: auto;
  height: auto;
  min-height: min-content;
  max-height: calc(100dvh - 2rem);
  max-height: min(90dvh, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.cookie-modal-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 0.4rem 0.2rem;
  margin: 0.95rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-height: 0;
  scrollbar-width: thin;
}
.cookie-cat-card {
  background: var(--bg0);
  border: 1.5px solid var(--brd);
  border-radius: var(--r2);
  padding: 1.15rem 1.3rem;
  transition: border-color var(--tf), box-shadow var(--tf);
}
.cookie-cat-card:hover {
  border-color: var(--brdl);
  box-shadow: 0 4px 16px rgba(0, 168, 68, 0.08);
}
.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  gap: 1rem;
}
.cookie-cat-title {
  font-family: var(--fd);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.cookie-cat-desc {
  font-size: 0.84rem;
  color: var(--t2);
  line-height: 1.55;
  margin: 0;
}
.cookie-badge-locked {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--rp);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ta);
  background: rgba(0, 200, 83, 0.12);
  border: 1px solid var(--brdl);
  font-family: var(--fm);
}

/* Custom High-Tech Toggle Switch */
.cookie-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
  flex-shrink: 0;
}
.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--bg2);
  border: 1.5px solid var(--brd);
  border-radius: 24px;
  transition: all var(--tf);
}
.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: var(--t2);
  border-radius: 50%;
  transition: all var(--tf);
}
.cookie-switch input:checked + .cookie-slider {
  background-color: var(--g-deep);
  border-color: var(--brdg);
  box-shadow: 0 0 10px rgba(0, 230, 101, 0.35);
}
.cookie-switch input:checked + .cookie-slider:before {
  transform: translateX(22px);
  background-color: var(--g-bright);
  box-shadow: 0 0 6px var(--g-bright);
}
.cookie-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1.5px solid var(--brd);
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1.2rem 1.4rem;
    gap: 1.2rem;
  }
  .cookie-banner-actions {
    justify-content: stretch;
  }
  .cookie-banner-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
  .cookie-modal-panel {
    max-height: calc(100dvh - 1.5rem);
    padding: 1.45rem 1.15rem;
  }
  .cookie-modal-footer {
    justify-content: stretch;
    gap: 0.6rem;
  }
  .cookie-modal-footer .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .cookie-modal-panel {
    padding: 1.2rem 0.95rem;
  }
  .cookie-modal-body {
    gap: 0.65rem;
    margin: 0.7rem 0;
  }
  .cookie-cat-card {
    padding: 0.8rem 0.85rem;
  }
  .cookie-cat-title {
    font-size: 0.9rem;
  }
  .cookie-cat-desc {
    font-size: 0.78rem;
  }
  .cookie-modal-footer {
    flex-direction: column-reverse;
    gap: 0.5rem;
  }
  .cookie-modal-footer .btn {
    width: 100%;
    min-height: 44px;
  }
}
