/* ============================================================
   MERGEANCE.AI — Design System
   Dark blue × white · premium regulated-marketplace aesthetic
   ============================================================ */

:root {
  /* palette */
  --navy-950: #030B1A;
  --navy-900: #051530;
  --navy-850: #071B3C;
  --navy-800: #0A2148;
  --navy-700: #123061;
  --blue-600: #1E5EFF;
  --blue-500: #3D74FF;
  --sky-400: #38BDF8;
  --gold-400: #F7B733;
  --gold-300: #FFD34D;
  --mint-400: #2FD98F;
  --red-400: #FF6B6B;
  --white: #FFFFFF;
  --cloud: #F4F7FE;
  --cloud-2: #E9EFFB;
  --ink: #0B1B33;
  --slate: #54637D;
  --mist: #9FB1CE;
  --line-dark: rgba(159, 177, 206, 0.14);
  --line-light: rgba(11, 27, 51, 0.10);

  /* type */
  --font-display: "Bricolage Grotesque", "Space Grotesk", "Avenir Next", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* misc */
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 10px 40px rgba(5, 21, 48, 0.10);
  --shadow-pop: 0 24px 70px rgba(5, 21, 48, 0.18);
  --glow-blue: 0 0 0 1px rgba(61, 116, 255, 0.35), 0 10px 40px rgba(30, 94, 255, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--navy-950);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(61, 116, 255, 0.35); color: var(--white); }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* ---------- typography ---------- */
.h1, .h2, .h3, .h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
.h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); }
.h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.h3 { font-size: 1.35rem; line-height: 1.3; }
.h4 { font-size: 1.05rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.75; }
.section-dark .lead, .page-dark .lead { color: var(--mist); }
.section-light .lead, .section-tint .lead { color: var(--slate); }

.text-gradient {
  background: linear-gradient(92deg, var(--blue-500) 10%, var(--sky-400) 60%, #7DD3FC 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gold-gradient {
  background: linear-gradient(92deg, var(--gold-400), var(--gold-300) 70%, #FFE58A);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.text-gold { color: var(--gold-400); }
.text-mint { color: var(--mint-400); }
.text-sky { color: var(--sky-400); }
.muted { color: var(--slate); }
.section-dark .muted { color: var(--mist); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sky-400);
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.07);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sky-400); box-shadow: 0 0 12px var(--sky-400); }
.section-light .eyebrow, .section-tint .eyebrow { color: var(--blue-600); border-color: rgba(30, 94, 255, 0.22); background: rgba(30, 94, 255, 0.06); }
.section-light .eyebrow::before, .section-tint .eyebrow::before { background: var(--blue-600); box-shadow: none; }

/* ---------- sections ---------- */
.section { position: relative; padding: 104px 0; overflow: hidden; }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-dark.raised { background: var(--navy-900); }
.section-light { background: var(--white); color: var(--ink); }
.section-tint { background: var(--cloud); color: var(--ink); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-bottom: 16px; }

/* aurora orbs + grid overlay for dark sections */
.orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: orbDrift 16s ease-in-out infinite alternate; }
.orb-blue { width: 560px; height: 560px; background: radial-gradient(circle, rgba(30, 94, 255, 0.55), transparent 65%); top: -180px; right: -120px; }
.orb-sky { width: 460px; height: 460px; background: radial-gradient(circle, rgba(56, 189, 248, 0.4), transparent 65%); bottom: -160px; left: -100px; animation-delay: -6s; }
.orb-gold { width: 380px; height: 380px; background: radial-gradient(circle, rgba(247, 183, 51, 0.22), transparent 65%); top: 40%; left: 55%; animation-delay: -10s; }
@keyframes orbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.08); }
}
.grid-overlay { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(159, 177, 206, 0.13) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.nav.scrolled {
  background: rgba(3, 11, 26, 0.82);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line-dark), 0 10px 40px rgba(3, 11, 26, 0.45);
}
.nav-progress {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-400), var(--gold-400));
  border-radius: 0 2px 2px 0; pointer-events: none;
  opacity: 0; transition: opacity 0.3s;
}
.nav.scrolled .nav-progress { opacity: 1; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--white); letter-spacing: -0.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(61,116,255,0.18), rgba(56,189,248,0.10)); border: 1px solid rgba(61, 116, 255, 0.35); box-shadow: 0 0 24px rgba(30, 94, 255, 0.25); }
.logo-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a { color: #C9D6EC; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; position: relative; }
.nav-links > a:hover, .nav-links > a.active { color: var(--white); }
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--blue-500), var(--sky-400));
  border-radius: 2px; transition: width 0.25s var(--ease-out);
}
.nav-links > a:not(.btn):hover::after, .nav-links > a.active:not(.btn)::after { width: 100%; }
.nav-signin { color: var(--white) !important; }
.btn-nav { padding: 11px 20px; font-size: 0.92rem; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-lg { padding: 18px 36px; font-size: 1.08rem; border-radius: 14px; }
.btn-arrow { display: inline-block; transition: transform 0.25s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500) 55%, #2E8FFF);
  box-shadow: 0 8px 30px rgba(30, 94, 255, 0.38), inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(30, 94, 255, 0.5), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn-gold {
  color: #3A2A00;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  box-shadow: 0 8px 30px rgba(247, 183, 51, 0.32), inset 0 1px 0 rgba(255,255,255,0.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(247, 183, 51, 0.45); }
.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(159, 177, 206, 0.35);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover { border-color: var(--sky-400); background: rgba(56, 189, 248, 0.08); transform: translateY(-2px); }
.btn-ghost-dark { color: var(--ink); border: 1.5px solid rgba(11, 27, 51, 0.2); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line-light);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-card);
}
.glass-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(159, 177, 206, 0.16);
  border-radius: var(--radius); padding: 30px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card-hover { transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s; }
.card.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); border-color: rgba(30, 94, 255, 0.35); }
.glass-card.card-hover:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, 0.45); box-shadow: 0 20px 60px rgba(3, 11, 26, 0.5), 0 0 0 1px rgba(56,189,248,0.12); }

.icon-chip {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(61, 116, 255, 0.16), rgba(56, 189, 248, 0.10));
  border: 1px solid rgba(61, 116, 255, 0.3);
  color: var(--sky-400);
}
.section-light .icon-chip, .section-tint .icon-chip { color: var(--blue-600); background: linear-gradient(135deg, rgba(30,94,255,0.09), rgba(56,189,248,0.07)); border-color: rgba(30, 94, 255, 0.18); }
.icon-chip svg { width: 24px; height: 24px; }
.icon-chip-gold { background: linear-gradient(135deg, rgba(247,183,51,0.14), rgba(255,211,77,0.08)); border-color: rgba(247, 183, 51, 0.35); color: var(--gold-400); }
.icon-chip-mint { background: linear-gradient(135deg, rgba(47,217,143,0.12), rgba(47,217,143,0.06)); border-color: rgba(47, 217, 143, 0.3); color: var(--mint-400); }

/* ---------- grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }

/* ---------- stats ---------- */
.stat { text-align: left; }
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 3.6vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.05;
  color: var(--white);
}
.section-light .stat-num, .section-tint .stat-num { color: var(--ink); }
.stat-num.gold { background: linear-gradient(92deg, var(--gold-400), var(--gold-300)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { margin-top: 8px; color: var(--mist); font-size: 0.95rem; }
.section-light .stat-label, .section-tint .stat-label { color: var(--slate); }

/* ---------- pills & badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); color: #C9D6EC;
}
.section-light .pill, .section-tint .pill { background: var(--cloud); border-color: var(--line-light); color: var(--slate); }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.badge-verified { background: rgba(47, 217, 143, 0.1); border: 1px solid rgba(47, 217, 143, 0.35); color: var(--mint-400); }
.badge-verified::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-400); box-shadow: 0 0 10px var(--mint-400); }
.badge-gold { background: rgba(247, 183, 51, 0.1); border: 1px solid rgba(247, 183, 51, 0.4); color: var(--gold-300); }
.badge-line { background: transparent; border: 1px solid var(--line-dark); color: var(--mist); }

/* ---------- meters ---------- */
.meter { height: 8px; border-radius: 999px; background: rgba(159, 177, 206, 0.15); overflow: hidden; }
.section-light .meter, .section-tint .meter { background: var(--cloud-2); }
.meter-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-400));
  transition: width 1.4s var(--ease-out);
}
.meter-fill.gold { background: linear-gradient(90deg, var(--gold-400), var(--gold-300)); }
.meter-fill.mint { background: linear-gradient(90deg, #1FBF7C, var(--mint-400)); }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding-bottom: 44px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  background: linear-gradient(135deg, rgba(61, 116, 255, 0.14), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(61, 116, 255, 0.35); color: var(--sky-400);
}
.section-light .step::before, .section-tint .step::before { color: var(--blue-600); border-color: rgba(30, 94, 255, 0.25); }
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 31.5px; top: 72px; bottom: 8px; width: 1.5px;
  background: linear-gradient(to bottom, rgba(61, 116, 255, 0.4), rgba(61, 116, 255, 0.05));
}
.step-body h3 { margin-bottom: 8px; }
.step-body .step-time { font-size: 0.82rem; color: var(--sky-400); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.section-light .step-body .step-time, .section-tint .step-body .step-time { color: var(--blue-600); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-dark); }
.section-light .table-wrap, .section-tint .table-wrap { border-color: var(--line-light); box-shadow: var(--shadow-card); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 0.95rem; }
.compare-table th, .compare-table td { padding: 18px 22px; text-align: left; vertical-align: top; }
.compare-table thead th {
  font-family: var(--font-display); font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.04); border-bottom: 1px solid var(--line-dark);
}
.section-light .compare-table thead th, .section-tint .compare-table thead th { background: var(--cloud); border-bottom: 1px solid var(--line-light); }
.compare-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line-dark); }
.section-light .compare-table tbody tr:not(:last-child) td, .section-tint .compare-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--line-light); }
.compare-table .col-highlight { background: rgba(30, 94, 255, 0.10); box-shadow: inset 1px 0 0 rgba(61,116,255,0.35), inset -1px 0 0 rgba(61,116,255,0.35); }
.section-light .compare-table .col-highlight, .section-tint .compare-table .col-highlight { background: rgba(30, 94, 255, 0.05); }
.cell-yes { color: var(--mint-400); font-weight: 600; }
.cell-no { color: var(--red-400); opacity: 0.85; }
.cell-dim { color: var(--mist); }
.section-light .cell-dim, .section-tint .cell-dim { color: var(--slate); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line-dark); border-radius: 14px; background: rgba(255, 255, 255, 0.03); overflow: hidden; transition: border-color 0.3s; }
.section-light .faq-item, .section-tint .faq-item { background: var(--white); border-color: var(--line-light); box-shadow: var(--shadow-card); }
.faq-item.open { border-color: rgba(56, 189, 248, 0.45); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left; font-weight: 600; font-size: 1.02rem;
}
.faq-q .faq-x { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--sky-400); transition: transform 0.3s var(--ease-out); font-weight: 500; }
.section-light .faq-q .faq-x, .section-tint .faq-q .faq-x { color: var(--blue-600); border-color: var(--line-light); }
.faq-item.open .faq-x { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out); }
.faq-a-inner { padding: 0 24px 22px; color: var(--mist); }
.section-light .faq-a-inner, .section-tint .faq-a-inner { color: var(--slate); }

/* ---------- listing cards ---------- */
.listing-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(159, 177, 206, 0.16); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.listing-card:hover { transform: translateY(-6px); border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 24px 60px rgba(3, 11, 26, 0.55); }
.section-light .listing-card, .section-tint .listing-card { background: var(--white); border-color: var(--line-light); box-shadow: var(--shadow-card); }
.section-light .listing-card:hover, .section-tint .listing-card:hover { box-shadow: var(--shadow-pop); border-color: rgba(30, 94, 255, 0.35); }
.listing-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sector-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sky-400); text-transform: uppercase; }
.section-light .sector-chip, .section-tint .sector-chip { color: var(--blue-600); }
.sector-chip svg { width: 16px; height: 16px; }
.listing-card h3 { font-size: 1.18rem; }
.listing-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.section-light .listing-metrics, .section-tint .listing-metrics { border-color: var(--line-light); }
.lm-val { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; }
.lm-val.gold { color: var(--gold-400); }
.lm-label { font-size: 0.75rem; color: var(--mist); letter-spacing: 0.04em; text-transform: uppercase; margin-top: 3px; }
.section-light .lm-label, .section-tint .lm-label { color: var(--slate); }
.listing-cta { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 0.95rem; color: var(--sky-400); }
.section-light .listing-cta, .section-tint .listing-cta { color: var(--blue-600); }

/* ---------- tick lists ---------- */
.tick-list { list-style: none; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 7px;
  background: rgba(47, 217, 143, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232FD98F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid rgba(47, 217, 143, 0.35);
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 12px 22px; border-radius: 999px; font-size: 0.92rem; font-weight: 500;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark); color: #C9D6EC;
}
.marquee-item .mi-gold { color: var(--gold-400); font-weight: 700; }
.marquee-item .mi-mint { color: var(--mint-400); font-weight: 700; }

/* ---------- tabs ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.section-light .tabs, .section-tint .tabs { background: var(--cloud); border-color: var(--line-light); }
.tab { padding: 10px 22px; border-radius: 10px; font-weight: 600; font-size: 0.95rem; color: var(--mist); transition: all 0.25s; }
.section-light .tab, .section-tint .tab { color: var(--slate); }
.tab.active { background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); color: var(--white); box-shadow: 0 6px 20px rgba(30, 94, 255, 0.35); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.5s var(--ease-out); }

/* ---------- reveal animations ---------- */
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 0; will-change: transform, opacity; }
.reveal { transform: translateY(34px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(0.92); }
.reveal.in, .reveal-left.in, .reveal-right.in, .reveal-scale.in {
  opacity: 1; transform: none;
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* float animation for hero decorations */
.float { animation: floatY 6s ease-in-out infinite; }
.float-slow { animation: floatY 9s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.pulse-glow { animation: pulseGlow 3.2s ease-in-out infinite; }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.35); }
  50% { box-shadow: 0 0 0 14px rgba(56, 189, 248, 0); }
}
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.09) 50%, transparent 60%);
  transform: translateX(-100%); animation: shimmer 3.6s ease-in-out infinite;
}
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }

/* ---------- tilt ---------- */
.tilt { transform-style: preserve-3d; transition: transform 0.2s ease-out; }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: var(--mist); border-top: 1px solid var(--line-dark); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { margin: 18px 0; font-size: 0.95rem; max-width: 340px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.footer h4 { color: var(--white); font-family: var(--font-display); font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid a { display: block; padding: 6px 0; font-size: 0.93rem; color: var(--mist); transition: color 0.2s; }
.footer-grid a:hover { color: var(--sky-400); }
.footer-legal { border-top: 1px solid var(--line-dark); padding-top: 28px; font-size: 0.82rem; line-height: 1.7; opacity: 0.75; }
.footer-copy { margin-top: 12px; }

/* ---------- helpers ---------- */
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; } .mb-48 { margin-bottom: 48px; }
.mx-auto { margin-inline: auto; }
.maxw-620 { max-width: 620px; } .maxw-720 { max-width: 720px; } .maxw-880 { max-width: 880px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: flex-start; gap: 8px;
    background: rgba(3, 11, 26, 0.97); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: 24px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-16px); opacity: 0; pointer-events: none;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links > a { padding: 10px 0; font-size: 1.05rem; width: 100%; }
  .btn-nav { width: 100%; justify-content: center; padding: 14px; }
  .nav-burger { display: flex; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 72px 0; }
  .container { width: calc(100% - 40px); }
  .btn-row .btn { width: 100%; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; }
  .step::before { width: 48px; height: 48px; border-radius: 14px; font-size: 0.95rem; }
  .step:not(:last-child)::after { left: 23.5px; top: 56px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
