/* ============================================================
   CRYPTOIL - Premium Israeli Crypto Exchange
   Design System: Dark Luxury Fintech, 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Secular+One&family=Heebo:wght@300;400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-void:       #070B18;
  --bg-deep:       #0A0F1E;
  --bg-surface:    #111827;
  --bg-elevated:   #1A2035;
  --bg-card:       rgba(26, 32, 53, 0.7);

  --primary:       #3B6FE8;
  --primary-glow:  rgba(59, 111, 232, 0.35);
  --primary-light: #5B8FF8;
  --primary-dark:  #2B55C8;

  --gold:          #C9A84C;
  --gold-light:    #E4C97A;
  --gold-glow:     rgba(201, 168, 76, 0.25);

  --text-primary:  #F0F4FF;
  --text-secondary: #8B95B0;
  --text-muted:    #4A5270;
  --text-gold:     #C9A84C;

  --border:        rgba(255, 255, 255, 0.07);
  --border-glow:   rgba(59, 111, 232, 0.3);
  --border-gold:   rgba(201, 168, 76, 0.3);

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;
  --radius-xl:     32px;

  --shadow-sm:     0 2px 12px rgba(0,0,0,0.35);
  --shadow-md:     0 8px 40px rgba(0,0,0,0.5);
  --shadow-lg:     0 24px 80px rgba(0,0,0,0.7);
  --shadow-primary: 0 8px 32px rgba(59, 111, 232, 0.4);
  --shadow-gold:   0 8px 32px rgba(201, 168, 76, 0.3);

  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Heebo', system-ui, sans-serif;
  background-color: #070B18;
  background-color: var(--bg-void);
  color: #F0F4FF;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography Scale ─────────────────────────────────────── */
.display-xl {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-lg {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
}

.display-md {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.3;
}

.body-lg  { font-size: 1.2rem; font-weight: 400; }
.body-md  { font-size: 1rem;   font-weight: 400; }
.body-sm  { font-size: 0.875rem; font-weight: 400; }
.label    { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.mono     { font-family: 'IBM Plex Mono', monospace; }

/* ── Gold Gradient Text ───────────────────────────────────── */
.text-gold-gradient {
  background: linear-gradient(135deg, #E4C97A 0%, #C9A84C 40%, #F0D88A 70%, #C9A84C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: shimmer-gold 4s ease infinite;
}

.text-blue-gradient {
  background: linear-gradient(135deg, #5B8FF8 0%, #3B6FE8 50%, #7BA3FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes shimmer-gold {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  position: relative;
}

/* ── Floating Background Orbs ─────────────────────────────── */
.orb-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.orb-blue  { background: radial-gradient(circle, #3B6FE8, transparent); }
.orb-gold  { background: radial-gradient(circle, #C9A84C, transparent); }
.orb-indigo{ background: radial-gradient(circle, #6B42E8, transparent); }

.orb-1 { width: 600px; height: 600px; top: -200px; right: -200px; animation: drift-1 18s ease-in-out infinite; }
.orb-2 { width: 400px; height: 400px; bottom: 0;   left: -150px;  animation: drift-2 14s ease-in-out infinite; }
.orb-3 { width: 300px; height: 300px; top: 40%;    left: 30%;     animation: drift-3 22s ease-in-out infinite; opacity: 0.07; }

@keyframes drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-60px, 80px) scale(1.1); }
  66%  { transform: translate(40px, -60px) scale(0.95); }
}
@keyframes drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, -60px) scale(1.15); }
}
@keyframes drift-3 {
  0%, 100% { transform: translate(0, 0); }
  33%  { transform: translate(40px, 30px); }
  66%  { transform: translate(-30px, -40px); }
}

/* ── Navbar ───────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(7, 11, 24, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition: background var(--transition), padding var(--transition), transform var(--transition);
}

#navbar.scrolled {
  background: rgba(7, 11, 24, 0.95);
  border-bottom-color: rgba(255,255,255,0.1);
  padding: 0.75rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #6B42E8 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--primary-glow);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '₿';
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
}

.logo-text {
  font-family: 'Secular One', sans-serif;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  display: block;
}

.logo-text span {
  color: var(--gold);
}

.logo-subtitle {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-logo {
  max-height: 40px;
  width: auto;
  display: block;
}

.footer-logo {
  max-height: 32px;
}

.footer-logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-decoration: none;
}

.fee-card-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fee-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #6B42E8 100%);
  color: white !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  box-shadow: 0 4px 20px var(--primary-glow);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px var(--primary-glow) !important;
}

.nav-cta::after { display: none !important; }

/* ── Hero Section ─────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  background: var(--bg-void);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(59,111,232,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(107,66,232,0.06) 0%, transparent 60%);
}

/* Animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,111,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,111,232,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 111, 232, 0.12);
  border: 1px solid rgba(59, 111, 232, 0.25);
  border-radius: 100px;
  padding: 0.45rem 1rem 0.45rem 0.6rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91, 143, 248, 0.6); }
  50% { box-shadow: 0 0 0 6px rgba(91, 143, 248, 0); }
}

.hero-headline {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 1.8rem;
  color: var(--text-primary);
}

.hero-headline .accent-line {
  display: block;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 3rem;
  font-weight: 400;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #5060D0 50%, #6B42E8 100%);
  color: white;
  font-size: 1.15rem;
  padding: 1.05rem 2.5rem;
  box-shadow: 0 8px 32px rgba(59, 111, 232, 0.45), 0 2px 8px rgba(0,0,0,0.3);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(59, 111, 232, 0.6), 0 4px 16px rgba(0,0,0,0.4);
}

.btn-primary:active { transform: translateY(0); }

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.btn-gold {
  background: linear-gradient(135deg, #C9A84C 0%, #E4C97A 50%, #C9A84C 100%);
  color: #0A0F1E;
  font-size: 1.15rem;
  padding: 1.05rem 2.5rem;
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(201, 168, 76, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 1rem 1.75rem;
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
}

.btn-submit {
  background: linear-gradient(135deg, var(--gold) 0%, #E4C97A 50%, var(--gold) 100%);
  color: #0A0F1E;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.5);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Ticker Bar ───────────────────────────────────────────── */
.ticker-wrap {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 0.75rem 0;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.85rem;
}

.ticker-symbol { color: var(--text-primary); font-weight: 600; }
.ticker-price  { color: var(--text-secondary); }
.ticker-up     { color: #22D37A; }
.ticker-down   { color: #E84C4C; }
.ticker-dot    { width: 4px; height: 4px; border-radius: 50%; background: var(--text-muted); }

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

/* ── Section Headers ──────────────────────────────────────── */
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-eyebrow::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Secular One', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* ── Stats Strip ──────────────────────────────────────────── */
#stats {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-value {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── How It Works ─────────────────────────────────────────── */
#how-it-works {
  padding: 8rem 0;
  background: var(--bg-void);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 3.2rem;
  right: calc(12.5% + 1.5rem);
  left: calc(12.5% + 1.5rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 143, 248, 0.18), rgba(91, 143, 248, 0.18), transparent);
}

.step-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.75rem;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,143,248,0.18), transparent 70%);
  top: -30px;
  right: -30px;
  pointer-events: none;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 143, 248, 0.28);
  background: rgba(255,255,255,0.09);
  box-shadow: 0 24px 60px rgba(0,0,0,0.24);
}

.step-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  margin: 0 auto 1rem;
}

.step-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.4rem;
  font-size: 2rem;
  position: relative;
  z-index: 1;
  box-shadow: inset 0 6px 12px rgba(0,0,0,0.12);
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
}

.step-icon-blue {
  background: linear-gradient(135deg, rgba(59, 111, 232, 0.22), rgba(59, 111, 232, 0.08));
  border: 1px solid rgba(59, 111, 232, 0.18);
  color: #EEF5FF;
}

.step-icon-gold {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.26), rgba(201, 168, 76, 0.08));
  border: 1px solid rgba(201, 168, 76, 0.18);
  color: #FFF8DC;
}

.step-title {
  font-family: 'Secular One', sans-serif;
  font-size: 1.12rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 22rem;
  margin: 0 auto;
}

/* ── Selling Form ─────────────────────────────────────────── */
#sell-form-section {
  padding: 8rem 0;
  background: var(--bg-deep);
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.form-info {
  position: sticky;
  top: 7rem;
}

.form-info .section-subtitle {
  margin-bottom: 2.5rem;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.trust-badge:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(59, 111, 232, 0.12);
  border: 1px solid rgba(59, 111, 232, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.trust-badge-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.trust-badge-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Form Card */
.form-card {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #6B42E8, var(--gold));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-card-title {
  font-family: 'Secular One', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-card-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Form Fields */
.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: 'Heebo', sans-serif;
  font-size: 1rem;
  transition: all var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  direction: rtl;
}

.form-control:focus {
  border-color: var(--primary);
  background: rgba(59, 111, 232, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 111, 232, 0.15);
}

.form-control::placeholder { color: var(--text-muted); }

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B95B0' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
}

/* Coin icons in select */
.crypto-option { font-family: 'Heebo', sans-serif; }

.custom-select-wrap {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  color: var(--text-primary);
  padding: 0.95rem 1.1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.custom-select-trigger:hover,
.custom-select-trigger:focus-visible {
  border-color: rgba(59, 111, 232, 0.65);
  background: rgba(59, 111, 232, 0.14);
}

.custom-select-trigger[aria-expanded="true"] {
  border-color: rgba(59, 111, 232, 0.85);
  box-shadow: 0 0 0 1px rgba(59, 111, 232, 0.18);
}

.custom-select-trigger[aria-expanded="true"] .select-arrow {
  transform: rotate(180deg);
}

.custom-select-value-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-height: 24px;
}

.custom-select-value {
  display: inline-block;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.selected-icon,
.option-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.95rem;
  color: var(--text-primary);
  overflow: hidden;
}

.selected-icon {
  opacity: 0.95;
}

.selected-icon.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-option {
  width: 100%;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  background: rgba(255,255,255,0.03);
  color: var(--text-primary);
  border: 1px solid transparent;
  border-radius: 20px;
  text-align: left;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.custom-option:hover,
.custom-option:focus-visible {
  background: rgba(59, 111, 232, 0.18);
  border-color: rgba(91, 143, 248, 0.25);
  transform: translateX(2px);
}

.custom-option.selected {
  background: rgba(59, 111, 232, 0.22);
  border-color: rgba(91, 143, 248, 0.35);
  box-shadow: inset 0 0 0 1px rgba(91, 143, 248, 0.2);
}

.custom-option span {
  display: inline-block;
}

.custom-option span:last-child {
  font-weight: 600;
}

.custom-option .option-cash {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  font-size: 0.95rem;
}

.custom-select-value-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.selected-icon,
.option-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  color: var(--text-primary);
  overflow: hidden;
}

.selected-icon {
  opacity: 0.85;
}

.selected-icon.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.select-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23F0F4FF' stroke-width='1.75' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform var(--transition);
}

.custom-select-options {
  position: absolute;
  z-index: 10;
  width: 100%;
  margin-top: 0.75rem;
  background: rgba(12, 18, 36, 0.98);
  border: 1px solid rgba(59, 111, 232, 0.16);
  border-radius: var(--radius-xl);
  padding: 0.45rem 0;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  max-height: 260px;
  overflow-y: auto;
  backdrop-filter: blur(20px);
}

.custom-select-options.open {
  display: flex;
}

.custom-option {
  width: 100%;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.02);
  color: var(--text-primary);
  border: 1px solid transparent;
  border-radius: 18px;
  text-align: left;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.custom-option:hover,
.custom-option:focus-visible {
  background: rgba(59, 111, 232, 0.15);
  border-color: rgba(59, 111, 232, 0.25);
  transform: translateX(2px);
}

.custom-option.selected {
  background: rgba(59, 111, 232, 0.18);
  border-color: rgba(91, 143, 248, 0.35);
  box-shadow: inset 0 0 0 1px rgba(91, 143, 248, 0.2);
}

.custom-option span {
  display: inline-block;
}

.custom-option .option-cash {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  font-size: 0.95rem;
}

.option-icon.payment-icon {
  width: 28px;
  height: 28px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255,255,255,0.05);
}

.custom-option .option-cash {
  font-size: 0.9rem;
}

.native-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.coin-logo {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
}

.coin-btc { background: radial-gradient(circle, #f7931a 0%, #d57a1a 100%); color: #fff; }
.coin-eth { background: radial-gradient(circle, #8c8c8c 0%, #2a2a2a 100%); color: #fff; }
.coin-usdt { background: radial-gradient(circle, #26a17b 0%, #10856d 100%); color: #fff; }
.coin-ltc { background: radial-gradient(circle, #b8b8b8 0%, #7d7d7d 100%); color: #111; }
.coin-sol { background: radial-gradient(circle, #00ffa3 0%, #1d8f72 100%); color: #111; }
.coin-trx { background: radial-gradient(circle, #eb0029 0%, #a00022 100%); color: #fff; }
.coin-bnb { background: radial-gradient(circle, #f3ba2f 0%, #b5922c 100%); color: #111; }
.coin-usdc { background: radial-gradient(circle, #2775ca 0%, #0f4f8c 100%); color: #fff; }

/* Improve dropdown and form spacing */
.form-group {
  margin-bottom: 1.6rem;
}

.form-card {
  min-height: 100%;
}

@media (max-width: 880px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .custom-select-options {
    max-height: 260px;
  }
}

/* Amount input wrapper */
.amount-wrapper {
  position: relative;
}

.amount-prefix {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.9rem;
  pointer-events: none;
}

.amount-wrapper .form-control {
  padding-left: 3rem;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.checkbox-note {
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding-right: 1.15rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--primary);
  margin-top: 0.15rem;
}

.declaration-card {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}

.declaration-card-body {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.declaration-card-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(201,168,76,0.18);
  color: var(--gold);
}

.declaration-card-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.declaration-card-copy {
  margin: 0.35rem 0 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.55;
}

.declaration-card .checkbox-group {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.declaration-card .checkbox-group input[type="checkbox"] {
  margin-top: 0.1rem;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.checkbox-label a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.visible { display: block; }

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(34, 211, 122, 0.12);
  border: 1px solid rgba(34, 211, 122, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.success-title {
  font-family: 'Secular One', sans-serif;
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.success-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Fees Section ─────────────────────────────────────────── */
#fees {
  padding: 8rem 0;
  background: var(--bg-void);
}

.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.fee-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.fee-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.fee-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(201,168,76,0.15);
}

.fee-card:hover::after { opacity: 1; }

.fee-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(26,32,53,0.7) 100%);
  box-shadow: 0 8px 40px rgba(201,168,76,0.1);
}

.fee-badge {
  display: inline-block;
  background: var(--gold);
  color: #0A0F1E;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.fee-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.fee-method {
  font-family: 'Secular One', sans-serif;
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
}

.fee-percent {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 3rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.fee-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Important Info ───────────────────────────────────────── */
#important-info {
  padding: 6rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.info-card {
  background: rgba(59, 111, 232, 0.05);
  border: 1px solid rgba(59, 111, 232, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(59,111,232,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.info-list li::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(59, 111, 232, 0.15);
  border: 1px solid rgba(59, 111, 232, 0.3);
  color: var(--primary-light);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ── Legal Notice ─────────────────────────────────────────── */
#legal-notice {
  padding: 6rem 0;
  background: var(--bg-deep);
}

.legal-card {
  background: rgba(232, 76, 76, 0.04);
  border: 1px solid rgba(232, 76, 76, 0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem 3rem;
  position: relative;
}

.legal-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(232,76,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.legal-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.legal-title {
  font-family: 'Secular One', sans-serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  transition: color var(--transition), font-weight var(--transition);
}

.legal-title::after {
  content: '';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: transparent;
  font-size: 0.9rem;
  font-weight: 700;
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition);
  opacity: 0;
  transform: scale(0.6);
}

.legal-card.active .legal-title {
  color: var(--gold);
  font-weight: 800;
}

.legal-card.active .legal-title::after {
  content: '✓';
  opacity: 1;
  transform: scale(1);
  background: rgba(201,168,76,0.18);
  color: var(--gold);
}

.legal-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.85;
}

.legal-text p + p {
  margin-top: 0.8rem;
}

/* ── Supported Coins ──────────────────────────────────────── */
#coins {
  padding: 7rem 0;
  background: var(--bg-void);
}

.coins-scroll {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.coin-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.7rem 1.4rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition);
  cursor: default;
}

.coin-pill:hover {
  border-color: var(--border-glow);
  background: rgba(59, 111, 232, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.pill-logo {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.coin-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'IBM Plex Mono', monospace;
  flex-shrink: 0;
}

.coin-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.coin-symbol {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
}

/* Coin colors */
.coin-btc  { background: rgba(247,147,26,0.2); color: #F7931A; }
.coin-eth  { background: rgba(98,126,234,0.2); color: #627EEA; }
.coin-usdt { background: rgba(38,161,123,0.2); color: #26A17B; }
.coin-ltc  { background: rgba(191,191,191,0.2); color: #BFBFBF; }
.coin-sol  { background: rgba(153,69,255,0.2); color: #9945FF; }
.coin-trx  { background: rgba(235,0,27,0.2); color: #EB001B; }
.coin-bnb  { background: rgba(243,186,47,0.2); color: #F3BA2F; }
.coin-usdc { background: rgba(39,117,202,0.2); color: #2775CA; }

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: var(--bg-void);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.8;
  max-width: 300px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 500px;
  text-align: left;
  line-height: 1.6;
}

/* ── Scroll Animation Base ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Toast notification ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transition: transform var(--transition);
  z-index: 9999;
  white-space: nowrap;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
}

/* ── Divider ──────────────────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 600px;
}

/* ── Hamburger / Mobile ───────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  transition: background var(--transition), transform var(--transition);
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
  transform: scale(1.02);
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  display: block;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Terms Page ───────────────────────────────────────────── */
.terms-hero {
  padding: 9rem 0 5rem;
  background: var(--bg-void);
  text-align: center;
}

.terms-content {
  padding: 4rem 0 7rem;
  background: var(--bg-deep);
}

.terms-nav {
  position: sticky;
  top: 7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
}

.terms-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.terms-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.terms-nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  display: block;
  transition: all var(--transition);
}

.terms-nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.terms-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.terms-body section {
  padding: 0;
  margin-bottom: 3.5rem;
}

.terms-body h2 {
  font-family: 'Secular One', sans-serif;
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.terms-body p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 0.75rem;
}

.terms-body ul {
  padding-right: 1.5rem;
  margin-bottom: 0.75rem;
}

.terms-body ul li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 0.3rem;
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .form-layout { grid-template-columns: 1fr; gap: 3rem; }
  .form-info { position: static; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .terms-layout { grid-template-columns: 1fr; }
  .terms-nav { position: static; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .nav-links { display: none; position: absolute; top: 100%; right: 0; left: 0; background: rgba(7,11,24,0.98); flex-direction: column; padding: 2rem 1.5rem; border-bottom: 1px solid var(--border); gap: 0.5rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item::after { display: none; }
  .stat-item { padding: 2rem 1rem; }
  .fees-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  #hero { padding: 6rem 0 4rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section-eyebrow::before { display: none; }
  #how-it-works, #sell-form-section, #fees, #important-info, #legal-notice, #coins { padding: 5rem 0; }
  #stats { padding: 3.5rem 0; }
}

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