/* =============================================
   Yuanix — Premium Currency Exchange Landing
   ============================================= */

:root {
  --bg-deep: #070B14;
  --bg-mid: #0F1629;
  --bg-card: rgba(15, 22, 41, 0.6);
  --gold-start: #C9A227;
  --gold-end: #F0D78C;
  --gold: #D4AF37;
  --green: #22C55E;
  --red: #EF4444;
  --text: #E8ECF4;
  --text-muted: #8B95A8;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(201, 162, 39, 0.3);
  --glow-gold: rgba(201, 162, 39, 0.25);
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 16px;
  --radius-sm: 10px;
  --cta-height: 72px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: calc(var(--cta-height) + 24px);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gold {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 80px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ---- Preloader ---- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  text-align: center;
}

.preloader__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader__mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.preloader__bar {
  width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
  border-radius: 3px;
  animation: preloaderBar 1s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes preloaderBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 40px;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(34, 197, 94, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
  animation: meshShift 12s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(15deg); }
}

.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero__orb--1 {
  width: 300px;
  height: 300px;
  background: rgba(201, 162, 39, 0.15);
  top: -5%;
  right: 10%;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 200px;
  height: 200px;
  background: rgba(34, 197, 94, 0.1);
  bottom: 20%;
  left: -5%;
  animation-delay: -3s;
}

.hero__orb--3 {
  width: 250px;
  height: 250px;
  background: rgba(99, 102, 241, 0.08);
  top: 40%;
  right: -8%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

.hero__floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__float {
  position: absolute;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1;
  animation: floatSymbol 6s ease-in-out infinite;
  text-shadow: 0 0 30px currentColor;
}

.hero__float:nth-child(1),
.hero__float:nth-child(3),
.hero__float:nth-child(5) {
  color: rgba(240, 215, 140, 0.45);
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.5), 0 0 80px rgba(201, 162, 39, 0.2);
}

.hero__float:nth-child(2),
.hero__float:nth-child(4) {
  color: rgba(255, 255, 255, 0.35);
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.25), 0 0 60px rgba(255, 255, 255, 0.1);
}

.hero__float:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; }
.hero__float:nth-child(2) { top: 25%; right: 12%; animation-delay: -1.5s; }
.hero__float:nth-child(3) { top: 55%; left: 5%; animation-delay: -3s; }
.hero__float:nth-child(4) { top: 65%; right: 8%; animation-delay: -4.5s; }
.hero__float:nth-child(5) { top: 40%; left: 45%; animation-delay: -2s; font-size: clamp(2rem, 4vw, 3rem); }

@keyframes floatSymbol {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.85; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 1; }
}

/* Nav */
.nav {
  position: relative;
  z-index: 10;
  padding: 24px 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__cbr-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.nav__cbr-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.cbr-emblem {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.cbr-emblem img {
  display: block;
  height: 28px;
  width: auto;
  min-width: 112px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.cbr-emblem--lg {
  width: 36px;
  height: 36px;
}

.cbr-emblem--lg img {
  height: 36px;
  min-width: 144px;
}

@media (min-width: 480px) {
  .nav__cbr-badge {
    padding: 8px 16px;
  }

  .nav__cbr-text {
    font-size: 0.75rem;
  }

  .cbr-emblem {
    width: 32px;
    height: 32px;
  }

  .cbr-emblem img {
    height: 32px;
    min-width: 128px;
  }

  .hero__title {
    font-size: clamp(2rem, 5.5vw, 4.5rem);
    white-space: nowrap;
  }

  .hero__coin img {
    width: 44px;
    height: 44px;
  }
}

.nav__logo,
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav__mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: var(--bg-deep);
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Hero content */
.hero__content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 20px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.hero__cta:hover::before {
  transform: translateX(100%);
}

.hero__cta:active {
  transform: scale(0.97);
}

.hero__cta--telegram {
  background: linear-gradient(135deg, #229ED9, #1a8bc4);
  color: #fff;
  box-shadow: 0 4px 24px rgba(34, 158, 217, 0.4);
}

.hero__cta--telegram:hover {
  box-shadow: 0 8px 36px rgba(34, 158, 217, 0.55);
  transform: translateY(-2px);
}

.hero__cta__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(1.65rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  text-shadow: 0 0 80px var(--glow-gold);
  white-space: nowrap;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero__coins {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 0 4px;
}

.hero__coin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 8px;
  min-width: 68px;
  border-radius: 14px;
  background: rgba(15, 22, 41, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: coinAppear 0.6s ease backwards;
  animation-delay: var(--coin-delay, 0s);
}

.hero__coin:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--border-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 20px var(--glow-gold);
}

.hero__coin img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
}

.hero__coin span {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

@keyframes coinAppear {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__visual {
  width: 100%;
  max-width: 720px;
  position: relative;
}

.hero__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px var(--glow-gold);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 32px 100px rgba(0, 0, 0, 0.6),
    0 0 80px var(--glow-gold);
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.hero__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(7, 11, 20, 0.9));
}

.hero__rate {
  padding: 14px 20px;
  background: rgba(15, 22, 41, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: fit-content;
  overflow: hidden;
}

.hero__rate-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__rate-inner.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.hero__rate-inner.is-entering {
  opacity: 0;
  transform: translateY(-10px);
}

.hero__rate-label {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero__rate-value {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.hero__rate-change {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--green);
  padding: 4px 8px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 6px;
}

.hero__rate-change--down {
  color: var(--red);
  background: rgba(239, 68, 68, 0.12);
}

.hero__rate-change--flat {
  color: var(--text-muted);
  background: rgba(139, 149, 168, 0.12);
}

/* ---- China Pay ---- */
.china-pay {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 22, 41, 0.4) 50%, transparent 100%);
}

.china-pay__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.china-pay__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.china-pay__card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.china-pay__icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.china-pay__card:hover .china-pay__icon-wrap {
  transform: scale(1.08);
}

.china-pay__icon-wrap--alipay {
  box-shadow: 0 4px 24px rgba(22, 119, 255, 0.35);
}

.china-pay__icon-wrap--wechat {
  box-shadow: 0 4px 24px rgba(7, 193, 96, 0.35);
}

.china-pay__icon-wrap--bank {
  box-shadow: 0 4px 24px var(--glow-gold);
}

.china-pay__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.china-pay__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.china-pay__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.china-pay__cta {
  text-align: center;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.china-pay__cta-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.china-pay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  background: linear-gradient(135deg, #229ED9, #1a8bc4);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.china-pay__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34, 158, 217, 0.5);
}

.china-pay__btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .china-pay__grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Ticker ---- */
.ticker {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}

.ticker__track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ticker__inner {
  display: flex;
  width: max-content;
  animation: tickerScroll 40s linear infinite;
}

.ticker__content {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  padding-right: 32px;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  white-space: nowrap;
}

.ticker__item strong {
  color: var(--text-muted);
  font-weight: 500;
}

.ticker__item em {
  font-style: normal;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.ticker__item b.up {
  color: var(--green);
  font-weight: 500;
}

.ticker__item b.down {
  color: var(--red);
  font-weight: 500;
}

.ticker__item b.flat {
  color: var(--text-muted);
  font-weight: 500;
}

.ticker__sep {
  color: var(--border-gold);
  font-size: 0.5rem;
}

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

/* ---- Stats ---- */
.stats {
  padding: 60px 0;
}

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

.stats__item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.stats__item:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 24px var(--glow-gold);
}

.stats__number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---- Features ---- */
.features {
  background: linear-gradient(180deg, transparent, rgba(15, 22, 41, 0.4), transparent);
}

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

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--border-gold);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 32px var(--glow-gold);
}

.feature-card--large {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 0;
}

.feature-card--large .feature-card__body {
  padding: 32px 32px 24px;
  position: relative;
  z-index: 2;
}

.feature-card--large .feature-card__text {
  max-width: none;
  margin-bottom: 0;
}

.feature-card__visual {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.feature-card__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.feature-card--large .feature-card__img {
  min-height: 220px;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 18%, #000 40%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 18%, #000 40%);
}

.feature-card:not(.feature-card--large) .feature-card__img {
  display: none;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-card--cbr {
  border-color: rgba(201, 162, 39, 0.25);
  background: linear-gradient(135deg, rgba(15, 22, 41, 0.8), rgba(201, 162, 39, 0.06));
}

.feature-card--cbr:hover {
  border-color: var(--border-gold);
}

.feature-card__icon--cbr {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--border-gold);
  padding: 0;
}

.features__footnote {
  margin-top: 32px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  background: rgba(15, 22, 41, 0.5);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
}

.features__footnote strong {
  color: var(--gold);
  font-weight: 600;
}

.ticker__item--loading {
  color: var(--text-muted);
  font-style: italic;
}

.ticker__source {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ---- Currencies ---- */
.currencies__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.currency-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.currency-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 24px var(--glow-gold);
}

.currency-card__flag {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.currency-card--more .currency-card__flag {
  font-size: 1.5rem;
  color: var(--gold);
}

.currency-card__code {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

.currency-card__name {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.currency-card--more {
  border-style: dashed;
  border-color: var(--border-gold);
}

/* ---- Steps ---- */
.steps {
  background: linear-gradient(180deg, transparent, rgba(15, 22, 41, 0.3), transparent);
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), border-color var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.step-card__num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.1);
  line-height: 1;
}

.step-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.05));
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.step-card__icon svg {
  width: 26px;
  height: 26px;
}

.step-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- Trust ---- */
.trust__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.trust__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}

.trust__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text);
}

.trust__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  flex-shrink: 0;
}

.trust__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.trust__img {
  width: 100%;
  aspect-ratio: 7/5;
  object-fit: cover;
}

.trust__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 16px 24px;
  background: rgba(7, 11, 20, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
}

.trust__badge-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust__badge-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Footer ---- */
.footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---- Sticky CTA ---- */
.cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}

.cta-bar__inner {
  display: flex;
  gap: 12px;
}

.cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta-btn:hover::before {
  transform: translateX(100%);
}

.cta-btn:active {
  transform: scale(0.97);
}

.cta-btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-btn--telegram {
  background: linear-gradient(135deg, #229ED9, #1a8bc4);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.35);
}

.cta-btn--telegram:hover {
  box-shadow: 0 8px 32px rgba(34, 158, 217, 0.5);
  transform: translateY(-2px);
}

.cta-btn--site {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: var(--bg-deep);
  box-shadow: 0 4px 20px var(--glow-gold);
}

.cta-btn--site:hover {
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
}

/* Ripple effect */
.cta-btn .ripple,
.hero__cta .ripple,
.china-pay__btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 479px) {
  .section {
    padding: 56px 0;
  }

  .nav {
    padding: 16px 0;
  }

  .nav__cbr-text {
    display: none;
  }

  .nav__cbr-badge {
    padding: 6px 8px;
  }

  .hero__subtitle {
    margin-bottom: 24px;
  }

  .hero__title {
    font-size: clamp(1.35rem, 4.8vw, 1.75rem);
    white-space: normal;
    text-wrap: balance;
  }

  .hero__coins {
    gap: 8px;
    margin-bottom: 32px;
  }

  .hero__coin {
    min-width: 62px;
    padding: 8px 10px 6px;
  }

  .hero__coin img {
    width: 34px;
    height: 34px;
  }

  .feature-card,
  .feature-card--large .feature-card__body {
    padding: 24px;
  }

  .feature-card--large .feature-card__body {
    padding-bottom: 16px;
  }

  .stats__grid {
    gap: 12px;
  }

  .stats__item {
    padding: 20px 12px;
  }

  .currency-card {
    padding: 20px 12px;
  }

  .step-card {
    padding: 28px 20px;
  }

  .features__footnote {
    padding: 16px;
    font-size: 0.8125rem;
  }
}

@media (min-width: 480px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .currencies__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .section {
    padding: 100px 0;
  }

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

  .feature-card--large {
    flex-direction: row;
    align-items: stretch;
    min-height: 280px;
  }

  .feature-card--large .feature-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px;
  }

  .feature-card--large .feature-card__visual {
    flex: 0 0 42%;
    min-height: auto;
  }

  .feature-card--large .feature-card__img {
    min-height: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 12%, #000 28%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 12%, #000 28%);
  }

  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .cta-bar__inner {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-card--large {
    grid-column: span 2;
    grid-row: span 2;
    flex-direction: row;
    min-height: 320px;
  }

  .feature-card--large .feature-card__visual {
    flex: 0 0 48%;
  }

  .currencies__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ---- Breadcrumbs ---- */
.breadcrumbs {
  padding: 12px 0 0;
  position: relative;
  z-index: 2;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item:not(:last-child)::after {
  content: '/';
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumbs__link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumbs__link:hover {
  color: var(--gold-start);
}

.breadcrumbs__current {
  color: var(--text-secondary);
}

/* ---- SEO Content ---- */
.seo-content {
  background: var(--bg-deep);
}

.seo-content__grid {
  display: grid;
  gap: 24px;
}

.seo-content__block {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.seo-content__block:hover {
  border-color: rgba(201, 162, 39, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.seo-content__block p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0 0 14px;
}

.seo-content__block p:last-child {
  margin-bottom: 0;
}

.seo-content__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.seo-content__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: var(--radius-sm);
  color: var(--gold-start);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
}

.seo-content__link:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: rgba(201, 162, 39, 0.4);
}

/* ---- FAQ ---- */
.faq {
  background: var(--bg-base);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq__item.is-open {
  border-color: rgba(201, 162, 39, 0.3);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--gold-start);
}

.faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--gold-start);
  transition: transform var(--transition);
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
}

.faq__answer-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ---- Trust Legal ---- */
.trust-legal {
  padding: 24px 28px;
  margin-top: 24px;
  background: rgba(201, 162, 39, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius);
}

.trust-legal__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-start);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trust-legal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust-legal__list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-legal__list strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---- Footer Links ---- */
.footer__inner {
  flex-direction: column;
  gap: 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-start);
  margin: 0 0 12px;
}

.footer__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col-list a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__col-list a:hover {
  color: var(--gold-start);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }

  .footer__links-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

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

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }

  .ticker__inner {
    animation: none;
  }

  .hero__coin {
    animation: none;
  }
}
