/* =========================================================
   INDIA P2P PROCESSING — Design System
   Soft UI / Claymorphism + Glass + Fintech SaaS
   Author: Travis (indiap2pprocessing)
   ========================================================= */

/* ---------- 1. RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul, ol { list-style: none; }

img, svg, video, iframe {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

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

/* ---------- 2. TOKENS ---------- */
:root {
  /* brand */
  --accent:        #3B82F6;
  --accent-2:      #6EC1FF;
  --accent-3:      #8B5CF6;
  --mint:          #2DD4BF;
  --gold:          #FFC46B;
  --danger:        #FF6B81;

  --grad-brand: linear-gradient(135deg, #3B82F6 0%, #6EC1FF 50%, #8B5CF6 100%);
  --grad-mint:  linear-gradient(135deg, #2DD4BF 0%, #3B82F6 100%);
  --grad-gold:  linear-gradient(135deg, #FFC46B 0%, #FF8A5B 100%);

  /* dark theme (default) */
  --bg:            #05080F;
  --bg-2:          #080D1A;
  --surface:       rgba(255, 255, 255, .045);
  --surface-2:     rgba(255, 255, 255, .075);
  --surface-solid: #0C1322;
  --stroke:        rgba(255, 255, 255, .09);
  --stroke-strong: rgba(255, 255, 255, .16);

  --text:          #EEF3FF;
  --text-soft:     #B7C4E0;
  --text-mute:     #7C8AAB;

  --clay-light: rgba(255, 255, 255, .10);
  --clay-dark:  rgba(0, 0, 0, .55);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
  --shadow-md: 0 18px 40px -18px rgba(0,0,0,.75);
  --shadow-lg: 0 42px 90px -30px rgba(0,0,0,.85);
  --glow:      0 0 0 1px rgba(59,130,246,.35), 0 18px 60px -12px rgba(59,130,246,.45);

  /* geometry */
  --r-xs: 12px;
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-xl: 40px;
  --r-pill: 999px;

  --container: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 140px);

  /* type */
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, .05, .36, 1);
}

/* light theme */
:root[data-theme="light"] {
  --bg:            #EEF2FA;
  --bg-2:          #E4EAF6;
  --surface:       rgba(255, 255, 255, .78);
  --surface-2:     #FFFFFF;
  --surface-solid: #FFFFFF;
  --stroke:        rgba(16, 32, 66, .08);
  --stroke-strong: rgba(16, 32, 66, .16);

  --text:          #0E1729;
  --text-soft:     #3D4A63;
  --text-mute:     #6B7997;

  --clay-light: rgba(255, 255, 255, .95);
  --clay-dark:  rgba(23, 44, 87, .13);

  --shadow-sm: 0 2px 8px rgba(23,44,87,.08);
  --shadow-md: 0 22px 44px -22px rgba(23,44,87,.30);
  --shadow-lg: 0 46px 90px -34px rgba(23,44,87,.36);
  --glow:      0 0 0 1px rgba(59,130,246,.22), 0 20px 60px -16px rgba(59,130,246,.36);
}

/* ---------- 3. BASE ---------- */
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(15px, 1.05vw, 16.5px);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background .5s var(--ease), color .5s var(--ease);
}

/* ambient background */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 78% -10%, rgba(59,130,246,.26), transparent 62%),
    radial-gradient(900px 600px at 8% 12%, rgba(139,92,246,.20), transparent 60%),
    radial-gradient(900px 700px at 50% 108%, rgba(45,212,191,.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
:root[data-theme="light"] .bg-canvas {
  background:
    radial-gradient(1100px 640px at 80% -8%, rgba(59,130,246,.28), transparent 60%),
    radial-gradient(860px 560px at 6% 10%, rgba(139,92,246,.18), transparent 58%),
    radial-gradient(900px 700px at 50% 108%, rgba(45,212,191,.20), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, #F6F9FF 50%, var(--bg-2) 100%);
}

.bg-canvas::after {
  content: "";
  position: absolute;
  inset: -40%;
  background-image:
    linear-gradient(var(--stroke) 1px, transparent 1px),
    linear-gradient(90deg, var(--stroke) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(closest-side at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(closest-side at 50% 40%, #000 25%, transparent 78%);
  opacity: .5;
}

.orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none;
  animation: float-orb 22s var(--ease-io) infinite;
}
.orb--1 { width: 420px; height: 420px; top: -80px; right: -60px; background: radial-gradient(circle at 30% 30%, #3B82F6, transparent 70%); }
.orb--2 { width: 380px; height: 380px; top: 42%; left: -120px; background: radial-gradient(circle at 40% 40%, #8B5CF6, transparent 70%); animation-delay: -7s; }
.orb--3 { width: 340px; height: 340px; bottom: 4%; right: 6%; background: radial-gradient(circle at 50% 50%, #2DD4BF, transparent 70%); animation-delay: -14s; }

@keyframes float-orb {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33%      { transform: translate3d(-40px, 44px, 0) scale(1.12); }
  66%      { transform: translate3d(34px, -30px, 0) scale(.92); }
}

/* ---------- 4. LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 90px); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0,1fr)); }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 42px; }

/* ---------- 5. TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 4.5rem); }
/* Russian compounds are much longer than the English source — keep the hero
   headline inside its column instead of letting it run under the photo */
:root[data-lang="ru"] .hero h1 { font-size: clamp(2.1rem, 4.7vw, 3.5rem); }
h1, h2, h3 { overflow-wrap: break-word; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.25; }
h4 { font-size: 1.06rem; line-height: 1.35; }

p { color: var(--text-soft); }
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--text-soft);
  max-width: 68ch;
  text-wrap: pretty;
}
.muted { color: var(--text-mute); }
.small { font-size: .875rem; }
.mono { font-family: var(--font-mono); letter-spacing: -.02em; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(45,212,191,.20);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(45,212,191,.22); }
  50%      { box-shadow: 0 0 0 8px rgba(45,212,191,0); }
}

.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin-top: 18px; }

/* ---------- 6. CLAY / GLASS SURFACES ---------- */
.clay {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  box-shadow:
    inset 2px 3px 0 var(--clay-light),
    inset -2px -4px 0 var(--clay-dark),
    var(--shadow-md);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.glass {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.card {
  position: relative;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--stroke);
  box-shadow:
    inset 2px 3px 0 var(--clay-light),
    inset -2px -4px 0 var(--clay-dark),
    var(--shadow-md);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s var(--ease);
}
.card::before {
  /* cursor spotlight */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(110,193,255,.16), transparent 60%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--stroke-strong); box-shadow: inset 2px 3px 0 var(--clay-light), inset -2px -4px 0 var(--clay-dark), var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card__icon {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 20px;
  background: linear-gradient(150deg, rgba(59,130,246,.22), rgba(139,92,246,.16));
  border: 1px solid var(--stroke);
  box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark);
  color: var(--accent-2);
  flex: none;
}
.card__icon svg { width: 25px; height: 25px; }
.card h3 + p { margin-top: 12px; }

/* ---------- 7. BUTTONS ---------- */
.btn {
  --btn-bg: var(--grad-brand);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 0;
  border-radius: var(--r-pill);
  font-weight: 640;
  font-size: .95rem;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  color: #fff;
  background: var(--btn-bg);
  background-size: 180% auto;
  box-shadow: 0 12px 30px -12px rgba(59,130,246,.85), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .6s var(--ease), filter .3s;
  isolation: isolate;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.42) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .85s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-3px); background-position: 100% center; box-shadow: 0 20px 44px -14px rgba(59,130,246,.95), inset 0 1px 0 rgba(255,255,255,.4); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(-1px) scale(.985); }

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--stroke-strong);
  box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark), var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn--ghost:hover { box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark), var(--shadow-md); background: var(--surface-2); }

.btn--mint { --btn-bg: var(--grad-mint); box-shadow: 0 12px 30px -12px rgba(45,212,191,.8), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--sm { padding: 11px 20px; font-size: .875rem; }
.btn--lg { padding: 18px 36px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 620;
  color: var(--accent-2);
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-arrow:hover { gap: 13px; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 8. HEADER ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 14px;
  transition: padding .4s var(--ease), background .4s var(--ease), border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  padding-block: 8px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: var(--stroke);
  box-shadow: 0 12px 40px -24px rgba(0,0,0,.9);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: -.03em;
  font-size: 1.02rem;
  flex: none;
}
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: var(--grad-brand);
  box-shadow: 0 8px 22px -8px rgba(59,130,246,.9), inset 0 1px 0 rgba(255,255,255,.4);
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text span:last-child {
  font-size: .62rem;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: auto;
  padding: 5px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav a {
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: .875rem;
  font-weight: 560;
  color: var(--text-soft);
  transition: color .3s, background .3s;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a.is-active { color: var(--text); background: var(--surface-2); box-shadow: inset 1px 1px 0 var(--clay-light); }

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  cursor: pointer;
  color: var(--text-soft);
  box-shadow: inset 1px 1px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark);
  transition: transform .3s var(--ease), color .3s, background .3s;
  flex: none;
}
.icon-btn:hover { transform: translateY(-2px); color: var(--text); background: var(--surface-2); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .icon-sun { display: none; }
:root[data-theme="light"] .icon-btn .icon-sun { display: block; }
:root[data-theme="light"] .icon-btn .icon-moon { display: none; }

.lang-switch {
  display: flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: inset 1px 1px 0 var(--clay-light);
  flex: none;
}
.lang-switch button {
  padding: 6px 13px;
  border: 0;
  background: transparent;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-mute);
  cursor: pointer;
  transition: color .3s, background .3s, box-shadow .3s;
}
.lang-switch button.is-active {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 6px 16px -6px rgba(59,130,246,.9);
}

.burger { display: none; }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); }
.drawer__nav { padding: 12px var(--gutter) 48px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.drawer__nav a {
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: 1.12rem;
  font-weight: 620;
  background: var(--surface);
  border: 1px solid var(--stroke);
  transform: translateY(14px);
  opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), background .3s;
}
.drawer.is-open .drawer__nav a { transform: none; opacity: 1; }
.drawer__nav a:nth-child(1) { transition-delay: .05s; }
.drawer__nav a:nth-child(2) { transition-delay: .09s; }
.drawer__nav a:nth-child(3) { transition-delay: .13s; }
.drawer__nav a:nth-child(4) { transition-delay: .17s; }
.drawer__nav a:nth-child(5) { transition-delay: .21s; }
.drawer__nav a:nth-child(6) { transition-delay: .25s; }
.drawer__nav a:nth-child(7) { transition-delay: .29s; }
.drawer__nav a:nth-child(8) { transition-delay: .33s; }

/* ---------- 9. HERO ---------- */
.hero {
  position: relative;
  padding-top: clamp(130px, 16vw, 190px);
  padding-bottom: clamp(60px, 8vw, 110px);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero h1 { margin-top: 24px; }
.hero .lead { margin-top: 24px; }
.hero__cta { margin-top: 36px; gap: 14px; }

.hero__stats {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.stat {
  padding: 20px 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.stat__num {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -.04em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__num--icon {
  color: var(--mint);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  display: flex;
  align-items: center;
}
.stat__num--icon svg { width: clamp(26px, 2.6vw, 32px); height: clamp(26px, 2.6vw, 32px); }
.stat__label {
  margin-top: 8px;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 600;
}

/* hero visual: profile + floating cards */
.hero__visual { position: relative; }
.profile {
  position: relative;
  border-radius: var(--r-xl);
  padding: 14px;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--stroke);
  box-shadow: inset 2px 3px 0 var(--clay-light), inset -2px -4px 0 var(--clay-dark), var(--shadow-lg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: float-y 7s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.profile__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--r-xl) - 12px);
  background:
    radial-gradient(circle at 50% 30%, rgba(59,130,246,.35), transparent 60%),
    linear-gradient(160deg, #14203A, #0A1120);
}
.profile__badge {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  background: var(--surface-solid);
  border: 1px solid var(--stroke-strong);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  font-size: .85rem;
  font-weight: 620;
}
.profile__badge i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(45,212,191,.22);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  border-radius: var(--r-sm);
  background: var(--surface-solid);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-md), inset 1px 1px 0 var(--clay-light);
  font-size: .82rem;
  font-weight: 620;
  z-index: 3;
  animation: float-y 6s ease-in-out infinite;
}
.float-card small { display: block; font-weight: 500; color: var(--text-mute); font-size: .72rem; }
.float-card__ico {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-mint);
  color: #04121A;
  flex: none;
}
.float-card__ico svg { width: 17px; height: 17px; }
.float-card--1 { top: 8%; left: -8%; animation-delay: -1.5s; }
.float-card--2 { bottom: 16%; right: -10%; animation-delay: -3.5s; }
.float-card--2 .float-card__ico { background: var(--grad-gold); }

/* trust marquee */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding-block: 8px;
}
.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 620;
  font-size: .92rem;
  color: var(--text-mute);
  white-space: nowrap;
}
.marquee__item svg { width: 18px; height: 18px; color: var(--accent-2); }

/* ---------- 10. OFFER CARDS ---------- */
.offer-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 32px);
  position: relative;
}
.offer-card--featured { border-color: rgba(59,130,246,.42); box-shadow: inset 2px 3px 0 var(--clay-light), inset -2px -4px 0 var(--clay-dark), var(--glow); }
.offer-card__top { display: flex; align-items: center; gap: 16px; }
.offer-logo {
  width: 62px; height: 62px;
  border-radius: 19px;
  object-fit: cover;
  flex: none;
  background: linear-gradient(150deg, #10233F, #060C18);
  border: 1px solid var(--stroke);
  box-shadow: inset 1px 2px 0 var(--clay-light), var(--shadow-sm);
}
.offer-card__title { font-size: 1.28rem; font-weight: 720; letter-spacing: -.03em; }
.offer-card__sub { font-size: .8rem; color: var(--text-mute); font-weight: 560; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 680;
  letter-spacing: .03em;
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  color: var(--text-soft);
}
.tag--hot { background: linear-gradient(135deg, rgba(255,196,107,.22), rgba(255,138,91,.16)); border-color: rgba(255,196,107,.4); color: var(--gold); }
.tag--live { background: linear-gradient(135deg, rgba(45,212,191,.20), rgba(59,130,246,.14)); border-color: rgba(45,212,191,.42); color: var(--mint); }

.rate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 24px;
}
.rate {
  padding: 15px 12px;
  border-radius: var(--r-sm);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--stroke);
  box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark);
}
.rate__val {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 760;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.rate--total .rate__val { background: var(--grad-mint); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rate__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); font-weight: 640; margin-top: 6px; }

.feature-list { display: flex; flex-direction: column; gap: 11px; margin-top: 24px; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--text-soft); }
.feature-list svg { width: 19px; height: 19px; flex: none; color: var(--mint); margin-top: 2px; }

.offer-card__foot { margin-top: auto; padding-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }

/* soon card */
.offer-card--soon { align-items: center; justify-content: center; text-align: center; min-height: 280px; border-style: dashed; }
.offer-card--soon .card__icon { margin-inline: auto; }

/* ---------- 11. STEPS / TIMELINE ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px clamp(20px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--stroke);
  box-shadow: inset 2px 3px 0 var(--clay-light), inset -2px -4px 0 var(--clay-dark), var(--shadow-sm);
  transition: transform .45s var(--ease), border-color .45s;
}
.step:hover { transform: translateX(6px); border-color: var(--stroke-strong); }
.step__num {
  counter-increment: step;
  width: 62px; height: 62px;
  border-radius: 21px;
  display: grid; place-items: center;
  font-size: 1.3rem;
  font-weight: 780;
  letter-spacing: -.05em;
  color: var(--accent-2);
  background: linear-gradient(150deg, rgba(59,130,246,.20), rgba(139,92,246,.14));
  border: 1px solid var(--stroke);
  box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -3px 0 var(--clay-dark);
}
.step__num::before { content: "0" counter(step); }
.step p { margin-top: 8px; font-size: .95rem; }

/* ---------- 12. VIDEO ---------- */
.video-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg), inset 1px 2px 0 var(--clay-light);
  background: #05080F;
  aspect-ratio: 16 / 9;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; }
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}
.video-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,8,15,.25), rgba(5,8,15,.72));
}
.video-facade__play {
  position: relative;
  z-index: 2;
  width: 86px; height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 18px 50px -12px rgba(59,130,246,.9);
  transition: transform .4s var(--ease);
}
.video-facade__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-facade:hover .video-facade__play { transform: scale(1.09); }
.video-facade__play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(110,193,255,.5);
  animation: ripple 2.6s ease-out infinite;
}
@keyframes ripple {
  0%   { transform: scale(.9); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}
.video-caption { margin-top: 16px; font-size: .86rem; color: var(--text-mute); }

/* ---------- 12b. BLOG ---------- */
.post-list {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.4vw, 26px);
}

/* wide, low card: cover on the left at its native 3:2 so nothing is cropped */
.post-card {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.post-card__cover {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background:
    radial-gradient(circle at 30% 30%, rgba(59,130,246,.35), transparent 60%),
    linear-gradient(150deg, #16233D, #0A1120);
  border-right: 1px solid var(--stroke);
  transition: transform .7s var(--ease);
}
.post-card:hover .post-card__cover { transform: scale(1.03); }
.post-card__body {
  padding: clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.post-card--soon {
  grid-template-columns: 1fr;
  text-align: center;
  padding: clamp(26px, 3.4vw, 40px);
  border-style: dashed;
}
.post-card--soon .card__icon { margin-inline: auto; }
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.post-card__meta .tag { text-transform: none; letter-spacing: 0; }
.post-card h3 { font-size: clamp(1.18rem, 2vw, 1.5rem); }
.post-card p { font-size: .94rem; }
.post-card .link-arrow { margin-top: 6px; }

@media (max-width: 820px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card__cover { border-right: 0; border-bottom: 1px solid var(--stroke); height: auto; }
}

.post-hero__cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(59,130,246,.35), transparent 60%),
    linear-gradient(150deg, #16233D, #0A1120);
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: .84rem;
  color: var(--text-mute);
}

/* vertical video (YouTube Shorts) */
.video-wrap--short {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  margin-inline: auto;
}
.video-wrap--short .video-facade__play { width: 68px; height: 68px; }
.video-wrap--short .video-facade__play svg { width: 24px; height: 24px; }

/* ---------- 13. REVIEWS ---------- */
.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  padding: clamp(20px, 2.2vw, 28px);
}
.review__head { display: flex; align-items: center; gap: 14px; }
.review__ava {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: linear-gradient(150deg, #16233D, #0A1120);
  border: 1px solid var(--stroke-strong);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.7), inset 0 1px 0 var(--clay-light);
}
.review__name {
  font-size: 1.06rem;
  font-weight: 720;
  letter-spacing: -.02em;
  line-height: 1.2;
  display: block;
}
.review__loc {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: .82rem;
  font-weight: 550;
  color: var(--text-mute);
}
.flag {
  width: 17px; height: 17px;
  border-radius: 50%;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
}
.review__text { font-size: .95rem; color: var(--text-soft); flex: 1; }
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__stars svg { width: 16px; height: 16px; }

/* single-row scrolling rail */
.reviews-rail {
  overflow: hidden;
  padding-block: 10px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.reviews-rail__track {
  display: flex;
  width: max-content;
  padding-left: var(--gutter);
}
.reviews-rail__track.is-looping {
  animation: marquee 58s linear infinite;
  padding-left: 0;
}
.reviews-rail:hover .reviews-rail__track,
.reviews-rail:focus-within .reviews-rail__track,
.reviews-rail:active .reviews-rail__track { animation-play-state: paused; }

.reviews-rail .review {
  width: clamp(270px, 80vw, 358px);
  flex: none;
  /* margin instead of gap so the loop halves line up exactly */
  margin-right: 22px;
  height: auto;
}

/* no JS / reduced motion: plain horizontal scroller */
.reviews-rail:not(:has(.is-looping)) { overflow-x: auto; }

@media (prefers-reduced-motion: reduce) {
  .reviews-rail { overflow-x: auto !important; }
  .reviews-rail__track { animation: none !important; transform: none !important; }
}

/* ---------- 14. FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--stroke);
  box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark);
  overflow: hidden;
  transition: border-color .4s, box-shadow .4s;
}
.faq__item.is-open { border-color: rgba(59,130,246,.42); box-shadow: inset 1px 2px 0 var(--clay-light), var(--glow); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px clamp(18px, 2.2vw, 28px);
  background: transparent;
  border: 0;
  text-align: left;
  font-size: clamp(.98rem, 1.3vw, 1.06rem);
  font-weight: 640;
  letter-spacing: -.015em;
  cursor: pointer;
  color: var(--text);
}
.faq__icon {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 11px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--stroke);
  color: var(--accent-2);
  transition: transform .45s var(--ease), background .3s;
}
.faq__icon svg { width: 15px; height: 15px; }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: var(--grad-brand); color: #fff; border-color: transparent; }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p, .faq__a ul { padding-inline: clamp(18px, 2.2vw, 28px); font-size: .95rem; }
.faq__a > div > *:last-child { padding-bottom: 24px; }
.faq__a p + p { margin-top: 12px; }
.faq__a ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.faq__a li { position: relative; padding-left: 18px; color: var(--text-soft); font-size: .93rem; }
.faq__a li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 15. FORM ---------- */
.form-card { padding: clamp(26px, 3.4vw, 46px); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: .82rem; font-weight: 640; letter-spacing: .02em; color: var(--text-soft); }
.field input,
.field select,
.field textarea {
  padding: 14px 17px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-size: .95rem;
  box-shadow: inset 2px 3px 6px rgba(0,0,0,.22);
  transition: border-color .3s, box-shadow .3s, background .3s;
  width: 100%;
}
:root[data-theme="light"] .field input,
:root[data-theme="light"] .field select,
:root[data-theme="light"] .field textarea { box-shadow: inset 2px 3px 6px rgba(23,44,87,.08); background: #fff; }
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: inset 2px 3px 6px rgba(0,0,0,.2), 0 0 0 4px rgba(59,130,246,.18);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%237C8AAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field select option { background: var(--surface-solid); color: var(--text); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.form-note { font-size: .82rem; color: var(--text-mute); }
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  background: linear-gradient(135deg, rgba(45,212,191,.14), rgba(59,130,246,.1));
  border: 1px solid rgba(45,212,191,.35);
  color: var(--text);
  display: none;
}
.form-status.is-visible { display: block; animation: pop-in .5s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ---------- 16. CTA BANNER ---------- */
.cta-banner {
  position: relative;
  padding: clamp(38px, 5vw, 72px);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(150deg, rgba(59,130,246,.22), rgba(139,92,246,.16) 55%, rgba(45,212,191,.14));
  border: 1px solid var(--stroke-strong);
  box-shadow: inset 2px 3px 0 var(--clay-light), inset -2px -4px 0 var(--clay-dark), var(--shadow-lg);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(110,193,255,.22), transparent 30%);
  animation: spin 14s linear infinite;
  z-index: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner p { margin-top: 18px; margin-inline: auto; }
.cta-banner .row { justify-content: center; margin-top: 32px; }

/* ---------- 17. FOOTER ---------- */
.footer {
  margin-top: clamp(60px, 8vw, 110px);
  border-top: 1px solid var(--stroke);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: clamp(44px, 6vw, 72px) 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(26px, 3vw, 46px);
}
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-mute); margin-bottom: 16px; font-weight: 680; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .92rem; color: var(--text-soft); transition: color .3s, transform .3s var(--ease); width: fit-content; }
.footer__links a:hover { color: var(--accent-2); transform: translateX(3px); }
.footer__bottom {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--stroke);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--text-mute);
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.social {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  color: var(--text-soft);
  box-shadow: inset 1px 2px 0 var(--clay-light), inset -1px -2px 0 var(--clay-dark);
  transition: transform .35s var(--ease), color .3s, background .3s, box-shadow .35s;
}
.social--tg { color: #29A9EB; }
.social--yt { color: #FF0000; }
.social:hover { transform: translateY(-4px); color: #fff; background: var(--grad-brand); border-color: transparent; box-shadow: 0 14px 30px -12px rgba(59,130,246,.9); }
.social--tg:hover { background: linear-gradient(135deg, #37BBFE, #007DBB); box-shadow: 0 14px 30px -12px rgba(41,169,235,.9); }
.social--yt:hover { background: linear-gradient(135deg, #FF4E45, #D40000); box-shadow: 0 14px 30px -12px rgba(255,0,0,.75); }
.social svg { width: 20px; height: 20px; }

/* ---------- 18. PAGE HERO (inner pages) ---------- */
.page-hero { padding-top: clamp(120px, 14vw, 165px); padding-bottom: clamp(30px, 4vw, 52px); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; font-size: .82rem; color: var(--text-mute); }
.breadcrumbs a { transition: color .3s; }
.breadcrumbs a:hover { color: var(--accent-2); }
.breadcrumbs svg { width: 13px; height: 13px; opacity: .6; }
.page-hero h1 { margin-top: 22px; font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.page-hero .lead { margin-top: 20px; }

/* ---------- 19. ARTICLE ---------- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: clamp(42px, 5vw, 64px); font-size: clamp(1.6rem, 3vw, 2.15rem); }
.prose h3 { margin-top: 34px; }
.prose p { margin-top: 18px; font-size: 1.01rem; }
.prose ul, .prose ol { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.prose li { position: relative; padding-left: 26px; color: var(--text-soft); }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 8px; height: 8px;
  border-radius: 3px;
  background: var(--grad-brand);
}
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before {
  content: counter(li);
  position: absolute;
  left: 0; top: .05em;
  font-size: .78rem;
  font-weight: 750;
  color: var(--accent-2);
}
.prose strong { color: var(--text); font-weight: 660; }
.prose a:not(.btn):not(.link-arrow) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(110,193,255,.4); }
.prose a:not(.btn):not(.link-arrow):hover { text-decoration-color: var(--accent-2); }

.callout {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(59,130,246,.13), rgba(139,92,246,.08));
  border: 1px solid rgba(59,130,246,.28);
  border-left: 3px solid var(--accent);
}
.callout p { margin-top: 0; font-size: .95rem; }
.callout strong { display: block; margin-bottom: 6px; color: var(--text); }

/* table */
.table-wrap { margin-top: 26px; overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--stroke); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .93rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--stroke); }
th { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); font-weight: 680; background: var(--surface-2); }
td { color: var(--text-soft); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .3s; }
tbody tr:hover { background: var(--surface-2); }

/* toc */
.toc { position: sticky; top: 100px; }
.toc h4 { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.toc a { display: block; padding: 8px 14px; border-radius: 11px; font-size: .88rem; color: var(--text-soft); transition: background .3s, color .3s; }
.toc a:hover { background: var(--surface-2); color: var(--text); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: clamp(30px, 4vw, 60px); align-items: start; }

/* ---------- 20. MISC ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--stroke-strong), transparent); margin-block: clamp(40px, 6vw, 70px); }

.badge-check { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-soft); }
.badge-check svg { width: 18px; height: 18px; color: var(--mint); flex: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
}
.skip-link:focus { left: 16px; }

/* scroll progress */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad-brand);
  z-index: 200;
  box-shadow: 0 0 14px rgba(59,130,246,.8);
}

/* to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--stroke-strong);
  color: var(--text-soft);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, color .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent-2); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- 20b. BRAND LOGO IMAGE ---------- */
.brand__mark { position: relative; overflow: hidden; }
.brand__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ---------- 20c. PAYMENT CHIPS ORBITING THE PHOTO ---------- */
.pay-orbit {
  position: absolute;
  /* stays within the container gutter at every breakpoint, so chips never
     get clipped by the viewport edge */
  inset: -2% -5%;
  pointer-events: none;
  z-index: 4;
}
.pay-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border-radius: var(--r-pill);
  background: #fff;
  color: #0E1729;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: 0 16px 36px -14px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.7);
  animation: float-y 6.5s ease-in-out infinite;
}
.pay-chip svg { width: 22px; height: 22px; flex: none; }
/* brand wordmarks keep their own aspect ratio */
.pay-chip .pay-logo { width: auto; height: 19px; border-radius: 0; }
.pay-chip small { display: block; font-size: .68rem; font-weight: 600; color: #64748B; }
.pay-chip--ok { background: #C3F53C; color: #14210A; }
.pay-chip--ok svg { color: #14210A; }

/* left column, top → bottom */
.pay-chip--1 { top: 1%;     left: 0;    animation-delay: -.4s; }
.pay-chip--3 { top: 38%;    left: 0;    animation-delay: -3.4s; }
.pay-chip--7 { bottom: 25%; left: 3%;   animation-delay: -5.2s; }
/* kept clear of the name badge that sits centred on the bottom edge */
.pay-chip--5 { bottom: 13%; left: 1%;   animation-delay: -4.6s; }
/* right column, top → bottom */
.pay-chip--6 { top: 11%;    right: 2%;  animation-delay: -2.8s; }
.pay-chip--2 { top: 34%;    right: 0;   animation-delay: -2.1s; }
.pay-chip--4 { top: 62%;    right: 3%;  animation-delay: -1.3s; }

/* ---------- 20d. PAYMENT METHOD CARDS ---------- */
.pay-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  /* five across is tight — claw back the horizontal room from the padding */
  padding: clamp(18px, 1.7vw, 24px);
}
.pay-card__logo {
  display: flex;
  align-items: center;
  min-height: 34px;
}
.pay-card__logo .pay-logo { width: auto; height: 27px; }
.pay-card h3 { font-size: 1.02rem; }

/* neutral wordmark parts follow the surface colour, brand marks stay branded */
.pay-logo { display: block; flex: none; color: inherit; }
.pay-card p { font-size: .855rem; line-height: 1.55; }

/* ---------- 20e. ILLUSTRATED "WHAT YOU NEED" CARDS ---------- */
.need-card { text-align: center; padding: clamp(22px, 2.4vw, 30px); }
.need-card__art {
  width: 100%;
  max-width: 190px;
  margin: 6px auto 20px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.45));
  transition: transform .55s var(--ease);
}
.need-card:hover .need-card__art { transform: translateY(-6px) scale(1.04); }
.need-card__big {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 780;
  letter-spacing: -.045em;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.need-card__big--mint { background: var(--grad-mint); -webkit-background-clip: text; background-clip: text; }
.need-card h3 { margin-top: 10px; font-size: 1rem; }
.need-card p { margin-top: 8px; font-size: .89rem; }

/* ---------- 20f. FLOW DIAGRAM ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  position: relative;
  margin-top: 20px;
}
.flow::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--mint), var(--accent-3), transparent);
  opacity: .5;
}
.flow__node { position: relative; text-align: center; }
.flow__ico {
  width: 68px; height: 68px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 24px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 16px 34px -14px rgba(59,130,246,.9), inset 0 1px 0 rgba(255,255,255,.4);
  position: relative;
  z-index: 1;
}
.flow__node:nth-child(2) .flow__ico { background: var(--grad-mint); color: #04121A; box-shadow: 0 16px 34px -14px rgba(45,212,191,.85), inset 0 1px 0 rgba(255,255,255,.4); }
.flow__node:nth-child(3) .flow__ico { background: linear-gradient(135deg, #8B5CF6, #C084FC); box-shadow: 0 16px 34px -14px rgba(139,92,246,.85), inset 0 1px 0 rgba(255,255,255,.4); }
.flow__node:nth-child(4) .flow__ico { background: var(--grad-gold); color: #2A1806; box-shadow: 0 16px 34px -14px rgba(255,196,107,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.flow__ico svg { width: 30px; height: 30px; }
.flow__node h4 { font-size: .98rem; }
.flow__node p { margin-top: 7px; font-size: .85rem; }

/* ---------- 20g. DECORATIVE TRICOLOUR RIBBON ---------- */
.deco-ribbon {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  width: min(560px, 55vw);
  animation: ribbon-drift 16s ease-in-out infinite;
}
/* kept clear of the fixed header so it reads as decoration, not a smear */
.deco-ribbon--tr { top: 104px; right: -70px; transform: rotate(-8deg); }
.deco-ribbon--bl { bottom: -50px; left: -90px; transform: rotate(6deg); opacity: .38; animation-delay: -8s; }
@keyframes ribbon-drift {
  0%, 100% { transform: translate3d(0,0,0) rotate(-8deg); }
  50%      { transform: translate3d(-18px, 14px, 0) rotate(-4deg); }
}
/* inside a card the hero offset would push it out of view */
.card > .deco-ribbon--tr { top: -30px; }
.deco-ribbon--bl { animation-name: ribbon-drift-2; }
@keyframes ribbon-drift-2 {
  0%, 100% { transform: translate3d(0,0,0) rotate(6deg); }
  50%      { transform: translate3d(20px, -12px, 0) rotate(3deg); }
}

/* ---------- 20h. FLOATING COINS ---------- */
.deco-coins {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: min(240px, 26vw);
  opacity: .5;
  filter: drop-shadow(0 18px 26px rgba(0,0,0,.45));
  animation: float-y 9s ease-in-out infinite;
}
.deco-coins--tl { top: -34px;    left: -40px;  transform: scaleX(-1); animation-delay: -3s; }
.deco-coins--br { bottom: -40px; right: -34px; animation-delay: -6s; }
:root[data-theme="light"] .deco-coins { opacity: .75; filter: drop-shadow(0 16px 24px rgba(23,44,87,.22)); }

/* ---------- 20i. TAJ MAHAL SKYLINE ---------- */
.skyline {
  position: relative;
  margin-bottom: -2px;
  line-height: 0;
  pointer-events: none;
  color: var(--text);
  opacity: .085;
}
:root[data-theme="light"] .skyline { opacity: .12; }
.skyline svg { width: 100%; height: auto; display: block; }

/* ---------- 21. REVEAL ANIMATIONS ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 22. RESPONSIVE ---------- */
/* seven nav items + the longer Russian CTA no longer fit below this width */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
}

@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 34px; }
  .flow::before { display: none; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  /* no room to hang outside the photo on a phone — tuck the chips inside */
  .pay-orbit { inset: -2% 2%; }
  .pay-chip { padding: 8px 12px; font-size: .76rem; }
  .pay-chip svg { width: 19px; height: 19px; }
  /* seven chips are too many once the photo shrinks */
  .pay-chip--3, .pay-chip--6, .pay-chip--7 { display: none; }
  .deco-ribbon { display: none; }
  .deco-coins { width: 150px; opacity: .35; }
  .hero__visual { max-width: 420px; margin-inline: auto; margin-top: 40px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid--5 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --r-lg: 24px; --r-xl: 30px; }
  .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; gap: 14px; }
  .stat__label { margin-top: 0; }
  .float-card--1 { left: -4%; top: 4%; }
  .float-card--2 { right: -4%; }
  .flow { grid-template-columns: 1fr; }
  .need-card__art { max-width: 150px; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .rate-grid { grid-template-columns: 1fr; }
  .rate { display: flex; align-items: center; justify-content: space-between; text-align: left; }
  .rate__label { margin-top: 0; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-banner .btn { width: 100%; }
  .header__actions .icon-btn { width: 38px; height: 38px; }
}

/* the header CTA does not fit next to the burger on phones — it lives in the
   drawer instead, otherwise the burger itself is pushed off-screen */
@media (max-width: 560px) {
  .header__actions .btn--sm { display: none; }
}

@media (max-width: 400px) {
  .lang-switch button { padding: 6px 10px; }
}

@media (max-width: 380px) {
  .brand__text { display: none; }
}
