/* ============================================================
   RAQAM — Premium fintech landing
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --ink: #0a0a0c;
  --ink-soft: #1a1a1f;
  --coal: #08080a;
  --paper: #f6f4ef;
  --paper-2: #efece5;
  --white: #ffffff;
  --muted: #6c6c75;
  --muted-2: #9a9aa3;
  --line: rgba(10, 10, 12, 0.08);
  --line-strong: rgba(10, 10, 12, 0.14);
  --line-dark: rgba(255, 255, 255, 0.08);

  /* Brand violet */
  --violet: #6f3ff5;
  --violet-2: #8a5cff;
  --violet-deep: #3b1599;
  --violet-soft: #ece5ff;
  --violet-glow: rgba(111, 63, 245, 0.4);

  /* Type */
  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-card: 0 1px 0 rgba(10, 10, 12, 0.04), 0 12px 30px -8px rgba(10, 10, 12, 0.12);
  --shadow-lift: 0 1px 0 rgba(10, 10, 12, 0.06), 0 24px 48px -16px rgba(10, 10, 12, 0.18);
  --shadow-float: 0 30px 60px -20px rgba(10, 10, 12, 0.35);
  --shadow-violet: 0 24px 60px -16px rgba(111, 63, 245, 0.45);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}
section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  --br: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--br);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform 0.28s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--light {
  --bg: #fff;
  --fg: var(--ink);
  --br: var(--line-strong);
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  --br: var(--line-strong);
}
.btn--violet {
  --bg: var(--violet);
  --fg: #fff;
  box-shadow: var(--shadow-violet);
}
.btn--violet:hover { background: var(--violet-2); }

.btn--lg { height: 60px; padding: 0 32px; font-size: 17px; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.32s var(--ease), background 0.32s var(--ease), border-color 0.32s var(--ease), backdrop-filter 0.32s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  padding: 12px 0;
  background: rgba(246, 244, 239, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.nav__brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav__links a:hover { background: rgba(10, 10, 12, 0.05); }
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: rgba(10, 10, 12, 0.05);
  align-items: center;
  justify-content: center;
}
.nav__menu-btn span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  position: relative;
}
.nav__menu-btn span::before,
.nav__menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav__menu-btn span::before { top: -6px; }
.nav__menu-btn span::after { top: 6px; }
.nav.open .nav__menu-btn span { background: transparent; }
.nav.open .nav__menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav__menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer — hidden by default everywhere, only shown when nav.open on mobile */
.nav__mobile {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--paper);
  padding: 32px 28px;
  z-index: 90;
  display: none;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-20px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0s linear 0.32s;
}
.nav.open .nav__mobile {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease), visibility 0s linear 0s;
}
.nav__mobile a {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav__mobile-cta { margin-top: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  background: var(--paper);
}
.hero::before {
  /* ambient orb behind hero */
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  right: -200px;
  top: -120px;
  background:
    radial-gradient(circle at center, rgba(111, 63, 245, 0.22) 0%, rgba(111, 63, 245, 0.06) 40%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 10, 12, 0.04) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.6) 30%, transparent 100%);
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
}
.hero__eyebrow-tag {
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(48px, 7.2vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero h1 .ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero h1 .vio { color: var(--violet-deep); }
.hero__sub {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--muted);
  line-height: 1.45;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero__meta-stack {
  display: inline-flex;
}
.hero__meta-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  margin-left: -8px;
}
.hero__meta-dot:first-child { margin-left: 0; }
.hero__meta-dot:nth-child(2) { background: linear-gradient(135deg, #f6c453, #e89f1a); }
.hero__meta-dot:nth-child(3) { background: linear-gradient(135deg, #19c08e, #0a8763); }
.hero__meta-dot:nth-child(4) { background: linear-gradient(135deg, #ff6a6a, #c63232); }

/* Hero visual: phone + floating chips */
.hero__visual {
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}
.hero__phone-wrap {
  position: relative;
  width: 320px;
  height: 640px;
  transform: rotate(-3deg);
}

/* Phone frame */
.phone {
  width: 100%;
  height: 100%;
  border-radius: 52px;
  background: linear-gradient(160deg, #181820 0%, #0a0a0d 100%);
  padding: 12px;
  box-shadow:
    0 60px 100px -30px rgba(10, 10, 12, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 53px;
  background: linear-gradient(160deg, rgba(255,255,255,0.18), transparent 40%);
  z-index: -1;
}
.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 42px;
  background: linear-gradient(180deg, #fdfcf9 0%, #f6f4ef 100%);
  overflow: hidden;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #0a0a0d;
  border-radius: 999px;
  z-index: 5;
}

/* Inside-phone wallet UI */
.wallet {
  padding: 56px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}
.wallet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wallet__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.wallet__hi { font-size: 12px; color: var(--muted); }
.wallet__name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.wallet__bell {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: rgba(10, 10, 12, 0.04);
  display: flex; align-items: center; justify-content: center;
}

.balance {
  margin-top: 4px;
  padding: 22px 20px;
  border-radius: 22px;
  background: linear-gradient(160deg, #0a0a0d 0%, #1f1530 60%, #3b1599 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.balance::after {
  content: "";
  position: absolute;
  width: 200px; height: 200px;
  right: -60px; top: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 92, 255, 0.5) 0%, transparent 65%);
}
.balance__label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}
.balance__amt {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.balance__amt .curr { font-size: 17px; color: rgba(255, 255, 255, 0.6); font-weight: 500; }
.balance__amt .frac { font-size: 18px; color: rgba(255, 255, 255, 0.5); font-weight: 600; }
.balance__row {
  margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between;
  position: relative;
  z-index: 2;
}
.balance__code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.balance__code-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #19c08e;
  box-shadow: 0 0 0 3px rgba(25, 192, 142, 0.2);
}

.actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.actions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.actions__icon {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--violet-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-deep);
}
.actions__label { font-size: 10px; font-weight: 600; color: var(--ink); }

.txs {
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
}
.txs__head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.tx {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.tx:last-child { border-bottom: 0; }
.tx__ic {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.tx__ic.in { background: rgba(25, 192, 142, 0.12); color: #0a8763; }
.tx__body { flex: 1; min-width: 0; }
.tx__name { font-size: 12px; font-weight: 600; letter-spacing: -0.01em; }
.tx__sub { font-size: 10px; color: var(--muted); }
.tx__amt { font-size: 12px; font-weight: 700; letter-spacing: -0.01em; }
.tx__amt.pos { color: #0a8763; }

/* Floating chips around the phone */
.chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-float);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.chip--code { top: 30px; left: -40px; animation-delay: -2s; }
.chip--qr { bottom: 80px; right: -60px; animation-delay: -4s; }
.chip--tx { bottom: 200px; left: -70px; animation-delay: -1s; }

.chip__icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
}
.chip__title { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.chip__value { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.chip--code .chip__value { font-family: var(--font-mono); letter-spacing: 0.08em; }

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

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  padding: 50px 0 30px;
  border-bottom: 1px solid var(--line);
}
.trust__label {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 12px 8px;
  border-radius: var(--r-md);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.trust__item:hover { color: var(--ink); background: rgba(10, 10, 12, 0.025); }
.trust__item svg { color: var(--violet-deep); flex: 0 0 auto; }

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section { padding: 120px 0; }
.section--dark { background: var(--coal); color: #fff; }
.section--cream { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: #fff; }

.section__head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-deep);
  font-weight: 700;
  margin-bottom: 18px;
}
.section--dark .section__eyebrow { color: var(--violet-2); }
.section h2 {
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.section h2 .ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.section__sub {
  font-size: 18px;
  color: var(--muted);
  margin-top: 22px;
  line-height: 1.5;
}
.section--dark .section__sub { color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease), border-color 0.32s var(--ease);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.feature--lg { grid-column: span 7; min-height: 420px; }
.feature--sm { grid-column: span 5; min-height: 420px; }
.feature--md { grid-column: span 4; min-height: 320px; }
.feature--dark {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.feature--violet {
  background: linear-gradient(160deg, var(--violet-deep) 0%, #2a0d6b 100%);
  color: #fff;
  border-color: transparent;
}
.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature--dark .feature__icon,
.feature--violet .feature__icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.feature h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.feature p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 38ch;
}
.feature--dark p, .feature--violet p { color: rgba(255, 255, 255, 0.65); }

.feature__demo {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.feature--dark .feature__demo,
.feature--violet .feature__demo {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Wallet code demo inside a feature */
.code-demo {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.code-demo span {
  width: 56px;
  height: 72px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.feature:not(.feature--dark):not(.feature--violet) .code-demo span {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

/* QR demo */
.qr-demo {
  width: 100%;
  height: 180px;
  background: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.qr-grid {
  width: 130px; height: 130px;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  grid-template-rows: repeat(11, 1fr);
  gap: 2px;
}
.qr-grid div { background: transparent; border-radius: 1px; }
.qr-grid div.on { background: var(--ink); }
.qr-corner {
  width: 36px; height: 36px;
  border: 8px solid var(--ink);
  position: absolute;
  border-radius: 6px;
}
.qr-corner::after {
  content: ""; position: absolute; inset: 4px;
  background: var(--ink); border-radius: 2px;
}
.qr-corner.tl { top: 18px; left: calc(50% - 65px - 4px); }
.qr-corner.tr { top: 18px; right: calc(50% - 65px - 4px); }
.qr-corner.bl { bottom: 18px; left: calc(50% - 65px - 4px); }

/* ============================================================
   SHOWCASE (dark section)
   ============================================================ */
.showcase { padding: 140px 0; }
.showcase__head { margin-bottom: 80px; }
.showcase__stage {
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.showcase__phone {
  position: relative;
  width: 300px;
  height: 600px;
  z-index: 5;
}
.showcase__bg-card {
  position: absolute;
  border-radius: var(--r-xl);
  padding: 28px;
  width: 320px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.showcase__bg-card.c1 { top: 40px; left: 10%; }
.showcase__bg-card.c2 { bottom: 60px; right: 10%; }
.showcase__bg-card.c3 { top: 50%; left: 6%; transform: translateY(-50%); max-width: 240px; }
.bg-card__label {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5); font-weight: 600;
  margin-bottom: 14px;
}
.bg-card__big {
  font-size: 38px; font-weight: 700; letter-spacing: -0.03em;
  line-height: 1;
}
.bg-card__big .ital { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.bg-card__row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}
.bg-card__row strong { color: #fff; font-weight: 600; }
.showcase__orb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.showcase__orb::before {
  content: "";
  width: 540px; height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 63, 245, 0.55) 0%, rgba(111, 63, 245, 0.08) 40%, transparent 70%);
  filter: blur(20px);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 32px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.32s var(--ease), border-color 0.32s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--ink); }
.step__num {
  font-family: var(--font-serif);
  font-size: 60px;
  font-style: italic;
  font-weight: 400;
  color: var(--violet);
  line-height: 1;
  margin-bottom: 24px;
}
.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.step__arrow {
  position: absolute;
  right: -22px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  color: var(--violet);
  z-index: 2;
}
.step:last-child .step__arrow { display: none; }

/* ============================================================
   SECURITY
   ============================================================ */
.security {
  padding: 140px 0;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.security__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.security__viz {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.security__cube {
  width: 360px;
  height: 360px;
  position: relative;
  animation: cube-spin 28s linear infinite;
  transform-style: preserve-3d;
}
@keyframes cube-spin {
  from { transform: rotateX(-22deg) rotateY(0deg); }
  to { transform: rotateX(-22deg) rotateY(360deg); }
}
.security__cube .face {
  position: absolute;
  width: 200px;
  height: 200px;
  left: 80px;
  top: 80px;
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255,255,255,0.95) 0%, rgba(246,244,239,0.9) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(10,10,12,0.18);
  display: flex; align-items: center; justify-content: center;
}
.security__cube .face.f1 { transform: translateZ(100px); }
.security__cube .face.f2 { transform: rotateY(90deg) translateZ(100px); }
.security__cube .face.f3 { transform: rotateY(180deg) translateZ(100px); }
.security__cube .face.f4 { transform: rotateY(-90deg) translateZ(100px); }
.security__cube .face.f5 { transform: rotateX(90deg) translateZ(100px); }
.security__cube .face.f6 { transform: rotateX(-90deg) translateZ(100px); background: linear-gradient(160deg, var(--violet) 0%, var(--violet-deep) 100%); }
.security__cube .face svg { width: 64px; height: 64px; color: var(--violet-deep); }
.security__cube .face.f6 svg { color: #fff; }

.security__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.security__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.security__list-ic {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--violet-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
}
.security__list-body strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.security__list-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding: 100px 0;
  background: var(--coal);
  color: #fff;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat {
  padding: 12px 0;
}
.stat__num {
  font-size: clamp(46px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 24ch;
  line-height: 1.4;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  text-align: left;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq__q:hover { color: var(--violet-deep); }
.faq__q-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  transition: background 0.25s var(--ease), transform 0.32s var(--ease);
}
.faq__q-icon svg { transition: transform 0.32s var(--ease); }
.faq__item.open .faq__q-icon { background: var(--ink); color: #fff; }
.faq__item.open .faq__q-icon svg { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__a-inner {
  padding-bottom: 28px;
  padding-right: 60px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 64ch;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-final {
  background: var(--coal);
  color: #fff;
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(111, 63, 245, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(58, 21, 154, 0.35) 0%, transparent 50%);
  pointer-events: none;
}
.cta-final__inner { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; }
.cta-final h2 {
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.cta-final h2 .ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, #fff 0%, #b6a0ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.cta-final p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final .btn--light {
  --bg: #fff;
  --fg: var(--ink);
  --br: transparent;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 19px;
  margin-bottom: 18px;
}
.footer__about { color: rgba(255, 255, 255, 0.55); font-size: 15px; max-width: 32ch; line-height: 1.5; }
.footer__col h4 {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__legal { display: flex; gap: 24px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"].in { transition-delay: 0.08s; }
.reveal[data-delay="2"].in { transition-delay: 0.16s; }
.reveal[data-delay="3"].in { transition-delay: 0.24s; }
.reveal[data-delay="4"].in { transition-delay: 0.32s; }
.reveal[data-delay="5"].in { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature--lg, .feature--sm, .feature--md { grid-column: span 1; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero { padding: 120px 0 80px; }
  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__visual { height: 580px; }
  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }
  .nav__cta .btn { display: none; }
  .nav__mobile { display: flex; }
  .trust__row { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step__arrow { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .security__grid { grid-template-columns: 1fr; gap: 60px; }
  .section { padding: 90px 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 52px; }
  .hero__visual { height: 540px; }
  .hero__phone-wrap { width: 280px; height: 560px; transform: rotate(-2deg); }
  .chip--code { left: -20px; }
  .chip--qr { right: -20px; }
  .chip--tx { left: -30px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 26px; min-height: auto; }
  .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat__num { font-size: 48px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .showcase__bg-card.c1, .showcase__bg-card.c2, .showcase__bg-card.c3 { display: none; }
}

/* ============================================================
   SPLASH / INTRO REVEAL
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #08080a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.splash[data-state="done"] {
  pointer-events: none;
}
/* the wipe panels (top + bottom) that peel away */
.splash__panel {
  position: absolute;
  left: 0; right: 0;
  background: #08080a;
  z-index: 2;
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}
.splash__panel--top { top: 0; height: 50%; transform: translateY(0); }
.splash__panel--bottom { bottom: 0; height: 50%; transform: translateY(0); }
.splash[data-state="done"] .splash__panel--top { transform: translateY(-100%); }
.splash[data-state="done"] .splash__panel--bottom { transform: translateY(100%); }

/* purple bleed reveal */
.splash__bleed {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(111, 63, 245, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(58, 21, 154, 0.35) 0%, transparent 55%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.splash[data-state="reveal"] .splash__bleed { opacity: 1; }

.splash__center {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  transition: opacity 0.5s ease, transform 0.7s var(--ease);
}
.splash[data-state="reveal"] .splash__center {
  opacity: 0;
  transform: translateY(-20px);
}

/* The animated cube mark */
.splash__mark {
  width: 92px;
  height: 92px;
  position: relative;
  filter: drop-shadow(0 12px 40px rgba(138, 92, 255, 0.35));
}
.splash__mark svg { width: 100%; height: 100%; }
.splash__mark .build {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: cubeDraw 0.7s 0.05s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.splash__mark .fill {
  opacity: 0;
  transform-origin: 50% 70%;
  transform: scaleY(0);
  animation: cubeFill 0.5s 0.45s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes cubeDraw {
  to { stroke-dashoffset: 0; }
}
@keyframes cubeFill {
  to { opacity: 1; transform: scaleY(1); }
}

/* "TIMEBANK" wordmark — letter by letter */
.splash__word {
  display: flex;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.32em;
  color: #fff;
  text-transform: uppercase;
  padding-left: 0.32em; /* compensate trailing tracking */
}
.splash__word span {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: letterIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.splash__word span:nth-child(1) { animation-delay: 0.30s; }
.splash__word span:nth-child(2) { animation-delay: 0.34s; }
.splash__word span:nth-child(3) { animation-delay: 0.38s; }
.splash__word span:nth-child(4) { animation-delay: 0.42s; }
.splash__word span:nth-child(5) { animation-delay: 0.46s; }
.splash__word span:nth-child(6) { animation-delay: 0.50s; }
.splash__word span:nth-child(7) { animation-delay: 0.54s; }
.splash__word span:nth-child(8) { animation-delay: 0.58s; }
@keyframes letterIn {
  to { opacity: 1; transform: translateY(0); }
}

/* progress + counter row */
.splash__progress-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(360px, 70vw);
  margin-top: 10px;
  opacity: 0;
  animation: fadeIn 0.4s 0.4s ease-out forwards;
}
.splash__progress {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.splash__progress::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--violet-2), #fff);
  border-radius: 999px;
  animation: progress 1s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
  box-shadow: 0 0 16px rgba(138, 92, 255, 0.6);
}
@keyframes progress {
  0% { width: 0%; }
  20% { width: 14%; }
  40% { width: 32%; }
  60% { width: 58%; }
  80% { width: 86%; }
  100% { width: 100%; }
}
.splash__counter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.1em;
  min-width: 44px;
  text-align: right;
}
.splash__tag {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 0.5s 0.5s ease-out forwards;
}
@keyframes fadeIn { to { opacity: 1; } }

/* lock body scroll while splash is alive */
body.splash-locked { overflow: hidden; height: 100vh; }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet-2), var(--violet-deep));
  z-index: 200;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 12px var(--violet-glow);
}

/* ============================================================
   CUSTOM CURSOR (desktop only, on hover-capable devices)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  /* Custom cursor disabled — using system cursor */
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ============================================================
   PAGE TRANSITION (cover on link click)
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  display: flex;
}
.page-transition__slab {
  flex: 1;
  background: #08080a;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.76, 0, 0.24, 1);
}
.page-transition__slab:nth-child(2) { transition-delay: 0.03s; }
.page-transition__slab:nth-child(3) { transition-delay: 0.06s; }
.page-transition__slab:nth-child(4) { transition-delay: 0.09s; }
.page-transition__slab:nth-child(5) { transition-delay: 0.12s; }
.page-transition.is-covering .page-transition__slab { transform: translateY(0); }
.page-transition.is-revealing .page-transition__slab { transform: translateY(-100%); }
.page-transition.is-revealing .page-transition__slab:nth-child(5) { transition-delay: 0s; }
.page-transition.is-revealing .page-transition__slab:nth-child(4) { transition-delay: 0.03s; }
.page-transition.is-revealing .page-transition__slab:nth-child(3) { transition-delay: 0.06s; }
.page-transition.is-revealing .page-transition__slab:nth-child(2) { transition-delay: 0.09s; }
.page-transition.is-revealing .page-transition__slab:nth-child(1) { transition-delay: 0.12s; }

/* ============================================================
   PAGE-LOAD STAGGERED REVEAL
   ============================================================ */
.fx-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  animation: fxStagger 0.7s var(--ease) forwards;
}
.fx-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.fx-stagger > *:nth-child(2) { animation-delay: 0.12s; }
.fx-stagger > *:nth-child(3) { animation-delay: 0.20s; }
.fx-stagger > *:nth-child(4) { animation-delay: 0.28s; }
.fx-stagger > *:nth-child(5) { animation-delay: 0.36s; }
.fx-stagger > *:nth-child(6) { animation-delay: 0.44s; }
@keyframes fxStagger { to { opacity: 1; transform: translateY(0); } }

/* per-word hero reveal */
.word-reveal { display: inline-block; overflow: hidden; vertical-align: bottom; line-height: 1.05; }
.word-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  animation: wordUp 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes wordUp { to { transform: translateY(0); } }

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
}
.marquee--violet { background: var(--violet-deep); }
.marquee--cream { background: var(--paper); color: var(--ink); border-color: var(--line); }
.marquee__track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marqueeRoll 38s linear infinite;
  width: max-content;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.marquee__item .ital {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--violet-2);
}
.marquee--cream .marquee__item .ital { color: var(--violet-deep); }
.marquee__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--violet-2);
  flex-shrink: 0;
}
.marquee--cream .marquee__dot { background: var(--violet); }
@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   LIVE TICKER (in nav / hero)
   ============================================================ */
.ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10, 10, 12, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}
.ticker__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #19c08e;
  box-shadow: 0 0 0 4px rgba(25, 192, 142, 0.18);
  animation: tickerPulse 1.8s ease-out infinite;
}
@keyframes tickerPulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 192, 142, 0.5); }
  100% { box-shadow: 0 0 0 10px rgba(25, 192, 142, 0); }
}
.ticker__label { color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================================================
   SPOTLIGHT CARDS (cursor-tracked glow)
   ============================================================ */
.spot {
  position: relative;
  isolation: isolate;
}
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 92, 255, 0.18), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.spot:hover::before { opacity: 1; }
.spot > * { position: relative; z-index: 1; }
.feature--dark.spot::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(138, 92, 255, 0.28), transparent 50%); }
.feature--violet.spot::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.14), transparent 50%); }

/* ============================================================
   SCROLL DOWN HINT
   ============================================================ */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--muted);
  text-transform: uppercase;
  z-index: 3;
  opacity: 0;
  animation: fadeIn 0.6s 1.2s ease-out forwards;
}
.scroll-hint__line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--ink));
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::after {
  content: "";
  position: absolute;
  top: -32px;
  left: 0;
  width: 1px;
  height: 16px;
  background: linear-gradient(to bottom, transparent, var(--violet));
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { top: -32px; }
  100% { top: 32px; }
}

/* ============================================================
   ANIMATED GRADIENT BORDER (for cards/badges)
   ============================================================ */
.grad-border {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  isolation: isolate;
}
.grad-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from var(--a, 0deg), var(--violet) 0deg, var(--violet-deep) 90deg, var(--ink) 180deg, var(--violet-2) 270deg, var(--violet) 360deg);
  z-index: -1;
  animation: gradSpin 8s linear infinite;
}
@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes gradSpin { to { --a: 360deg; } }

/* ============================================================
   HOVER LIFT IMG / CARDS
   ============================================================ */
.lift {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

/* ============================================================
   PILL TABS
   ============================================================ */
.pill-tabs {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 4px;
}
.pill-tab {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  cursor: pointer;
}
.pill-tab.is-active { background: var(--ink); color: #fff; }

/* ============================================================
   PRICING-PAGE SPECIFIC
   ============================================================ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.plan {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.plan--featured {
  background: var(--ink);
  color: #fff;
  border-color: transparent;
}
.plan__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin-bottom: 14px;
}
.plan--featured .plan__tag { color: var(--violet-2); }
.plan__name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 36px;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__price .curr { font-size: 18px; color: var(--muted); font-weight: 500; }
.plan--featured .plan__price .curr { color: rgba(255,255,255,0.55); }
.plan__period { color: var(--muted); font-size: 14px; margin-top: 6px; }
.plan--featured .plan__period { color: rgba(255,255,255,0.55); }
.plan__sub { color: var(--muted); font-size: 15px; margin: 22px 0; line-height: 1.5; }
.plan--featured .plan__sub { color: rgba(255,255,255,0.6); }
.plan__list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 12px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.plan__list svg { color: var(--violet); flex: 0 0 18px; margin-top: 2px; }
.plan--featured .plan__list svg { color: var(--violet-2); }
.plan__cta { margin-top: auto; }
.plan__ribbon {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--violet);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .plans { grid-template-columns: 1fr; }
}

/* ============================================================
   SECURITY-PAGE SPECIFIC: ledger viz
   ============================================================ */
.ledger {
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 40px;
  font-family: var(--font-mono);
  font-size: 13px;
  overflow: hidden;
  position: relative;
}
.ledger__row {
  display: grid;
  grid-template-columns: 80px 1fr 110px 110px 110px;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  align-items: center;
  opacity: 0;
  transform: translateX(-12px);
  animation: ledgerRow 0.6s var(--ease) forwards;
}
.ledger__row:nth-child(1) { animation-delay: 0.1s; }
.ledger__row:nth-child(2) { animation-delay: 0.3s; }
.ledger__row:nth-child(3) { animation-delay: 0.5s; }
.ledger__row:nth-child(4) { animation-delay: 0.7s; }
.ledger__row:nth-child(5) { animation-delay: 0.9s; }
@keyframes ledgerRow { to { opacity: 1; transform: translateX(0); } }
.ledger__tag {
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.08em;
  text-align: center;
  font-weight: 700;
}
.ledger__tag.debit { background: rgba(255, 106, 106, 0.15); color: #ff8b8b; }
.ledger__tag.credit { background: rgba(25, 192, 142, 0.15); color: #6cf0c8; }
.ledger__amt.pos { color: #6cf0c8; }
.ledger__amt.neg { color: #ff8b8b; }

/* ============================================================
   FEATURES PAGE: gallery rows
   ============================================================ */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.gallery__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.gallery__row.reverse > :first-child { order: 2; }
.gallery__text h3 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.gallery__text h3 .ital { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.gallery__text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 24px;
}
.gallery__visual {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--violet-deep) 0%, var(--ink) 100%);
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__visual--cream {
  background: var(--paper-2);
  color: var(--ink);
}
.gallery__visual--white {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
@media (max-width: 880px) {
  .gallery__row { grid-template-columns: 1fr; gap: 32px; }
  .gallery__row.reverse > :first-child { order: 0; }
  .gallery { gap: 80px; }
}

/* ============================================================
   PAGE HEAD (sub-pages)
   ============================================================ */
.page-head {
  position: relative;
  padding: 180px 0 80px;
  background: var(--paper);
  text-align: left;
  overflow: hidden;
}
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 10, 12, 0.05) 0.7px, transparent 0.7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  pointer-events: none;
}
.page-head__inner { position: relative; z-index: 2; max-width: 820px; }
.page-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet-deep);
  font-weight: 700;
  margin-bottom: 18px;
}
.page-head h1 {
  font-size: clamp(54px, 8vw, 110px);
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
}
.page-head h1 .ital { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.page-head p {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.45;
  max-width: 56ch;
}
.page-head__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.page-head__crumb a:hover { color: var(--violet-deep); }

/* ============================================================
   ANIMATED FLOW (for security page)
   ============================================================ */
.flow {
  position: relative;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  padding: 40px;
  margin-top: 60px;
  overflow: hidden;
}
.flow__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}
.flow__lane {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.flow__node {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
}
.flow__node strong { display: block; color: var(--ink); margin-bottom: 4px; font-weight: 700; }
.flow__node span { color: var(--muted); }
.flow__arrow {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--violet-deep));
  overflow: visible;
}
.flow__arrow::after {
  content: "";
  position: absolute;
  right: -2px; top: 50%;
  width: 6px; height: 6px;
  border-top: 2px solid var(--violet-deep);
  border-right: 2px solid var(--violet-deep);
  transform: translateY(-50%) rotate(45deg);
}
.flow__arrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--violet);
  transform: translateY(-50%);
  animation: flowDot 2.4s linear infinite;
}
@keyframes flowDot {
  0% { left: 0%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}

/* ============================================================
   COMPARE TABLE (pricing)
   ============================================================ */
.compare {
  margin-top: 80px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.compare__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 15px;
}
.compare__row:last-child { border-bottom: 0; }
.compare__row--head {
  background: var(--paper);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.compare__row--head strong { color: var(--ink); }
.compare__cell { display: flex; justify-content: center; align-items: center; }
.compare__cell:first-child { justify-content: flex-start; font-weight: 600; letter-spacing: -0.01em; }
.compare__check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--violet-deep);
  display: flex; align-items: center; justify-content: center;
}
.compare__dash {
  width: 14px; height: 2px; background: var(--line-strong); border-radius: 1px;
}
@media (max-width: 720px) {
  .compare__row { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 14px 16px; font-size: 13px; }
}

/* ============================================================
   FX UTILITIES
   ============================================================ */
.fx-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/></svg>");
}

.fx-blob {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  z-index: 0;
}

/* number-fall on hover (for big stats) */
.tilt {
  transition: transform 0.4s var(--ease);
  transform-style: preserve-3d;
}

/* underline-reveal links */
.link-rev {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-rev::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right center;
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.link-rev:hover::after { transform-origin: left center; transform: scaleX(1); }

/* small badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--violet-soft);
  color: var(--violet-deep);
}

/* nav active state */
.nav__links a.is-active {
  background: rgba(10, 10, 12, 0.05);
  color: var(--ink);
}

/* ============================================================
   EMOJI DECORATIONS
   ============================================================ */
.emoji {
  display: inline-block;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  font-style: normal;
  font-feature-settings: normal;
  line-height: 1;
  vertical-align: -0.08em;
}
.emoji-lg { font-size: 1.4em; }
.emoji-xl { font-size: 2em; }

/* floating emoji stickers (around hero / sections) */
.sticker {
  position: absolute;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  font-size: 48px;
  line-height: 1;
  pointer-events: none;
  z-index: 4;
  filter: drop-shadow(0 8px 18px rgba(10, 10, 12, 0.12));
  animation: stickerFloat 7s ease-in-out infinite;
  user-select: none;
}
.sticker--sm { font-size: 32px; }
.sticker--md { font-size: 56px; }
.sticker--lg { font-size: 72px; }
.sticker--tilt-l { transform: rotate(-12deg); }
.sticker--tilt-r { transform: rotate(10deg); }
@keyframes stickerFloat {
  0%, 100% { transform: var(--rot, rotate(0deg)) translateY(0); }
  50% { transform: var(--rot, rotate(0deg)) translateY(-14px); }
}
.sticker--tilt-l { --rot: rotate(-12deg); }
.sticker--tilt-r { --rot: rotate(10deg); }

/* feature card emoji corner */
.feature__emoji {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  font-size: 28px;
  line-height: 1;
  opacity: 0.95;
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.feature:hover .feature__emoji { transform: rotate(-12deg) scale(1.15); }

/* pricing plan emoji */
.plan__emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  font-size: 40px;
  line-height: 1;
  margin-bottom: 16px;
}

/* emoji bullets list */
.emoji-list {
  list-style: none;
  padding: 0; margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.emoji-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--muted);
}
.emoji-list li .emoji {
  font-size: 22px;
  flex-shrink: 0;
}
