/* ================================
   TexaPark — Design Tokens & Base
   Theme: dark, high-contrast "L1 chain" aesthetic
================================= */
:root {
  --bg: #050608;
  --bg-1: #070a10;
  --bg-2: #0a0e17;
  --surface: #0d121c;
  --surface-2: #121a29;
  --surface-3: #182031;
  --border: #1e2636;
  --border-strong: #2b3650;
  --text: #f5f7fb;
  --text-muted: #93a0b8;
  --text-faint: #5a6580;

  --accent: #00e6c3;         /* mint / teal */
  --accent-soft: #8ff3e2;
  --accent-2: #7b5cff;       /* indigo violet */
  --accent-2-soft: #b7a6ff;
  --accent-hot: #ff3d81;     /* magenta, sparing use */

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --glow: 0 0 0 1px rgba(0, 230, 195, 0.18), 0 0 40px -8px rgba(0, 230, 195, 0.28);

  --gradient-brand: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --gradient-text: linear-gradient(90deg, var(--accent) 0%, #7fd8ff 40%, var(--accent-2) 100%);

  --container: 1200px;

  --font-arcade: "Press Start 2P", "Chakra Petch", monospace;
  --font-display: "Orbitron", "Chakra Petch", sans-serif;
  --font-head: "Chakra Petch", "Inter", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

/* Ambient background: grid + slow-floating gradient orbs */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.32;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 480px; height: 480px; top: -160px; left: -120px; background: var(--accent); animation-delay: 0s; }
.orb-2 { width: 420px; height: 420px; top: 260px; right: -140px; background: var(--accent-2); animation-delay: -6s; }
.orb-3 { width: 360px; height: 360px; bottom: -160px; left: 30%; background: var(--accent-hot); opacity: 0.14; animation-delay: -11s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.08); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--text-muted); }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-arcade);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 230, 195, 0.08);
  border: 1px solid rgba(0, 230, 195, 0.3);
  padding: 9px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  line-height: 1;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--gradient-brand);
  color: #04140f;
  box-shadow: 0 10px 30px -10px rgba(0, 230, 195, 0.5);
}
.btn-primary:hover { box-shadow: 0 16px 36px -10px rgba(123, 92, 255, 0.55); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(0, 230, 195, 0.06); }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 8, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 38px; height: 38px;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
  background: var(--gradient-brand);
  display: flex; align-items: center; justify-content: center;
  color: #04140f;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.brand-name span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 9px 16px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--accent); background: rgba(0,230,195,0.08); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Sections ---------- */
section { position: relative; z-index: 1; padding: 100px 0; }
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 17px; }
.section-tight { padding-top: 60px; padding-bottom: 60px; }
.bg-alt { background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 10px;
}

/* ---------- Ticker / Marquee ---------- */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  padding: 16px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 60px;
  animation: marquee 26s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.ticker-item .k { color: var(--text-faint); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.ticker-item .v { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0,230,195,0.35); box-shadow: var(--glow); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(123, 92, 255, 0.12);
  border: 1px solid rgba(123, 92, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 10px; font-family: var(--font-head); }
.card p { font-size: 14.5px; margin: 0; }
.card .idx {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--text-faint);
  position: absolute;
  top: 24px; right: 26px;
}

/* ---------- Pricing / Staking tier cards ---------- */
.tier-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  text-align: center;
  position: relative;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: var(--glow); }
.tier-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(0,230,195,0.07), var(--surface) 45%);
  box-shadow: var(--glow);
}
.tier-card .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-brand); color: #04140f;
  font-family: var(--font-arcade);
  font-size: 9px; letter-spacing: .04em;
  padding: 7px 14px; border-radius: 999px; text-transform: uppercase;
}
.tier-card .duration { font-family: var(--font-head); font-size: 14px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.tier-card .roi { font-family: var(--font-display); font-size: 42px; font-weight: 800; margin: 12px 0 4px; color: var(--accent); }
.tier-card .roi small { font-family: var(--font-body); font-size: 15px; color: var(--text-muted); font-weight: 500; }
.tier-card .min-stake { font-size: 14.5px; color: var(--text-muted); margin-bottom: 22px; }
.tier-card .min-stake strong { color: var(--text); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; min-width: 480px; }
th, td {
  padding: 14px 20px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
thead th {
  font-family: var(--font-head);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  background: var(--surface-2);
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(0, 230, 195, 0.04); }
td.num, th.num { text-align: right; }
.table-note { font-size: 13px; color: var(--text-faint); margin-top: 12px; }

/* ---------- Info / blockchain detail rows ---------- */
.info-list { display: grid; gap: 14px; }
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}
.info-row .k { font-family: var(--font-head); font-size: 12.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.info-row .v { font-family: "Chakra Petch", monospace; font-size: 14.5px; color: var(--text); word-break: break-all; }
.copy-btn {
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-muted);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 12px;
  font-family: var(--font-head);
  cursor: pointer;
  flex-shrink: 0;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 8px; }
.step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--border-strong);
  font-family: var(--font-display); font-weight: 800; color: var(--accent);
  margin-bottom: 16px;
  font-size: 14px;
}
.step h3 { font-size: 17px; font-family: var(--font-head); }
.step p { font-size: 14.5px; }

/* ---------- Stat blocks (count-up) ---------- */
.stat-block { text-align: center; }
.stat-block .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--accent);
  line-height: 1;
}
.stat-block .label {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 12.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Income stream compare cards ---------- */
.stream-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.stream-card.spot { border-color: rgba(0,230,195,0.35); }
.stream-card.growth { border-color: rgba(123,92,255,0.35); }
.stream-card .stream-tag {
  display: inline-block;
  font-family: var(--font-arcade);
  font-size: 9px;
  padding: 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
  text-transform: uppercase;
}
.stream-card.spot .stream-tag { background: rgba(0,230,195,0.12); color: var(--accent); }
.stream-card.growth .stream-tag { background: rgba(123,92,255,0.14); color: var(--accent-2-soft); }
.stream-card h3 { font-size: 22px; font-family: var(--font-head); }
.stream-card ul { margin-top: 20px; display: grid; gap: 12px; }
.stream-card ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--text-muted);
}
.stream-card ul li::before {
  content: "▸";
  color: var(--accent);
  flex-shrink: 0;
}
.stream-card.growth ul li::before { color: var(--accent-2-soft); }

/* ---------- Timeline (About) ---------- */
.timeline { position: relative; padding-left: 30px; border-left: 1px solid var(--border-strong); display: grid; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -35px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 4px var(--bg), 0 0 14px rgba(0,230,195,0.6);
}
.timeline-item .tag { font-family: var(--font-arcade); font-size: 9px; color: var(--accent); text-transform: uppercase; }
.timeline-item h3 { margin: 8px 0 6px; font-size: 17px; }
.timeline-item p { font-size: 14.5px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40% -10%;
  background: radial-gradient(circle at 30% 30%, rgba(0,230,195,0.18), transparent 55%),
              radial-gradient(circle at 75% 70%, rgba(123,92,255,0.18), transparent 55%);
  z-index: -1;
}
.cta-band h2 { font-size: clamp(24px, 3.5vw, 34px); margin-bottom: 14px; }
.cta-band p { max-width: 520px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-1);
  padding: 64px 0 28px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { font-size: 14px; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color .15s ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.social-row a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Auth pages ---------- */
.auth-wrap {
  min-height: calc(100vh - 78px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
  position: relative;
  z-index: 1;
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}
.auth-head { text-align: center; margin-bottom: 30px; }
.auth-head h1 { font-size: 24px; margin-bottom: 8px; font-family: var(--font-head); }
.auth-head p { font-size: 14.5px; margin: 0; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.field .input-wrap { position: relative; }
.field input, .field select {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--text-faint); }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 230, 195, 0.16);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.checkbox-row { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--text-muted); margin-bottom: 22px; }
.checkbox-row input { margin-top: 3px; accent-color: var(--accent-2); }
.checkbox-row a { color: var(--accent); }
.field-inline a { color: var(--accent-2-soft); }
.auth-foot { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 22px; }
.auth-foot a { color: var(--accent); font-weight: 600; }

/* ---------- Page header (About/Plans) ---------- */
.page-hero {
  padding: 90px 0 60px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 17px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}
.badge-accent { color: var(--accent); border-color: rgba(0,230,195,0.35); background: rgba(0,230,195,0.08); }
.badge-violet { color: var(--accent-2-soft); border-color: rgba(123,92,255,0.35); background: rgba(123,92,255,0.08); }

/* ---------- Hero (index) ---------- */
.hero {
  padding: 90px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}
.hero-copy { text-align: left; min-width: 0; }
.hero h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  margin-bottom: 22px;
}
.hero-sub {
  max-width: 540px;
  margin: 0 0 36px;
  font-size: 18px;
  color: var(--text-muted);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-visual img {
  width: 100%;
  max-width: 560px;
  filter: drop-shadow(0 30px 60px rgba(0, 230, 195, 0.25)) drop-shadow(0 0 90px rgba(123, 92, 255, 0.2));
  animation: coin-float 7s ease-in-out infinite;
}
@keyframes coin-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(2deg); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual img { max-width: 360px; }
}

/* ---------- Feature visual panel (About) ---------- */
.feature-visual {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--glow);
  max-width: 820px;
  margin: 0 auto 56px;
}
.feature-visual img { width: 100%; display: block; }

/* ---------- Auth split layout ---------- */
.auth-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: calc(100vh - 78px);
  position: relative;
  z-index: 1;
}
.auth-visual {
  position: relative;
  overflow: hidden;
  background: #000;
  min-width: 0;
}
.auth-form-panel { min-width: 0; }
.auth-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, var(--bg) 96%);
}
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 20px;
}
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta.open { display: flex; }
  body.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    gap: 4px;
    z-index: 60;
  }
  body.nav-open .nav-links a { width: 100%; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .auth-card { padding: 32px 22px; }
}
