/* DipTix.fun landing page styles. Self-contained. */

:root {
  /* Landing is now pure-black themed to showcase the DipTix mascot. */
  --bg-0:  #000000;
  --bg-1:  #050609;
  --bg-2:  #0b0d12;
  --bg-3:  #14171f;
  --line:  #1b1f28;
  --line-hi:#2a303c;
  --text:  #ecedf2;
  --muted: #8a92a3;
  --accent: #6bd5ff;
  --accent-2:#8a7bff;
  --up:    #00e58a;
  --down:  #ff4d6a;
  --yellow:#ffd23f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg-0); color: var(--text);
  font: 15px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color .12s ease; }
a:hover { color: #fff; }
.up   { color: var(--up); }
.down { color: var(--down); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.01em; }
ul { padding: 0; list-style: none; margin: 0; }

/* ============ Animated background ============ */
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: -3;
  background:
    radial-gradient(700px 460px at 78% 5%, rgba(0,229,138,0.06), transparent 65%),
    radial-gradient(560px 380px at 12% 70%, rgba(255,210,63,0.04), transparent 65%);
  animation: bgshift 22s ease-in-out infinite alternate;
}
@keyframes bgshift {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 80%);
}
.bg-particles { position: fixed; inset: 0; pointer-events: none; z-index: -1; }

/* ============ Nav ============ */
.lp-nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px; background: #000; backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); }
.lp-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; color: var(--text); }
.lp-logo { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 900;
  background: linear-gradient(135deg, var(--up), var(--down)); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 22px; letter-spacing: -3px; animation: logoSpin 6s linear infinite; transform-origin: center; }
@keyframes logoSpin {
  0%, 90%, 100% { transform: rotateY(0deg); }
  95% { transform: rotateY(360deg); }
}
.lp-brand-name { letter-spacing: -0.02em; }
.lp-brand-tld { background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.lp-nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.lp-nav-links a { color: var(--muted); }
.lp-nav-links a:hover { color: var(--text); }
.lp-cta-mini { padding: 8px 14px; border-radius: 6px;
  background: linear-gradient(135deg, var(--up), #0bd07d); color: #061410 !important;
  font-weight: 700; transition: transform .08s ease, box-shadow .12s ease;
  box-shadow: 0 6px 22px -8px rgba(0,229,138,0.55); }
.lp-cta-mini:hover { color: #061410 !important; transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgba(0,229,138,0.75); }

/* ============ Hero ============ */
.lp-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center;
  padding: 70px 32px 100px; max-width: 1200px; margin: 0 auto; }

.lp-pill { display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px; background: rgba(0,229,138,0.08);
  border: 1px solid rgba(0,229,138,0.25); color: var(--up); font-size: 12px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase; }
.lp-pill-alt { background: rgba(107,213,255,0.08); border-color: rgba(107,213,255,0.25); color: var(--accent); }
.lp-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px var(--up);
  animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50%      { opacity: 0.4;  transform: scale(0.7); }
}

/* === Pick. Trade. Win. animated h1 === */
.ptw { display: flex; flex-wrap: wrap; gap: 18px; font-size: 84px; font-weight: 900; line-height: 1.0;
  letter-spacing: -0.04em; margin: 22px 0 18px; }
.ptw-word { background-clip: text; -webkit-background-clip: text; color: transparent;
  opacity: 0; transform: translateY(28px) rotateX(20deg);
  animation: ptwIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  display: inline-block; }
.ptw-pick  { background-image: linear-gradient(135deg, #6bd5ff, #8a7bff); animation-delay: 0.10s; }
.ptw-trade { background-image: linear-gradient(135deg, #ffd23f, #ff8a3d); animation-delay: 0.35s; }
.ptw-win   { background-image: linear-gradient(135deg, #00e58a, #0bd07d); animation-delay: 0.60s;
             text-shadow: 0 0 60px rgba(0,229,138,0.35); }
@keyframes ptwIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}
/* Subtle continuous wash on the gradient */
.ptw-word::after {
  content: ""; display: none; /* placeholder for future shimmer */
}

/* Rotating typewriter slogans · sits between H1 and the descriptive sub-paragraph.
   white-space: nowrap + fixed min-height so a longer slogan never wraps to a new
   line and shifts the layout below. The container clips anything that overflows
   (no phrase should be long enough to actually hit the clip, but safety). */
.lp-slogan { font-size: 15px; font-weight: 700; color: var(--text);
  margin: 8px 0 18px; min-height: 22px; line-height: 22px;
  white-space: nowrap; overflow: hidden; max-width: 100%;
  animation: fadeUp 0.7s 0.75s ease-out backwards; letter-spacing: -0.005em; }
.lp-slogan-prefix { color: var(--muted); margin-right: 6px; font-weight: 500; }
.lp-slogan-typed { background: linear-gradient(135deg, var(--up), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-weight: 800; }
.lp-slogan-cursor { display: inline-block; margin-left: 2px;
  color: var(--accent); font-weight: 400; animation: lp-blink 1.05s steps(1) infinite;
  transform: translateY(-1px); }
@keyframes lp-blink { 50% { opacity: 0; } }

.lp-sub { font-size: 17px; color: var(--muted); max-width: 540px; margin-bottom: 32px;
  animation: fadeUp 0.7s 0.95s ease-out backwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lp-cta-row { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap;
  animation: fadeUp 0.7s 1.0s ease-out backwards; }
.lp-cta-primary { padding: 14px 26px; border-radius: 8px; font-weight: 700; font-size: 15px;
  background: linear-gradient(135deg, var(--up), #0bd07d); color: #061410;
  box-shadow: 0 12px 32px -10px rgba(0,229,138,0.55);
  transition: transform .08s ease, box-shadow .12s ease;
  display: inline-flex; align-items: center; gap: 8px; }
.lp-cta-primary:hover { transform: translateY(-2px); color: #061410;
  box-shadow: 0 18px 40px -10px rgba(0,229,138,0.85); }
.cta-arrow { display: inline-block; transition: transform .15s ease; font-weight: 800; }
.lp-cta-primary:hover .cta-arrow { transform: translateX(4px); }
.lp-cta-ghost { padding: 14px 22px; border-radius: 8px; font-weight: 700; font-size: 15px;
  color: var(--text); border: 1px solid var(--line-hi); background: transparent;
  transition: all .12s ease; }
.lp-cta-ghost:hover { color: var(--text); border-color: var(--accent); background: rgba(107,213,255,0.06); }

.lp-counters { display: flex; gap: 28px; flex-wrap: wrap;
  animation: fadeUp 0.7s 1.2s ease-out backwards; }
.lp-counter { display: flex; flex-direction: column; gap: 2px; }
.lp-counter-v { font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums; }
.lp-counter-k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* === Hero demo card === */
.lp-demo-card { background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--line-hi); border-radius: 14px; padding: 16px;
  box-shadow: 0 24px 80px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.04);
  transform: perspective(1100px) rotateY(-4deg) rotateX(3deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  animation: cardIn 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
}
@keyframes cardIn {
  from { opacity: 0; transform: perspective(1100px) rotateY(-12deg) rotateX(8deg) translateY(30px); }
}
.lp-demo-card:hover { transform: perspective(1100px) rotateY(0) rotateX(0) scale(1.02); }
.lp-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.lp-card-sym { font-weight: 800; font-size: 13px; letter-spacing: 1px; color: var(--muted);
  display: inline-flex; align-items: center; gap: 6px; }
.lp-card-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px var(--up);
  animation: pulse 1.4s ease-in-out infinite; }
.lp-card-tick { font-weight: 800; font-size: 20px; color: var(--up); font-variant-numeric: tabular-nums;
  transition: color .25s ease; }
.lp-svg-chart { width: 100%; height: 140px; display: block; }
.lp-card-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 10px; }
.lp-tile { padding: 12px; border-radius: 8px; text-align: center;
  background: var(--bg-3); border: 1px solid var(--line); transition: all .2s; }
.lp-tile.up   { border-color: rgba(0,229,138,0.45); background: rgba(0,229,138,0.06); }
.lp-tile.down { border-color: rgba(255,77,106,0.45); background: rgba(255,77,106,0.06); }
.lp-tile-side { font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 4px; color: var(--muted); }
.lp-tile.up   .lp-tile-side { color: var(--up); }
.lp-tile.down .lp-tile-side { color: var(--down); }
.lp-tile-pct  { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums;
  transition: color .15s ease; }
.lp-tile-mult { font-size: 11px; color: var(--muted); margin-top: 1px; font-weight: 600;
  font-variant-numeric: tabular-nums; }
/* === Demo: chart-type toggle + FOK badge === */
.demo-ct-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; }
.demo-ct { display: inline-flex; background: var(--bg-3); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; padding: 2px; }
.demo-ct-btn { padding: 3px 9px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  background: transparent; color: var(--muted); border: none; cursor: pointer; border-radius: 3px;
  transition: all .12s; }
.demo-ct-btn:hover { color: var(--text); }
.demo-ct-btn.active { background: var(--accent); color: var(--bg-0); }
.demo-fok-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  background: rgba(255,210,63,0.10); color: var(--yellow); border: 1px solid rgba(255,210,63,0.4);
  border-radius: 4px; opacity: 0.6; transition: opacity .15s; }
.demo-fok-badge.pulse {
  animation: fokPulse 0.7s cubic-bezier(0.2,0.8,0.2,1);
  opacity: 1;
}
@keyframes fokPulse {
  0%   { transform: scale(1);   box-shadow: 0 0 0 0 rgba(255,210,63,0.6); background: rgba(255,210,63,0.5); color: var(--bg-0); }
  100% { transform: scale(1);   box-shadow: 0 0 0 16px rgba(255,210,63,0); background: rgba(255,210,63,0.10); color: var(--yellow); }
}

/* === Stacked chart SVGs · only the active one shows === */
.demo-chart-wrap { position: relative; height: 130px; }
.demo-chart-wrap .lp-svg-chart { position: absolute; inset: 0; opacity: 0;
  pointer-events: none; transition: opacity .25s ease; }
.demo-chart-wrap .demo-svg-active { opacity: 1; }

/* === Price tick flash === */
.lp-card-tick.flash-up   { animation: flashUp   0.6s ease-out; }
.lp-card-tick.flash-down { animation: flashDown 0.6s ease-out; }
@keyframes flashUp {
  0%   { color: #00ffa0; text-shadow: 0 0 18px rgba(0,229,138,0.85); transform: translateY(-2px); }
  100% { color: var(--up); text-shadow: none; transform: translateY(0); }
}
@keyframes flashDown {
  0%   { color: #ff6c87; text-shadow: 0 0 18px rgba(255,77,106,0.85); transform: translateY(2px); }
  100% { color: var(--down); text-shadow: none; transform: translateY(0); }
}

/* === Tile flash (when contract price moves) === */
.lp-tile.flash { animation: tileFlash 0.55s ease-out; }
@keyframes tileFlash {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.22); transform: scale(1.04); }
  100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); transform: scale(1); }
}

/* === Streaming order-flow strip === */
.demo-flow { display: flex; flex-direction: column; gap: 2px; margin: 8px 0; min-height: 22px; }
.flow-row { display: flex; align-items: center; gap: 6px; padding: 4px 8px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  animation: flowIn 0.3s ease-out; }
@keyframes flowIn {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}
.flow-row.up   { border-left: 2px solid var(--up); }
.flow-row.down { border-left: 2px solid var(--down); }
.flow-row.fok  { background: rgba(255,210,63,0.08); border-color: rgba(255,210,63,0.3); }
.flow-side { color: var(--muted); }
.flow-row.up   .flow-side { color: var(--up); }
.flow-row.down .flow-side { color: var(--down); }
.flow-amt  { flex: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.flow-fok  { color: var(--yellow); font-size: 9px; padding: 1px 4px; background: rgba(255,210,63,0.12);
  border: 1px solid rgba(255,210,63,0.3); border-radius: 3px; }

.lp-card-foot { display: flex; align-items: baseline; gap: 8px; justify-content: center;
  padding: 8px; background: var(--bg-3); border-radius: 6px; border: 1px solid var(--line); }
.lp-cd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 800; font-size: 18px; color: var(--yellow); font-variant-numeric: tabular-nums; }
.lp-card-foot-k { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ============ Sections ============ */
.lp-section { padding: 80px 32px; max-width: 1200px; margin: 0 auto; }
/* Stealth alt section · no blue tint, just a hair of green on the edges */
.lp-section-alt { background:
    radial-gradient(60% 100% at 50% 50%, rgba(0,229,138,0.025) 0%, transparent 70%),
    #000;
  max-width: none; padding-left: 0; padding-right: 0; }
.lp-section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.lp-section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 40px; }
.lp-h2 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; max-width: 760px; line-height: 1.15; }

/* === How it works (numbered alternating rows) === */
.lp-howto { display: flex; flex-direction: column; gap: 18px; counter-reset: step; }
.lp-howto-row { display: grid; grid-template-columns: 60px 1fr 260px; gap: 22px; align-items: center;
  padding: 24px 28px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  transition: all .16s ease; }
.lp-howto-row:hover { border-color: var(--accent); background: var(--bg-3); transform: translateY(-2px); }
.lp-howto-n { font-size: 28px; font-weight: 900; color: var(--accent); font-variant-numeric: tabular-nums;
  text-align: center; opacity: 0.5; transition: opacity .2s, transform .2s; }
.lp-howto-row:hover .lp-howto-n { opacity: 1; transform: scale(1.1); }
.lp-howto-body h3 { font-size: 20px; margin-bottom: 6px; }
.lp-howto-body p  { color: var(--muted); font-size: 14px; margin: 0; }

/* Step illustrations · tiny inline mock art */
.lp-howto-art { display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px; background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; height: 90px; }
.art-wallet-card { display: flex; flex-direction: column; align-items: center;
  padding: 8px 12px; background: var(--bg-3); border-radius: 6px; border: 1px solid var(--line-hi); }
.art-wallet-card span { font-size: 10px; color: var(--muted); font-family: monospace; }
.art-wallet-card b    { font-size: 14px; color: var(--text); margin-top: 2px; }
.art-wallet-sig { color: var(--up); font-weight: 700; font-size: 13px; animation: pulse 2s ease-in-out infinite; }
.art-coin { font-size: 32px; color: var(--up); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotateY(360deg); } }
.art-arrow { font-size: 22px; color: var(--accent); animation: slideRight 1.4s ease-in-out infinite; }
@keyframes slideRight {
  0%, 100% { transform: translateX(0); opacity: 0.5; }
  50%      { transform: translateX(6px); opacity: 1; }
}
.art-pool { display: flex; flex-direction: column; align-items: center;
  padding: 8px 12px; background: var(--bg-3); border-radius: 6px; border: 1px solid var(--up); }
.art-pool span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.art-pool b    { font-size: 14px; color: var(--up); }
.art-tile { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px;
  background: var(--bg-3); border-radius: 6px; cursor: default; border: 1px solid var(--line); }
.art-tile.up   { border-color: var(--up); }
.art-tile.down { border-color: var(--down); }
.art-tile b { font-size: 12px; font-weight: 800; }
.art-tile.up   b { color: var(--up); }
.art-tile.down b { color: var(--down); }
.art-tile span { font-size: 13px; font-weight: 800; color: var(--text); }
.art-bell { font-size: 28px; animation: ring 2.5s ease-in-out infinite; }
@keyframes ring {
  0%, 50%, 100% { transform: rotate(0); }
  10%, 30%      { transform: rotate(-12deg); }
  20%, 40%      { transform: rotate(12deg); }
}
.art-payout { font-size: 22px; font-weight: 900; color: var(--up); }
.art-payout small { display: block; font-size: 10px; color: var(--muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; }

/* === Price-feed source marquee · stealth strip below hero === */
.lp-marquee-section { padding: 28px 0 12px; max-width: none;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0,229,138,0.02), transparent); }
.lp-marquee-label { display: flex; justify-content: center; align-items: center; gap: 8px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--muted);
  font-weight: 700; margin-bottom: 14px; }
.lp-marquee-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--up);
  box-shadow: 0 0 10px var(--up); animation: pulse 1.6s ease-in-out infinite; }
.lp-marquee { overflow: hidden; position: relative;
  /* Cap the scrolling lane to match the rest of the landing content column
     (1200px max) so pills never run edge-to-edge of the viewport. */
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
  /* Soft fade on each side so pills enter/exit smoothly inside the bound. */
  mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 14%, black 86%, transparent 100%); }
.lp-marquee-track { display: flex; width: max-content; animation: mq-scroll 32s linear infinite; }
.lp-marquee-row { display: flex; align-items: center; gap: 38px; padding: 12px 24px; flex-shrink: 0; }
@keyframes mq-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Wordmark + brand-colored dot · cleaner than wonky logo SVGs and scales well */
.lp-mqi { display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.02);
  opacity: 0.85; transition: opacity .2s, transform .2s, border-color .2s; }
.lp-mqi:hover { opacity: 1; transform: translateY(-1px); border-color: var(--line-hi); }
.lp-mqi-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--brand-c, var(--up)); box-shadow: 0 0 8px var(--brand-c, var(--up)); }
.lp-mqi b { font-size: 14px; font-weight: 700; letter-spacing: -0.005em;
  color: var(--brand-c, var(--text)); }

/* Brand colors driven by data-brand */
.lp-mqi[data-brand="binance"]  { --brand-c: #F0B90B; }
.lp-mqi[data-brand="coinbase"] { --brand-c: #1652F0; }
.lp-mqi[data-brand="okx"]      { --brand-c: #ffffff; }
.lp-mqi[data-brand="solana"]   { --brand-c: #14F195; }
.lp-mqi[data-brand="phantom"]  { --brand-c: #ab9ff2; }
.lp-mqi[data-brand="pumpfun"]  { --brand-c: #9DFB52; }

/* === "Why DipTix" · hype layout · big, bold, ad-style === */
.manifesto { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Lead is now a punchy oversized statement, not a paragraph */
.manifesto-lead { font-size: 36px; line-height: 1.15; color: var(--text); font-weight: 700;
  margin: 0 0 44px; letter-spacing: -0.025em; max-width: 920px; }
.manifesto-lead b.up   { color: var(--up); }
.manifesto-lead b.down { color: var(--down); }
.manifesto-lead-strike { display: inline-block; color: var(--muted);
  text-decoration: line-through; text-decoration-thickness: 2px;
  text-decoration-color: rgba(255,77,106,0.7); margin-right: 8px; }

/* KPI stats · bigger, with subtle accent under each value */
.manifesto-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  padding: 32px 0; margin: 0 0 56px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ms-stat { display: flex; flex-direction: column; gap: 6px; padding: 0 4px;
  border-left: 1px solid transparent; }
.ms-v { font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  color: var(--text); font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--text) 0%, rgba(232,236,242,0.55) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.ms-v small { font-size: 0.42em; font-weight: 700; margin-left: 2px;
  background: none; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.ms-k { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--muted); font-weight: 700; }

/* Three numbered hype cards · clean, big numbers, headline-led */
.hype-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin: 0 0 56px; }
.hype { position: relative; padding: 28px 22px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, transparent 100%);
  border: 1px solid var(--line); border-radius: 14px;
  transition: transform .2s cubic-bezier(0.2,0.8,0.2,1), border-color .2s, box-shadow .25s; }
.hype::before { content: ""; position: absolute; left: -1px; top: -1px;
  width: 40%; height: 1px;
  background: linear-gradient(90deg, var(--up), transparent); }
.hype:hover { transform: translateY(-3px); border-color: rgba(0,229,138,0.35);
  box-shadow: 0 18px 50px -22px rgba(0,229,138,0.5); }
.hype-num { font-size: 12px; font-weight: 800; color: var(--muted);
  letter-spacing: 2px; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.hype-h { font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 10px; color: var(--text); }
.hype p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }
.hype p kbd { background: var(--bg-3); border: 1px solid var(--line-hi); border-radius: 4px;
  padding: 1px 6px; font-size: 11px; font-family: ui-monospace, monospace; color: var(--text);
  font-weight: 700; }

/* Final CTA banner inside the section · pushy without being obnoxious */
.hype-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 32px; background: linear-gradient(135deg, rgba(0,229,138,0.06) 0%, rgba(255,210,63,0.04) 100%);
  border: 1px solid rgba(0,229,138,0.25); border-radius: 14px;
  box-shadow: 0 20px 60px -28px rgba(0,229,138,0.4); }
.hype-cta-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 2px;
  color: var(--up); font-weight: 800; margin-bottom: 4px; }
.hype-cta-head { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }

@media (max-width: 900px) {
  .manifesto-lead { font-size: 24px; }
  .manifesto-stats { grid-template-columns: 1fr 1fr; gap: 22px; padding: 22px 0; }
  .ms-v { font-size: 36px; }
  .hype-grid { grid-template-columns: 1fr; }
  .hype-cta { flex-direction: column; text-align: center; gap: 16px; padding: 22px; }
}

/* === Feature cards · premium asymmetric layout (legacy · no longer used on landing, kept for any future use) === */
.lp-cards { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr;
  gap: 14px; }
.lp-cards .lp-feat:nth-child(1) { grid-row: span 2; grid-column: span 1; }
.lp-cards .lp-feat:nth-child(6) { grid-column: span 2; }

.lp-feat {
  position: relative; padding: 24px;
  background: linear-gradient(180deg, #0b0d12 0%, #060709 100%);
  border-radius: 14px; overflow: hidden;
  transition: transform .25s cubic-bezier(0.2,0.8,0.2,1), box-shadow .25s;
  isolation: isolate;
}
/* Animated gradient border via padded pseudo · stealth, only visible on hover */
.lp-feat::before {
  content: ""; position: absolute; inset: 0; border-radius: 14px; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  z-index: -1; transition: background .3s;
}
.lp-feat:hover { transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(0,229,138,0.25), 0 0 0 1px rgba(0,229,138,0.18); }
.lp-feat:hover::before {
  background: linear-gradient(135deg, var(--up), var(--accent), var(--accent-2));
}
/* Subtle grain texture overlay for editorial feel · pseudo only, no asset */
.lp-feat::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 100% 0%, rgba(0,229,138,0.08), transparent 35%);
  opacity: 0.65; z-index: -1;
}

.lp-feat-icon { font-size: 30px; margin-bottom: 14px; display: inline-flex;
  width: 52px; height: 52px; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,229,138,0.10), rgba(107,213,255,0.05));
  border: 1px solid rgba(0,229,138,0.18); border-radius: 12px; }
.lp-feat h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; line-height: 1.2; }
.lp-feat p  { color: var(--muted); font-size: 13.5px; margin: 0; line-height: 1.6; max-width: 38ch; }
.lp-feat a  { color: var(--up); font-weight: 700; text-decoration: none; }
.lp-feat a:hover { color: #fff; }
/* The big featured card gets larger typography */
.lp-cards .lp-feat:nth-child(1) h3 { font-size: 26px; line-height: 1.1; margin-bottom: 14px; }
.lp-cards .lp-feat:nth-child(1) p  { font-size: 15px; max-width: 100%; }
.lp-cards .lp-feat:nth-child(1) .lp-feat-icon { width: 64px; height: 64px; font-size: 36px; }
.lp-cards .lp-feat:nth-child(6) p { max-width: 60ch; }

/* === Referral section === */
.lp-section-refer { padding: 80px 32px; max-width: 1200px; margin: 0 auto; }
.lp-refer-card { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  padding: 40px; background: linear-gradient(135deg, rgba(255,210,63,0.06), rgba(0,229,138,0.06));
  border: 1px solid var(--line-hi); border-radius: 16px; box-shadow: 0 30px 70px -25px rgba(255,210,63,0.16); }
.lp-refer-left h2 { font-size: 36px; margin: 18px 0 14px; line-height: 1.15; }
.lp-refer-left p  { color: var(--muted); margin-bottom: 20px; }
.lp-refer-bullets li { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--text); font-size: 14px; }
.lp-bullet-check { display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--up), #0bd07d); color: #061410; font-weight: 900;
  align-items: center; justify-content: center; font-size: 13px; }
.lp-refer-left .lp-cta-primary { margin-top: 18px; }

.lp-refer-visual { display: flex; align-items: center; justify-content: center; }
.lp-refer-flow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 100%; }
.lp-refer-node { display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 18px; background: var(--bg-1); border: 1px solid var(--line-hi); border-radius: 10px;
  min-width: 110px; }
.lp-refer-icon { font-size: 24px; }
.lp-refer-name { font-size: 12px; font-weight: 700; color: var(--text); }
.lp-refer-trade { font-size: 10px; color: var(--muted); margin-top: 4px; }
.lp-refer-arrow { display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  position: relative; min-width: 80px; }
.lp-refer-line { width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--up));
  border-radius: 2px; margin: 4px 0;
  position: relative; overflow: hidden; }
.lp-refer-line::after { content: ""; position: absolute; left: -30%; top: 0; bottom: 0; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  animation: slideThru 2s ease-in-out infinite; }
@keyframes slideThru { to { left: 100%; } }
.lp-refer-arrow-back { color: var(--up); }
.lp-refer-arrow-back .lp-refer-line { background: linear-gradient(90deg, var(--up), var(--accent)); }
.lp-refer-pay { color: var(--up); font-weight: 800; }
.lp-refer-you-out { display: flex; flex-direction: column; align-items: center; padding: 14px 18px;
  background: var(--bg-1); border: 1px solid var(--up); border-radius: 10px;
  box-shadow: 0 8px 24px -8px rgba(0,229,138,0.4); }
.lp-refer-out-v { font-size: 18px; font-weight: 800; color: var(--up); }
.lp-refer-out-k { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* === Final CTA === */
.lp-section-cta { display: flex; justify-content: center; padding: 60px 32px; }
.lp-cta-card { text-align: center; max-width: 720px;
  padding: 50px 36px; background: linear-gradient(135deg, rgba(0,229,138,0.07), rgba(107,213,255,0.07));
  border: 1px solid var(--line-hi); border-radius: 16px;
  box-shadow: 0 30px 70px -25px rgba(0,229,138,0.22); }
.lp-cta-card p { color: var(--muted); margin: 16px auto 28px; max-width: 480px; }
.lp-cta-big { font-size: 17px; padding: 16px 32px; }
.lp-fineprint { font-size: 11px; color: var(--muted); margin-top: 22px !important; }

/* ============ Footer ============ */
.lp-foot-wrap { border-top: 1px solid var(--line); background: #000; margin-top: 60px; }
.lp-foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding: 56px 32px 32px; max-width: 1200px; margin: 0 auto; }
.lp-foot-col h4 { font-size: 11px; font-weight: 800; color: var(--text); margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: 1.5px; }
.lp-foot-col ul { display: flex; flex-direction: column; gap: 8px; }
.lp-foot-col a { color: var(--muted); font-size: 13px; }
.lp-foot-col a:hover { color: var(--text); }
.lp-foot-brand-col .lp-foot-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800;
  font-size: 18px; color: var(--text); margin-bottom: 10px; }
.lp-foot-tag { font-size: 14px; font-weight: 800; margin: 0 0 8px;
  background: linear-gradient(135deg, #6bd5ff, #00e58a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-foot-blurb { font-size: 12px; color: var(--muted); max-width: 280px; margin: 0; line-height: 1.55; }
.lp-foot-social a::before { content: ""; }
.lp-foot-bottom { padding: 18px 32px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  max-width: 1200px; margin: 0 auto; }
.lp-foot-fine { font-size: 11px; color: var(--muted); opacity: 0.8; }
.lp-foot-status { display: inline-flex; align-items: center; gap: 8px; font-size: 11px;
  color: var(--up); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.lp-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up); box-shadow: 0 0 8px var(--up);
  animation: pulse 1.6s ease-in-out infinite; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .lp-nav { padding: 12px 18px; }
  .lp-nav-links { gap: 14px; }
  .lp-nav-links a:not(.lp-cta-mini) { display: none; }
  .lp-hero { grid-template-columns: 1fr; gap: 40px; padding: 50px 22px 70px; }
  .ptw { font-size: 52px; gap: 12px; }
  .lp-section { padding: 60px 22px; }
  .lp-section-refer { padding: 60px 22px; }
  .lp-h2 { font-size: 28px; }
  .lp-cards { grid-template-columns: 1fr; }
  .lp-cards .lp-feat:nth-child(1),
  .lp-cards .lp-feat:nth-child(6) { grid-row: auto; grid-column: auto; }
  .lp-marquee-row { gap: 24px; padding: 12px 14px; }
  .lp-mqi b { font-size: 12px; }
  .lp-howto-row { grid-template-columns: 50px 1fr; }
  .lp-howto-art { grid-column: 1 / -1; height: 80px; }
  .lp-demo-card { transform: none; }
  .lp-refer-card { grid-template-columns: 1fr; gap: 28px; padding: 28px; }
  .lp-refer-flow { gap: 8px; }
  .lp-foot { grid-template-columns: 1fr 1fr; }
}

/* ============ DipTix mascot · giraffe (3 placements) ============ */
/* Wrap every mascot in a container that masks any non-transparent edges by
   blending the image into the black bg via a soft glow + radial mask. */
.mascot-wrap { display: inline-block; position: relative; line-height: 0; }
.mascot-wrap img { display: block; width: 100%; height: auto;
  /* Mix blend "lighten" + a subtle drop-shadow give the mascot a glow that
     softens any off-white edges from the source PNGs into the black canvas. */
  filter: drop-shadow(0 8px 30px rgba(0,229,138,0.35))
          drop-shadow(0 0 18px rgba(107,213,255,0.20));
}
.mascot-wrap::before {
  /* Radial gradient halo around the mascot that fades it into the page bg. */
  content: ""; position: absolute; inset: -10%;
  background: radial-gradient(closest-side, rgba(0,229,138,0.18) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}

/* Hero mascot · diptix1 (next to the headline) · larger so it anchors the hero */
.mascot-hero { width: 360px; height: 360px; flex-shrink: 0;
  animation: mascot-float 5.5s ease-in-out infinite; }
.mascot-hero img { border-radius: 50%; }
@keyframes mascot-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}

/* Feature-section mascot · diptix2 hero-sized, anchors the "Built for traders" section */
.mascot-feature { width: 360px; height: 360px; flex-shrink: 0;
  animation: mascot-float 6s ease-in-out infinite; }
.mascot-feature img { border-radius: 28px; }
.lp-section-head.has-mascot-feature {
  flex-direction: row; gap: 36px; max-width: 980px; margin: 0 auto 40px;
  align-items: center; text-align: left;
}
.lp-section-head.has-mascot-feature .lp-section-head-text {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
}
.lp-section-head.has-mascot-feature .lp-h2 { text-align: left; max-width: 540px; font-size: 44px; }

/* CTA mascot · diptix3 points at the user from the side */
.mascot-cta { width: 220px; height: 220px; flex-shrink: 0;
  animation: mascot-point 2.2s ease-in-out infinite; }
.mascot-cta img { border-radius: 50%; }
@keyframes mascot-point {
  0%, 100% { transform: translateX(0) scale(1); }
  50%      { transform: translateX(8px) scale(1.03); }
}

/* Reorganized layout · hero grid grows to 3 cols when mascot present */
.lp-hero.has-mascot { grid-template-columns: 0.55fr 1.1fr 0.9fr; gap: 32px; }

/* Reorganized CTA · 2 cols with giraffe + text */
.lp-cta-card.has-mascot { display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  align-items: center; text-align: left; max-width: 800px; padding: 36px 40px; }
.lp-cta-card.has-mascot .lp-h2 { margin: 0 0 12px; }

@media (max-width: 900px) {
  .lp-hero.has-mascot { grid-template-columns: 1fr; gap: 30px; }
  .mascot-hero { width: 220px; height: 220px; margin: 0 auto; }
  .mascot-feature { width: 220px; height: 220px; }
  .lp-section-head.has-mascot-feature { flex-direction: column; text-align: center; gap: 22px; }
  .lp-section-head.has-mascot-feature .lp-section-head-text { align-items: center; }
  .lp-section-head.has-mascot-feature .lp-h2 { text-align: center; font-size: 28px; }
  .lp-cta-card.has-mascot { grid-template-columns: 1fr; text-align: center; }
  .mascot-cta { margin: 0 auto; width: 160px; height: 160px; }
}
