/* =====================================================================
   CRYPTO GANG v5 — Luxury & Glass Design System
   Dark-only. Gold accent (#bba470) replaces Electric Iris.
   Palette: #ffffff, #161514, #bba470. Glass morphology. Gradients.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Accent: Luxury Gold */
  --accent:        #bba470;
  --accent-hover:  #cdb98a;
  --accent-active: #a08a58;
  --accent-ink:    #161514;
  --accent-soft:   rgba(187, 164, 112, 0.12);
  --accent-line:   rgba(187, 164, 112, 0.28);

  /* Dark surfaces — near-black luxury */
  --bg:            #161514;
  --surface:       #1c1a18;
  --elevated:      #222019;
  --border:        rgba(187, 164, 112, 0.10);
  --border-soft:   rgba(187, 164, 112, 0.06);

  /* Text */
  --ink:           #f5f2ec;
  --body:          #b0a898;
  --muted:         #7a7168;

  /* Semantic */
  --error:         #C34D4A;
  --success:       #34d399;

  /* Gradient text endpoints — gold shimmer */
  --grad-a:        #bba470;
  --grad-b:        #f5f2ec;

  /* Card left-accent line */
  --card-left-accent: rgba(187, 164, 112, 0.45);

  /* Atmosphere halos — warm gold tones */
  --halo-1: rgba(187, 164, 112, 0.28);
  --halo-2: rgba(191, 177, 155, 0.20);
  --halo-3: rgba(160, 138, 88,  0.16);

  /* Luxury gradients */
  --grad-luxury-1: linear-gradient(135deg, #000000, #2E2A27, #6B6256, #000000);
  --grad-luxury-2: linear-gradient(135deg, #000000, #3A3530, #BFB19B, #000000);

  /* Pixel blast color */
  --pixel: #bba470;

  /* Shadows */
  --shadow-mockup: 0 0 40px 10px rgba(0, 0, 0, 0.65);
  --shadow-drop:   0 16px 40px -10px rgba(0, 0, 0, 0.7),
                   0 2px 10px rgba(0, 0, 0, 0.5);

  /* Geometry (Nexo spec) */
  --r-sm:   6px;    /* buttons */
  --r-md:   8px;    /* cards, inputs */
  --r-pill: 50px;   /* search, chips */
  --r-full: 9999px;

  /* Layout */
  --maxw:        1440px;
  --gutter:      48px;
  --section-gap: 96px;
  --card-pad:    24px;

  /* Typography */
  --font:      "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Motion */
  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:   0.18s;
  --t-med:    0.28s;

  color-scheme: dark;
}

/* ---------------------------------------------------------------------
   LIGHT THEME TOKENS
   --------------------------------------------------------------------- */
[data-theme="light"] {
  --bg:            #f8f5ef;
  --surface:       #ffffff;
  --elevated:      #f2ede4;
  --border:        rgba(140, 110, 60, 0.14);
  --border-soft:   rgba(140, 110, 60, 0.08);
  --ink:           #1a1714;
  --body:          #5a5043;
  --muted:         #8a7d6a;
  --accent:        #9c7f45;
  --accent-hover:  #b8975a;
  --accent-active: #7a6232;
  --accent-ink:    #ffffff;
  --accent-soft:   rgba(156, 127, 69, 0.12);
  --accent-line:   rgba(156, 127, 69, 0.28);
  --card-left-accent: rgba(156, 127, 69, 0.40);
  --halo-1: rgba(156, 127, 69, 0.18);
  --halo-2: rgba(180, 160, 110, 0.14);
  --halo-3: rgba(140, 110, 60, 0.10);
  --grad-a: #9c7f45;
  --grad-b: #3a2e18;
  --pixel:  #bba470;
  --grad-luxury-1: linear-gradient(135deg, #f0e8d8, #d4c4a0, #b8a070, #f0e8d8);
  --grad-luxury-2: linear-gradient(135deg, #ede4d4, #c8b890, #a88c50, #ede4d4);
  --shadow-mockup: 0 0 40px 10px rgba(100, 80, 40, 0.18);
  --shadow-drop:   0 16px 40px -10px rgba(100, 80, 40, 0.22),
                   0 2px 10px rgba(100, 80, 40, 0.12);
  color-scheme: light;
}

[data-theme="light"] #pixel-bg { opacity: 0.06; }
[data-theme="light"] main::before { background: color-mix(in srgb, var(--bg) 70%, transparent); }

[data-theme="light"] .hero::before { opacity: 0.30; }
[data-theme="light"] .hero__copy {
  background: color-mix(in srgb, var(--bg) 75%, transparent);
}

[data-theme="light"] .phone {
  --p-bg: #f0ead8; --p-card: #ffffff; --p-ink: #1a1714; --p-sub: #6a5d4a;
  --p-acc: #9c7f45; --p-acc2: #b8975a; --p-line: rgba(140,110,60,0.12); --p-up: #1a8a58;
}
[data-theme="light"] .phone__frame {
  background: linear-gradient(155deg, #cfc4a8 0%, #e8e0cc 46%, #f0ead8 100%);
  box-shadow: var(--shadow-mockup), inset 0 0 0 2px rgba(140,110,60,0.12), inset 0 1.5px 1px rgba(255,255,255,0.8);
}
[data-theme="light"] .phone__frame::before,
[data-theme="light"] .phone__frame::after { background: linear-gradient(#bdb090,#cfc4a8); }
[data-theme="light"] .phone__frame::after { box-shadow: 0 46px 0 #bdb090; }
[data-theme="light"] .phone__balance {
  background: linear-gradient(140deg, #8a6a2a 0%, #b8975a 46%, #d4b070 100%);
  box-shadow: 0 12px 26px -10px rgba(120,90,30,0.40);
}
[data-theme="light"] .phone__screen {
  background: radial-gradient(120% 75% at 82% -8%, rgba(156,127,69,0.10), transparent 52%), var(--p-bg);
}
[data-theme="light"] .phone__avatar { background: linear-gradient(135deg, #7a6030, #9c7f45); }

[data-theme="light"] .card3d__face {
  background:
    radial-gradient(120% 150% at 12% 6%, rgba(156,127,69,.14) 0%, transparent 46%),
    linear-gradient(155deg, #d8ccb0 0%, #e8e0c8 56%, #f0ead8 100%);
  border: 1px solid rgba(140,110,60,.16);
  color: #1a1714;
}
[data-theme="light"] .card3d__brand { color: #9c7f45; }
[data-theme="light"] .card3d__number,
[data-theme="light"] .card3d__holder-name { color: #1a1714; }
[data-theme="light"] .card3d__wordmark { color: rgba(26,23,20,.55); }
[data-theme="light"] .card3d__sheen {
  background: linear-gradient(115deg, transparent 38%, rgba(156,127,69,.14) 50%, transparent 62%);
}

[data-theme="light"] .footer { background: var(--grad-luxury-1); }
[data-theme="light"] .stat-card,
[data-theme="light"] .stat-mini {
  background: #f2ede4;
}
[data-theme="light"] .faqx::before { opacity: 0.10; }

[data-theme="light"] .cnav {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 8px 32px rgba(100,80,40,0.12), 0 2px 8px rgba(100,80,40,0.08), inset 0 1px 0 rgba(156,127,69,0.08);
}

/* ---------------------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  transition: background-color 0.25s ease;
  overflow-x: hidden;
  max-width: 100vw;
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--body);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  overscroll-behavior-x: none;
  touch-action: pan-y;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-sm); }

/* ---------------------------------------------------------------------
   3. PIXEL BLAST BACKGROUND
   --------------------------------------------------------------------- */
#pixel-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--bg);
}
#pixel-bg canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  opacity: 0.5;
}

main, .footer { position: relative; z-index: 1; }
main::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
}
main > * { position: relative; z-index: 1; }

@media (max-width: 760px) { #pixel-bg { opacity: 0.14; } }

/* ---------------------------------------------------------------------
   4. TYPOGRAPHY PRIMITIVES
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem);   line-height: 1.08; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.4; }
h4 { font-size: 1rem; font-weight: 700; line-height: 1.5; }

p { color: var(--body); }
strong, b { font-weight: 600; color: var(--ink); }

.gradient-text {
  background: linear-gradient(100deg, var(--grad-a) 0%, var(--grad-b) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
}

.eyebrow,
.section-head__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   5. LAYOUT
   --------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-gap); position: relative; }

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head__eyebrow { margin-bottom: 14px; }
.section-head__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
}
.section-head__sub {
  margin-top: 16px;
  font-size: 1.05rem;
  color: var(--body);
  max-width: 60ch;
  line-height: 1.6;
}
.section-head--center .section-head__sub { margin-inline: auto; }

/* ---------------------------------------------------------------------
   6. REVEAL ANIMATION — В 2 РАЗА МЕДЛЕННЕЕ (ещё медленнее)
   --------------------------------------------------------------------- */

/* Base: fade + rise — теперь анимация длится 2.4 секунды (было 0.65s → 1.2s → 2.4s) */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 2.4s var(--ease-out),
    transform 2.4s var(--ease-out);
  will-change: opacity, transform;
}

/* Direction variants */
.reveal[data-from="left"]  { transform: translateX(-60px) translateY(0); }
.reveal[data-from="right"] { transform: translateX(60px)  translateY(0); }
.reveal[data-from="scale"] { transform: scale(0.94) translateY(30px); }
.reveal[data-from="fade"]  { transform: none; }

/* Visible state */
.reveal.is-visible {
  opacity: 1;
  transform: none !important;
}

/* Stagger delays — увеличенные задержки между элементами (в 2 раза больше) */
.reveal[data-delay="1"] { transition-delay: 0.24s; }
.reveal[data-delay="2"] { transition-delay: 0.48s; }
.reveal[data-delay="3"] { transition-delay: 0.72s; }
.reveal[data-delay="4"] { transition-delay: 0.96s; }
.reveal[data-delay="5"] { transition-delay: 1.20s; }
.reveal[data-delay="6"] { transition-delay: 1.44s; }
.reveal[data-delay="7"] { transition-delay: 1.68s; }
.reveal[data-delay="8"] { transition-delay: 1.92s; }

/* Stagger-group: дети анимируются по очереди с увеличенными задержками (в 2 раза больше) */
.reveal-group > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1.8s var(--ease-out),
    transform 1.8s var(--ease-out);
}
.reveal-group.is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.00s; }
.reveal-group.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.30s; }
.reveal-group.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.60s; }
.reveal-group.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.90s; }
.reveal-group.is-visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 1.20s; }
.reveal-group.is-visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 1.50s; }

/* Horizontal line draw animation (connector) — увеличенная длительность (в 2 раза больше) */
.reveal-line {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 2.8s var(--ease-out);
}
.reveal-line.is-visible { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-group > *,
  .reveal-line {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------------------------------------------------------------------
   7. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    opacity var(--t-fast) var(--ease);
  -webkit-user-select: none;
  user-select: none;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 1em; height: 1em; transition: transform 0.2s var(--ease); flex-shrink: 0; }
.btn:hover svg { transform: translateX(2px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--primary:active { background: var(--accent-active); border-color: var(--accent-active); }
.btn--primary:disabled {
  background: rgba(178, 190, 195, 0.3);
  border-color: transparent;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--accent-line); color: var(--accent); }

.btn--ghost {
  background: transparent;
  color: var(--body);
  border-color: transparent;
  padding-inline: 8px;
}
.btn--ghost:hover { color: var(--ink); }

.btn--sm { height: 32px; padding: 8px 16px; font-size: 14px; }

/* ---------------------------------------------------------------------
   8. NAVIGATION — floating pill
   --------------------------------------------------------------------- */
.cnav-wrap {
  position: fixed;
  top: 1.2em;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px));
  z-index: 200;
  font-family: var(--font);
}

.cnav {
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  backdrop-filter: saturate(140%) blur(20px);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.32), 0 2px 8px rgba(0,0,0,0.20), inset 0 1px 0 rgba(187,164,112,0.06);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.cnav.is-scrolled { border-color: var(--accent-line); }
.cnav.is-open { border-color: var(--accent-line); box-shadow: 0 12px 40px rgba(0,0,0,0.44), 0 4px 12px rgba(0,0,0,0.24), inset 0 1px 0 rgba(187,164,112,0.10); }

.cnav-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  height: 54px;
  padding: 0 10px;
}

.cnav-burger {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 8px;
  padding: 0;
  justify-self: start;
  border: 1px solid var(--accent-line) !important;
  background: var(--accent-soft) !important;
  color: var(--muted);
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.cnav-burger:hover {
  border-color: var(--accent) !important;
  color: var(--accent);
}
.cnav-burger span {
  display: block;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.cnav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}
.cnav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

.cnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.cnav-logo {
  width: 28px; height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.cnav-logo svg { width: 100%; height: 100%; }
.cnav-name {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.cnav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  justify-self: end;
}
.cnav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 0 16px;
  height: 34px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease);
}
.cnav-cta:hover { background: var(--accent-hover); }

.cnav-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 36px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  cursor: pointer;
  user-select: none;
  transition: background-color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.cnav-lang:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.cnav-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--muted);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.cnav-theme:hover { color: var(--accent); border-color: var(--accent-line); }

.cnav-theme__icon {
  position: absolute;
  width: 16px; height: 16px;
  transition: opacity 0.22s var(--ease), transform 0.28s var(--ease-out);
}
[data-theme="dark"] .cnav-theme__icon--moon { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="dark"] .cnav-theme__icon--sun  { opacity: 0; transform: rotate(90deg) scale(0.6); }
[data-theme="light"] .cnav-theme__icon--sun  { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .cnav-theme__icon--moon { opacity: 0; transform: rotate(-90deg) scale(0.6); }

.cnav-content {
  height: 0;
  overflow: hidden;
  display: flex;
  gap: 8px;
  padding: 0 8px;
  align-items: stretch;
}
.cnav.is-open .cnav-content { padding: 0 8px 8px; }

.nav-card {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  gap: 0;
  user-select: none;
  min-height: 110px;
}
.nav-card-label {
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: inherit;
  margin-bottom: 12px;
}
.nav-card-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-card-link {
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: inherit;
  padding: 1px 0;
}
.nav-card-link:hover { opacity: 1; }
.nav-card-link svg { flex-shrink: 0; opacity: 0.65; }

@media (max-width: 860px) {
  .cnav-wrap { width: calc(100vw - 32px); max-width: calc(100vw - 32px); top: 1em; }
  .cnav-top { height: 52px; }
  .cnav-content { flex-direction: column; gap: 6px; }
  .nav-card { flex: 0 0 auto; min-height: 0; padding: 12px 14px; }
  .nav-card-label { font-size: 0.9rem; margin-bottom: 8px; }
  .cnav-cta { display: none; }
}

/* ---------------------------------------------------------------------
   9. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 148px;
  padding-bottom: 96px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 100% 8%, var(--halo-1) 0%, transparent 52%),
    radial-gradient(90% 70% at 92% 78%, var(--halo-2) 0%, transparent 55%),
    var(--grad-luxury-1);
  opacity: 0.55;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__copy {
  max-width: 38rem;
  position: relative;
  z-index: 2;
  padding: 40px 40px 36px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 48%, transparent);
  -webkit-backdrop-filter: saturate(120%) blur(18px);
  backdrop-filter: saturate(120%) blur(18px);
  border: 1px solid var(--accent-line);
  animation: hero-glow 3.5s ease-in-out infinite;
}

@keyframes hero-glow {
  0%, 100% { border-color: rgba(187,164,112,0.16); box-shadow: 0 0 0 0 transparent; }
  50%       { border-color: rgba(187,164,112,0.44); box-shadow: 0 0 28px rgba(187,164,112,0.08); }
}

.hero__copy::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0.9;
}

.hero__copy .eyebrow { margin-bottom: 20px; }

.hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--body);
  line-height: 1.7;
  max-width: 38ch;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.trust-item svg { color: var(--accent); flex-shrink: 0; }
.trust-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.5;
}

.hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

/* ---------------------------------------------------------------------
   10. PHONE MOCKUP
   --------------------------------------------------------------------- */
.phone {
  --p-bg: #100e0c; --p-card: #1e1a14; --p-ink: #f5f0e6; --p-sub: #8a7d68;
  --p-acc: #bba470; --p-acc2: #d4b980; --p-line: rgba(187,164,112,0.10); --p-up: #34d399;
  position: relative;
  width: clamp(225px, 22vw, 274px);
  margin: 0 auto;
  animation: phone-float 7s var(--ease) infinite;
}
@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%       { transform: translateY(-14px) rotate(0.5deg); }
}
.phone__frame {
  position: relative;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(155deg, #3a3228 0%, #1e1a14 46%, #100e0a 100%);
  box-shadow: var(--shadow-mockup), inset 0 0 0 2px rgba(187,164,112,0.08), inset 0 1.5px 1px rgba(187,164,112,0.18);
}
.phone__frame::before {
  content: ""; position: absolute; right: -2px; top: 128px;
  width: 3px; height: 58px; border-radius: 2px;
  background: linear-gradient(#3a3028,#1a1410);
}
.phone__frame::after {
  content: ""; position: absolute; left: -2px; top: 104px;
  width: 3px; height: 32px; border-radius: 2px;
  background: linear-gradient(#3a3028,#1a1410);
  box-shadow: 0 46px 0 #2a2418;
}
.phone__island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 23px; background: #000; border-radius: 13px; z-index: 6;
}
.phone__screen {
  position: relative; border-radius: 37px; overflow: hidden;
  background: radial-gradient(120% 75% at 82% -8%, rgba(187,164,112,0.16), transparent 52%), var(--p-bg);
  color: var(--p-ink); display: flex; flex-direction: column;
  padding: 13px 13px 15px;
  font-family: var(--font); font-size: 12px; line-height: 1.3;
}
.phone__screen::after {
  content: ""; position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%);
  width: 104px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.4);
}
.phone__statusbar { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 0; font-size: 12px; font-weight: 500; }
.phone__sb-icons  { display: inline-flex; align-items: center; gap: 5px; }
.phone__topbar    { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.phone__hello     { display: flex; flex-direction: column; line-height: 1.15; }
.phone__hello-sub { color: var(--p-sub); font-size: 11px; }
.phone__hello-name{ color: var(--p-ink); font-size: 16px; font-weight: 500; }
.phone__avatar    {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  background: linear-gradient(135deg, #8a6a32, #bba470);
}
.phone__balance {
  margin-top: 16px; padding: 15px 16px; border-radius: 18px; color: #fff;
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, #3a2e1a 0%, #6b5432 46%, #a08458 100%);
  box-shadow: 0 12px 26px -10px rgba(160,132,88,0.55);
}
.phone__balance::after {
  content: ""; position: absolute; right: -28px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 70%);
}
.phone__bal-label { font-size: 11px; opacity: 0.85; }
.phone__bal       { font-size: 23px; font-weight: 400; letter-spacing: -0.015em; margin-top: 3px; }
.phone__bal-foot  { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; position: relative; z-index: 1; }
.phone__delta     { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; background: rgba(255,255,255,0.18); padding: 3px 8px; border-radius: 999px; }
.phone__cardno    { font-size: 11px; opacity: 0.9; letter-spacing: 0.06em; }
.phone__actions   { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; margin-top: 16px; }
.phone__act       { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 9px; letter-spacing: -0.01em; color: var(--p-sub); min-width: 0; }
.phone__act-ic    { width: 100%; max-width: 44px; aspect-ratio: 1; border-radius: 14px; display: grid; place-items: center; background: var(--p-card); color: var(--p-acc2); border: 1px solid var(--p-line); }
.phone__act-ic svg{ width: 17px; height: 17px; }
.phone__list      { margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.phone__list-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.phone__list-head span:first-child { font-weight: 500; }
.phone__list-all  { color: var(--p-acc2); font-size: 11px; }
.phone__tx        { display: flex; align-items: center; gap: 10px; }
.phone__tx-ic     { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--p-card); color: var(--p-sub); border: 1px solid var(--p-line); flex-shrink: 0; }
.phone__tx-ic svg { width: 15px; height: 15px; }
.phone__tx-ic--in { color: var(--p-up); }
.phone__tx-ic--fx { color: var(--p-acc2); }
.phone__tx-main   { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.phone__tx-t      { font-size: 12px; color: var(--p-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__tx-d      { font-size: 10px; color: var(--p-sub); }
.phone__tx-amt    { font-size: 12px; color: var(--p-ink); white-space: nowrap; }
.phone__tx-amt--in{ color: var(--p-up); }
.phone__tabbar    { margin-top: 14px; display: flex; justify-content: space-around; align-items: center; padding: 11px 6px 4px; border-top: 1px solid var(--p-line); }
.phone__tab       { color: var(--p-sub); }
.phone__tab svg   { width: 20px; height: 20px; }
.phone__tab.is-active { color: var(--p-acc2); }

@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }
@media (max-width: 600px) {
  .hero__art { min-height: 0; }
  .phone { width: 72vw; max-width: 300px; }
}

/* ---------------------------------------------------------------------
   11. MARQUEE
   --------------------------------------------------------------------- */
.marquee-band { overflow: hidden; background: transparent; }
.marquee {
  display: flex;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
  padding-block: 16px;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.marquee__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding-inline: 28px;
}
.marquee__num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.marquee__label {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.marquee__dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
  align-self: center;
}

/* ---------------------------------------------------------------------
   12. STATS
   --------------------------------------------------------------------- */
@property --cg-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes cg-spin { to { --cg-angle: 360deg; } }

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 52px;
  position: relative;
}
.stats__mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  position: relative;
}

.stats__connector {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 144px);
  height: 1px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.stats__connector::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent) 40%, var(--accent) 60%, transparent);
  box-shadow: 0 0 10px var(--accent), 0 0 24px rgba(187,164,112,.30);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .9s cubic-bezier(.16,1,.3,1) .2s;
}
.stats__connector.is-active::before { transform: scaleX(1); }
.stats__connector-dot {
  position: absolute; top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  transform: translateY(-50%) scale(0);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.stats__connector-dot--l { left: 0; transition-delay: .6s; }
.stats__connector-dot--r { right: 0; transition-delay: .8s; }
.stats__connector.is-active .stats__connector-dot { transform: translateY(-50%) scale(1); }

.stats__mini::before {
  content: '';
  position: absolute;
  top: 40%; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line) 20%, var(--accent-line) 80%, transparent);
  pointer-events: none;
  z-index: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .8s cubic-bezier(.16,1,.3,1) .8s;
}
.stats__mini.is-line-active::before { transform: scaleX(1); }

.stat-card, .stat-mini {
  transition: border-color .3s, box-shadow .3s, transform .22s var(--ease);
}
.stat-card.is-lit {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), 0 0 28px rgba(187,164,112,.14);
}
.stat-mini.is-lit {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 1px var(--accent-line), 0 0 20px rgba(187,164,112,.12);
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 36px 36px 30px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--card-left-accent) -25px 0px 0px -24px;
  transition: transform 0.45s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.stat-card > * { position: relative; z-index: 1; }
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-left-accent) -25px 0px 0px -24px, rgba(0,0,0,0.08) 0px 4px 16px;
}

.stat-card__label {
  font-size: 1.2rem;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: auto;
  line-height: 1.4;
}
.stat-card__num {
  display: flex;
  align-items: baseline;
  gap: 0.06em;
  margin: 30px 0 26px;
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--accent);
  font-feature-settings: "tnum" on;
}
.stat-card__num .unit { font-size: 0.3em; color: var(--accent); font-weight: 400; letter-spacing: -0.01em; }
.stat-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.stat-card__cap  { font-size: 0.8rem; color: var(--muted); white-space: nowrap; padding-top: 2px; }
.stat-card__list { display: flex; flex-direction: column; gap: 10px; max-width: 22rem; }
.stat-card__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.4; color: var(--body); }
.stat-card__list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }

.stat-card--feature { border-color: transparent; box-shadow: none; }
.stat-card--feature .stat-card__num { color: var(--accent); }
.stat-card--feature::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--cg-angle), transparent, var(--accent) 25%, transparent 50%, var(--accent) 75%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cg-spin 7s linear infinite;
}
.stat-card--feature::after {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  background: radial-gradient(70% 90% at 75% 12%, var(--halo-1), transparent 68%);
  opacity: 0.4;
}
.stat-card--feature:hover { box-shadow: none; transform: translateY(-4px); }

.stat-mini {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-left-accent) -25px 0px 0px -24px;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.stat-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-left-accent) -25px 0px 0px -24px, rgba(0,0,0,0.06) 0px 2px 8px;
}
.stat-mini__num {
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  letter-spacing: -0.03em;
  color: var(--accent);
  white-space: nowrap;
  font-feature-settings: "tnum" on;
}
.stat-mini__num .unit { font-size: 0.5em; color: var(--accent); }
.stat-mini__label { font-size: 0.92rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .stat-card--feature::before { animation: none; }
  .stat-card:hover, .stat-mini:hover { transform: none; }
}
@media (max-width: 860px) {
  .stats__grid, .stats__mini { grid-template-columns: 1fr; }
  .stat-card { min-height: 0; padding: 28px 24px 24px; }
}
@media (max-width: 640px) {
  .stats__connector { top: 50%; left: 50%; width: 1px; height: calc(100% - 60px); transform: translate(-50%,-50%); }
  .stats__connector::before { background: linear-gradient(180deg, transparent, var(--accent) 40%, var(--accent) 60%, transparent); transform: scaleY(0); transform-origin: center; transition: transform .9s cubic-bezier(.16,1,.3,1) .2s; }
  .stats__connector.is-active::before { transform: scaleY(1); }
}

/* ---------------------------------------------------------------------
   13. ASSETS — 3D card + services
   --------------------------------------------------------------------- */
.assets { position: relative; overflow: visible; }
.assets .wrap { position: relative; z-index: 1; overflow: visible; }

.assets-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card-center {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

#magic-rings {
  position: absolute;
  inset: -180px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, black 28%, transparent 70%);
  mask-image: radial-gradient(ellipse 62% 68% at 50% 50%, black 28%, transparent 70%);
}
#magic-rings canvas { width: 100% !important; height: 100% !important; }
.card-center .card-orbit-wrap { position: relative; z-index: 2; }

.card-orbit-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
  margin: 0 auto;
}
.card-orbit-wrap .card3d { margin: 0; position: relative; z-index: 5; }
.card-orbit-ring { position: absolute; top: 50%; left: 50%; width: 0; height: 0; pointer-events: none; }
.orbit-item { position: absolute; top: 0; left: 0; width: 56px; height: 56px; will-change: transform, opacity; transition: none; }
.orbit-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.orbit-icon img { width: 26px; height: 26px; object-fit: contain; opacity: 0.9; }

@media (prefers-reduced-motion: reduce) { .orbit-item { animation: none; } }
@media (max-width: 700px) {
  .card-orbit-wrap { height: 360px; }
  .orbit-item { width: 44px; height: 44px; }
  .orbit-icon { width: 44px; height: 44px; border-radius: 12px; }
  .orbit-icon img { width: 20px; height: 20px; }
}

.card3d {
  --card-w: 420px;
  --card-h: 264px;
  position: relative;
  display: flex;
  justify-content: center;
  margin: clamp(36px,6vw,64px) auto clamp(48px,7vw,80px);
  width: var(--card-w);
  width: var(--card-w);
  max-width: 100%;
}
.card3d__stage {
  position: relative;
  width: var(--card-w); height: var(--card-h);
  max-width: 100%;
  perspective: 1400px;
  z-index: 2;
}
.card3d__inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  animation: card3d-spin 16s linear infinite;
  will-change: transform;
}
@keyframes card3d-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

.card3d__face {
  position: absolute; inset: 0;
  border-radius: 18px; overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background:
    radial-gradient(120% 150% at 12% 6%, rgba(187,164,112,.20) 0%, transparent 46%),
    linear-gradient(155deg, #2a2318 0%, #1a1510 56%, #120f08 100%);
  border: 1px solid rgba(187,164,112,.12);
  box-shadow: var(--shadow-mockup);
  color: #f5f0e6;
}
.card3d__face::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; border: 1px solid var(--accent-line);
  mix-blend-mode: screen; opacity: 0.6;
}
.card3d__face--front { transform: rotateY(0deg) translateZ(1px);  padding: 26px 28px; display: flex; flex-direction: column; }
.card3d__face--back  { transform: rotateY(180deg) translateZ(1px); padding: 26px 28px; display: flex; flex-direction: column; }

.card3d__sheen {
  position: absolute; inset: -40% -10%; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(187,164,112,.18) 50%, transparent 62%);
  animation: card3d-sheen 16s ease-in-out infinite;
}
@keyframes card3d-sheen {
  0%,100% { transform: translateX(-12%); opacity: 0.5; }
  50%     { transform: translateX(12%);  opacity: 1; }
}

.card3d__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card3d__brand { display: inline-flex; color: #bba470; }
.card3d__logo  { width: 38px; height: 42px; display: block; filter: drop-shadow(0 0 10px rgba(187,164,112,.40)); }
.card3d__wordmark { font-size: 0.62rem; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(232,236,246,.62); }

.card3d__chip {
  position: relative; margin-top: 22px;
  width: 46px; height: 34px; border-radius: 7px;
  background: linear-gradient(135deg, #d9b75a 0%, #b8923a 48%, #e7cd7f 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.18);
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 0 7px; overflow: hidden;
}
.card3d__chip::before {
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 16px;
  transform: translateX(-50%);
  border-left: 1px solid rgba(0,0,0,.25);
  border-right: 1px solid rgba(0,0,0,.25);
}
.card3d__chip-line { height: 1px; background: rgba(0,0,0,.22); }
.card3d__number { margin-top: auto; font-size: 1.18rem; letter-spacing: .10em; color: #f1f4fb; text-shadow: 0 1px 0 rgba(0,0,0,.4); }
.card3d__bottom { margin-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.card3d__holder { display: flex; flex-direction: column; gap: 3px; }
.card3d__holder-label { font-size: .52rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(232,236,246,.45); }
.card3d__holder-name  { font-size: .86rem; letter-spacing: .08em; color: #eef2fb; }
.card3d__scheme { font-size: .7rem; letter-spacing: .12em; color: rgba(232,236,246,.7); }

.card3d__halo {
  position: absolute; left: 50%; bottom: -6%; width: 78%; height: 56%;
  transform: translateX(-50%); z-index: 1; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, var(--halo-1) 0%, transparent 70%);
  filter: blur(28px); opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .card3d__inner { animation: none; }
  .card3d__sheen { animation: none; opacity: 0.5; }
}
@media (max-width: 700px) {
  .card3d { --card-w: 320px; --card-h: 202px; }
  .card3d__face--front { padding: 20px 22px; }
  .card3d__number { font-size: 1rem; letter-spacing: 0.08em; }
  .card3d__logo { width: 32px; height: 36px; }
  .card3d__chip { width: 40px; height: 30px; margin-top: 16px; }
}
@media (max-width: 420px) {
  .card3d { --card-w: 280px; --card-h: 176px; }
}

.services-icons { display: flex; flex-direction: column; gap: 0; padding: 4px 0; }
.services-icons__group {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.services-icons__group:first-child { padding-top: 0; }
.services-icons__group:last-child  { border-bottom: none; padding-bottom: 0; }
.services-icons__label {
  font-family: var(--font-mono);
  font-size: .64rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted);
  margin-bottom: 10px; display: block;
}
.services-icons__row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.services-icons__icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
  cursor: default;
}
.services-icons__icon:hover { border-color: var(--accent-line); transform: translateY(-2px); }
.services-icons__icon img { width: 20px; height: 20px; object-fit: contain; display: block; }

@media (max-width: 900px) {
  .assets-layout {
    flex-direction: column;
    gap: 24px;
  }
  .card-center { max-width: 100%; }
  .services-icons { order: -1; }
  #magic-rings { inset: -60px; }
}

/* ---------------------------------------------------------------------
   14. TRUE FOCUS
   --------------------------------------------------------------------- */
.tf-host { position: relative; display: flex; flex-wrap: wrap; gap: .35em; align-items: baseline; }
.tf-word { transition: opacity .25s ease; white-space: nowrap; }
.tf-plain { opacity: .7; filter: none !important; }
.tf-frame {
  position: absolute; top: 0; left: 0; pointer-events: none;
  transition: left .4s cubic-bezier(.16,1,.3,1), top .4s cubic-bezier(.16,1,.3,1), width .4s cubic-bezier(.16,1,.3,1), height .4s cubic-bezier(.16,1,.3,1), opacity .3s ease;
  opacity: 0;
}
.tf-frame.is-ready { opacity: 1; }
.tf-corner { position: absolute; width: 10px; height: 10px; border: 2px solid var(--accent); filter: drop-shadow(0 0 4px var(--accent)); border-radius: 2px; }
.tf-tl { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.tf-tr { top: -6px; right: -6px; border-left: none;  border-bottom: none; }
.tf-bl { bottom: -6px; left: -6px; border-right: none; border-top: none; }
.tf-br { bottom: -6px; right: -6px; border-left: none; border-top: none; }

/* ---------------------------------------------------------------------
   15. FAQ
   --------------------------------------------------------------------- */
.faqx { position: relative; overflow: hidden; }
.faqx::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-luxury-2);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.faqx .wrap { position: relative; z-index: 1; }

.faqx__layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: start;
}

.faqx__aside {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.faqx__head { margin-bottom: 0; }
.faqx__head .section-head__sub { max-width: 38ch; }

.faqx__cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 28px 26px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, color-mix(in srgb, var(--elevated) 88%, var(--accent) 12%), var(--surface) 78%);
  box-shadow: var(--card-left-accent) -25px 0px 0px -24px, var(--shadow-drop);
  transition: border-color .22s var(--ease);
}
.faqx__cta:hover { border-color: var(--accent-line); }
.faqx__cta::before {
  content: ""; position: absolute;
  left: 28px; right: 28px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}

.faqx__cta-glyph {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 8px;
  border-radius: 13px;
  color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.faqx__cta-glyph svg { width: 23px; height: 23px; }
.faqx__cta-title { font-family: var(--font); font-size: 1.18rem; font-weight: 400; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); }
.faqx__cta-text  { font-size: .94rem; line-height: 1.5; color: var(--body); max-width: 30ch; }
.faqx__cta-btn   { margin-top: 12px; gap: 8px; }
.faqx__cta-btn svg { width: 17px; height: 17px; transition: transform .24s var(--ease-out); }
.faqx__cta-btn:hover svg { transform: translateX(3px); }

.faqx__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faqx__item {
  position: relative;
  border-bottom: 1px solid var(--border);
  transition: background-color .24s var(--ease);
}
.faqx__item::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2px; height: 0;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--accent), var(--accent-hover));
  border-radius: 2px; opacity: 0;
  transition: height .32s var(--ease-out), opacity .24s var(--ease);
}
.faqx__item.is-open::before { height: 64%; opacity: 1; }
.faqx__item.is-open { background: linear-gradient(90deg, color-mix(in srgb, var(--accent-soft) 80%, transparent) 0%, transparent 42%); }

.faqx__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; padding: 24px 6px 24px 18px;
  background: none; border: 0; text-align: left; cursor: pointer;
  color: var(--ink); font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  transition: padding-left .26s var(--ease-out);
}
.faqx__q:hover { color: var(--accent); }
.faqx__item.is-open .faqx__q { padding-left: 22px; }

.faqx__q-text {
  font-size: clamp(1.02rem, .98rem + .28vw, 1.16rem);
  font-weight: 500; letter-spacing: -0.01em; line-height: 1.32;
  color: inherit; transition: color .2s var(--ease);
}
.faqx__q:focus-visible {
  outline: none; border-radius: 8px;
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent-line);
}

.faqx__icon {
  position: relative; flex: 0 0 auto;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  transition: border-color .24s var(--ease), background-color .24s var(--ease), transform .32s var(--ease-out);
}
.faqx__q:hover .faqx__icon { border-color: var(--accent-line); }
.faqx__item.is-open .faqx__icon { border-color: var(--accent-line); background: var(--accent-soft); transform: rotate(135deg); }

.faqx__icon i {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 1.5px; border-radius: 2px;
  background: var(--muted);
  transform: translate(-50%, -50%);
  transition: background-color .24s var(--ease), opacity .24s var(--ease);
}
.faqx__icon i:last-child { transform: translate(-50%, -50%) rotate(90deg); }
.faqx__q:hover .faqx__icon i { background: var(--accent); }
.faqx__item.is-open .faqx__icon i { background: var(--accent); }

.faqx__a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .42s var(--ease-out);
}
.faqx__item.is-open .faqx__a { grid-template-rows: 1fr; }
.faqx__a-inner { overflow: hidden; min-height: 0; }
.faqx__a-inner p {
  margin: 0; padding: 0 56px 26px 18px;
  font-size: .98rem; line-height: 1.62; color: var(--body); max-width: 62ch;
  opacity: 0; transform: translateY(-4px);
  transition: opacity .28s var(--ease) .04s, transform .34s var(--ease-out) .04s;
}
.faqx__item.is-open .faqx__a-inner p { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .faqx__layout { grid-template-columns: 1fr; gap: 36px; }
  .faqx__aside { position: static; top: auto; gap: 24px; }
  .faqx__cta { max-width: 460px; }
}
@media (max-width: 620px) {
  .faqx__layout { gap: 30px; }
  .faqx__cta { padding: 24px 22px; width: 100%; max-width: none; }
  .faqx__cta::before { left: 22px; right: 22px; }
  .faqx__q { gap: 14px; padding: 20px 2px 20px 16px; }
  .faqx__a-inner p { padding: 0 8px 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .faqx__a, .faqx__a-inner p, .faqx__icon, .faqx__item, .faqx__item::before, .faqx__q { transition: none; }
}

/* ---------------------------------------------------------------------
   16. TG CTA
   --------------------------------------------------------------------- */
.tg-cta { position: relative; }
.tg-cta__inner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; align-items: center;
  padding: clamp(32px, 5vw, 56px);
  background: var(--grad-luxury-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--card-left-accent) -25px 0px 0px -24px, var(--shadow-drop);
}
.tg-cta__inner::before {
  content: ""; position: absolute; z-index: -1;
  bottom: -50%; left: -6%; width: 520px; height: 520px;
  background: radial-gradient(circle at center, var(--halo-1) 0%, var(--halo-3) 40%, transparent 70%);
  opacity: 0.6; pointer-events: none;
}

.tg-cta__copy h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 400; letter-spacing: -0.02em; margin-bottom: 14px;
  color: var(--ink);
}
.tg-cta__copy p {
  font-size: 1.05rem; color: var(--body);
  max-width: 50ch; margin-bottom: 24px; line-height: 1.6;
}

.tg-cta__qr {
  width: 148px; height: 148px; flex-shrink: 0;
  padding: 12px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-drop);
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(7, 1fr);
  gap: 3px;
}
.tg-cta__qr span { background: var(--ink); border-radius: 1px; }
.tg-cta__qr span.is-blank { background: transparent; }
.tg-cta__qr span.is-eye   { background: var(--accent); }

@media (max-width: 960px) {
  .tg-cta__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------------------------------------------------------------------
   17. CONTACT
   --------------------------------------------------------------------- */
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__copy .eyebrow { margin-bottom: 14px; }
.contact__copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400; letter-spacing: -0.02em; margin-bottom: 16px; color: var(--ink);
}
.contact__copy p { font-size: 1.05rem; color: var(--body); max-width: 40ch; margin-bottom: 24px; }

.contact__form {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--card-left-accent) -25px 0px 0px -24px;
}

.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 16px; font-weight: 700; color: var(--ink); line-height: normal;
}
.field input,
.field textarea {
  width: 100%;
  height: 64px;
  padding: 16px 12px 16px 24px;
  font-family: var(--font); font-size: 20px; font-weight: 400;
  color: var(--ink);
  background: var(--elevated);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field textarea { height: auto; min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(187,164,112,0.12);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--error); }

.checkbox {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: .86rem; color: var(--body); line-height: 1.45; cursor: pointer;
}
.checkbox input {
  appearance: none; -webkit-appearance: none;
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--elevated);
  display: grid; place-content: center; cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease);
}
.checkbox input::after {
  content: ""; width: 10px; height: 6px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg) scale(0);
  transition: transform .16s var(--ease); margin-bottom: 2px;
}
.checkbox input:checked { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked::after { transform: rotate(-45deg) scale(1); }
.checkbox a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.contact__form .btn--primary { align-self: flex-start; }
.form-status { font-size: .9rem; font-weight: 500; min-height: 1.2em; color: var(--body); }
.form-status.is-error   { color: var(--error); }
.form-status.is-success { color: var(--success); }

@media (max-width: 960px) { .contact__inner { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .contact__form { gap: 16px; } .field input { height: 52px; font-size: 16px; padding: 12px 12px 12px 16px; } }

/* ---------------------------------------------------------------------
   18. FOOTER
   --------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--grad-luxury-1);
  background-size: cover;
  padding-block: 56px 28px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
}

.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 30ch; }
.footer__logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
}
.footer__brand p { font-size: .9rem; color: var(--muted); }

.footer__socials { display: flex; gap: 10px; margin-top: 6px; }
.footer__socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  border: 1px solid var(--border); color: var(--body);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.footer__socials a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.footer__socials svg { width: 18px; height: 18px; }

.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer__col h4 {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a, .footer__col li { font-size: .92rem; color: var(--body); transition: color var(--t-fast) var(--ease); }
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 24px;
  font-size: .85rem; color: var(--muted);
}

@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ---------------------------------------------------------------------
   19. COOKIE
   --------------------------------------------------------------------- */
.cookie {
  position: fixed; z-index: 120;
  left: 50%; bottom: 20px;
  transform: translateX(-50%) translateY(8px);
  width: calc(100% - 32px); max-width: 720px;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 18px;
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-drop);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.cookie.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cookie__icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); }
.cookie__text { font-size: .88rem; color: var(--body); line-height: 1.45; }
.cookie__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btn { flex-shrink: 0; }

@media (max-width: 640px) {
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie__btn { width: 100%; }
}

/* ---------------------------------------------------------------------
   20. MAGIC BENTO — cursor spotlight
   --------------------------------------------------------------------- */
:root { --mb-glow: 187, 164, 112; }

.mb-card { position: relative; }
.mb-glow {
  position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: radial-gradient(
    var(--glow-radius, 320px) circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(var(--mb-glow), calc(var(--glow-intensity,0) * 0.9)) 0%,
    rgba(var(--mb-glow), calc(var(--glow-intensity,0) * 0.4)) 30%,
    transparent 62%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 3; transition: opacity .3s ease;
}
.mb-particle { position: absolute; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; z-index: 4; }
.mb-ripple   { position: absolute; border-radius: 50%; pointer-events: none; z-index: 5; }
.mb-spotlight {
  position: fixed; left: 0; top: 0; width: 680px; height: 680px; border-radius: 50%;
  transform: translate(-50%,-50%); pointer-events: none; z-index: 8; opacity: 0;
  mix-blend-mode: screen; transition: opacity .25s ease; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(var(--mb-glow),.12) 0%, rgba(var(--mb-glow),.06) 22%, transparent 60%);
}
@media (hover: none) { .mb-spotlight { display: none !important; } }

.glow-card { position: relative; }

/* ---------------------------------------------------------------------
   21. RESPONSIVE — global
   --------------------------------------------------------------------- */
@media (max-width: 960px) {
  :root { --section-gap: 72px; --gutter: 32px; }
  .hero { padding-top: 120px; padding-bottom: 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__art { min-height: 420px; }
  .hero__copy { max-width: 100%; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-gap: 60px; }
  body { font-size: 15.5px; }
  .section-head { margin-bottom: 36px; }
  .hero { padding-top: 96px; padding-bottom: 56px; }
  .hero__copy { padding: 28px 24px; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__cta { gap: 10px; }
  .hero__art { min-height: 380px; }
  .marquee__item { padding-inline: 20px; }
  .tg-cta__inner { text-align: left; }
  .tg-cta__qr { margin-inline: auto; }
}

@media print {
  .cnav-wrap, .hero__art, .marquee-band, .cookie, .tg-cta { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------------------------------------------------------------------
   22. LUXURY GRADIENT UTILITIES
   --------------------------------------------------------------------- */
.grad-luxury-1 { background: var(--grad-luxury-1); }
.grad-luxury-2 { background: var(--grad-luxury-2); }

.stats { position: relative; overflow: hidden; }
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-luxury-1);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.stats > * { position: relative; z-index: 1; }

.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-luxury-2);
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.contact > * { position: relative; z-index: 1; }

.glass-card {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: inset 0 1px 0 rgba(187,164,112,0.06), var(--shadow-drop);
}