/* ═══════════════════════════════════════════════════════════════════
   ZEROKYC.EXCHANGE — CYBERPUNK TRUST & DIRECTIONS DESIGN SYSTEM
   Ultra-fast Vanilla CSS • Zero external bloat • 60fps Micro-interactions
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg-primary: #07090e;
  --bg-surface: #0b0f19;
  --bg-card: #0f1524;
  --bg-card-hover: #141c30;
  --bg-input: #090d16;
  --bg-elevated: #162038;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(0, 229, 153, 0.35);
  
  --accent-green: #00e599;
  --accent-green-rgb: 0, 229, 153;
  --trust-green: #00b67a;
  --accent-cyan: #00b4d8;
  --accent-orange: #ff6600;
  --accent-purple: #8b5cf6;
  --accent-gold: #f59e0b;
  --danger-red: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 229, 153, 0.15);
  --shadow-cyan: 0 0 25px rgba(0, 180, 216, 0.15);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Atmosphere Glows */
body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 229, 153, 0.08) 0%, rgba(0, 180, 216, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ─── HEADER & NAV ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

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

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-wrap img {
  height: 38px;
  width: auto;
  display: block;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-green);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header-cta {
  background: linear-gradient(135deg, rgba(0, 229, 153, 0.15), rgba(0, 180, 216, 0.15));
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-header-cta:hover {
  background: var(--accent-green);
  color: #07090e;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* ─── TRUST BAR BADGE ────────────────────────────────────────── */
.trust-banner {
  background: linear-gradient(90deg, rgba(0, 182, 122, 0.1) 0%, rgba(0, 229, 153, 0.05) 50%, rgba(0, 182, 122, 0.1) 100%);
  border-bottom: 1px solid rgba(0, 182, 122, 0.25);
  padding: 8px 0;
  font-size: 0.85rem;
}

.trust-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.stars-row {
  display: inline-flex;
  gap: 3px;
  color: var(--trust-green);
}

.stars-row svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.trust-score-val {
  font-weight: 700;
  color: #ffffff;
}

.trust-badge-pill {
  background: rgba(0, 182, 122, 0.2);
  border: 1px solid var(--trust-green);
  color: #a7f3d0;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ─── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
  padding: 70px 0 40px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 24px;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #00e599 0%, #00b4d8 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.22rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 50px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.stat-val {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-card:nth-child(1) .stat-val { color: var(--accent-green); }
.stat-card:nth-child(2) .stat-val { color: var(--accent-cyan); }
.stat-card:nth-child(3) .stat-val { color: #ffffff; }
.stat-card:nth-child(4) .stat-val { color: var(--accent-green); }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ─── LIVE DIRECTIONS & RATE COMPARISON ENGINE ──────────────── */
.calculator-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card), 0 0 40px rgba(0, 229, 153, 0.04);
  max-width: 1040px;
  margin: 0 auto 70px;
  position: relative;
  overflow: hidden;
}

.calculator-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-green), var(--accent-cyan), transparent);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.calc-title h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

.calc-title p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.calc-live-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--accent-green);
  background: rgba(0, 229, 153, 0.1);
  border: 1px solid rgba(0, 229, 153, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.calc-inputs-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.calc-input-block {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  overflow: hidden;
}

.calc-input-block:focus-within {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}

.calc-input-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  gap: 8px;
}

.calc-top-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-green);
  background: rgba(0, 229, 153, 0.1);
  border: 1px solid rgba(0, 229, 153, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.calc-input-fields {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-amount-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.45rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #ffffff;
  min-width: 0;
}

.calc-coin-select-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 10px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.calc-coin-select-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-green);
}

.calc-coin-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: block;
}

.calc-switch-btn {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.calc-switch-btn:hover {
  background: var(--accent-cyan);
  color: #07090e;
  transform: rotate(180deg);
}

/* Rate Comparison Output Matrix */
.calc-results-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comparison-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.exchange-compare-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.exchange-compare-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card);
}

.exchange-compare-card.card-featured {
  border-color: var(--accent-green);
  background: linear-gradient(180deg, rgba(0, 229, 153, 0.04) 0%, var(--bg-card) 100%);
  box-shadow: 0 0 25px rgba(0, 229, 153, 0.1);
}

.card-top-tag {
  position: absolute;
  top: -11px;
  right: 18px;
  background: var(--accent-green);
  color: #07090e;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.card-top-tag.tag-cyan {
  background: var(--accent-cyan);
}

.card-top-tag.tag-orange {
  background: var(--accent-orange);
  color: #ffffff;
}

.card-ex-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-ex-logo {
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.card-ex-logo.logo-noid {
  height: 36px;
  max-width: 190px;
}

.card-rating-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--trust-green);
  font-weight: 700;
  margin-left: auto;
}

.card-payout-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
}

.card-payout-label {
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.card-payout-val {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.card-payout-val span {
  font-size: 0.88rem;
  color: var(--accent-green);
}

.card-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-features-list svg {
  width: 14px;
  height: 14px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.btn-card-action {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-card-action.btn-green {
  background: var(--accent-green);
  color: #07090e;
}

.btn-card-action.btn-green:hover {
  background: #00ffaa;
  box-shadow: 0 0 20px rgba(0, 229, 153, 0.4);
  transform: translateY(-1px);
}

.btn-card-action.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-medium);
  color: #ffffff;
}

.btn-card-action.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* ─── POPULAR SWAP DIRECTIONS HUB ───────────────────────────── */
.directions-section {
  padding: 50px 0 70px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
}

.directions-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn:hover {
  color: #ffffff;
  border-color: var(--border-medium);
}

.filter-tab-btn.active {
  background: var(--accent-green);
  color: #07090e;
  border-color: var(--accent-green);
  font-weight: 700;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.direction-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s ease;
  position: relative;
}

.direction-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-card);
}

.dir-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dir-coins-pair {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dir-coin-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 1.05rem;
}

.dir-coin-item img {
  width: 26px;
  height: 26px;
}

.dir-arrow {
  color: var(--text-dim);
  font-size: 18px;
}

.dir-badge-time {
  font-size: 0.74rem;
  color: var(--accent-cyan);
  background: rgba(0, 180, 216, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}

.dir-rate-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--bg-surface);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}

.dir-rate-label {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.dir-rate-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.dir-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6px;
}

.dir-rec-ex {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dir-rec-ex strong {
  color: #ffffff;
}

.dir-swap-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dir-swap-link:hover {
  text-decoration: underline;
}

/* ─── TRUSTPILOT-STYLE EXCHANGE PROFILES ────────────────────── */
.exchanges-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 15, 25, 0.6) 100%);
}

.exchange-profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 32px;
  align-items: center;
  transition: all 0.25s ease;
}

.exchange-profile-card:hover {
  border-color: var(--border-medium);
}

.ex-left-col {
  border-right: 1px solid var(--border-subtle);
  padding-right: 28px;
}

.ex-brand-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.ex-brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.ex-brand-logo-img.logo-noid {
  height: 52px;
  max-width: 280px;
}

.ex-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.ex-trust-box {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 12px;
  text-align: center;
}

.ex-trust-stars {
  color: var(--trust-green);
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}

.ex-trust-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.ex-trust-score {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.ex-trust-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.ex-mid-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ex-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ex-spec-item {
  background: var(--bg-surface);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.ex-spec-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.ex-spec-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.ex-spec-val.green { color: var(--accent-green); }
.ex-spec-val.cyan { color: var(--accent-cyan); }

.ex-pros-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.ex-pros-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ex-pros-list svg {
  width: 15px;
  height: 15px;
  color: var(--accent-green);
  flex-shrink: 0;
}

.ex-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-left: 1px solid var(--border-subtle);
  padding-left: 28px;
  text-align: center;
}

.ex-verified-stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--trust-green);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(0, 182, 122, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.ex-cta-big {
  width: 100%;
  padding: 14px;
  background: var(--accent-green);
  color: #07090e;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.ex-cta-big:hover {
  background: #00ffaa;
  box-shadow: 0 0 25px rgba(0, 229, 153, 0.4);
  transform: translateY(-2px);
}

.ex-sub-link {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.ex-sub-link:hover {
  color: var(--text-main);
}

/* ─── FEATURE COMPARISON MATRIX ─────────────────────────────── */
.matrix-section {
  padding: 70px 0;
}

.matrix-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-card);
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.matrix-table th, .matrix-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.matrix-table th {
  background: var(--bg-surface);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.matrix-table th.col-highlight {
  background: rgba(0, 229, 153, 0.08);
  color: var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
}

.matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.table-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-green);
  font-weight: 600;
}

.table-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--danger-red);
  font-weight: 500;
}

/* ─── VERIFIED USER REVIEWS SECTION ─────────────────────────── */
.reviews-section {
  padding: 60px 0 80px;
}

.reviews-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 16px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.review-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.reviewer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.reviewer-top-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.reviewer-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
}

.reviewer-badge {
  font-size: 0.72rem;
  color: var(--trust-green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  background: rgba(0, 182, 122, 0.1);
  border: 1px solid rgba(0, 182, 122, 0.25);
  padding: 1px 8px;
  border-radius: var(--radius-full);
}

.reviewer-location {
  font-size: 0.76rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 5px;
}

.reviewer-location .flag {
  font-size: 0.95rem;
  line-height: 1;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.review-stars {
  display: flex;
  gap: 3px;
  color: var(--trust-green);
}

.review-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.review-swap-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.review-body {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
  flex-grow: 1;
}

.review-ex-tag {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ─── EDUCATIONAL / ANTI-TRAP SECTION ──────────────────────── */
.anti-trap-section {
  padding: 70px 0;
  background: linear-gradient(180deg, rgba(17, 22, 37, 0.4) 0%, transparent 100%);
}

.trap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.trap-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trap-card.card-danger {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.trap-card.card-safe {
  background: rgba(0, 229, 153, 0.05);
  border: 1px solid rgba(0, 229, 153, 0.25);
}

.trap-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
}

.trap-card.card-danger .trap-card-head { color: #f87171; }
.trap-card.card-safe .trap-card-head { color: var(--accent-green); }

.trap-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trap-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.trap-points svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── FAQ ACCORDIONS ────────────────────────────────────────── */
.faq-section {
  padding: 70px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--border-medium);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-caret {
  transition: transform 0.25s ease;
  color: var(--accent-green);
  flex-shrink: 0;
}

.faq-item.open .faq-caret {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.open .faq-body {
  max-height: 400px;
  padding: 0 24px 20px;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #040508;
  padding: 60px 0 30px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

/* ─── COIN PICKER MODAL ─────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 5, 8, 0.8);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.coin-modal {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  animation: modalPop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.coin-modal-head {
  padding: 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.coin-modal-head h3 {
  font-size: 1.15rem;
  color: #ffffff;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.coin-search-box {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.coin-search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #ffffff;
  outline: none;
}

.coin-search-input:focus {
  border-color: var(--accent-green);
}

.coin-list-scroll {
  overflow-y: auto;
  padding: 10px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.coin-item-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: #ffffff;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.coin-item-btn:hover {
  background: var(--bg-card);
}

.coin-item-btn img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.coin-item-meta {
  flex-grow: 1;
}

.coin-item-ticker {
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.coin-item-network {
  font-size: 0.68rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--text-dim);
}

.coin-item-name {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.coin-item-price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ─── RESPONSIVE BREAKPOINTS ────────────────────────────────── */
@media (max-width: 1024px) {
  .exchange-profile-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ex-left-col, .ex-right-col {
    border: none;
    padding: 0;
  }
  .comparison-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .calc-inputs-row {
    grid-template-columns: 1fr;
  }
  .calc-switch-btn {
    margin: -6px auto;
  }
  .trap-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .ex-specs-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── HUMAN PRODUCT DESIGN SYSTEM (TRUSTPILOT & REDDIT STANDARDS) ─── */

/* Trustpilot Official-Style Star Blocks */
.tp-stars {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.tp-star {
  width: 20px;
  height: 20px;
  background: #00b67a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.tp-star svg {
  width: 13px;
  height: 13px;
  fill: #ffffff;
}
.tp-star.tp-star-sm {
  width: 16px;
  height: 16px;
}
.tp-star.tp-star-sm svg {
  width: 10px;
  height: 10px;
}
.tp-star.tp-star-lg {
  width: 24px;
  height: 24px;
}
.tp-star.tp-star-lg svg {
  width: 15px;
  height: 15px;
}
.tp-star.tp-star-empty {
  background: rgba(255, 255, 255, 0.08);
}
.tp-star.tp-star-empty svg {
  fill: rgba(255, 255, 255, 0.22);
}

/* ─── ARTISTIC, MINIMAL HERO TICKER ISLAND ─── */
.hero-ticker-wrap {
  max-width: 960px;
  margin: 0 auto 44px;
  background: rgba(14, 19, 30, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.45), inset 0 1px 0 0 rgba(255, 255, 255, 0.08);
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.hero-ticker-wrap:hover {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 0 rgba(255, 255, 255, 0.12);
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: background 0.2s ease, transform 0.15s ease;
  user-select: none;
}

.ticker-item:hover {
  background: rgba(255, 255, 255, 0.035);
}

.ticker-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.ticker-item:hover .ticker-icon-wrap {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Pulsing radar ping for mesh status */
.ticker-ping-box {
  width: 10px;
  height: 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ticker-ping-box .ping-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 182, 122, 0.4);
  animation: pingRipple 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ticker-ping-box .ping-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b67a;
  box-shadow: 0 0 8px rgba(0, 182, 122, 0.8);
}

@keyframes pingRipple {
  0% { transform: scale(1); opacity: 0.9; }
  75%, 100% { transform: scale(2.8); opacity: 0; }
}

.ticker-icon-wrap svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ticker-item:hover .ticker-icon-wrap svg {
  color: #ffffff;
  transform: scale(1.08);
}

/* Content typography */
.ticker-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}

.ticker-label {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
}

.ticker-val {
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.01em;
}

.ticker-val.val-green {
  color: var(--trust-green);
}

.ticker-val .val-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Elegant hairline dividers */
.ticker-divider {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  flex-shrink: 0;
}

/* Trustpilot Rating Distribution Card */
.reviews-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 230px 1fr 280px;
  gap: 32px;
  align-items: center;
}
.reviews-summary-score-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.summary-score-num {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  font-family: var(--font-sans);
}
.summary-score-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.summary-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 182, 122, 0.12);
  border: 1px solid rgba(0, 182, 122, 0.3);
  color: var(--trust-green);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 4px;
  width: fit-content;
}
.reviews-summary-bars-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.rating-bar-row .bar-label {
  width: 44px;
  font-size: 0.78rem;
  font-weight: 600;
}
.rating-bar-row .bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.rating-bar-row .bar-fill {
  height: 100%;
  background: var(--trust-green);
  border-radius: 4px;
}
.rating-bar-row .bar-pct {
  width: 32px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
}
.reviews-summary-actions-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-left: 1px solid var(--border-subtle);
  padding-left: 28px;
}
.summary-metric-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.summary-metric-item .metric-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-green);
  font-family: var(--font-mono);
}
.summary-metric-item .metric-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* Reviews Search & Control Bar */
.reviews-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.reviews-search-box {
  position: relative;
  width: 280px;
  max-width: 100%;
}
.reviews-search-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 36px;
  font-size: 0.85rem;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}
.reviews-search-input:focus {
  border-color: var(--trust-green);
  box-shadow: 0 0 0 2px rgba(0, 182, 122, 0.15);
}
.reviews-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

/* Review Feedback Row (Reddit / Trustpilot Helpful Voting) */
.review-feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  color: var(--text-dim);
  gap: 8px;
  flex-wrap: wrap;
}
.review-experience-date {
  font-size: 0.74rem;
  color: var(--text-dim);
}
.review-vote-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-vote {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.76rem;
  padding: 4px 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.btn-vote:hover {
  background: var(--bg-elevated);
  color: #ffffff;
  border-color: var(--border-medium);
}
.btn-vote.voted {
  color: var(--trust-green);
  border-color: var(--trust-green);
  background: rgba(0, 182, 122, 0.12);
}

/* Exchange Editorial Notes (Transparent Pros & Cons) */
.ex-editorial-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ex-editorial-item strong {
  color: #ffffff;
}
.ex-editorial-item.pro {
  color: #a7f3d0;
}
.ex-editorial-item.note {
  color: #fde68a;
}

/* Responsive updates for new elements */
@media (max-width: 900px) {
  .reviews-summary-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .reviews-summary-actions-col {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-left: 0;
    padding-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 768px) {
  .hero-ticker-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-radius: 18px;
    padding: 12px;
  }
  .ticker-item {
    padding: 6px 10px;
    gap: 10px;
  }
  .ticker-divider { display: none; }
  .reviews-controls-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .reviews-search-box {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .reviews-summary-actions-col {
    grid-template-columns: 1fr;
  }
}
