/* =========================================================
   COOKER · Private DeFi on Arcium MPC
   Dark navy + molten orange, honeycomb motif
   ========================================================= */

:root {
  --bg:          #080d18;
  --bg-2:        #0b1220;
  --bg-3:        #0f1828;
  --card:        #0e1626;
  --card-2:      #121c30;
  --border:      rgba(148, 163, 184, 0.10);
  --border-2:    rgba(251, 146, 60, 0.22);

  --orange:      #f97316;
  --orange-2:    #fb923c;
  --orange-soft: #fed7aa;
  --gold:        #d4a574;
  --copper:      #b45309;

  --text:        #f5ecd7;
  --text-2:      #cbd5e1;
  --muted:       #64748b;
  --muted-2:     #475569;

  --pos:         #22c55e;
  --neg:         #ef4444;

  --radius:      14px;
  --radius-lg:   22px;

  --font-display: 'Syne', 'Unbounded', ui-sans-serif, system-ui, sans-serif;
  --font-body:    'DM Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-glow: 0 0 0 1px rgba(251, 146, 60, 0.15), 0 20px 60px -20px rgba(249, 115, 22, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Canvas hex background */
#hex-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.bg-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(249,115,22,0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(180,83,9,0.10), transparent 70%);
}

/* Everything above background */
.announce, .nav, main, section, footer, .toast { position: relative; z-index: 1; }

/* -------- Announcement bar -------- */
.announce {
  background: linear-gradient(90deg, rgba(249,115,22,0.12), rgba(251,146,60,0.05), rgba(249,115,22,0.12));
  border-bottom: 1px solid var(--border-2);
  font-size: 13px;
  color: var(--text);
}
.announce__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 10px 24px;
  display: flex; align-items: center; gap: 12px;
  justify-content: center; text-align: center;
  flex-wrap: wrap;
}
.announce .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  display: inline-block;
  animation: pulse 2s infinite;
}
.announce__link {
  color: var(--orange-2);
  font-weight: 600;
  border-left: 1px solid var(--border-2);
  padding-left: 12px;
}
.announce__link:hover { color: var(--orange); }

/* -------- Navigation -------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(8, 13, 24, 0.75);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.brand__logo {
  width: 34px; height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(249,115,22,0.3);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav__links {
  display: flex; gap: 28px;
  margin-left: 16px;
  flex: 1;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.15s;
  position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--orange);
}

.nav__actions {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}

.icon-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--text-2);
  transition: all 0.15s;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
}
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn:hover { color: var(--orange); border-color: var(--border-2); background: rgba(249,115,22,0.08); }

.menu-btn { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--text); transition: all 0.2s; }
.menu-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.active span:nth-child(2) { opacity: 0; }
.menu-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.18s;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn svg { width: 14px; height: 14px; }
.btn--primary {
  background: linear-gradient(180deg, var(--orange-2) 0%, var(--orange) 100%);
  color: #1a0f04;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 10px 30px -10px rgba(249,115,22,0.5);
}
.btn--primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 14px 34px -10px rgba(249,115,22,0.7);
}
.btn--ghost {
  background: rgba(255,255,255,0.02);
  border-color: var(--border);
  color: var(--text);
}
.btn--ghost:hover {
  background: rgba(249,115,22,0.08);
  border-color: var(--border-2);
  color: var(--orange-2);
}
.btn--lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn--full { width: 100%; }
.btn--coin .coin-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6, var(--orange));
  box-shadow: 0 0 8px var(--orange);
}
.wallet-ico { width: 16px; height: 16px; }

#connect-btn.connected {
  background: rgba(34,197,94,0.1);
  border-color: rgba(34,197,94,0.3);
  color: var(--pos);
}

.btn-mini {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  color: var(--orange-2);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.15s;
}
.btn-mini:hover { background: var(--orange); color: #1a0f04; border-color: var(--orange); }

/* -------- Mobile menu -------- */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(8, 13, 24, 0.95);
  backdrop-filter: blur(16px);
}
.mobile-menu.active { display: flex; }
.mobile-menu > a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mobile-menu__socials { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.mobile-menu__socials a {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.mobile-menu__socials svg { width: 18px; height: 18px; }

/* -------- Hero -------- */
.hero {
  padding: 80px 24px 60px;
  overflow: hidden;
}
.hero__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content { max-width: 640px; }

.hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 28px;
  background: rgba(249, 115, 22, 0.04);
}
.tag-chip { color: var(--muted); }
.tag-brand {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--orange-2);
  padding: 4px 10px;
  background: rgba(249,115,22,0.12);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  font-family: 'Syne', serif;
}
.underline-orange {
  position: relative;
  color: var(--orange-2);
  white-space: nowrap;
}
.underline-orange::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  border-radius: 2px;
}

.hero__sub {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.6;
}

.hero__cta {
  display: flex; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(249,115,22,0.03), rgba(255,255,255,0.01));
  backdrop-filter: blur(10px);
}
.stat__val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat__val span { font-size: 16px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.stat__lbl {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}
.stat__div {
  width: 1px; height: 36px;
  background: var(--border);
}

/* Hero mockup */
.hero__mockup {
  position: relative;
  height: 440px;
  perspective: 1400px;
}
.mock-card {
  position: absolute;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--card-2) 0%, var(--card) 100%);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-glow), 0 30px 80px -30px rgba(0,0,0,0.6);
}
.mock-card--front {
  width: 380px;
  padding: 28px;
  top: 30px; left: 30px;
  transform: rotate(-2deg);
  z-index: 2;
  animation: floatA 6s ease-in-out infinite;
}
.mock-card--back {
  width: 280px;
  padding: 18px 22px;
  top: 320px; left: 180px;
  transform: rotate(3deg);
  z-index: 1;
  background: linear-gradient(160deg, #1a0f04 0%, #0d0906 100%);
  border-color: rgba(249,115,22,0.35);
  animation: floatB 7s ease-in-out infinite;
}
.mock-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px;
}
.mock-card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.mock-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
}
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.badge--live {
  background: rgba(34,197,94,0.12);
  color: var(--pos);
  border: 1px solid rgba(34,197,94,0.3);
}
.pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pos);
  animation: pulse 1.4s infinite;
}

.mock-card__rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.row--open { background: rgba(249,115,22,0.06); border-color: rgba(249,115,22,0.2); }
.row__k { font-size: 13px; color: var(--muted); font-weight: 500; }
.row__v { font-family: var(--font-mono); font-weight: 600; font-size: 13px; }
.row__v--enc { color: var(--orange); letter-spacing: 3px; font-size: 10px; }
.row__v--pos { color: var(--pos); }

.mock-card__foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.lock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--orange-2);
  font-weight: 500;
}
.lock svg { width: 14px; height: 14px; }
.ticks { display: flex; gap: 3px; }
.ticks span {
  width: 3px; height: 14px;
  background: var(--orange);
  opacity: 0.25;
  border-radius: 1px;
}
.ticks span:nth-child(1) { opacity: 0.4; }
.ticks span:nth-child(2) { opacity: 0.55; height: 18px; }
.ticks span:nth-child(3) { opacity: 0.7; height: 22px; }
.ticks span:nth-child(4) { opacity: 0.85; height: 16px; }
.ticks span:nth-child(5) { opacity: 1; height: 24px; box-shadow: 0 0 6px var(--orange); }
.ticks span:nth-child(6) { opacity: 0.7; height: 20px; }
.ticks span:nth-child(7) { opacity: 0.5; height: 14px; }
.ticks span:nth-child(8) { opacity: 0.3; height: 12px; }

.mini-row {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-2);
  border-bottom: 1px solid rgba(249,115,22,0.12);
}
.mini-row:last-child { border-bottom: none; }

@keyframes floatA {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(-2deg) translateY(-10px); }
}
@keyframes floatB {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50%      { transform: rotate(3deg) translateY(10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

/* -------- Trust strip -------- */
.trust {
  padding: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.01);
}
.trust__inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust__lbl {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust__logos {
  display: flex; gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust__logos span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.15em;
  color: var(--text-2);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.trust__logos span:hover { opacity: 1; color: var(--orange-2); }

/* -------- Section head -------- */
.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--split {
  max-width: 1280px;
  display: flex; justify-content: space-between; align-items: flex-end;
  text-align: left;
  gap: 24px;
  flex-wrap: wrap;
}
.kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: 0.25em;
  padding: 4px 10px;
  background: rgba(249,115,22,0.1);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
}
.section-head p {
  font-size: 17px;
  color: var(--text-2);
  margin-top: 20px;
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.hl { color: var(--orange-2); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--orange-2);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  transition: all 0.15s;
}
.link-arrow:hover { background: rgba(249,115,22,0.08); transform: translateX(2px); }

/* -------- Features -------- */
.features { padding: 100px 24px; }
.feat-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all 0.25s;
}
.feat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(249,115,22,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feat:hover { border-color: var(--border-2); transform: translateY(-3px); }
.feat:hover::before { opacity: 1; }
.feat--accent {
  background: linear-gradient(180deg, rgba(249,115,22,0.06), rgba(249,115,22,0.01));
  border-color: rgba(249,115,22,0.25);
}
.feat--accent .feat__hex { color: var(--orange); }
.feat__hex {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.feat__hex svg { width: 100%; height: 100%; }
.feat h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.feat p {
  font-size: 15px;
  color: var(--text-2);
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.feat__list { list-style: none; position: relative; z-index: 1; }
.feat__list li {
  padding: 8px 0;
  padding-left: 22px;
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  border-top: 1px dashed var(--border);
}
.feat__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 10px; height: 10px;
  background: var(--orange);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  opacity: 0.8;
}

/* -------- How it works -------- */
.how { padding: 80px 24px 100px; }
.how-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.how-step {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--border);
  position: relative;
}
.how-step:nth-child(odd) { transform: translateY(-12px); }
.how-step__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 10px;
  background: rgba(249,115,22,0.1);
  border-radius: 4px;
}
.how-step h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.how-step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.5;
}

/* -------- Vaults table -------- */
.vaults { padding: 80px 24px 100px; }
.vault-table-wrap {
  max-width: 1280px; margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.015);
  overflow: hidden;
  overflow-x: auto;
}
.vault-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.vault-table th {
  text-align: left;
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.vault-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: middle;
}
.vault-table tbody tr { transition: background 0.15s; }
.vault-table tbody tr:hover { background: rgba(249,115,22,0.04); }
.vault-table tbody tr:last-child td { border-bottom: none; }

.num { text-align: right; font-family: var(--font-mono); font-weight: 600; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }

.vault-cell { display: flex; align-items: center; gap: 12px; }
.vault-hex {
  width: 32px; height: 32px;
  background: var(--c, var(--orange));
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(249,115,22,0.3);
}
.vault-name { font-weight: 700; color: var(--text); font-size: 14px; }
.vault-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.mono { font-family: var(--font-mono); font-size: 13px; color: var(--text-2); }
.pos-enc {
  font-family: var(--font-mono);
  color: var(--orange);
  letter-spacing: 2px;
  font-size: 11px;
}

/* -------- Dark pool -------- */
.darkpool { padding: 100px 24px; }
.darkpool__inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.darkpool__copy h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4.5vw, 50px); line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 20px; }
.darkpool__copy p { font-size: 17px; color: var(--text-2); margin-bottom: 28px; max-width: 520px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: var(--text-2);
}
.check-list svg {
  width: 20px; height: 20px;
  color: var(--orange);
  padding: 4px;
  background: rgba(249,115,22,0.12);
  border-radius: 6px;
  flex-shrink: 0;
}

.darkpool__vis {
  position: relative;
  height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.orb {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,0.25), transparent 70%);
  filter: blur(30px);
  animation: drift 10s ease-in-out infinite;
}
.orb--b {
  background: radial-gradient(circle, rgba(212,165,116,0.18), transparent 70%);
  width: 280px; height: 280px;
  animation-delay: -3s;
}
.orb--c {
  background: radial-gradient(circle, rgba(180,83,9,0.18), transparent 70%);
  width: 200px; height: 200px;
  animation-delay: -6s;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  33%      { transform: translate(40px, -30px); }
  66%      { transform: translate(-30px, 30px); }
}
.pool-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 24px;
  background: rgba(14, 22, 38, 0.8);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow-glow);
}
.pool-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.pool-row:last-child { border-bottom: none; }
.pool-row.match { color: var(--orange); font-weight: 600; }
.dot-g { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot-o { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); animation: pulse 2s infinite; }

/* -------- Final CTA -------- */
.final-cta { padding: 120px 24px 100px; position: relative; overflow: hidden; }
.final-cta__inner {
  max-width: 800px; margin: 0 auto;
  text-align: center;
  position: relative;
}
.final-cta__hex {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 280px;
  color: var(--orange);
  opacity: 0.25;
  animation: spin 60s linear infinite;
}
@keyframes spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg); }
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 20px;
}
.final-cta p { font-size: 19px; color: var(--text-2); margin-bottom: 36px; }
.final-cta .hero__cta { justify-content: center; margin-bottom: 0; }

/* -------- Footer -------- */
.foot {
  padding: 60px 24px 24px;
  border-top: 1px solid var(--border);
  background: rgba(8, 13, 24, 0.6);
}
.foot__inner {
  max-width: 1280px; margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot__brand p { color: var(--muted); font-size: 14px; margin-top: 16px; max-width: 300px; }
.foot__socials { display: flex; gap: 10px; margin-top: 20px; }
.foot__socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.15s;
}
.foot__socials svg { width: 16px; height: 16px; }
.foot__socials a:hover { color: var(--orange); border-color: var(--border-2); }

.foot__col h5 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot__col a {
  display: block;
  padding: 7px 0;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.foot__col a:hover { color: var(--orange-2); }

.foot__bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* -------- Toast -------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  background: rgba(14,22,38,0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 340px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-color: rgba(239,68,68,0.4); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__mockup { height: 380px; }
  .mock-card--front { width: 340px; left: 0; }
  .mock-card--back  { left: 150px; top: 280px; width: 240px; }
  .darkpool__inner { grid-template-columns: 1fr; gap: 40px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat:last-child { grid-column: 1 / -1; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .how-step:nth-child(odd) { transform: none; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }

  .nav__links { display: none; }
  .menu-btn { display: flex; }
  .nav__actions .btn--coin { display: none; }
  .nav__actions .icon-btn { display: none; }
  #connect-btn { display: none; }
}

@media (max-width: 640px) {
  .announce__inner { font-size: 12px; padding: 8px 16px; }
  .announce__link { border-left: none; padding-left: 0; }

  .nav__inner { padding: 12px 16px; gap: 8px; }
  .brand__name { font-size: 16px; }
  .brand__logo { width: 28px; height: 28px; }

  .hero { padding: 40px 16px 40px; }
  .hero__title { font-size: 42px; }
  .hero__sub { font-size: 16px; }
  .hero__stats { padding: 16px; gap: 16px; }
  .stat__val { font-size: 20px; }
  .stat__lbl { font-size: 10px; }
  .stat__div { display: none; }
  .stat { flex: 1; min-width: 90px; }
  .hero__cta .btn { flex: 1; }

  .hero__mockup { height: 340px; }
  .mock-card--front { width: 92%; left: 4%; padding: 22px; }
  .mock-card--back { width: 70%; left: 20%; top: 230px; }
  .mock-card__name { font-size: 18px; }

  .trust__inner { gap: 20px; }
  .trust__logos { gap: 18px; }
  .trust__logos span { font-size: 13px; }

  .features, .how, .vaults, .darkpool, .final-cta { padding-left: 16px; padding-right: 16px; }
  .features { padding-top: 60px; padding-bottom: 60px; }
  .how { padding: 40px 16px 60px; }
  .vaults { padding: 40px 16px 60px; }
  .darkpool { padding: 60px 16px; }
  .final-cta { padding: 80px 16px 60px; }

  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 15px; }
  .section-head--split { flex-direction: column; align-items: flex-start; }

  .feat-grid { grid-template-columns: 1fr; gap: 14px; }
  .feat:last-child { grid-column: auto; }
  .feat { padding: 24px 22px; }

  .how-grid { grid-template-columns: 1fr; }

  .vault-table th, .vault-table td { padding: 14px 16px; font-size: 13px; }
  .vault-table th { font-size: 10px; }
  .vault-name { font-size: 13px; }
  .vault-sub { font-size: 11px; }

  .darkpool__vis { height: 360px; }
  .pool-card { max-width: 320px; padding: 20px; }
  .orb { width: 260px; height: 260px; }
  .orb--b { width: 200px; height: 200px; }
  .orb--c { width: 160px; height: 160px; }

  .final-cta__hex { width: 200px; height: 200px; top: -40px; }
  .final-cta h2 { font-size: 32px; }
  .final-cta p { font-size: 16px; }

  .foot { padding: 40px 16px 20px; }
  .foot__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__bottom { flex-direction: column; text-align: center; gap: 8px; font-size: 12px; }

  .toast { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 36px; }
  .stat { min-width: 80px; }
  .stat__val { font-size: 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
