:root {
  --color-primary: #5F70DB;
  --color-primary-hover: #4e5fc9;
  --color-primary-light: #a4a7e3;
  --color-dark: #0a0a1a;
  --color-dark-bg: #080814;
  --color-text: #1a1a2e;
  --color-text-secondary: rgba(0, 0, 0, 0.56);
  --color-text-light: rgba(255, 255, 255, 0.8);
  --color-border: rgba(0, 0, 0, 0.06);
  --color-bg: #ffffff;
  --color-bg-light: #f8f8fc;
  --color-bg-warm: #f4f4fa;
  --color-success: #22c55e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
  --max-width: 1200px;
}

@property --spin {
  syntax: '<angle>';
  inherits: true;
  initial-value: 0deg;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER (matches site dark glass UI) ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 31, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo-symbol {
  width: auto;
  height: 26px;
  max-width: 40px;
  object-fit: contain;
  display: block;
}

.header__logo-symbol[src=""] {
  display: none;
}

.header__logo-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.header__cluster {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.header__nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header__nav-link.active {
  color: #fff;
  font-weight: 600;
  background: rgba(95, 112, 219, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(147, 158, 235, 0.55),
    0 0 16px rgba(95, 112, 219, 0.25);
}

.header__nav-link.active:hover {
  background: rgba(95, 112, 219, 0.52);
}

.header__divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.header__lang {
  position: relative;
}

.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.lang-switch__btn:hover {
  color: #fff;
  background: rgba(95, 112, 219, 0.12);
  border-color: rgba(95, 112, 219, 0.28);
}

.lang-switch__flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.lang-switch__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.lang-switch__chevron {
  opacity: 0.5;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.header__lang.is-open .lang-switch__chevron {
  transform: rotate(180deg);
}

.lang-switch__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: rgba(12, 12, 31, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(95, 112, 219, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
}

.header__lang.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch__option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.lang-switch__option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch__option.is-active {
  color: var(--brand-light, #a4a7e3);
  background: rgba(95, 112, 219, 0.14);
}

.header__burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
  flex-shrink: 0;
}

.header__burger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.header__burger svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__lang {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--ghost {
  color: var(--color-text-secondary);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--color-text);
  background: var(--color-bg-light);
}

.btn--ghost-header {
  color: rgba(255, 255, 255, 0.7);
}

.btn--ghost-header:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn--primary {
  color: #fff;
  background: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #2AABEE;
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--telegram:hover {
  background: #229ED9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42, 171, 238, 0.35);
}

.btn--telegram__icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

.btn--accent {
  color: var(--color-text);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
}

.btn--accent:hover {
  background: #eeeef5;
}

.btn--small {
  padding: 8px 16px;
  font-size: 13px;
}

/* ============ HERO (dark zone) ============ */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  padding: 0;
  background: #131330;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero > .container {
  width: 100%;
}

/* Desktop: nudge hero content up so it reads as centered in the visible area
   (the rates strip above the header otherwise pushes it visually low) */
@media (min-width: 769px) {
  .hero > .container {
    transform: translateY(-34px);
  }
}

.hero__aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero__aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  will-change: transform;
}

.hero__aurora-orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(95, 112, 219, 0.6), transparent 70%);
  top: -100px;
  right: 10%;
  animation: heroOrb1 15s ease-in-out infinite alternate;
}

.hero__aurora-orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.5), transparent 70%);
  bottom: -80px;
  left: 5%;
  animation: heroOrb2 18s ease-in-out infinite alternate;
}

.hero__aurora-orb--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent 70%);
  top: 30%;
  left: 40%;
  animation: heroOrb3 20s ease-in-out infinite alternate;
}

.hero__aurora-orb--4 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.25), transparent 70%);
  top: 10%;
  left: 15%;
  animation: heroOrb4 12s ease-in-out infinite alternate;
}

@keyframes heroOrb1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, 50px) scale(1.1); }
}

@keyframes heroOrb2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -40px) scale(1.15); }
}

@keyframes heroOrb3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, -30px) scale(0.85); }
}

@keyframes heroOrb4 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 30px) scale(1.2); }
}

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

.hero__info {
  order: 2;
}

.hero__title-block {
  margin-bottom: 26px;
}

.hero__title-block h1 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  white-space: nowrap;
  background: linear-gradient(
    110deg,
    #ffffff 0%,
    #ffffff 42%,
    rgba(220, 224, 255, 0.55) 50%,
    #ffffff 58%,
    #ffffff 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: heroTitleShine 7s ease-in-out infinite;
}

@keyframes heroTitleShine {
  0%, 100% { background-position: 130% center; }
  50% { background-position: -30% center; }
}

.hero__title-block h1 span {
  background: linear-gradient(
    110deg,
    #a4a7e3 0%,
    #c084fc 28%,
    #5F70DB 52%,
    #c084fc 76%,
    #a4a7e3 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, 0.28));
  animation: heroGradientFlow 6.5s linear infinite;
}

@keyframes heroGradientFlow {
  to { background-position: 220% center; }
}

.hero__title-block p {
  font-size: 17px;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.42);
}

.hero__flow {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 40px;
  max-width: 440px;
  font-weight: 400;
}

.hero__flow em {
  font-style: normal;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(135deg, #a4a7e3, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__stats {
  display: flex;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat:first-child {
  padding-left: 0;
}

.hero__stat:last-child {
  border-right: none;
}

.hero__stat-num {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

/* Desktop-only typographic polish for the right-hand info column */
@media (min-width: 769px) {
  .hero__stats {
    gap: 4px;
  }

  .hero__stat {
    position: relative;
    padding: 0 30px;
    border-right: none;
  }

  .hero__stat:first-child {
    padding-left: 0;
  }

  .hero__stat + .hero__stat::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(255, 255, 255, 0.16) 35%,
      rgba(255, 255, 255, 0.16) 65%,
      transparent
    );
  }

  .hero__stat-num {
    font-size: 34px;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff 0%, #c4c8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .hero__stat-label {
    margin-top: 6px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
  }
}

/* Desktop: cinematic staggered entrance for the info column */
@media (min-width: 769px) {
  html.js .hero__title-block h1,
  html.js .hero__title-block p,
  html.js .hero__flow,
  html.js .hero__stat {
    opacity: 0;
    animation: heroReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  html.js .hero__title-block h1 {
    animation:
      heroReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both,
      heroTitleShine 7s ease-in-out 1.4s infinite;
  }
  html.js .hero__title-block p { animation-delay: 0.34s; }
  html.js .hero__flow          { animation-delay: 0.46s; }
  html.js .hero__stat:nth-child(1) { animation-delay: 0.58s; }
  html.js .hero__stat:nth-child(2) { animation-delay: 0.68s; }
  html.js .hero__stat:nth-child(3) { animation-delay: 0.78s; }

  @keyframes heroReveal {
    0% {
      opacity: 0;
      transform: translateY(22px);
      filter: blur(10px);
    }
    60% {
      filter: blur(0);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0);
    }
  }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
  html.js .hero__title-block h1,
  html.js .hero__title-block p,
  html.js .hero__flow,
  html.js .hero__stat {
    opacity: 1;
    animation: none;
    transform: none;
    filter: none;
  }
}

/* ============ EXCHANGE CARD — SPOTLIGHT WRAPPER ============ */
.exchange-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(95, 112, 219, 0.15),
    0 0 80px rgba(168, 85, 247, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ============ EXCHANGE CARD — PREMIUM (internals unchanged) ============ */
.exchange-card__body {
  position: relative;
  background: #0c0c1f;
  border-radius: 26.5px;
  overflow: hidden;
  z-index: 1;
}

.exchange-card__body::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 220px at var(--mx, 50%) var(--my, 50%), rgba(95, 112, 219, 0.13), transparent);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.exchange-card:hover .exchange-card__body::after {
  opacity: 1;
}

.exchange-card__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  z-index: 0;
  will-change: transform;
}

.exchange-card__orb--1 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(95, 112, 219, 0.8), transparent 70%);
  top: -60px;
  right: -40px;
  animation: orbDrift1 8s ease-in-out infinite alternate;
}

.exchange-card__orb--2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.7), transparent 70%);
  bottom: -50px;
  left: -30px;
  animation: orbDrift2 10s ease-in-out infinite alternate;
}

.exchange-card__orb--3 {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.5), transparent 70%);
  top: 40%;
  left: 50%;
  animation: orbDrift3 12s ease-in-out infinite alternate;
}

@keyframes orbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 40px) scale(1.15); }
}

@keyframes orbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes orbDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, -20px) scale(0.9); }
}

.exchange-card__noise {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: soft-light;
}

.exchange-card__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.exchange-card__particles span {
  position: absolute;
  display: block;
  bottom: -5%;
  opacity: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: particleRise linear infinite backwards;
}

.exchange-card__particles span:nth-child(1)  { left: 8%;  width: 2px;   height: 2px;   animation-duration: 9s;  animation-delay: 0s; }
.exchange-card__particles span:nth-child(2)  { left: 18%; width: 3px;   height: 3px;   animation-duration: 11s; animation-delay: 1.5s; }
.exchange-card__particles span:nth-child(3)  { left: 28%; width: 1.5px; height: 1.5px; animation-duration: 8s;  animation-delay: 3s; }
.exchange-card__particles span:nth-child(4)  { left: 38%; width: 2px;   height: 2px;   animation-duration: 13s; animation-delay: 0.5s; }
.exchange-card__particles span:nth-child(5)  { left: 48%; width: 2.5px; height: 2.5px; animation-duration: 10s; animation-delay: 2s; }
.exchange-card__particles span:nth-child(6)  { left: 58%; width: 1.5px; height: 1.5px; animation-duration: 12s; animation-delay: 4s; }
.exchange-card__particles span:nth-child(7)  { left: 68%; width: 2px;   height: 2px;   animation-duration: 9s;  animation-delay: 1s; }
.exchange-card__particles span:nth-child(8)  { left: 78%; width: 3px;   height: 3px;   animation-duration: 11s; animation-delay: 3.5s; }
.exchange-card__particles span:nth-child(9)  { left: 85%; width: 1.5px; height: 1.5px; animation-duration: 14s; animation-delay: 2.5s; }
.exchange-card__particles span:nth-child(10) { left: 92%; width: 2px;   height: 2px;   animation-duration: 8s;  animation-delay: 0.8s; }
.exchange-card__particles span:nth-child(11) { left: 15%; width: 2px;   height: 2px;   animation-duration: 10s; animation-delay: 5s; }
.exchange-card__particles span:nth-child(12) { left: 55%; width: 1.5px; height: 1.5px; animation-duration: 13s; animation-delay: 6s; }

@keyframes particleRise {
  0%   { bottom: -5%; opacity: 0; transform: translateX(0); }
  5%   { opacity: 0.6; }
  50%  { transform: translateX(15px); }
  95%  { opacity: 0.6; }
  100% { bottom: 105%; opacity: 0; transform: translateX(-10px); }
}

.exchange-card__content {
  position: relative;
  z-index: 4;
  padding: 28px 32px;
}

.exchange-card-wrapper {
  order: 1;
  min-width: 460px;
  max-width: 480px;
}

.exchange-card__heading {
  text-align: center;
  margin-bottom: 20px;
}

.exchange-card__heading--mobile {
  display: none;
}

.exchange-card__heading h2 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.exchange-card__heading h2 span {
  color: var(--color-primary-light);
}

.exchange-card__heading p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.exchange-field {
  margin-bottom: 12px;
}

.exchange-field__label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.exchange-field__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.exchange-field__row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.exchange-field__row:focus-within {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(95, 112, 219, 0.5);
  box-shadow: 0 0 20px rgba(95, 112, 219, 0.12), inset 0 0 20px rgba(95, 112, 219, 0.04);
}

.exchange-field__input {
  flex: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  background: transparent;
  color: #fff;
  caret-color: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.exchange-field__input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.exchange-field__currency {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.2s ease;
  position: relative;
  z-index: 2;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.exchange-field__currency:hover {
  background: rgba(255, 255, 255, 0.08);
}

.exchange-field__currency-code {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.exchange-field__currency-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.exchange-field__chevron {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.exchange-field__error {
  margin: 6px 0 0;
  min-height: 16px;
  font-size: 12px;
  color: #ff6b6b;
}

.exchange-field__hint {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.45);
}

.exchange-card__promo {
  margin-bottom: 16px;
}

.exchange-card__promo input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 16px;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  caret-color: #fff;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.exchange-card__promo input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.exchange-card__promo input:focus {
  border-color: rgba(95, 112, 219, 0.4);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 15px rgba(95, 112, 219, 0.1);
}

.exchange-card__submit {
  position: relative;
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #5F70DB 0%, #7c3aed 50%, #a855f7 100%);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: 0.01em;
}

.exchange-card__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(95, 112, 219, 0.4), 0 0 60px rgba(168, 85, 247, 0.15);
}

.exchange-card__submit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  animation: shimmerSweep 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0%   { left: -50%; }
  100% { left: 150%; }
}

.exchange-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 0;
  text-align: center;
}

.exchange-card__hint {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
  font-size: 12px;
  line-height: 1.4;
}

.exchange-card__hint-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.exchange-card__hint-amount {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(90deg, #ffffff 0%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.exchange-card__hint-fee {
  position: relative;
  font-size: 10.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.34);
  padding-left: 9px;
}

.exchange-card__hint-fee::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.exchange-card__rate-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.34);
  line-height: 1.3;
}

.exchange-card__rate-line::before,
.exchange-card__rate-line::after {
  content: '';
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14));
}

.exchange-card__rate-line::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent);
}

.exchange-card__rate-line:empty {
  display: none;
}

.exchange-card__fees {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.exchange-card__fees:hover {
  color: rgba(255, 255, 255, 0.6);
}

.exchange-card__fees img {
  filter: invert(1);
  opacity: 0.4;
}

/* ============ EXCHANGE — SWAP BUTTON ============ */
.exchange-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0;
  position: relative;
  z-index: 5;
}

.exchange-swap__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.exchange-swap__btn::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 112, 219, 0.25), transparent 70%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.exchange-swap__btn:hover {
  color: #fff;
  transform: scale(1.15);
  filter: drop-shadow(0 0 12px rgba(95, 112, 219, 0.5));
}

.exchange-swap__btn:hover::before {
  opacity: 1;
  transform: scale(1.8);
}

.exchange-swap__btn:active {
  transform: scale(0.9);
}

.exchange-swap__btn.swapping {
  animation: swapFlip 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.exchange-swap__btn.swapping::before {
  animation: swapPulse 0.4s ease-out;
}

@keyframes swapFlip {
  0%   { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(90deg) scale(1.3); filter: drop-shadow(0 0 20px rgba(95, 112, 219, 0.6)); }
  100% { transform: rotate(180deg) scale(1); }
}

@keyframes swapPulse {
  0%   { opacity: 0; transform: scale(0.5); }
  50%  { opacity: 1; transform: scale(2.5); }
  100% { opacity: 0; transform: scale(3); }
}

/* ============ EXCHANGE — NETWORK BADGE ============ */
.exchange-field__currency-network {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(95, 112, 219, 0.2);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

.exchange-field__currency-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============ CURRENCY SELECTION MODAL (inside card) ============ */
.currency-modal {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(8, 8, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.96);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-modal.open {
  z-index: 12;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

body.currency-modal-open {
  overflow: hidden;
}

body.currency-modal-open .hero {
  overflow: visible;
}

body.currency-modal-open .exchange-card {
  overflow: visible;
  z-index: 30;
}

@media (max-width: 768px) {
  body.currency-modal-open {
    touch-action: none;
  }

  body.currency-modal-open .currency-modal,
  body.currency-modal-open .currency-modal__list {
    touch-action: pan-y;
  }
}

.currency-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
  flex-shrink: 0;
}

.currency-modal__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.currency-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.currency-modal__search-wrap {
  position: relative;
  padding: 14px 20px;
  flex-shrink: 0;
}

.currency-modal__search-icon {
  position: absolute;
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.currency-modal__search {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
  caret-color: #fff;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.currency-modal__search::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.currency-modal__search:focus {
  border-color: rgba(95, 112, 219, 0.5);
  background: rgba(255, 255, 255, 0.07);
  outline: none;
}

.currency-modal__list {
  flex: 1 1 0;
  height: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: 0 8px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.currency-modal__list::-webkit-scrollbar { width: 4px; }
.currency-modal__list::-webkit-scrollbar-track { background: transparent; }
.currency-modal__list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 4px; }

/* ============ CURRENCY ITEM ============ */
.currency-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: none;
  background: transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
  text-align: left;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.currency-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.currency-item--active {
  background: rgba(95, 112, 219, 0.12);
}

.currency-item--active:hover {
  background: rgba(95, 112, 219, 0.18);
}

.currency-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.currency-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.currency-item__symbol {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.currency-item__network {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(95, 112, 219, 0.2);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.03em;
}

.currency-item__name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.currency-item__check {
  width: 20px;
  height: 20px;
  color: var(--color-primary-light);
  flex-shrink: 0;
}


/* ============ SECTION HEADER (light default) ============ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-header__subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
}

/* ============ GET STARTED (light) ============ */
.get-started {
  position: relative;
  padding: 72px 0 96px;
  background: var(--color-bg);
  overflow: hidden;
}

.get-started__glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90vw);
  height: 360px;
  background: radial-gradient(ellipse at center, rgba(95, 112, 219, 0.09) 0%, transparent 68%);
  pointer-events: none;
}

.get-started__header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 64px;
}

.get-started__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 12px;
}

.get-started__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

.flow {
  position: relative;
  z-index: 1;
}

.flow__track {
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  pointer-events: none;
}

.flow__line {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(95, 112, 219, 0.12) 0%,
    rgba(147, 51, 234, 0.45) 50%,
    rgba(95, 112, 219, 0.12) 100%
  );
  position: relative;
  overflow: hidden;
}

.flow__line::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  animation: flowShimmer 4s ease-in-out infinite;
}

@keyframes flowShimmer {
  0%   { left: -30%; }
  100% { left: 100%; }
}

.flow__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
}

.flow-step {
  text-align: center;
  padding: 0 8px;
}

.flow-step__marker {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-step__marker::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(95, 112, 219, 0.22), rgba(147, 51, 234, 0.18));
}

.flow-step__marker::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(95, 112, 219, 0.12);
}

.flow-step__num {
  position: relative;
  z-index: 1;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: transparent;
  background: linear-gradient(135deg, #5F70DB, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
}

.flow-step__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 10px;
}

.flow-step__text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 280px;
  margin: 0 auto;
}

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

.get-started__footer-text {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============ SENTIMENT (light) ============ */
/* ============ CRYPTO STRIP (ticker + marquee) ============ */
.crypto-strip {
  background: #0c0c1f;
  padding: 10px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- Live Ticker --- */
.crypto-ticker {
  position: relative;
  margin-bottom: 16px;
}

.crypto-ticker::before,
.crypto-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.crypto-ticker::before {
  left: 0;
  background: linear-gradient(to right, #0c0c1f, transparent);
}

.crypto-ticker::after {
  right: 0;
  background: linear-gradient(to left, #0c0c1f, transparent);
}

.crypto-ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}


.crypto-ticker__slide {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-coin {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: default;
}

.ticker-coin__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.ticker-coin__symbol {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.ticker-coin__price {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.ticker-coin__change {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.ticker-coin__change--up {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.ticker-coin__change--down {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  text-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

/* --- Chain Marquee --- */
.chain-marquee {
  position: relative;
}

.chain-marquee::before,
.chain-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.chain-marquee::before {
  left: 0;
  background: linear-gradient(to right, #0c0c1f, transparent);
}

.chain-marquee::after {
  right: 0;
  background: linear-gradient(to left, #0c0c1f, transparent);
}

.chain-marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite reverse;
}


.chain-marquee__slide {
  display: flex;
  gap: 48px;
  padding-right: 48px;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.chain-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
  cursor: default;
}

.chain-logo:hover {
  opacity: 1;
}

.chain-logo img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.chain-logo span {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* ============ STATS — 3D stage (no blocks) ============ */
.stats {
  padding: 0;
  background: var(--color-dark-bg);
  color: #fff;
  overflow: hidden;
}

.stats-stage {
  position: relative;
  padding: 80px 0 100px;
  --sx: 50%;
  --sy: 50%;
  --rx: 0deg;
  --ry: 0deg;
}

.stats-stage__aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.stats-stage__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  will-change: transform;
}

.stats-stage__orb--1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(95, 112, 219, 0.7), transparent 70%);
  top: -80px;
  left: 15%;
  animation: statsOrbDrift1 14s ease-in-out infinite alternate;
}

.stats-stage__orb--2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.55), transparent 70%);
  bottom: -60px;
  right: 10%;
  animation: statsOrbDrift2 18s ease-in-out infinite alternate;
}

.stats-stage__orb--3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.35), transparent 70%);
  top: 40%;
  left: 50%;
  animation: statsOrbDrift3 16s ease-in-out infinite alternate;
}

@keyframes statsOrbDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, 40px) scale(1.1); }
}

@keyframes statsOrbDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -30px) scale(1.08); }
}

@keyframes statsOrbDrift3 {
  0%   { transform: translate(-50%, 0) scale(1); }
  100% { transform: translate(-50%, -25px) scale(0.92); }
}

.stats-stage__grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background:
    linear-gradient(rgba(95, 112, 219, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 112, 219, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at var(--sx) var(--sy), #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at var(--sx) var(--sy), #000 0%, transparent 75%);
}

.stats-stage__inner {
  position: relative;
  z-index: 1;
}

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

.stats-stage__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stats-stage__subtitle,
.stats-stage__lead {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.42);
  max-width: 480px;
  margin: 0 auto;
  font-weight: 400;
}

.stats-stage__lead em {
  font-style: normal;
  font-weight: 600;
  color: transparent;
  background: linear-gradient(135deg, #a4a7e3, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ── Bento grid ── */
.stats-bento-viewport {
  width: 100%;
}

.stats-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(200px, 1fr));
  gap: 14px;
  min-height: 460px;
}

.stats-bento__card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 50%;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 200px;
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition:
    opacity 0.7s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease;
  transition-delay: calc(0.06s + var(--i) * 0.1s);
}

.stats-bento__card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.stats-bento__card--hero:hover {
  box-shadow: 0 20px 56px rgba(147, 51, 234, 0.25);
}

.stats-bento__card--hero {
  grid-row: 1 / 3;
  grid-column: 1;
  min-height: 100%;
}

.stats-bento__tilt {
  position: relative;
  height: 100%;
  min-height: inherit;
}

.stats-bento__card:not(.stats-bento__card--hero) {
  background: #14141e;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-bento__card--hero .stats-bento__tilt {
  background:
    linear-gradient(145deg, #3d2060 0%, #6b2d8a 38%, #9333ea 68%, #c026d3 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  overflow: hidden;
}

.stats-bento__card:not(.stats-bento__card--hero) .stats-bento__tilt {
  overflow: hidden;
}

/* Digital/crypto ambient FX on small bento cards */
.stats-bento__fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.stats-bento__fx::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 40%, rgba(95, 112, 219, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 75% 65%, rgba(168, 85, 247, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 55% 15%, rgba(34, 211, 238, 0.06) 0%, transparent 35%);
  animation: statsBentoAurora 14s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -2.8s);
}

.stats-bento__fx::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(95, 112, 219, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 112, 219, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 35%, #000 15%, transparent 72%);
  animation: statsBentoGridDrift 24s linear infinite;
}

.stats-bento__fx i {
  position: absolute;
  display: block;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(200, 210, 255, 0.75);
  box-shadow: 0 0 6px rgba(168, 180, 255, 0.45);
  opacity: 0;
  animation: statsBentoParticle 7s ease-in-out infinite;
}

.stats-bento__fx i:nth-child(1) { left: 12%; top: 18%; animation-delay: 0s; }
.stats-bento__fx i:nth-child(2) { left: 78%; top: 22%; animation-delay: -1.2s; width: 3px; height: 3px; }
.stats-bento__fx i:nth-child(3) { left: 45%; top: 12%; animation-delay: -2.5s; }
.stats-bento__fx i:nth-child(4) { left: 88%; top: 55%; animation-delay: -0.8s; }
.stats-bento__fx i:nth-child(5) { left: 22%; top: 48%; animation-delay: -3.8s; width: 1.5px; height: 1.5px; }
.stats-bento__fx i:nth-child(6) { left: 62%; top: 38%; animation-delay: -5s; }

@keyframes statsBentoAurora {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6%, -5%) scale(1.06); }
}

@keyframes statsBentoGridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 22px 22px, 22px 22px; }
}

@keyframes statsBentoParticle {
  0%, 100% { opacity: 0; transform: translateY(0); }
  20%      { opacity: 0.85; }
  50%      { opacity: 0.5; transform: translateY(-10px); }
  80%      { opacity: 0; }
}

.stats-bento__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 180px at var(--mx) var(--my), rgba(255, 255, 255, 0.1), transparent 65%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.stats-bento__card:hover .stats-bento__spot {
  opacity: 1;
}

.stats-bento__hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(95, 112, 219, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.stats-bento__hero-visual {
  position: absolute;
  top: 12%;
  right: 8%;
  width: 52%;
  height: 55%;
  pointer-events: none;
}

.stats-bento__wallet-ring {
  position: absolute;
  inset: 10% 5%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: bentoRingSpin 18s linear infinite;
}

.stats-bento__wallet-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56%;
  height: 56%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(168, 85, 247, 0.25) 50%, transparent 72%);
  filter: blur(2px);
  animation: bentoCorePulse 4s ease-in-out infinite;
}

.stats-bento__hero-coin {
  position: absolute;
  border-radius: 50%;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}

.stats-bento__hero-coin--1 { top: 8%;  right: 18%; animation: bentoCoinFloat 5s ease-in-out infinite; }
.stats-bento__hero-coin--2 { top: 38%; right: 4%;  animation: bentoCoinFloat 6s ease-in-out infinite -1.5s; }
.stats-bento__hero-coin--3 { bottom: 12%; right: 28%; animation: bentoCoinFloat 5.5s ease-in-out infinite -3s; }

.stats-bento__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats-bento__num {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.stats-bento__num--xl {
  font-size: clamp(52px, 6vw, 80px);
}

.stats-bento__num--hero-title {
  font-size: clamp(28px, 3.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.stats-bento__num--text {
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.02em;
}

.stats-bento__num--wide {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.02em;
}

.stats-bento__num--line {
  font-size: clamp(24px, 2.9vw, 34px);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.stats-bento__num--symbol {
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 600;
}

.stats-bento__card--hero .stats-bento__lbl {
  color: rgba(255, 255, 255, 0.72);
  max-width: 280px;
  font-size: 15px;
  line-height: 1.45;
}

.stats-bento__lbl {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.42);
}

/* Floating visuals — coins */
.stats-bento__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Coin mosaic — all unique assets from exchange modal */
.stats-bento__coin-mosaic {
  position: absolute;
  top: 12px;
  left: 16px;
  right: 16px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px 6px;
  justify-items: center;
  align-content: start;
}

.stats-bento__coin-mosaic img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.stats-bento__card:hover .stats-bento__coin-mosaic img {
  transform: scale(1.06);
}

/* Network row — all chains in one line */
.stats-bento__net-row {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 2.5vw, 14px);
}

.stats-bento__net-row img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

.stats-bento__card:hover .stats-bento__net-row img {
  transform: scale(1.06);
}

/* Orbit graphic */
.stats-bento__orbit {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 78%;
  transform: translateX(-50%);
  opacity: 0.85;
  animation: bentoOrbitDrift 8s ease-in-out infinite alternate;
}

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

@keyframes bentoRingSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes bentoCorePulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes bentoOrbitDrift {
  0%   { transform: translateX(-50%) rotate(-3deg); }
  100% { transform: translateX(-50%) rotate(3deg); }
}

.stats-stage--visible .stats-bento__card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .stats-stage__orb,
  .stats-bento__hero-coin,
  .stats-bento__orbit,
  .stats-bento__wallet-ring,
  .stats-bento__wallet-core,
  .stats-bento__fx::before,
  .stats-bento__fx::after,
  .stats-bento__fx i {
    animation: none;
  }

  .stats-bento__tilt {
    transition: none;
  }

  .stats-bento__card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .flow__line::after {
    animation: none;
  }

  html.js .rates-charts__wrap:not(.rates-charts--visible) .rates-book {
    opacity: 1;
    transform: none;
  }

  .rates-book__track {
    transition: none;
  }

  .wallets__stage--visible .wallets__showcase,
  .wallets__showcase {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .wallets__tilt {
    will-change: auto;
  }

  .faq-mesh,
  .faq-sparkles i {
    animation: none;
  }

  .faq-stage--visible .faq-desk,
  .faq-desk {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ FEATURES (light) ============ */
.features {
  padding: 80px 0;
  background: var(--color-bg-warm);
}

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

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-3px);
  border-color: rgba(95, 112, 219, 0.2);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
}

.feature-card__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============ RATES CHARTS — book carousel ============ */
.rates-charts {
  background: var(--color-bg);
}

.rates-charts__wrap {
  padding: 64px 0 72px;
}

.rates-charts--period-loading .rates-book {
  opacity: 0.55;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.rates-charts__period-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.rates-charts__head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

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

.rates-charts__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
}

.rates-charts__period {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(95, 112, 219, 0.08);
}

.rates-charts__period-btn {
  border: none;
  background: transparent;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.rates-charts__period-btn.is-active {
  background: #fff;
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(95, 112, 219, 0.15);
}

.rates-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  grid-template-rows: auto auto;
  gap: 8px 8px;
  max-width: 820px;
  margin: 0 auto;
}

.rates-book {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  outline: none;
  touch-action: pan-y;
}

.rates-book__foot {
  display: contents;
}

.rates-book__nav--prev {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: center;
}

.rates-book__nav--next {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  justify-self: center;
}

.rates-book__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 420px;
  margin-top: 12px;
}

.rates-book__viewport {
  overflow: hidden;
  min-width: 0;
}

.rates-book__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.rates-book__track--instant {
  transition: none;
}

.rates-slide {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0 4px;
  box-sizing: border-box;
}

.rates-slide__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.rates-slide__coin {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rates-slide__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.rates-slide__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.rates-slide__sym {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}

.rates-slide__name {
  font-size: 13px;
  line-height: 1.3;
  color: var(--color-text-secondary);
}

.rates-slide__quote {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 10px;
  flex-shrink: 0;
}

.rates-slide__val {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
}

.rates-slide__chg {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rates-slide__chg--up { color: #16a34a; }
.rates-slide__chg--down { color: #dc2626; }

.rates-slide__chart {
  position: relative;
  height: clamp(160px, 26vw, 208px);
  border-radius: 14px;
  background: linear-gradient(168deg, #13151f 0%, #0c0e16 52%, #10121c 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.rates-slide__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rates-chart__grid {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-dasharray: 3 6;
  vector-effect: non-scaling-stroke;
  stroke-width: 1;
}

.rates-chart__axis {
  fill: rgba(255, 255, 255, 0.34);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.rates-chart__line {
  vector-effect: non-scaling-stroke;
}

.rates-chart__dot {
  vector-effect: non-scaling-stroke;
}

.rates-book__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.rates-book__nav:hover:not(:disabled) {
  color: var(--color-primary);
  background: rgba(95, 112, 219, 0.08);
}

.rates-book__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.rates-book__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(95, 112, 219, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.rates-book__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.35);
}

.rates-slide--skel .rates-slide__skel {
  display: block;
  background: linear-gradient(90deg, rgba(95, 112, 219, 0.07) 0%, rgba(95, 112, 219, 0.13) 50%, rgba(95, 112, 219, 0.07) 100%);
  background-size: 200% 100%;
  animation: ratesSkel 1.4s ease-in-out infinite;
  border-radius: 6px;
  height: 16px;
  width: 100px;
}

.rates-slide__skel--sm { width: 64px; height: 12px; margin-top: 6px; }
.rates-slide__skel--icon { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.rates-slide__skel--chart { width: 100%; height: 100%; min-height: 140px; border-radius: 8px; }

@keyframes ratesSkel {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.rates-charts__error {
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ============ WALLETS — 3D ring ============ */
.wallets {
  background: var(--color-bg);
}

.wallets__stage {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.wallets__plane {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 75% 55% at 50% 38%, rgba(95, 112, 219, 0.04) 0%, transparent 68%);
}

.wallets__inner {
  position: relative;
  z-index: 1;
}

.wallets__header {
  text-align: center;
  margin-bottom: 40px;
}

.wallets__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2c2c34;
  margin-bottom: 10px;
}

.wallets__lead {
  font-size: 15px;
  line-height: 1.6;
  color: #7a7a86;
  max-width: 440px;
  margin: 0 auto;
}

.wallets__showcase {
  max-width: 640px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
}

.wallets__stage--visible .wallets__showcase {
  opacity: 1;
  transform: none;
}

html:not(.js) .wallets__showcase {
  opacity: 1;
  transform: none;
}

.wallets__scene {
  position: relative;
  height: clamp(200px, 32vw, 260px);
  perspective: 960px;
  perspective-origin: 50% 46%;
}

.wallets__tilt {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(0deg);
  will-change: transform;
}

.wallets__ring {
  --spin: 0deg;
  --radius: 200px;
  --step: 60deg;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: translate(-50%, -54%) rotateY(var(--spin));
}

.wallet-ring__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 76px;
  height: 76px;
  margin: -38px 0 0 -38px;
  transform-style: preserve-3d;
  transform: rotateY(calc(var(--i) * var(--step))) translateZ(var(--radius));
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.wallet-ring__face {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(160deg, #fafafa 0%, #eceef2 100%);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: rotateY(calc((var(--i) * -1 * var(--step)) - var(--spin)));
  transition: opacity 0.35s ease, filter 0.35s ease, box-shadow 0.3s ease;
  backface-visibility: hidden;
}

.wallet-ring__face img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.wallet-ring__item:not(.is-active) .wallet-ring__face {
  opacity: 0.42;
  filter: grayscale(0.55) brightness(0.96);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.wallet-ring__item.is-active .wallet-ring__face {
  opacity: 1;
  filter: none;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transform: rotateY(calc((var(--i) * -1 * var(--step)) - var(--spin))) translateZ(24px) scale(1.05);
}

.wallets__shadow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(320px, 60%);
  height: 28px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.14) 0%, transparent 72%);
  pointer-events: none;
  filter: blur(4px);
}

.wallets__info {
  text-align: center;
  margin-top: 8px;
  min-height: 96px;
}

.wallets__info-name {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #2c2c34;
  transition: opacity 0.25s ease;
}

.wallets__info-desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: #848490;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.25s ease;
}

.wallets__info.is-changing .wallets__info-name,
.wallets__info.is-changing .wallets__info-desc {
  opacity: 0.35;
}

.wallets__info-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: #5c5c68;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.wallets__info-link:hover {
  color: #2c2c34;
  border-color: rgba(0, 0, 0, 0.35);
}

.wallets__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.wallets__ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  color: #6a6a76;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wallets__ctrl:hover {
  color: #2c2c34;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
}

.wallets__ticks {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wallets__tick {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wallets__tick.is-active {
  background: #4a4a56;
  transform: scale(1.35);
}

/* ============ FAQ — support desk window ============ */
.faq {
  background: var(--color-bg);
}

.faq-stage {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.faq-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(95, 112, 219, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(34, 211, 238, 0.05) 0%, transparent 60%);
  animation: faqMeshShift 18s ease-in-out infinite alternate;
}

@keyframes faqMeshShift {
  0%   { filter: hue-rotate(0deg) saturate(1); transform: scale(1); }
  100% { filter: hue-rotate(18deg) saturate(1.15); transform: scale(1.04); }
}

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

.faq-sparkles i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(95, 112, 219, 0.65);
  box-shadow: 0 0 10px rgba(95, 112, 219, 0.55);
  animation: faqSparkle 6s ease-in-out infinite;
}

.faq-sparkles i:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.faq-sparkles i:nth-child(2) { top: 28%; right: 14%; animation-delay: -1.2s; width: 2px; height: 2px; }
.faq-sparkles i:nth-child(3) { top: 62%; left: 8%; animation-delay: -2.4s; }
.faq-sparkles i:nth-child(4) { top: 78%; right: 22%; animation-delay: -0.8s; width: 4px; height: 4px; }
.faq-sparkles i:nth-child(5) { top: 44%; left: 42%; animation-delay: -3.6s; opacity: 0.6; }
.faq-sparkles i:nth-child(6) { top: 18%; right: 38%; animation-delay: -4.5s; }
.faq-sparkles i:nth-child(7) { bottom: 16%; left: 32%; animation-delay: -2s; }
.faq-sparkles i:nth-child(8) { top: 52%; right: 8%; animation-delay: -5s; opacity: 0.45; }

@keyframes faqSparkle {
  0%, 100% { opacity: 0.2; transform: translateY(0) scale(1); }
  50%      { opacity: 1; transform: translateY(-16px) scale(1.4); }
}

.faq-stage__inner {
  position: relative;
  z-index: 1;
}

.faq-stage__header {
  text-align: center;
  margin-bottom: 24px;
}

.faq-stage__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin: 0;
}

.faq-desk {
  max-width: 820px;
  margin: 36px auto 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-stage--visible .faq-desk {
  opacity: 1;
  transform: none;
}

html:not(.js) .faq-desk {
  opacity: 1;
  transform: none;
}

.faq-desk__window {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(95, 112, 219, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 24px 64px rgba(95, 112, 219, 0.14),
    0 8px 24px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
}

.faq-desk__chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 18px;
  border-bottom: 1px solid rgba(95, 112, 219, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 249, 252, 0.85));
}

.faq-desk__lights {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.faq-desk__lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(95, 112, 219, 0.18);
}

.faq-desk__lights i:nth-child(1) { background: #ff5f57; opacity: 0.85; }
.faq-desk__lights i:nth-child(2) { background: #febc2e; opacity: 0.85; }
.faq-desk__lights i:nth-child(3) { background: #28c840; opacity: 0.85; }

.faq-desk__tabs {
  display: flex;
  gap: 0;
  padding: 0 12px;
  border-bottom: 1px solid rgba(95, 112, 219, 0.07);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.faq-desk__tabs::-webkit-scrollbar {
  display: none;
}

.faq-desk__tab {
  flex-shrink: 0;
  position: relative;
  padding: 14px 18px 13px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text-secondary);
  white-space: nowrap;
  transition: color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.faq-desk__tab::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(90deg, #5F70DB, #9333ea);
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-desk__tab:hover {
  color: var(--color-text);
}

.faq-desk__tab.is-active {
  color: var(--color-text);
  font-weight: 600;
}

.faq-desk__tab.is-active::after {
  transform: scaleX(1);
}

.faq-desk__body {
  padding: 28px 28px 12px;
  min-height: 280px;
}

.faq-desk__stream {
  transition: opacity 0.35s ease;
}

.faq-desk.is-fading .faq-desk__stream {
  opacity: 0.35;
}

.faq-desk__q {
  margin: 0 0 20px;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(17px, 2.6vw, 21px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.38;
  color: var(--color-text);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-desk__divider {
  height: 1px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, transparent, rgba(95, 112, 219, 0.18) 20%, rgba(147, 51, 234, 0.14) 80%, transparent);
}

.faq-desk__a {
  margin: 0;
  min-height: 5.5em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.faq-desk__a.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: rgba(95, 112, 219, 0.55);
  animation: faqDeskCaret 0.9s step-end infinite;
}

@keyframes faqDeskCaret {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.faq-desk__foot {
  padding: 0 22px 18px;
}

.faq-desk__foot-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.faq-desk__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.faq-desk__arrow:hover {
  color: var(--color-primary);
  background: rgba(95, 112, 219, 0.08);
}

.faq-desk__counter {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-text-secondary);
  min-width: 52px;
  text-align: center;
}

/* ============ FOOTER (dark — unchanged) ============ */
.footer {
  background: var(--color-dark);
  color: var(--color-text-light);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer__group-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition);
}

.footer__link:hover {
  color: #fff;
}

.footer__apps {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.footer__app-badge {
  height: 40px;
  border-radius: var(--radius-sm);
  transition: opacity var(--transition);
}

.footer__app-badge:hover {
  opacity: 0.8;
}

.footer__company {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 32px;
  margin-bottom: 32px;
}

.footer__offices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.footer__office-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer__office-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}

.footer__socials {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  transition: color var(--transition);
}

.footer__social:hover {
  color: #fff;
}

.footer__social-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.footer__copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
}

.footer__disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.6;
  max-width: 800px;
}

/* ============ BACK TO TOP (light context) ============ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============ LEGAL PAGES ============ */
.legal-page {
  position: relative;
  padding: 48px 0 72px;
  background: var(--color-bg);
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.legal-page__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(95, 112, 219, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.legal-page__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-page__back:hover {
  color: var(--color-primary);
}

.legal-page__title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 28px;
}

.legal-page__content {
  padding: 28px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(95, 112, 219, 0.12);
  box-shadow: 0 16px 48px rgba(95, 112, 219, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.legal-page__loading {
  color: var(--color-text-secondary);
  opacity: 0.7;
}

.legal-page__content h2 {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin: 28px 0 10px;
}

.legal-page__content h2:first-child {
  margin-top: 0;
}

.legal-page__content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin: 20px 0 8px;
}

.legal-page__content p {
  margin: 0 0 14px;
}

.legal-page__content ul,
.legal-page__content ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal-page__content li {
  margin-bottom: 6px;
}

.legal-page__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page__content blockquote {
  margin: 16px 0;
  padding: 12px 16px;
  border-left: 3px solid rgba(95, 112, 219, 0.35);
  background: rgba(95, 112, 219, 0.05);
  border-radius: 0 10px 10px 0;
  color: var(--color-text);
}

.legal-page__content strong {
  color: var(--color-text);
  font-weight: 600;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero__title-block h1 {
    font-size: 36px;
  }

  .flow__steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .flow__track {
    top: 0;
    bottom: 40px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .flow__line {
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(95, 112, 219, 0.12) 0%,
      rgba(147, 51, 234, 0.45) 50%,
      rgba(95, 112, 219, 0.12) 100%
    );
  }

  .flow__line::after {
    inset: -30% 0 auto 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    animation: flowShimmerVertical 4s ease-in-out infinite;
  }

  @keyframes flowShimmerVertical {
    0%   { top: -30%; }
    100% { top: 100%; }
  }

  .flow-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 4px 20px;
    text-align: left;
    padding: 0;
  }

  .flow-step__marker {
    grid-row: 1 / 3;
    margin: 0;
  }

  .flow-step__title,
  .flow-step__text {
    text-align: left;
    max-width: none;
    margin: 0;
  }

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

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header__nav {
    display: none;
  }

  .header__divider {
    display: none;
  }

  .header__cluster .header__lang {
    display: none;
  }

  .mobile-menu__lang {
    display: block;
    margin-bottom: 20px;
  }

  .header__burger {
    display: flex;
  }

  .header__row {
    gap: 10px;
    padding: 10px 0;
  }

  .header__logo-name {
    font-size: 15px;
  }

  /* Crypto strip — compact */
  .crypto-strip {
    padding: 8px 0;
  }

  .crypto-ticker {
    margin-bottom: 8px;
  }

  .crypto-ticker::before,
  .crypto-ticker::after {
    width: 40px;
  }

  .crypto-ticker__slide {
    gap: 24px;
    padding-right: 24px;
  }

  .ticker-coin__icon {
    width: 20px;
    height: 20px;
  }

  .ticker-coin__symbol {
    font-size: 12px;
  }

  .ticker-coin__price {
    font-size: 12px;
  }

  .ticker-coin__change {
    font-size: 11px;
    padding: 1px 5px;
  }

  .chain-marquee::before,
  .chain-marquee::after {
    width: 40px;
  }

  .chain-marquee__slide {
    gap: 28px;
    padding-right: 28px;
  }

  .chain-logo img {
    width: 18px;
    height: 18px;
  }

  .chain-logo span {
    font-size: 11px;
  }

  /* Hero + exchange — full viewport below header/ticker so get-started stays off-screen at top */
  .hero {
    --hero-top-chrome: 124px;
    min-height: calc(100svh - var(--hero-top-chrome));
    min-height: calc(100dvh - var(--hero-top-chrome));
    padding: 20px 0 calc(20px + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero > .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 12px;
  }

  .hero__content {
    flex: 1;
  }

  .hero__content {
    gap: 20px;
  }

  .hero__title-block {
    display: none;
  }

  .hero__info {
    order: 2;
  }

  .hero__flow {
    display: none;
  }

  .hero__stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
  }

  .hero__stat {
    padding: 0 14px;
    align-items: center;
    text-align: center;
  }

  .hero__stat:first-child {
    padding-left: 14px;
  }

  .hero__stat-num {
    font-size: 18px;
  }

  .hero__stat-label {
    font-size: 11px;
  }

  .hero__aurora-orb {
    filter: blur(50px);
    opacity: 0.15;
  }

  .exchange-card-wrapper {
    order: 1;
    min-width: 0;
    width: 100%;
  }

  .exchange-card__heading--mobile {
    display: block;
    margin-bottom: 14px;
  }

  .exchange-card__heading h2 {
    font-size: 20px;
    line-height: 1.15;
    white-space: normal;
  }

  .exchange-card__heading p {
    font-size: 13px;
  }

  .exchange-card {
    border-radius: 20px;
    box-shadow:
      0 0 24px rgba(95, 112, 219, 0.12),
      0 8px 24px rgba(0, 0, 0, 0.28);
  }

  .exchange-card__body {
    border-radius: 18px;
  }

  .exchange-card__content {
    padding: 18px 16px;
  }

  .exchange-card__orb {
    filter: blur(40px);
    opacity: 0.25;
  }

  .exchange-field {
    margin-bottom: 10px;
  }

  .exchange-field__label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .exchange-field__row {
    padding: 10px 12px;
    border-radius: 12px;
    gap: 8px;
  }

  .exchange-field__input {
    flex: 1;
    width: auto;
    min-width: 0;
    font-size: 16px;
  }

  .exchange-field__currency {
    flex-shrink: 0;
    padding: 4px 8px;
    gap: 4px;
  }

  .exchange-field__currency-name {
    display: none;
  }

  .exchange-field__currency-code {
    font-size: 13px;
  }

  .exchange-card__submit {
    padding: 14px;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .exchange-card__meta {
    gap: 2px;
  }

  .exchange-card__hint {
    font-size: 10px;
  }

  .exchange-card__hint-fee {
    font-size: 9px;
  }

  .exchange-card__rate-line {
    font-size: 9px;
  }

  .currency-modal__header {
    padding: 16px 16px 0;
  }

  .currency-modal__search-wrap {
    padding: 12px 16px;
  }

  .currency-item {
    padding: 10px;
  }

  /* Sections */
  .section-header {
    margin-bottom: 28px;
  }

  .section-header__title {
    font-size: 22px;
    line-height: 1.2;
  }

  .section-header__subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .get-started {
    margin-top: 0;
    padding: 44px 0 56px;
    border-radius: 0;
    position: relative;
    z-index: 2;
    box-shadow: none;
  }

  .get-started__glow {
    top: 0;
    height: 280px;
  }

  .get-started__header {
    margin-bottom: 40px;
  }

  .get-started__title {
    font-size: 24px;
  }

  .get-started__lead {
    font-size: 14px;
  }

  .flow-step__title {
    font-size: 16px;
  }

  .flow-step__text {
    font-size: 13px;
  }

  .stats-stage {
    padding: 40px 0 48px;
  }

  .stats-stage__header {
    margin-bottom: 24px;
  }

  .stats-stage__title {
    font-size: clamp(20px, 5.5vw, 26px);
  }

  .stats-stage__lead {
    font-size: clamp(13px, 3.6vw, 15px);
    max-width: 100%;
    padding: 0;
    line-height: 1.55;
  }

  /* Mobile bento — hero full width + 2×2 stats grid */
  .stats-bento-viewport {
    height: auto;
    overflow: visible;
  }

  .stats-bento {
    position: static;
    width: 100%;
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 10px;
    transform: none;
  }

  .stats-bento__card {
    border-radius: 16px;
    min-height: 0;
  }

  .stats-bento__card--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 210px;
  }

  .stats-bento__card:not(.stats-bento__card--hero) {
    min-height: 156px;
  }

  .stats-bento__card--hero .stats-bento__tilt {
    border-radius: 16px;
  }

  .stats-bento__body {
    padding: 16px 18px 18px;
    gap: 5px;
  }

  .stats-bento__card--hero .stats-bento__body {
    max-width: 58%;
    padding: 20px 18px 22px;
  }

  .stats-bento__num {
    font-size: 30px;
  }

  .stats-bento__num--hero-title {
    font-size: 22px;
    line-height: 1.15;
  }

  .stats-bento__num--text {
    font-size: 30px;
  }

  .stats-bento__num--wide {
    font-size: 28px;
  }

  .stats-bento__num--line {
    font-size: 26px;
  }

  .stats-bento__lbl {
    font-size: 12px;
    line-height: 1.4;
  }

  .stats-bento__card--hero .stats-bento__lbl {
    font-size: 13px;
    max-width: 100%;
    line-height: 1.45;
  }

  .stats-bento__hero-visual {
    top: 50%;
    right: 4%;
    left: auto;
    width: 46%;
    height: 78%;
    transform: translateY(-50%);
  }

  .stats-bento__hero-coin {
    width: auto;
    height: auto;
  }

  .stats-bento__hero-coin--1 {
    width: 40px;
  }

  .stats-bento__hero-coin--2 {
    width: 32px;
  }

  .stats-bento__hero-coin--3 {
    width: 28px;
  }

  .stats-bento__coin-mosaic {
    top: 10px;
    left: 10px;
    right: 10px;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px 4px;
  }

  .stats-bento__coin-mosaic img {
    width: 22px;
    height: 22px;
  }

  .stats-bento__spot {
    background: radial-gradient(circle 120px at var(--mx) var(--my), rgba(255, 255, 255, 0.1), transparent 65%);
  }

  .features {
    padding: 48px 0;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    padding: 20px 18px;
  }

  .feature-card__icon {
    width: 36px;
    height: 36px;
    margin-bottom: 12px;
  }

  .feature-card__title {
    font-size: 15px;
  }

  .feature-card__text {
    font-size: 13px;
  }

  .rates-charts__wrap {
    padding: 32px 0 40px;
  }

  .rates-charts__head {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
  }

  .rates-charts__head-text {
    width: 100%;
  }

  .rates-charts__title {
    font-size: clamp(16px, 4vw, 20px);
    line-height: 1.25;
    letter-spacing: -0.025em;
  }

  .rates-charts__period {
    position: static;
    transform: none;
  }

  .rates-charts__period-btn {
    padding: 5px 10px;
    font-size: 11px;
  }

  .rates-carousel {
    display: block;
    max-width: 100%;
  }

  .rates-book {
    grid-column: auto;
    grid-row: auto;
  }

  .rates-book__foot {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
  }

  .rates-book__nav {
    position: static;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    background: #fff;
    border: 1px solid rgba(95, 112, 219, 0.1);
    box-shadow: 0 2px 10px rgba(95, 112, 219, 0.14);
    color: var(--color-primary);
  }

  .rates-book__nav svg {
    width: 18px;
    height: 18px;
  }

  .rates-book__nav--prev,
  .rates-book__nav--next {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
  }

  .rates-book__nav:disabled {
    opacity: 0.35;
    pointer-events: none;
  }

  .rates-book__dots {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: none;
    margin-top: 0;
    padding: 2px 4px;
    justify-content: center;
    justify-self: center;
    gap: 5px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .rates-book__dots::-webkit-scrollbar {
    display: none;
  }

  .rates-book__dot {
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    scroll-snap-align: center;
  }

  .rates-slide {
    padding: 0;
  }

  .rates-slide__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
  }

  .rates-slide__coin {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-shrink: 0;
  }

  .rates-slide__icon {
    width: 36px;
    height: 36px;
  }

  .rates-slide__sym {
    font-size: 17px;
    line-height: 1.15;
  }

  .rates-slide__name {
    font-size: 12px;
    line-height: 1.25;
  }

  .rates-slide__quote {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px 6px;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto;
    text-align: right;
  }

  .rates-slide__val {
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.15;
  }

  .rates-slide__chg {
    font-size: 13px;
  }

  .rates-slide__chart {
    height: 172px;
    margin: 0;
    border-radius: 12px;
  }

  .faq-stage {
    padding: 44px 0 52px;
  }

  .legal-page {
    padding: 32px 0 48px;
  }

  .legal-page__content {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .legal-page__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .faq-stage__title {
    font-size: 24px;
  }

  .faq-desk {
    margin-top: 20px;
  }

  .faq-desk__body {
    padding: 22px 18px 8px;
    min-height: 240px;
  }

  .faq-desk__q {
    font-size: 16px;
  }

  .faq-desk__a {
    font-size: 14px;
  }

  .faq-desk__tab {
    padding: 10px 12px 9px;
    font-size: 11px;
  }

  .wallets__stage {
    padding: 48px 0 56px;
  }

  .wallets__header {
    margin-bottom: 28px;
  }

  .wallets__title {
    font-size: 24px;
  }

  .wallets__lead {
    font-size: 14px;
  }

  .wallets__scene {
    height: 190px;
  }

  .wallets__ring {
    --radius: 130px;
  }

  .wallet-ring__item {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }

  .wallet-ring__face {
    border-radius: 16px;
  }

  .wallet-ring__face img {
    width: 32px;
    height: 32px;
  }

  .wallets__info {
    min-height: 88px;
    margin-top: 4px;
  }

  .wallets__info-name {
    font-size: 16px;
  }

  .wallets__info-desc {
    font-size: 13px;
  }

  .wallets__controls {
    margin-top: 20px;
    gap: 12px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-bottom: 32px;
  }

  .footer__offices {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer__company {
    padding-top: 24px;
    margin-bottom: 24px;
  }

  .back-to-top {
    bottom: max(16px, env(safe-area-inset-bottom));
    right: 16px;
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .hero {
    padding-top: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .exchange-card__heading h2 {
    font-size: 18px;
  }

  .exchange-card__content {
    padding: 16px 14px;
  }

  .hero__stats {
    width: 100%;
  }

  .hero__stat {
    flex: 1 1 33%;
    padding: 0 6px;
    border-right: none;
    min-width: 0;
  }

  .hero__stat + .hero__stat {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero__stat-num {
    font-size: 16px;
  }

  .hero__stat-label {
    font-size: 10px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 380px) {
  .exchange-field__currency-code {
    font-size: 12px;
  }

  .ticker-coin__price {
    display: none;
  }

  .hero__stat-label {
    font-size: 9px;
  }

  .stats-bento__card:not(.stats-bento__card--hero) {
    min-height: 148px;
  }

  .stats-bento__coin-mosaic img {
    width: 20px;
    height: 20px;
  }

  .stats-bento__num {
    font-size: 26px;
  }

  .stats-bento__num--hero-title {
    font-size: 20px;
  }
}

/* ============ MOBILE MENU (dark glass — unchanged) ============ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 12, 31, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 24px;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-menu__close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
}

.mobile-menu__close:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__link {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.mobile-menu__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.mobile-menu__link.active {
  color: #fff;
  font-weight: 600;
  background: rgba(95, 112, 219, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(147, 158, 235, 0.55),
    0 0 16px rgba(95, 112, 219, 0.2);
}

.mobile-menu__footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__footer .btn {
  width: 100%;
  justify-content: center;
}

.mobile-menu__footer .btn--ghost {
  color: rgba(255, 255, 255, 0.7);
}

.mobile-menu__footer .btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

/* Pause decorative CSS animations when zone is off-screen or tab hidden */
[data-anim-zone].anim-paused,
[data-anim-zone].anim-paused *,
html.anim-tab-hidden [data-anim-zone],
html.anim-tab-hidden [data-anim-zone] * {
  animation-play-state: paused !important;
}
