/* ============================================ */
/* RESET + TOKENS                                  */
/* ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

:root {
  --bg: #07070c;
  --bg-2: #0d0d18;
  --surface: rgba(255,255,255,0.03);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);
  --text: #f4f4f8;
  --muted: #8a8aa0;
  --muted-2: #a8a8c0;
  --primary: #7c5cff;
  --primary-2: #6248d6;
  --accent: #22d3ee;
  --good: #4ade80;
  --bad: #f87171;
  --grad: linear-gradient(135deg, #7c5cff 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,92,255,0.18) 0%, rgba(34,211,238,0.18) 100%);
  --shadow-card: 0 30px 60px -20px rgba(124,92,255,0.45), 0 18px 30px -15px rgba(34,211,238,0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}

html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
body[dir="rtl"] { font-family: 'Heebo', system-ui, sans-serif; }

/* Background atmospherics */
#bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
}
#bg-glow {
  position: fixed; inset: -10vh -10vw; z-index: -3;
  background:
    radial-gradient(800px 600px at 80% -10%, rgba(124,92,255,0.3), transparent 60%),
    radial-gradient(700px 500px at 10% 30%, rgba(34,211,238,0.18), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(124,92,255,0.15), transparent 60%);
  pointer-events: none;
}

/* ============================================ */
/* NAV                                            */
/* ============================================ */
#nav {
  position: sticky; top: 0; z-index: 50;
  padding-top: var(--safe-top);
  background: rgba(7,7,12,0.6);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.logo-mark { display: inline-flex; }
.logo-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px; font-weight: 700;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: var(--surface-2); border-color: var(--border-strong); }
.lang-toggle span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity 0.2s; }
body[dir="ltr"] .lang-toggle span[data-lang="en"] { opacity: 1; }
body[dir="ltr"] .lang-toggle span[data-lang="he"] { opacity: 0; }
body[dir="rtl"] .lang-toggle span[data-lang="en"] { opacity: 0; }
body[dir="rtl"] .lang-toggle span[data-lang="he"] { opacity: 1; }

/* ============================================ */
/* BUTTONS                                        */
/* ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s, opacity 0.2s, box-shadow 0.2s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: 0 8px 30px -8px rgba(124,92,255,0.6);
}
.btn-primary:hover { box-shadow: 0 10px 40px -8px rgba(124,92,255,0.8); }
.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; padding: 16px 20px; }
.btn-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  flex-direction: column;
  gap: 6px;
  padding: 14px 10px;
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius);
}
.btn-pill:hover { background: var(--surface-2); }
.btn-pill svg { color: var(--accent); }

.hidden { display: none !important; }

/* ============================================ */
/* HERO                                           */
/* ============================================ */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding: 80px 40px 60px; gap: 60px; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12px; font-weight: 500;
  color: var(--muted-2);
  margin-bottom: 20px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.hero-title {
  font-size: clamp(40px, 9vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.hero-title span { display: block; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(15px, 4vw, 18px);
  color: var(--muted-2);
  line-height: 1.55;
  max-width: 540px;
  margin: 0 0 28px;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.trust-item span { font-size: 12px; color: var(--muted); }
.trust-divider { width: 1px; height: 24px; background: var(--border); }

/* hero card stage */
.hero-card-stage {
  position: relative;
  perspective: 1500px;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.hero-card-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(124,92,255,0.5), transparent 60%);
  filter: blur(60px);
  z-index: 0;
  animation: glowSlide 8s ease-in-out infinite;
}
@keyframes glowSlide {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -10px) scale(1.1); }
}
.card-3d {
  position: relative;
  z-index: 1;
  transform: rotateY(-12deg) rotateX(8deg);
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%, 100% { transform: rotateY(-12deg) rotateX(8deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(6deg) translateY(-10px); }
}

.floating-pill {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(20,20,30,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  font-size: 12px; font-weight: 600;
  z-index: 2;
  animation: floatPill 4s ease-in-out infinite;
}
.pay-apple { top: 10%; left: -5%; animation-delay: 0s; }
.pay-google { top: 50%; right: -5%; animation-delay: 1.2s; }
.pay-eth { bottom: 10%; left: 20%; animation-delay: 2.4s; }
@keyframes floatPill {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 600px) {
  .pay-apple { top: 0; left: 0; }
  .pay-google { top: 50%; right: 0; }
  .pay-eth { bottom: 5%; left: 10%; }
}

/* ============================================ */
/* DEMO CARD                                      */
/* ============================================ */
.demo-card {
  width: 340px; height: 215px;
  border-radius: 22px;
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(124,92,255,0.5) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(34,211,238,0.4) 0%, transparent 50%),
    linear-gradient(135deg, #1a1330 0%, #0d0d1a 60%, #050510 100%);
  box-shadow: var(--shadow-card);
  padding: 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: white;
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.demo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.08) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.dc-top { display: flex; justify-content: space-between; align-items: center; }
.dc-brand {
  font-family: 'Inter', sans-serif;
  font-size: 17px; font-weight: 800; letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 6px;
}
.dc-brand .dc-logo {
  width: 26px; height: 26px;
  background: var(--grad);
  border-radius: 7px;
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(124,92,255,0.4);
}
.dc-brand .dc-logo svg { width: 18px; height: 18px; }
.dc-chip {
  width: 36px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d4b572, #8b7235);
  position: relative;
}
.dc-chip::before, .dc-chip::after {
  content: ''; position: absolute;
  background: rgba(0,0,0,0.2);
}
.dc-chip::before { top: 6px; left: 4px; right: 4px; height: 1px; }
.dc-chip::after { left: 50%; top: 4px; bottom: 4px; width: 1px; }
.dc-num {
  font-size: 17px; letter-spacing: 2px;
  font-weight: 600;
  display: flex; gap: 10px;
}
.dc-num span { display: inline-block; }
.dc-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.dc-meta { display: flex; gap: 18px; }
.dc-meta-item { display: flex; flex-direction: column; gap: 2px; }
.dc-meta-item .lbl { font-size: 8px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; font-family: 'Inter', sans-serif; }
.dc-meta-item .val { font-size: 13px; font-weight: 600; }
.dc-network {
  font-family: 'Inter', sans-serif;
  font-size: 18px; font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
}
.dc-contactless {
  position: absolute;
  top: 22px; right: 70px;
  color: rgba(255,255,255,0.5);
}

/* virtual variant */
.demo-card.virtual {
  background:
    radial-gradient(circle at 80% 20%, rgba(34,211,238,0.5) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(124,92,255,0.4) 0%, transparent 50%),
    linear-gradient(135deg, #0e2030 0%, #0a1020 60%, #050510 100%);
}
.demo-card.physical {
  background:
    radial-gradient(circle at 20% 20%, rgba(168,85,247,0.4) 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, rgba(236,72,153,0.3) 0%, transparent 50%),
    linear-gradient(135deg, #1a0d1a 0%, #150a18 60%, #050510 100%);
  background-color: #050505;
}
.demo-card.physical::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 8px 8px;
  pointer-events: none;
}

@media (max-width: 380px) {
  .demo-card { width: 290px; height: 183px; padding: 18px; }
  .dc-num { font-size: 14px; gap: 8px; letter-spacing: 1px; }
}

/* ============================================ */
/* FEATURES                                       */
/* ============================================ */
.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.eyebrow {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
}
.section-head h2 {
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s, background 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.55;
  margin: 0;
}

/* ============================================ */
/* RATES                                          */
/* ============================================ */
.rates { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.rates-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(124,92,255,0.06), rgba(34,211,238,0.06));
  padding: 36px 24px;
  display: grid; gap: 28px;
}
@media (min-width: 800px) {
  .rates-card { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 48px 40px; }
}
.rates-text h2 {
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 8px;
}
.muted { color: var(--muted-2); }
.muted.small, .small.muted, .small { font-size: 13px; }
.rates-grid {
  display: grid;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.3);
}
.rate-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.rate-row:last-child { border-bottom: 0; }
.rate-row.rate-head {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: rgba(255,255,255,0.02);
}
.bad { color: var(--bad); font-variant-numeric: tabular-nums; }
.good {
  color: var(--good);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ============================================ */
/* CTA                                            */
/* ============================================ */
.cta {
  max-width: 700px;
  margin: 80px auto;
  padding: 60px 30px;
  border-radius: var(--radius-lg);
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta h2 {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.cta p { color: var(--muted-2); margin: 0 0 24px; }

/* ============================================ */
/* FOOTER                                         */
/* ============================================ */
footer { border-top: 1px solid var(--border); margin-top: 40px; }
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 30px 20px;
  display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center;
}
.foot-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }

/* ============================================ */
/* MODALS                                         */
/* ============================================ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  animation: fadeIn 0.2s ease;
}
@media (min-width: 700px) {
  .modal { align-items: center; padding: 30px; }
}
.modal.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  background: #14141f;
  border: 1px solid var(--border-strong);
  border-radius: 24px 24px 0 0;
  padding: 30px 22px calc(30px + var(--safe-bottom));
  width: 100%;
  max-width: 460px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  animation: slideUp 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@media (min-width: 700px) {
  .modal-card { border-radius: 24px; max-height: 90vh; }
}
.modal-card-wide { max-width: 540px; }
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 22px;
  line-height: 1;
  color: var(--muted-2);
}
body[dir="rtl"] .modal-close { right: auto; left: 14px; }
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-mark { display: flex; justify-content: center; margin-bottom: 18px; }
.modal-card h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 6px;
  text-align: center;
}
.modal-card > p.muted { text-align: center; margin: 0 0 24px; font-size: 14px; }
.modal-foot { text-align: center; margin: 16px 0 0; }
.back-btn {
  position: absolute; top: 18px; left: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 18px;
  color: var(--muted-2);
}
body[dir="rtl"] .back-btn { left: auto; right: 14px; transform: scaleX(-1); }
.otp-icon { font-size: 30px; }

/* ============================================ */
/* FORMS                                          */
/* ============================================ */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-2);
}
.field input,
.field select {
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.field input:focus,
.field select:focus {
  outline: 0;
  border-color: var(--primary);
  background: rgba(124,92,255,0.05);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.phone-input {
  display: flex; gap: 8px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.phone-input:focus-within { border-color: var(--primary); }
.phone-input select {
  background: transparent;
  border: 0;
  padding: 14px 0 14px 14px;
  width: auto;
  -webkit-appearance: none;
  appearance: none;
}
.phone-input input {
  border: 0;
  background: transparent;
  flex: 1;
  padding: 14px 14px 14px 4px;
}
body[dir="rtl"] .phone-input select { padding: 14px 14px 14px 0; }
body[dir="rtl"] .phone-input input { padding: 14px 4px 14px 14px; }

.otp-input {
  display: flex; gap: 8px; justify-content: center;
  margin: 18px 0 6px;
}
.otp-input input {
  width: 44px; height: 56px;
  border-radius: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 700;
  color: var(--text);
  transition: border-color 0.15s, transform 0.15s;
}
.otp-input input:focus {
  outline: 0;
  border-color: var(--primary);
  transform: scale(1.05);
}
.otp-hint { text-align: center; margin: 12px 0 18px; }
.otp-hint strong { color: var(--accent); font-family: 'JetBrains Mono', monospace; }

.check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px;
  color: var(--muted-2);
  margin: 14px 0 18px;
  cursor: pointer;
  line-height: 1.4;
}
.check input {
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.file-drop {
  position: relative;
  border: 2px dashed var(--border-strong);
  border-radius: 14px;
  background: rgba(0,0,0,0.2);
  padding: 22px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.file-drop:hover { border-color: var(--primary); background: rgba(124,92,255,0.05); }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop.has-file { border-color: var(--good); background: rgba(74,222,128,0.05); }
.file-drop-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted-2); }
.file-drop-inner svg { color: var(--accent); margin-bottom: 4px; }
#fileLabel { font-size: 14px; font-weight: 500; color: var(--text); }

.kyc-price {
  background: rgba(255,255,255,0.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* ============================================ */
/* CARD OPTIONS                                   */
/* ============================================ */
.card-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
@media (min-width: 600px) { .card-options { grid-template-columns: 1fr 1fr; } }
.card-option {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: left;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
body[dir="rtl"] .card-option { text-align: right; }
.card-option:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  background: var(--surface-2);
}
.opt-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--grad);
  color: white;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
body[dir="rtl"] .opt-badge { right: auto; left: 12px; }
.opt-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 12px;
}
.opt-icon svg { width: 22px; height: 22px; }
.card-option h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.02em; }
.opt-price {
  margin-top: 14px;
  font-size: 26px; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

/* ============================================ */
/* ISSUE SUCCESS                                  */
/* ============================================ */
.success-anim { display: flex; justify-content: center; margin-bottom: 14px; }
.check-circle { animation: drawCircle 0.6s ease forwards; transform-origin: center; transform: rotate(-90deg); }
.check-mark { stroke-dasharray: 50; stroke-dashoffset: 50; animation: drawMark 0.4s 0.4s ease forwards; }
@keyframes drawCircle { from { stroke-dashoffset: 176; } to { stroke-dashoffset: 0; } }
@keyframes drawMark { to { stroke-dashoffset: 0; } }
.issued-card { display: flex; justify-content: center; margin: 24px 0; }
.issued-actions { display: flex; flex-direction: column; gap: 10px; }

/* ============================================ */
/* DASHBOARD                                      */
/* ============================================ */
.route { display: none; }
.route.active { display: block; }
.dash-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}
.dash-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.dash-head h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.02em;
  margin: 4px 0 0;
}
.balance-card {
  background:
    radial-gradient(circle at 0% 0%, rgba(124,92,255,0.25) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(34,211,238,0.18) 0%, transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  margin-bottom: 28px;
}
.balance-amount {
  font-size: clamp(40px, 12vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 6px 0 22px;
  font-feature-settings: 'tnum';
  display: flex; align-items: baseline; gap: 8px;
}
.balance-cur {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0;
}
.balance-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.dash-section { margin-bottom: 28px; }
.dash-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.dash-section-head h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0;
}

.cards-list { display: grid; gap: 12px; }
.user-card-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.user-card-thumb {
  width: 80px; height: 50px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1a1330, #050510);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.user-card-thumb.virtual { background: linear-gradient(135deg, #0e2030, #050510); }
.user-card-thumb.physical { background: linear-gradient(135deg, #1a0d1a, #050510); }
.user-card-thumb::before {
  content: '';
  position: absolute;
  top: 6px; left: 8px;
  width: 14px; height: 4px;
  background: var(--grad);
  border-radius: 2px;
}
.user-card-info { flex: 1; min-width: 0; }
.user-card-info .ucn { font-weight: 600; font-size: 14px; }
.user-card-info .ucm { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; }
.user-card-info .uct { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-top: 4px; }

.tx-list { display: flex; flex-direction: column; }
.tx-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
}
.tx-row:last-child { border-bottom: 0; }
.tx-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--muted-2);
}
.tx-icon.pos { color: var(--good); background: rgba(74,222,128,0.12); }
.tx-icon.neg { color: var(--bad); background: rgba(248,113,113,0.08); }
.tx-info { flex: 1; min-width: 0; }
.tx-info .tx-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-info .tx-meta { font-size: 12px; color: var(--muted); }
.tx-amount { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tx-amount.pos { color: var(--good); }
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ============================================ */
/* DEPOSIT MODAL                                  */
/* ============================================ */
.asset-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0 0 14px;
  justify-content: center;
}
.asset-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.asset-dot { width: 6px; height: 6px; border-radius: 50%; }
.asset-dot.usdt { background: #26a17b; }
.asset-dot.usdc { background: #2775ca; }
.asset-dot.eth  { background: #627eea; }
.asset-dot.sol  { background: #14f195; }
.asset-dot.trx  { background: #ff060a; }
.asset-dot.matic{ background: #8247e5; }

.net-tabs {
  display: flex; gap: 4px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  padding: 4px;
  border-radius: 999px;
  margin: 0 0 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.net-tabs::-webkit-scrollbar { display: none; }
.net-tab {
  flex: 1 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.net-tab.active { background: var(--surface-2); color: var(--text); }
.net-meta { text-align: center; margin: 0 0 14px; }
.qr-block { display: flex; justify-content: center; margin: 20px 0; }
.qr-code {
  width: 180px; height: 180px;
  background: white;
  border-radius: 14px;
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
}
.qr-code svg { width: 100%; height: 100%; }
.addr-row { display: flex; gap: 8px; }
.addr-row input {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.warn {
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.25);
  color: #fca5a5;
  padding: 10px 12px;
  border-radius: 10px;
  margin: 12px 0 18px;
}

/* ============================================ */
/* TOAST                                          */
/* ============================================ */
.toast {
  position: fixed;
  bottom: calc(20px + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(20,20,30,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s;
  pointer-events: none;
  max-width: calc(100vw - 40px);
  text-align: center;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ============================================ */
/* RTL TWEAKS                                     */
/* ============================================ */
body[dir="rtl"] { font-family: 'Heebo', system-ui, sans-serif; }
body[dir="rtl"] .hero-title { letter-spacing: -0.02em; }
body[dir="rtl"] .grad-text { display: inline-block; }
body[dir="rtl"] .dc-num { direction: ltr; }
body[dir="rtl"] .balance-amount { direction: ltr; }

/* mobile-specific polish */
@media (max-width: 600px) {
  .nav-actions .btn-ghost { display: none; }
  .nav-actions .btn-primary { padding: 8px 14px; font-size: 13px; }
  .hero { padding: 30px 18px 30px; }
  .hero-card-stage { order: -1; min-height: 260px; }
  .hero-trust { justify-content: space-between; width: 100%; gap: 10px; }
  .trust-divider { display: none; }
  .hero-ctas .btn-lg { padding: 14px 22px; flex: 1; }
  .hero-ctas .btn-ghost { display: none; }
  .features { padding: 40px 18px; }
  .feature-card { padding: 20px; }
  .rates { padding: 20px 18px; }
  .rates-card { padding: 28px 20px; }
  .cta { margin: 40px 18px; padding: 40px 22px; }
  .dash-wrap { padding: 18px 16px 40px; }
  .balance-card { padding: 22px 18px; }
}
