/* =========================================================
   AdsClickShield — promo site
   ========================================================= */

:root {
  --bg: #06080f;
  --bg-2: #0b1020;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #eef1f8;
  --muted: #8b93a7;
  --red: #ff3b4e;
  --coral: #ff7a59;
  --amber: #ffcf7a;
  --blue: #7c9cff;
  --violet: #a78bfa;
  --mint: #4ade80;
  --grad: linear-gradient(100deg, var(--red) 0%, var(--coral) 45%, var(--amber) 100%);
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius: 24px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1200px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 0.12em 0.42em;
  border-radius: 6px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}
::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

/* ---------- Ambient layers ---------- */
#field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora span {
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.22;
  mix-blend-mode: screen;
}
.aurora span:nth-child(1) { background: var(--red); top: -25vmax; left: -15vmax; animation: drift1 26s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { background: var(--blue); top: 20vh; right: -25vmax; opacity: 0.16; animation: drift2 32s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { background: var(--violet); bottom: -35vmax; left: 20vw; opacity: 0.12; animation: drift3 38s ease-in-out infinite alternate; }

@keyframes drift1 { to { transform: translate(18vw, 14vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, 22vh) scale(0.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -18vh) scale(1.2); } }

.grain {
  position: fixed;
  inset: -50%;
  z-index: 50;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), margin 0.25s var(--ease-out),
              background 0.25s, border-color 0.25s, opacity 0.3s;
}
.cursor-ring.on { opacity: 1; }
.cursor-ring.hover {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: var(--red);
  background: rgba(255, 59, 78, 0.1);
}
@media (pointer: coarse) { .cursor-ring { display: none; } }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 70;
  background: var(--grad);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 0.85em 1.4em;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: var(--pad);
  border-radius: 999px;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn svg { width: 1.25em; height: 1.25em; }
.btn-sm { --pad: 0.65em 1.1em; font-size: 0.9rem; }
.btn-lg { --pad: 1em 1.6em; font-size: 1.05rem; }
.btn-xl { --pad: 1.15em 2.2em; font-size: 1.2rem; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ff4a5c, #e52b3d 55%, #c81e3a);
  box-shadow: 0 10px 30px -10px rgba(255, 59, 78, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: sheen 4.5s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-primary:hover { box-shadow: 0 16px 44px -10px rgba(255, 59, 78, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3); }

.btn-ghost {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--panel-2); border-color: rgba(255, 255, 255, 0.3); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  transform: translateX(-50%);
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s, top 0.4s;
}
.nav.scrolled {
  top: 10px;
  background: rgba(10, 14, 26, 0.65);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 1.08rem/1 var(--font-display);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- Layout ---------- */
main, .footer { position: relative; z-index: 1; }

.section {
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) 0 0;
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.kicker {
  margin: 0 0 18px;
  font: 500 0.82rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; }
h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1; font-weight: 800; }
h3 { font-size: 1.35rem; line-height: 1.2; font-weight: 600; }
.lede { margin: 22px 0 0; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 620px; }
.muted { color: var(--muted); }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  min-height: 100svh;
  margin: 0 auto;
  padding: 120px 0 90px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--panel);
  font: 500 0.82rem/1 var(--font-mono);
  color: var(--muted);
  backdrop-filter: blur(8px);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.hero-title {
  font-size: clamp(3.3rem, 8.4vw, 7.4rem);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.hero-title .line { display: block; overflow: hidden; padding: 0.04em 0 0.1em; margin-bottom: -0.1em; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%) rotate(6deg);
  transform-origin: 0 100%;
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 150ms);
}
@keyframes rise { to { transform: none; } }
.hero-title .accent {
  position: relative;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  padding-right: 0.06em;
}
.hero-title .accent::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.12em;
  bottom: 0.02em;
  height: 0.09em;
  border-radius: 99px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: draw 0.9s 1.1s var(--ease-out) forwards;
}
@keyframes draw { to { transform: scaleX(1); } }

.hero-sub { margin: 28px 0 0; max-width: 520px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.hero-sub em { color: var(--text); font-style: normal; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.trust b { color: var(--text); font-weight: 600; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid var(--line-2);
  border-radius: 99px;
}
.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--text);
  animation: scrolly 1.8s ease-in-out infinite;
}
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Hero demo ---------- */
.demo { position: relative; perspective: 1400px; }
.browser {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #111830, #0b1022);
  border: 1px solid var(--line-2);
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 0 80px -20px rgba(255, 59, 78, 0.35);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.lights { display: flex; gap: 6px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #2a3150; }
.lights i:nth-child(1) { background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 7px 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  font: 400 0.8rem/1 var(--font-mono);
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.url svg { width: 12px; height: 12px; flex: none; color: var(--mint); }
.url-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.url.hijack { color: var(--red); background: rgba(255, 59, 78, 0.12); animation: shake 0.35s; }
.url.hijack svg { color: var(--red); }
@keyframes shake { 25% { transform: translateX(-4px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } }
.bar-shield { filter: drop-shadow(0 0 6px rgba(255, 59, 78, 0.6)); }
.bar-shield.flash { animation: flash 0.6s; }
@keyframes flash { 40% { transform: scale(1.35); filter: drop-shadow(0 0 14px rgba(255, 59, 78, 1)); } }

.browser-body { position: relative; padding: 18px; overflow: hidden; border-radius: 0 0 18px 18px; }
.player {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 7.5;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 30%, rgba(124, 156, 255, 0.25), transparent 60%),
    radial-gradient(circle at 75% 70%, rgba(255, 59, 78, 0.22), transparent 55%),
    #0a0f1f;
  border: 1px solid var(--line);
}
.play {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0b1020;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.play svg { width: 26px; height: 26px; margin-left: 3px; }
.play.pressed, .skel-btn.pressed { transform: scale(0.9); }

.skel { height: 10px; margin-top: 14px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.13), rgba(255,255,255,0.07)); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.w80 { width: 80%; } .w60 { width: 60%; } .w30 { width: 30%; margin-top: 0; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.skel-btn {
  padding: 9px 14px;
  border-radius: 9px;
  background: var(--blue);
  color: #0b1020;
  font: 600 0.78rem/1 var(--font-body);
  transition: transform 0.2s;
}

.trap {
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  border: 2px dashed transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, border-color 0.35s, transform 0.5s var(--ease-out), background 0.35s;
}
.trap span {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font: 500 0.7rem/1 var(--font-mono);
  letter-spacing: 0.04em;
}
.trap.show {
  opacity: 1;
  border-color: var(--red);
  background: repeating-linear-gradient(-45deg, rgba(255, 59, 78, 0.12) 0 10px, rgba(255, 59, 78, 0.04) 10px 20px);
}
.trap.gone { opacity: 0; transform: scale(1.08); }

.ghost-popup {
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(72%, 300px);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #ffe066, #ff8a00);
  color: #2a1300;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%) scale(0.4);
  opacity: 0;
  pointer-events: none;
}
.gp-bar { display: flex; align-items: center; gap: 5px; padding: 7px 10px; background: rgba(0, 0, 0, 0.18); font: 500 0.66rem/1 var(--font-mono); }
.gp-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 0, 0, 0.35); }
.gp-bar span { margin-left: 6px; }
.gp-body { display: grid; gap: 4px; padding: 18px 16px 20px; text-align: center; }
.gp-body strong { font: 800 1.6rem/1 var(--font-display); letter-spacing: -0.02em; }
.gp-body span { font-size: 0.8rem; }
.ghost-popup.show { animation: popin 0.45s var(--ease-spring) forwards; }
.ghost-popup.shatter { animation: shatter 0.6s var(--ease-out) forwards; }
@keyframes popin { from { opacity: 0; transform: translateX(-50%) scale(0.4); } to { opacity: 1; transform: translateX(-50%) scale(1); } }
@keyframes shatter {
  0% { opacity: 1; transform: translateX(-50%) scale(1); filter: blur(0); }
  100% { opacity: 0; transform: translateX(-50%) scale(0.6) rotate(-8deg) translateY(30px); filter: blur(10px); }
}

.stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 8px 18px;
  border: 4px solid var(--red);
  border-radius: 10px;
  color: var(--red);
  font: 800 2rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(6, 8, 15, 0.6);
  backdrop-filter: blur(2px);
  transform: translate(-50%, -50%) rotate(-12deg) scale(2.4);
  opacity: 0;
  pointer-events: none;
}
.stamp.show { animation: stamp 1.1s var(--ease-out) forwards; }
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.4); }
  18% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(0.95); }
  26% { transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }
}

.fake-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  z-index: 5;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
  transform: translate(80%, 120%);
  transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}
.click-ripple {
  position: absolute;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  border: 2px solid #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.click-ripple.go { animation: ripple 0.6s var(--ease-out); }
@keyframes ripple { from { opacity: 0.9; transform: scale(0.2); } to { opacity: 0; transform: scale(1.6); } }

.glass {
  background: rgba(16, 22, 42, 0.72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.mini-pop {
  position: absolute;
  left: -34px;
  bottom: -46px;
  width: 250px;
  padding: 14px;
  border-radius: 18px;
  z-index: 3;
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-10px); } }
.mp-head { display: flex; align-items: center; gap: 10px; }
.mp-head b { display: block; font: 700 0.92rem/1.1 var(--font-display); }
.mp-head small { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--mint); }
.mp-head small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.mp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.mp-stats div { display: grid; justify-items: center; padding: 8px 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.mp-stats b { font: 800 1.45rem/1 var(--font-display); }
.mp-stats b.bump { animation: bump 0.5s var(--ease-spring); color: var(--red); }
@keyframes bump { 40% { transform: scale(1.5); } }
.mp-stats span { margin-top: 4px; font-size: 0.66rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.log {
  position: absolute;
  top: -28px;
  right: -26px;
  display: grid;
  gap: 8px;
  width: 240px;
  margin: 0;
  padding: 0;
  list-style: none;
  z-index: 3;
}
.log li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  animation: toast 0.5s var(--ease-spring);
}
.log li::before {
  content: "✕";
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 59, 78, 0.18);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
}
.log li.out { animation: toastout 0.4s forwards; }
@keyframes toast { from { opacity: 0; transform: translateX(30px) scale(0.9); } }
@keyframes toastout { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  margin-top: clamp(30px, 6vw, 60px);
  padding: 20px 0;
  background: var(--grad);
  color: #160608;
  transform: rotate(-2deg) scale(1.04);
  overflow: hidden;
  box-shadow: 0 20px 60px -20px rgba(255, 59, 78, 0.6);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font: 800 clamp(1.4rem, 3vw, 2.2rem)/1 var(--font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.marquee-track i { font-style: normal; font-size: 0.7em; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Threats ---------- */
.threats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.threat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease-out), background 0.3s;
}
.threat:hover { border-color: rgba(255, 59, 78, 0.4); background: rgba(255, 59, 78, 0.04); transform: translateY(-6px); }
.threat:nth-child(2) { --d: 0.1s; }
.threat:nth-child(3) { --d: 0.2s; }
.threat h3 { margin-top: 24px; }
.threat p { margin: 12px 0 22px; color: var(--muted); font-size: 0.98rem; }
.tag {
  align-self: flex-start;
  margin-top: auto;
  padding: 6px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 59, 78, 0.5);
  color: var(--red);
  font: 500 0.76rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.threat-art {
  position: relative;
  height: 170px;
  border-radius: 16px;
  background: radial-gradient(circle at 50% 120%, rgba(255, 59, 78, 0.18), transparent 70%), rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line);
  overflow: hidden;
}
.threat-art .x {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 800;
  box-shadow: 0 0 0 8px rgba(255, 59, 78, 0.2), 0 0 40px rgba(255, 59, 78, 0.7);
  transform: translate(-50%, -50%) scale(0) rotate(-90deg);
  transition: transform 0.6s var(--ease-spring) 0.5s;
  z-index: 2;
}
.threat.in .x { transform: translate(-50%, -50%) scale(1) rotate(0); }

.art-popunder .win {
  position: absolute;
  width: 54%;
  height: 58%;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: linear-gradient(#1a2240, #121933);
}
.art-popunder .win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.04); border-radius: 10px 10px 0 0; }
.art-popunder .back { top: 16%; left: 14%; }
.art-popunder .front { top: 30%; left: 32%; background: linear-gradient(160deg, #ffe066, #ff8a00); opacity: 0.85; animation: wobble 3s ease-in-out infinite; }
@keyframes wobble { 50% { transform: translate(8px, -6px) rotate(3deg); } }

.art-trap .page { position: absolute; inset: 18px 22px; display: grid; gap: 10px; align-content: start; }
.art-trap .page i { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.art-trap .page i:nth-child(1) { height: 50px; }
.art-trap .page i:nth-child(3) { width: 60%; }
.art-trap .veil {
  position: absolute;
  inset: 10px;
  border: 2px dashed var(--red);
  border-radius: 12px;
  background: repeating-linear-gradient(-45deg, rgba(255, 59, 78, 0.16) 0 10px, transparent 10px 20px);
  transition: transform 1s var(--ease-out) 0.9s, opacity 1s 0.9s;
}
.threat.in .art-trap .veil { transform: translateY(105%); opacity: 0; }

.art-swap { display: flex; align-items: center; justify-content: center; gap: 14px; }
.art-swap .tab {
  padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: #151c36;
  font: 500 0.8rem/1 var(--font-mono);
  color: var(--muted);
}
.art-swap .t2 { background: linear-gradient(160deg, #ffe066, #ff8a00); color: #2a1300; }
.art-swap .arrow { font-size: 1.6rem; color: var(--muted); animation: swap 1.6s ease-in-out infinite; }
@keyframes swap { 50% { transform: scaleX(-1); } }

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card-xl { grid-column: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; align-items: center; }
.card-tall { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; }
.bento .card:nth-child(3) { --d: 0.05s; }
.bento .card:nth-child(4) { --d: 0.1s; }
.bento .card:nth-child(5) { --d: 0.05s; }
.bento .card:nth-child(6) { --d: 0.1s; }
.bento .card:nth-child(7) { --d: 0.15s; }

.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 59, 78, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}
.spot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 122, 89, 0.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.icon-bubble {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: var(--red);
  background: rgba(255, 59, 78, 0.1);
  border: 1px solid rgba(255, 59, 78, 0.25);
}
.icon-bubble svg { width: 24px; height: 24px; }

.timeline-viz {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line);
  font: 400 0.76rem/1 var(--font-mono);
}
.tv-row { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 12px; }
.tv-label { color: var(--muted); }
.tv-bar {
  position: relative;
  height: 22px;
  border-radius: 6px;
  margin-left: var(--start);
  width: 0;
  transition: width 1.2s var(--ease-out) var(--delay);
}
.shield-bar { --start: 0%; --w: 20%; --delay: 0.1s; background: var(--grad); box-shadow: 0 0 20px rgba(255, 59, 78, 0.5); }
.html-bar { --start: 14%; --w: 70%; --delay: 0.4s; background: linear-gradient(90deg, rgba(124, 156, 255, 0.7), rgba(124, 156, 255, 0.3)); }
.ad-bar {
  --start: 34%;
  --w: 50%;
  --delay: 0.8s;
  background: repeating-linear-gradient(-45deg, rgba(255, 59, 78, 0.35) 0 6px, rgba(255, 59, 78, 0.1) 6px 12px);
  border: 1px dashed var(--red);
  overflow: hidden;
}
.ad-bar em {
  position: absolute;
  top: 50%;
  left: 10px;
  font-style: normal;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(-50%);
  white-space: nowrap;
}
.card.in .tv-bar { width: var(--w); }
.tv-axis { display: flex; justify-content: space-between; margin-left: 116px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); opacity: 0.7; }

.shot {
  margin: 28px -10px -60px;
  padding: 0;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  perspective: 900px;
}
.shot img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(124, 156, 255, 0.4);
  transform: rotate(-3deg) translateY(10px);
  transition: transform 0.6s var(--ease-out);
}
.card-tall:hover .shot img { transform: rotate(0) translateY(-6px); }

/* ---------- Steps ---------- */
.steps {
  --p: 0;
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps::before, .steps::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 36px;
  left: 35px;
  width: 2px;
  border-radius: 2px;
  background: var(--line-2);
}
.steps::after { background: var(--grad); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 16px rgba(255, 59, 78, 0.7); }
.step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  align-items: center;
  padding: 18px 26px 18px 0;
}
.step-num {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  font: 800 1.7rem/1 var(--font-display);
  transition: background 0.5s, border-color 0.5s, box-shadow 0.5s, color 0.5s;
}
.step.lit .step-num { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 8px rgba(255, 59, 78, 0.15), 0 0 40px rgba(255, 59, 78, 0.6); }
.step h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.step p { margin: 6px 0 0; color: var(--muted); }

/* ---------- Free ---------- */
.free { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: clamp(30px, 6vw, 90px); }
.free-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.free-orb::before {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 59, 78, 0.35), transparent 70%);
  filter: blur(20px);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.15); opacity: 0.7; } }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.orbit text { fill: var(--muted); font: 500 14.5px var(--font-mono); letter-spacing: 3.2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.price {
  position: relative;
  font: 800 clamp(6rem, 16vw, 11rem)/1 var(--font-display);
  letter-spacing: -0.06em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 40px rgba(255, 59, 78, 0.4));
}
.checks { display: grid; gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.14);
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 700;
}

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: start; }

.receipt {
  --zig: 10px;
  position: relative;
  padding: 34px 30px 30px;
  background: #f5f1e8;
  color: #1a1a1a;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  transform: rotate(-2.5deg);
  transition: transform 0.6s var(--ease-out), opacity 0.9s var(--ease-out);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
  -webkit-mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zig) * 2) var(--zig) repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - var(--zig) * 2 + 2px) no-repeat;
  mask:
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(var(--zig) * 2) var(--zig) repeat-x,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / calc(var(--zig) * 2) var(--zig) repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - var(--zig) * 2 + 2px) no-repeat;
}
.receipt.reveal { transform: rotate(-2.5deg) translateY(40px); }
.receipt.reveal.in { transform: rotate(-2.5deg); }
.receipt.reveal.in:hover { transform: rotate(0) scale(1.02); }
.r-head { display: grid; justify-items: center; gap: 6px; padding-bottom: 18px; border-bottom: 2px dashed #bbb3a3; text-align: center; }
.r-head b { font: 800 1.3rem/1 var(--font-display); letter-spacing: -0.01em; }
.r-head small { font-size: 0.7rem; letter-spacing: 0.18em; color: #6b6458; }
.receipt dl { margin: 16px 0; display: grid; gap: 10px; }
.receipt dl div { display: flex; align-items: baseline; gap: 8px; }
.receipt dt { color: #4a453c; }
/* Dotted leader between label and value */
.receipt dl div::before { content: ""; order: 1; flex: 1; min-width: 12px; border-bottom: 2px dotted #c9c1b0; transform: translateY(-4px); }
.receipt dd { order: 2; margin: 0; font-weight: 500; white-space: nowrap; }
.r-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 2px dashed #bbb3a3; border-bottom: 2px dashed #bbb3a3; font-weight: 500; }
.r-total b { font: 800 2.2rem/1 var(--font-display); color: #e52b3d; }
.r-total b::after { content: " bytes"; font: 500 0.85rem var(--font-mono); color: #1a1a1a; }
.barcode {
  height: 54px;
  margin: 20px 0 8px;
  background: repeating-linear-gradient(90deg, #1a1a1a 0 2px, transparent 2px 4px, #1a1a1a 4px 5px, transparent 5px 9px, #1a1a1a 9px 12px, transparent 12px 13px, #1a1a1a 13px 14px, transparent 14px 18px);
}
.r-foot { margin: 0; text-align: center; font-size: 0.78rem; color: #6b6458; }

.perms h3 { margin-bottom: 20px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.perm {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.perm > code { justify-self: start; color: var(--amber); background: rgba(255, 207, 122, 0.08); border-color: rgba(255, 207, 122, 0.2); }
.perm p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.perm p b { color: var(--text); font-weight: 600; }
.perm-note {
  grid-template-columns: 40px 1fr;
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: 18px;
  background: rgba(74, 222, 128, 0.05);
}
.perm-note svg { width: 34px; height: 34px; color: var(--mint); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details {
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: background 0.3s, border-color 0.3s;
}
.faq details[open] { background: var(--panel-2); border-color: var(--line-2); }
.faq summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  cursor: pointer;
  list-style: none;
  font: 600 clamp(1.02rem, 1.6vw, 1.15rem)/1.4 var(--font-display);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 26px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: transform 0.35s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { margin: 0; padding: 0 24px 20px; color: var(--muted); }
.faq details[open] p { animation: fadeDown 0.4s var(--ease-out); }
.faq details .btn { margin: 0 24px 22px; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA ---------- */
.cta {
  display: grid;
  justify-items: center;
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  margin: clamp(100px, 14vw, 180px) auto 0;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
  border-radius: 40px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 59, 78, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  overflow: hidden;
}
.cta h2 { max-width: 900px; }
.cta .lede { margin-left: auto; margin-right: auto; }
.cta .btn { margin-top: 36px; }
.fine { margin: 20px 0 0; color: var(--muted); font-size: 0.85rem; }
.cta-shield { position: relative; display: grid; place-items: center; width: 200px; height: 200px; margin-bottom: 30px; }
.cta-shield img { position: relative; width: 110px; height: 110px; filter: drop-shadow(0 0 30px rgba(255, 59, 78, 0.6)); animation: hover 4s ease-in-out infinite; }
@keyframes hover { 50% { transform: translateY(-8px) rotate(-4deg); } }
.pulse {
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pulse 3s var(--ease-out) infinite;
}
.pulse.d2 { animation-delay: 1s; }
.pulse.d3 { animation-delay: 2s; }
@keyframes pulse { from { opacity: 0.8; transform: scale(0.8); } to { opacity: 0; transform: scale(2.2); } }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(calc(100% - 2 * var(--gutter)), var(--maxw));
  margin: 80px auto 0;
  padding: 30px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
.footer p { margin: 0; }
.footer .brand { color: var(--text); }
.footer nav { display: flex; gap: 20px; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--text); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 130px; padding-bottom: 120px; }
  .demo { max-width: 600px; width: 100%; margin: 20px auto 0; }
  .scroll-hint { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-xl { grid-column: span 2; }
  .card-tall { grid-column: auto; grid-row: span 2; }
  .free, .privacy-grid { grid-template-columns: 1fr; }
  .receipt { max-width: 440px; width: 100%; justify-self: center; }
}

@media (max-width: 760px) {
  .threats { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .card-xl { grid-column: auto; grid-template-columns: 1fr; }
  .card-tall { grid-row: auto; }
  .shot { margin-bottom: -80px; max-height: 420px; }
  .perm { grid-template-columns: 1fr; gap: 10px; }
  .perm-note { grid-template-columns: 34px 1fr; }
  /* Stack the overlays under the browser instead of covering it */
  .mini-pop { position: relative; left: auto; bottom: auto; width: min(92%, 300px); margin: -22px auto 0; }
  .log { position: relative; top: auto; right: auto; width: min(92%, 300px); margin: 10px auto 0; }
  .log li:not(:first-child) { display: none; }
  .receipt, .receipt.reveal.in { transform: rotate(-1deg); }
  .hero-title { font-size: clamp(3.1rem, 16vw, 5rem); }
  .tv-row { grid-template-columns: 86px 1fr; }
  .tv-axis { margin-left: 98px; }
}

@media (max-width: 420px) {
  .browser-body { padding: 12px; }
  .stamp { font-size: 1.5rem; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-num { width: 56px; height: 56px; font-size: 1.35rem; }
  .steps::before, .steps::after { left: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .grain { animation: none; }
}
.nowrap { white-space: nowrap; }
.privacy-policy-link { margin-top: 26px; }
