/* =========================================================
   Cryptoweb — design system (ported from sample.html)
   Improvements: a11y contrast, brand-neutral cards, mobile
   hero, focus rings, motion-reduce, quiz + form components.
   ========================================================= */

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

:root {
  --bg-void: #060810;
  --bg-deep: #0b0f1a;
  --bg-card: #0f1422;
  --bg-card-hover: #141928;
  --bg-glass: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.10);
  --border-glow: rgba(100,220,180,0.3);
  --accent: #3dffb6;
  --accent-dim: #1db87e;
  --accent-glow: rgba(61,255,182,0.15);
  --accent2: #7c6fff;
  --accent2-glow: rgba(124,111,255,0.15);
  --gold: #f5c842;
  --red: #ff4e6a;
  --text-primary: #f0f2f8;
  --text-secondary: #a4abc1;   /* nudged up for AA contrast */
  --text-muted:    #6b7390;    /* nudged up for AA contrast */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --focus-ring: 0 0 0 3px rgba(61,255,182,0.5);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Universal focus ring */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 8px;
}

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

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(6,8,16,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 0.9rem; font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--accent); color: #060810;
  border: none; padding: 0.55rem 1.4rem;
  border-radius: 8px; font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  overflow: hidden;
}
.hero-bg-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61,255,182,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(124,111,255,0.1) 0%, transparent 70%);
  bottom: 50px; left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-30px) scale(1.05); }
}

.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1200px; width: 100%; margin: 0 auto;
  position: relative; z-index: 1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-glow); border: 1px solid var(--border-glow);
  border-radius: 50px; padding: 0.35rem 1rem;
  font-size: 0.8rem; font-weight: 500; color: var(--accent);
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(61,255,182,0.5); }
  50%      { opacity: 0.7; box-shadow: 0 0 0 6px rgba(61,255,182,0); }
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}
h1 .highlight {
  background: linear-gradient(100deg, var(--accent) 30%, #a78bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-secondary);
  max-width: 480px; line-height: 1.7;
  margin-bottom: 2.5rem; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent); color: #060810;
  border: none; padding: 0.85rem 2rem;
  border-radius: 10px; font-family: var(--font-body);
  font-size: 1rem; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(61,255,182,0.2);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(61,255,182,0.35);
}
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); padding: 0.85rem 2rem;
  border-radius: 10px; font-family: var(--font-body);
  font-size: 1rem; font-weight: 400; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none; display: inline-flex; align-items: center;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); background: var(--bg-glass); }

/* HERO STATS */
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 600;
  color: var(--text-primary); letter-spacing: -0.025em;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* HERO VISUAL */
.hero-visual { position: relative; display: flex; flex-direction: column; gap: 1rem; }
.mini-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  backdrop-filter: blur(10px);
}
.mini-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.75rem;
}
.mini-card-title {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600; letter-spacing: -0.01em;
}
.coin-row {
  display: flex; align-items: center; gap: 10px;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.coin-row:last-child { border-bottom: none; }
.coin-icon {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.coin-icon.btc { background: rgba(247,147,26,0.15); color: #f7931a; }
.coin-icon.eth { background: rgba(98,126,234,0.15); color: #627eea; }
.coin-icon.sol { background: rgba(153,69,255,0.15); color: #9945ff; }
.coin-name { flex: 1; }
.coin-name strong { font-size: 0.9rem; font-weight: 500; display: block; }
.coin-name span { font-size: 0.75rem; color: var(--text-muted); }
.coin-price strong { font-size: 0.9rem; font-weight: 500; display: block; text-align: right; }
.coin-price span { font-size: 0.75rem; display: block; text-align: right; }
.up { color: var(--accent); }
.down { color: var(--red); }

.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; color: var(--accent); font-weight: 500;
}
.live-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

/* Match-pick mini card */
.match-card-row { display: flex; align-items: center; gap: 10px; margin-bottom: 0.75rem; }
.match-score {
  margin-left: auto; text-align: right;
}
.match-score strong {
  font-size: 1.3rem; font-weight: 700; color: var(--accent);
  font-family: var(--font-display);
}
.match-score span { display: block; font-size: 0.7rem; color: var(--text-muted); }
.match-pill {
  font-size: 0.7rem; background: rgba(61,255,182,0.1); color: var(--accent);
  border: 1px solid rgba(61,255,182,0.25); border-radius: 50px;
  padding: 0.2rem 0.6rem; font-weight: 500;
}
.metric-mini {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.5rem 0.7rem;
}
.metric-mini-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.metric-mini-value { font-size: 0.9rem; font-weight: 500; margin-top: 2px; }

/* ─── TRUST BADGES ─── */
.trust-section {
  position: relative; z-index: 1;
  padding: 2rem 5%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-deep);
}
.trust-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 0.75rem; color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  white-space: nowrap;
}
.trust-badges {
  display: flex; gap: 2.5rem; align-items: center;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-secondary); font-size: 0.85rem;
}
.trust-badge-icon {
  width: 28px; height: 28px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border);
}

/* ─── SECTIONS ─── */
section { position: relative; z-index: 1; }
.section-container { max-width: 1200px; margin: 0 auto; padding: 80px 5%; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 500; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 1rem; line-height: 1.2;
}
.section-sub {
  color: var(--text-secondary); font-size: 1rem; font-weight: 300;
  max-width: 520px; line-height: 1.7;
  margin-bottom: 3rem;
}

/* ─── COMPARISON CARDS (brand-neutral) ─── */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.comp-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.comp-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent-glow); opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.comp-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61,255,182,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.comp-card:hover::before { opacity: 1; }
.comp-card.featured {
  border-color: rgba(61,255,182,0.35);
  box-shadow: 0 0 40px rgba(61,255,182,0.08);
}
.featured-label {
  position: absolute; top: 0; right: 0;
  background: var(--accent); color: #060810;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 0 var(--radius-lg) 0 var(--radius);
  z-index: 1;
}
.card-logo-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1.25rem;
}
.card-logo {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800;
  flex-shrink: 0;
  /* Brand-neutral default. */
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-display);
}
.card-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }
.card-tagline { font-size: 0.8rem; color: var(--text-muted); margin-top: 1px; }
.card-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 1rem; }
.stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 1px; }
.rating-num { font-size: 0.85rem; color: var(--text-secondary); margin-left: 4px; }
.card-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0.75rem; margin-bottom: 1.25rem;
}
.metric-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.metric-value { font-size: 0.95rem; font-weight: 500; margin-top: 2px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.tag {
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.2rem 0.65rem;
  font-size: 0.72rem; color: var(--text-secondary);
}
.referral-note {
  font-size: 0.68rem; color: var(--text-muted);
  margin-bottom: 0.75rem; letter-spacing: 0.02em;
}
.card-btn {
  width: 100%; padding: 0.7rem;
  border-radius: 8px; font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: opacity 0.2s, border-color 0.2s; border: none;
  text-decoration: none; text-align: center; display: block;
}
.card-btn-primary { background: var(--accent); color: #060810; }
.card-btn-primary:hover { opacity: 0.9; }
.card-btn-secondary {
  background: var(--bg-glass); border: 1px solid var(--border);
  color: var(--text-primary);
}
.card-btn-secondary:hover { border-color: rgba(255,255,255,0.2); }

/* ─── PROBLEM PILLS (hero) ─── */
.problem-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 1.75rem; margin-bottom: 2rem;
}
.problem-pill {
  display: inline-flex; align-items: center;
  background: rgba(255,78,106,0.08);
  border: 1px solid rgba(255,78,106,0.25);
  border-radius: 50px;
  padding: 0.28rem 0.85rem;
  font-size: 0.78rem; color: #ff7a8e;
  font-weight: 400; letter-spacing: 0.01em;
}

/* ─── PROBLEM CARDS ─── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.1rem;
  transition: border-color 0.2s, transform 0.2s;
}
.problem-card:hover {
  border-color: rgba(255,78,106,0.3);
  transform: translateY(-2px);
}
.problem-icon { font-size: 1.5rem; margin-bottom: 0.6rem; }
.problem-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; letter-spacing: -0.01em; }
.problem-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ─── SELECT FIELD FOCUS ─── */
select:focus { border-color: var(--accent) !important; outline: none; }

/* ─── HOW IT WORKS ─── */
.how-section { background: var(--bg-deep); }
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; position: relative;
}
.step { text-align: center; padding: 2rem 1rem; position: relative; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600;
  color: var(--accent); margin: 0 auto 1.25rem;
  box-shadow: 0 0 20px rgba(61,255,182,0.1);
}
.step-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.step-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; font-weight: 300; }

/* ─── QUIZ-CTA BANNER ─── */
.quiz-anchor {
  margin-top: 4rem;
  background: var(--bg-card);
  border: 1px solid rgba(61,255,182,0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}
.quiz-anchor h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem,2.3vw,2rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.quiz-anchor p {
  color: var(--text-secondary); font-size: 0.95rem;
  max-width: 480px; margin: 0 auto 2rem;
  font-weight: 300; line-height: 1.7;
}
.quiz-anchor .micro {
  font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem;
}

/* ─── LIVE ACTIVITY POPUP ─── */
.activity-popup {
  position: fixed; bottom: 100px; left: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  display: flex; align-items: center; gap: 10px;
  z-index: 50; min-width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0; transform: translateX(-20px); pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
}
.activity-popup.show { opacity: 1; transform: translateX(0); pointer-events: auto; }
.activity-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent-glow); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 600; color: var(--accent);
}
.activity-text { flex: 1; }
.activity-text strong { font-size: 0.85rem; font-weight: 500; display: block; line-height: 1.4; }
.activity-text span { font-size: 0.75rem; color: var(--text-muted); }
.popup-close {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 1rem; padding: 2px; flex-shrink: 0;
}

/* ─── STICKY CTA ─── */
.sticky-cta {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: rgba(11,15,26,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1rem 5% calc(env(safe-area-inset-bottom) + 1rem);
  justify-content: space-between; align-items: center;
  gap: 1rem;
}
.sticky-cta-text strong { display: block; font-size: 0.95rem; font-weight: 500; }
.sticky-cta-text span  { font-size: 0.8rem; color: var(--text-secondary); }

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color 0.25s;
}
.testi-card:hover { border-color: rgba(255,255,255,0.15); }
.testi-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.75rem; }
.testi-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; font-weight: 300; margin-bottom: 1.25rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.av1 { background: rgba(61,255,182,0.15); color: var(--accent); }
.av2 { background: rgba(124,111,255,0.15); color: var(--accent2); }
.av3 { background: rgba(245,200,66,0.15); color: var(--gold); }
.testi-name strong { font-size: 0.9rem; display: block; }
.testi-name span { font-size: 0.8rem; color: var(--text-muted); }

/* ─── CTA BAND ─── */
.cta-band {
  background: linear-gradient(135deg, rgba(61,255,182,0.07) 0%, rgba(124,111,255,0.07) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-inner {
  max-width: 1200px; margin: 0 auto; padding: 80px 5%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 600; letter-spacing: -0.02em; max-width: 500px;
}
.cta-band h2 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg-deep); border-top: 1px solid var(--border);
  padding: 60px 5% 30px; position: relative; z-index: 1;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand .logo { font-size: 1.2rem; margin-bottom: 0.75rem; display: block; }
.footer-brand p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; max-width: 240px; font-weight: 300; }
.footer-col h4 { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--text-primary); margin-bottom: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.87rem; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--text-secondary); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.disclaimer { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.5rem; max-width: 600px; line-height: 1.5; }

/* ─── QUIZ ─── */
.quiz-wrap {
  max-width: 720px; margin: 0 auto;
  padding: 140px 5% 120px;
  position: relative; z-index: 1;
}
.quiz-progress {
  height: 6px; background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 50px; overflow: hidden;
  margin-bottom: 2.5rem;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  width: 0%;
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
  border-radius: 50px;
}
.quiz-progress-meta {
  display: flex; justify-content: space-between;
  margin-top: -2rem; margin-bottom: 2.5rem;
  font-size: 0.78rem; color: var(--text-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.quiz-step {
  display: none;
  animation: stepIn 0.45s cubic-bezier(0.22,1,0.36,1) both;
}
.quiz-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-question {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.quiz-hint {
  font-size: 0.95rem; color: var(--text-secondary);
  font-weight: 300; margin-bottom: 2rem;
}
.quiz-options {
  display: grid; gap: 0.75rem;
  margin-bottom: 2rem;
}
.quiz-option {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body); font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.quiz-option:hover {
  border-color: rgba(61,255,182,0.35);
  background: var(--bg-card-hover);
}
.quiz-option.selected {
  border-color: var(--accent);
  background: rgba(61,255,182,0.08);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.quiz-option .opt-key {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--bg-glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; color: var(--accent);
  flex-shrink: 0;
}
.quiz-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 1rem;
}
.quiz-back {
  background: none; border: none; color: var(--text-secondary);
  font-family: var(--font-body); font-size: 0.95rem;
  cursor: pointer; padding: 0.6rem 0.4rem;
}
.quiz-back:hover { color: var(--text-primary); }
.quiz-back[disabled] { opacity: 0.3; cursor: not-allowed; }

/* ─── LEAD FORM ─── */
.form-wrap {
  max-width: 700px; margin: 0 auto;
  padding: 140px 5% 120px;
  position: relative; z-index: 1;
}
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.form-sub { color: var(--text-secondary); font-size: 0.95rem; font-weight: 300; margin-bottom: 2rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.8rem; color: var(--text-secondary);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field input {
  width: 100%;
  background: var(--bg-void);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.field input::placeholder { color: var(--text-muted); }
.field input:focus { border-color: var(--accent); background: var(--bg-card-hover); outline: none; }
.field .err {
  display: none;
  font-size: 0.82rem; color: var(--red); margin-top: 0.4rem;
}
.field.invalid input { border-color: var(--red); }
.field.invalid .err { display: block; }

.form-foot {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text-muted);
  margin-top: 1rem; line-height: 1.5;
}
.form-status {
  display: none; margin-top: 1rem; padding: 0.85rem 1rem;
  background: rgba(255,78,106,0.08); border: 1px solid rgba(255,78,106,0.3);
  color: var(--red); border-radius: 10px; font-size: 0.9rem;
}
.form-status.show { display: block; }

/* ─── THANK YOU ─── */
.ty-wrap { max-width: 720px; margin: 0 auto; padding: 140px 5% 120px; text-align: center; position: relative; z-index: 1; }
.ty-check {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(61,255,182,0.1); border: 1px solid var(--border-glow);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  box-shadow: 0 0 60px rgba(61,255,182,0.2);
  animation: tyPop 0.6s cubic-bezier(0.22,1.4,0.36,1) both;
}
@keyframes tyPop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.ty-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}
.ty-sub {
  color: var(--text-secondary); font-size: 1.05rem; font-weight: 300;
  max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.ty-card {
  background: var(--bg-card);
  border: 1px solid rgba(61,255,182,0.35);
  border-radius: var(--radius-xl);
  padding: 2rem; margin-bottom: 2rem;
  text-align: left;
  box-shadow: 0 0 60px rgba(61,255,182,0.08);
}
.ty-redirect-note {
  font-size: 0.8rem; color: var(--text-muted); margin-top: 1.5rem;
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s 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; }

/* ─── RESPONSIVE ─── */
@media(max-width:900px){
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { padding-top: 90px; padding-bottom: 60px; min-height: auto; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .sticky-cta { display: flex; }
  /* Compact hero visual on mobile (was previously display:none) */
  .hero-visual { gap: 0.75rem; }
  .hero-visual .mini-card { padding: 0.85rem 1rem; }
}
@media(max-width:600px){
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .form-card { padding: 1.75rem; }
  .quiz-anchor { padding: 1.75rem; }
  .activity-popup { left: 12px; right: 12px; min-width: 0; bottom: 88px; }
}

/* Respect users with motion sensitivity */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .orb-1, .orb-2 { animation: none; }
}

/* ═══════════════════════════════════════════════
   CONTENT PAGES  (all inner/article pages)
═══════════════════════════════════════════════ */

/* Page hero banner */
.page-hero {
  position: relative; z-index: 1;
  padding: 110px 5% 60px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,255,182,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 860px; margin: 0 auto;
}
.page-hero-eyebrow {
  font-size: 0.73rem; font-weight: 500; color: var(--accent);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 1rem;
}
.page-hero-sub {
  color: var(--text-secondary); font-size: 1.05rem;
  font-weight: 300; line-height: 1.7; max-width: 620px;
}
.page-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.page-meta-item {
  font-size: 0.8rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
}
.page-meta-item strong { color: var(--text-secondary); }

/* Content body */
.content-wrap {
  max-width: 860px; margin: 0 auto;
  padding: 60px 5% 100px;
  position: relative; z-index: 1;
}
.content-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 600; letter-spacing: -0.02em;
  margin: 2.5rem 0 0.85rem;
  color: var(--text-primary);
}
.content-wrap h2:first-child { margin-top: 0; }
.content-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  letter-spacing: -0.01em;
  margin: 1.75rem 0 0.6rem;
  color: var(--text-primary);
}
.content-wrap p {
  color: var(--text-secondary); font-size: 0.97rem;
  line-height: 1.8; font-weight: 300;
  margin-bottom: 1.1rem;
}
.content-wrap ul, .content-wrap ol {
  margin: 0.5rem 0 1.25rem 1.5rem;
}
.content-wrap li {
  color: var(--text-secondary); font-size: 0.97rem;
  line-height: 1.75; font-weight: 300; margin-bottom: 0.4rem;
}
.content-wrap strong { color: var(--text-primary); font-weight: 500; }
.content-wrap a { color: var(--accent); text-decoration: none; }
.content-wrap a:hover { text-decoration: underline; }
/* Override: btn-primary/secondary inside content pages must keep their own colours */
.content-wrap .btn-primary,
.content-wrap .btn-primary:hover { color: #060810 !important; text-decoration: none; }
.content-wrap .btn-secondary,
.content-wrap .btn-secondary:hover { color: var(--text-primary) !important; text-decoration: none; }
.content-wrap .card-btn-primary,
.content-wrap .card-btn-secondary { text-decoration: none; }
.content-wrap .card-btn-primary { color: #060810 !important; }
.content-wrap .card-btn-secondary { color: var(--text-primary) !important; }

/* Content divider */
.content-divider {
  border: none; height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* Info box */
.info-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.info-box p { margin-bottom: 0; }

.warn-box {
  background: rgba(245,200,66,0.05);
  border: 1px solid rgba(245,200,66,0.25);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.warn-box p { margin-bottom: 0; color: #c9a84c; }

/* Content score / stat row */
.score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem; margin: 1.5rem 0 2rem;
}
.score-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem;
  text-align: center;
}
.score-card .sc-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700;
  color: var(--accent); letter-spacing: -0.03em;
  display: block;
}
.score-card .sc-label {
  font-size: 0.8rem; color: var(--text-muted);
  margin-top: 4px; display: block;
}

/* Content table */
.content-table {
  width: 100%; border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.93rem;
}
.content-table th {
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.content-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 300;
}
.content-table tr:last-child td { border-bottom: none; }
.content-table tr:hover td { background: var(--bg-glass); }
.content-table .td-hl { color: var(--text-primary); font-weight: 500; }
.content-table .td-good { color: var(--accent); font-weight: 500; }
.content-table .td-warn { color: var(--gold); font-weight: 500; }

/* Checklist */
.checklist { list-style: none; margin-left: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}
.checklist li:last-child { border-bottom: none; }
.checklist li:hover { background: var(--bg-glass); }
.checklist li.checked .cl-box {
  background: var(--accent); border-color: var(--accent);
  color: #060810;
}
.checklist li.checked .cl-text { text-decoration: line-through; color: var(--text-muted); }
.cl-box {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1.5px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; transition: all 0.15s;
  margin-top: 1px;
}
.cl-text { font-size: 0.93rem; color: var(--text-secondary); font-weight: 300; line-height: 1.5; }
.cl-text strong { color: var(--text-primary); display: block; font-weight: 500; font-size: 0.95rem; margin-bottom: 2px; }
.cl-badge {
  margin-left: auto; flex-shrink: 0;
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.15rem 0.55rem; border-radius: 50px;
}
.cl-badge.critical { background: rgba(255,78,106,0.12); color: var(--red); border: 1px solid rgba(255,78,106,0.25); }
.cl-badge.high { background: rgba(245,200,66,0.1); color: var(--gold); border: 1px solid rgba(245,200,66,0.2); }
.cl-badge.medium { background: rgba(61,255,182,0.08); color: var(--accent); border: 1px solid rgba(61,255,182,0.2); }

/* Fee calculator */
.calc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2rem;
  margin: 1.5rem 0;
}
.calc-field { margin-bottom: 1.25rem; }
.calc-field label {
  display: block; font-size: 0.78rem; color: var(--text-secondary);
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.calc-field input, .calc-field select {
  width: 100%; background: var(--bg-void);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 0.9rem 1rem; color: var(--text-primary);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s;
  appearance: none;
}
.calc-field input:focus, .calc-field select:focus {
  border-color: var(--accent); outline: none;
}
.calc-results { margin-top: 2rem; }
.calc-result-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.calc-result-row.best {
  border-color: rgba(61,255,182,0.35);
  background: rgba(61,255,182,0.04);
}
.calc-ex-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.calc-ex-rate { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }
.calc-fee-amount {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 600; color: var(--text-primary);
}
.calc-fee-amount.best-fee { color: var(--accent); }
.calc-savings {
  font-size: 0.8rem; color: var(--accent);
  text-align: right; margin-top: 2px;
}

/* About page team / values grid */
.values-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem; margin: 1.5rem 0;
}
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.value-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.value-title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.value-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* Contact form */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: start;
}
.contact-info-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-glass); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-title { font-weight: 500; font-size: 0.9rem; margin-bottom: 2px; }
.contact-info-val { font-size: 0.85rem; color: var(--text-muted); font-weight: 300; }

/* Legal pages */
.legal-toc {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.legal-toc h4 {
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 600; margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}
.legal-toc ol { margin-left: 1.25rem; }
.legal-toc li { font-size: 0.87rem; color: var(--text-secondary); margin-bottom: 0.3rem; }
.legal-toc a { color: var(--accent); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }

/* Responsive content */
@media(max-width:900px){
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media(max-width:600px){
  .page-hero { padding: 100px 5% 40px; }
  .content-wrap { padding: 40px 5% 80px; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .calc-result-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .content-table { display: block; overflow-x: auto; }
}
