:root {
  --purple: #6B21E8;
  --purple-light: #8B5CF6;
  --purple-deep: #3B0764;
  --purple-glow: rgba(107,33,232,0.35);
  --bg: #0D0118;
  --surface: #140225;
  --surface2: #1E0A35;
  --text: #F3EEF9;
  --muted: #9B7FC0;
  --gold: #F5C842;
  --green: #22D3A0;
  --border: rgba(139,92,246,0.2);
  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13,1,24,0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.nav-logo svg { width: 32px; height: 32px; }

.nav-cta {
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--purple-light); transform: scale(1.04); }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(107,33,232,0.45) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.8; }
  50%       { transform: translateX(-50%) scale(1.15); opacity: 1; }
}

/* Uzbek geometric ring */
.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.12);
  pointer-events: none;
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.08);
}
.hero-ring::after {
  content: '';
  position: absolute;
  inset: 80px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.06);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(107,33,232,0.18);
  border: 1px solid rgba(107,33,232,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-light);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 2s ease infinite;
}

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

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 8vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 span {
  background: linear-gradient(135deg, #C084FC 0%, #6B21E8 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-sub {
  margin-top: 20px;
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--muted);
  max-width: 480px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7C3AED, #6B21E8);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 18px 40px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 32px rgba(107,33,232,0.5), 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 48px rgba(107,33,232,0.7), 0 12px 32px rgba(0,0,0,0.5);
}
.btn-primary:active { transform: scale(0.98); }

.btn-arrow {
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow { transform: translateX(3px); }

.hero-note {
  font-size: 13px;
  color: var(--muted);
}

/* ── CARD 3D ── */
.hero-card-wrap {
  position: relative;
  z-index: 1;
  margin-top: 50px;
  perspective: 800px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.card-3d {
  width: 320px;
  height: 200px;
  border-radius: 20px;
  background: linear-gradient(135deg, #4C1D95, #6B21E8 40%, #7C3AED 70%, #9333EA);
  box-shadow:
    0 30px 80px rgba(107,33,232,0.5),
    0 0 0 1px rgba(255,255,255,0.12) inset,
    0 1px 0 rgba(255,255,255,0.25) inset;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.card-3d:hover {
  transform: rotateY(-8deg) rotateX(4deg) translateY(-6px);
}

.card-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.card-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, #fff 0, #fff 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}

.card-chip {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, #F5C842, #D4A017);
  border-radius: 6px;
}
.card-chip::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 2px;
}

.card-logo {
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.card-number {
  position: absolute;
  bottom: 54px;
  left: 24px;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.card-name {
  position: absolute;
  bottom: 26px;
  left: 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-visa {
  position: absolute;
  bottom: 22px;
  right: 22px;
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}

.card-limit-badge {
  position: absolute;
  top: -16px;
  right: -8px;
  background: var(--gold);
  color: #1a0533;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(245,200,66,0.4);
  white-space: nowrap;
}

/* ── SECTION COMMONS ── */
section { position: relative; z-index: 1; }

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--purple-light);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── STATS STRIP ── */
.stats {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}
.stat-num span {
  background: linear-gradient(135deg, #C084FC, #6B21E8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── BENEFITS ── */
.benefits {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
  border-color: rgba(107,33,232,0.5);
  box-shadow: 0 8px 32px rgba(107,33,232,0.15);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.benefit-card:nth-child(1) .benefit-icon svg { stroke: var(--purple-light); }
.benefit-card:nth-child(2) .benefit-icon svg { stroke: var(--green); }
.benefit-card:nth-child(3) .benefit-icon svg { stroke: var(--gold); }
.benefit-card:nth-child(4) .benefit-icon svg { stroke: #C084FC; }

.step-tag svg { width: 12px; height: 12px; stroke-width: 2.5; vertical-align: middle; margin-right: 2px; }
.hero-note svg { width: 14px; height: 14px; stroke-width: 2.5; vertical-align: middle; margin-right: 2px; }
.btn-arrow svg { width: 12px; height: 12px; stroke-width: 2.5; }
.sticky-cta svg { width: 14px; height: 14px; stroke-width: 2.5; }

.benefit-card:nth-child(1) .benefit-icon { background: rgba(107,33,232,0.2); }
.benefit-card:nth-child(2) .benefit-icon { background: rgba(34,211,160,0.15); }
.benefit-card:nth-child(3) .benefit-icon { background: rgba(245,200,66,0.15); }
.benefit-card:nth-child(4) .benefit-icon { background: rgba(139,92,246,0.15); }

.benefit-card h3 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.benefit-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.benefit-highlight {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}
.benefit-card:nth-child(1) .benefit-highlight { color: var(--purple-light); }
.benefit-card:nth-child(2) .benefit-highlight { color: var(--green); }
.benefit-card:nth-child(3) .benefit-highlight { color: var(--gold); }
.benefit-card:nth-child(4) .benefit-highlight { color: #C084FC; }

/* ── HOW IT WORKS ── */
.how {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), transparent);
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  opacity: 0;
  transform: translateX(-20px);
}

.step.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 20px var(--purple-glow);
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.step-tag {
  display: inline-block;
  margin-top: 10px;
  background: rgba(107,33,232,0.15);
  border: 1px solid rgba(107,33,232,0.3);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--purple-light);
  letter-spacing: 0.05em;
}

/* ── TARIFFS ── */
.tariffs {
  padding: 80px 0;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 40px;
}

.tariff-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.tariff-row.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tariff-name {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  line-height: 1.4;
}

.tariff-value {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-align: right;
  flex-shrink: 0;
  max-width: 200px;
  line-height: 1.4;
}

.tariff-value.free { color: var(--green); }
.tariff-value.gold { color: var(--gold); }

/* ── FAQ ── */
.faq {
  padding: 80px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open { border-color: rgba(107,33,232,0.4); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  user-select: none;
  transition: background 0.2s;
}
.faq-q:hover { background: rgba(107,33,232,0.06); }

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(107,33,232,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--purple-light);
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--purple);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-a-inner { padding: 0 24px 20px; }

.faq-item.open .faq-a { max-height: 300px; }

/* ── FOOTER CTA ── */
.footer-cta {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(107,33,232,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.footer-cta-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.footer-cta-sub {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.footer-cta .btn-primary {
  position: relative;
  z-index: 1;
  font-size: 17px;
  padding: 20px 48px;
}

.footer-bottom {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── STICKY CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 200;
  background: linear-gradient(135deg, #7C3AED, #6B21E8);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(107,33,232,0.6), 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-cta.show { transform: translateX(-50%) translateY(0); }

.sticky-cta:hover {
  box-shadow: 0 12px 40px rgba(107,33,232,0.8), 0 4px 12px rgba(0,0,0,0.5);
}

.sticky-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.5s ease infinite;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 500px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-num { font-size: 18px; }
  .stat-label { font-size: 11px; }
  .card-3d { width: 280px; height: 176px; }
  .tariff-value { font-size: 13px; max-width: 150px; }
}

@media (max-width: 360px) {
  .tariff-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .tariff-value { text-align: left; }
}
