@import url('https://fonts.googleapis.com/css2?family=Anton&family=IBM+Plex+Mono:wght@400;500;700&display=swap');

:root {
  --ink: #07050b;
  --paper: #e8e0e9;
  --muted: #9b8fa0;
  --blood: #d00038;
  --hot: #ff174f;
  --violet: #6b27ff;
  --line: rgba(232, 224, 233, .18);
  --mono: "IBM Plex Mono", Consolas, monospace;
  --display: Anton, Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 14% 8%, rgba(107, 39, 255, .16), transparent 30rem),
    radial-gradient(circle at 88% 32%, rgba(208, 0, 56, .12), transparent 35rem),
    var(--ink);
  font-family: var(--mono);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.025) 4px);
  mix-blend-mode: overlay;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--blood); color: white; }

#blood-rain { position: fixed; inset: 0; z-index: 5; pointer-events: none; opacity: .65; }
.noise {
  position: fixed; inset: -50%; z-index: 31; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  animation: noise .22s steps(2) infinite;
}
.cursor-glow {
  position: fixed; width: 22rem; height: 22rem; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, rgba(208, 0, 56, .12), transparent 66%); transform: translate(-50%, -50%);
}

.topbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 0 4vw;
  border-bottom: 1px solid var(--line); background: rgba(7,5,11,.72); backdrop-filter: blur(14px);
}
.brand { font-family: var(--display); font-size: 1.45rem; letter-spacing: .12em; text-decoration: none; color: white; }
nav { display: flex; gap: clamp(1rem, 3vw, 3.4rem); }
nav a { font-size: .73rem; letter-spacing: .14em; text-decoration: none; }
nav a:hover { color: var(--hot); }
.menu-toggle { display: none; color: white; border: 1px solid var(--line); background: transparent; padding: .55rem .8rem; }

main { position: relative; z-index: 1; }
.hero { min-height: 100svh; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; padding: 110px 4vw 50px; gap: 5vw; }
.hero-art { position: relative; transform: rotate(-2deg); }
.image-frame {
  position: relative; aspect-ratio: 1; overflow: hidden; clip-path: polygon(3% 0,100% 4%,97% 95%,66% 100%,0 94%,2% 38%);
  filter: saturate(1.12) contrast(1.1) drop-shadow(0 0 28px rgba(107,39,255,.35));
}
.image-frame::before { content: ""; position: absolute; inset: 0; z-index: 2; border: 2px solid rgba(255,23,79,.8); mix-blend-mode: screen; }
.image-frame::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(110deg, transparent 45%, rgba(255,255,255,.18) 48%, transparent 51%); animation: flash 7s infinite; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; animation: breathe 8s ease-in-out infinite alternate; }
.hero-art::before, .hero-art::after { position: absolute; z-index: 4; font-size: .65rem; background: var(--paper); color: var(--ink); padding: .35rem .55rem; box-shadow: 6px 6px 0 var(--blood); }
.hero-art::before { content: "FIG. 001 / NO SIGNAL"; top: 2%; left: -2%; transform: rotate(3deg); }
.hero-art::after { content: "WARNING: VISUAL HAZARD"; right: -2%; bottom: 5%; transform: rotate(-3deg); }

.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 1.2rem; color: var(--hot); font-weight: 700; font-size: clamp(.67rem, 1vw, .82rem); letter-spacing: .12em; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .91; letter-spacing: .015em; }
h1 { font-size: clamp(4rem, 8.5vw, 9.2rem); text-wrap: balance; }
.hero-lead { max-width: 630px; margin: 2rem 0; color: #c1b7c5; font-size: clamp(.9rem, 1.2vw, 1.05rem); line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.button { position: relative; display: inline-flex; justify-content: center; padding: 1rem 1.35rem; border: 1px solid var(--paper); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-decoration: none; transition: .2s ease; }
.button-primary { border-color: var(--blood); background: var(--blood); box-shadow: 7px 7px 0 rgba(107,39,255,.85); }
.button-primary:hover { background: var(--hot); transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--violet); }
.button-ghost:hover { color: var(--ink); background: var(--paper); }
.signal { margin-top: 2.4rem; color: var(--muted); font-size: .67rem; letter-spacing: .12em; }
.signal span { display: inline-block; width: .55rem; height: .55rem; margin-right: .35rem; border-radius: 50%; background: var(--hot); box-shadow: 0 0 14px var(--hot); animation: blink 1.2s infinite; }

.ticker { position: relative; overflow: hidden; padding: .7rem 0; color: var(--ink); background: var(--hot); transform: rotate(-1deg) scale(1.02); font-weight: 800; z-index: 4; }
.ticker-track { display: flex; width: max-content; animation: ticker 24s linear infinite; }
.ticker span { padding-right: 1.5rem; white-space: nowrap; }

.section { padding: clamp(6rem, 10vw, 10rem) 4vw; }
.section-heading { display: grid; grid-template-columns: 1fr 1.3fr; align-items: end; margin-bottom: 3rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2, .about h2 { font-size: clamp(4.2rem, 10vw, 10rem); }
.section-heading > p:last-child { justify-self: end; max-width: 560px; color: var(--muted); line-height: 1.7; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.price-card { position: relative; min-height: 370px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: rgba(18,13,23,.56); transition: transform .25s, background .25s; }
.price-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 65%, rgba(107,39,255,.18)); opacity: 0; transition: opacity .25s; }
.price-card:hover { z-index: 2; background: #17101e; transform: translateY(-8px); }
.price-card:hover::after { opacity: 1; }
.price-card.featured { background: linear-gradient(145deg, rgba(208,0,56,.26), rgba(14,8,18,.85)); }
.price-card.custom { background: rgba(107,39,255,.11); }
.card-index { position: absolute; right: 1.3rem; top: .5rem; color: rgba(255,255,255,.05); font-family: var(--display); font-size: 7rem; line-height: 1; }
.tag { display: inline-block; margin: 0 0 3rem; padding: .3rem .5rem; border: 1px solid var(--blood); color: var(--hot); font-size: .62rem; letter-spacing: .12em; }
.price-card h3 { position: relative; margin: 0; max-width: 14ch; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; letter-spacing: .03em; }
.price-card > p:not(.tag) { position: relative; color: var(--muted); font-size: .78rem; line-height: 1.65; max-width: 38ch; }
.price { position: absolute; left: 2rem; bottom: 4.6rem; font-family: var(--display); font-size: 2.15rem; }
.price small { color: var(--hot); font: 600 .62rem var(--mono); }
.price-card > a { position: absolute; left: 2rem; bottom: 2rem; z-index: 2; color: var(--paper); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.price-card > a:hover { color: var(--hot); }

.about { display: grid; grid-template-columns: minmax(280px, .85fr) 1.15fr; gap: 8vw; align-items: center; }
.about-visual { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); clip-path: polygon(0 0, 93% 3%, 100% 93%, 8% 100%); }
.about-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5) contrast(1.35) hue-rotate(8deg); transform: scale(1.2); }
.about-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(107,39,255,.25), transparent 45%, rgba(208,0,56,.4)); mix-blend-mode: color; }
.about-visual > span { position: absolute; z-index: 3; bottom: 1.2rem; left: 1.2rem; color: white; font-size: .65rem; }
.scanner { position: absolute; z-index: 4; top: -15%; left: 0; width: 100%; height: 5px; background: var(--hot); box-shadow: 0 0 28px 8px var(--blood); animation: scan 4s linear infinite; }
.about-copy > p:not(.eyebrow) { max-width: 650px; margin: 2rem 0; color: var(--muted); line-height: 1.8; }
.about-copy ul { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.about-copy li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.about-copy li span { display: inline-block; width: 4rem; color: var(--hot); }

.contact { text-align: center; border-top: 1px solid var(--line); background: radial-gradient(circle at 50% 60%, rgba(208,0,56,.24), transparent 35rem); }
.contact h2 { font-size: clamp(5rem, 17vw, 16rem); }
.contact > p:not(.eyebrow) { max-width: 650px; margin: 2rem auto 3rem; color: var(--muted); line-height: 1.7; }
.big-link { display: inline-block; position: relative; padding: 1rem 0; font-family: var(--display); font-size: clamp(1.8rem, 4vw, 4rem); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.big-link:hover { color: var(--hot); }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 3rem; margin-top: 4rem; }
.socials a { font-size: .72rem; letter-spacing: .1em; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .35rem; }
.socials a:hover { color: var(--hot); border-color: var(--hot); }

footer { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 4vw; border-top: 1px solid var(--line); color: var(--muted); font-size: .62rem; letter-spacing: .08em; }
footer b { color: var(--hot); }

.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.glitch:hover::before { opacity: .7; color: #00f0ff; transform: translate(-4px, 1px); clip-path: inset(12% 0 60%); }
.glitch:hover::after { opacity: .7; color: var(--hot); transform: translate(4px, -1px); clip-path: inset(62% 0 12%); }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@keyframes noise { 0%{transform:translate(0)} 25%{transform:translate(2%,-1%)} 50%{transform:translate(-1%,2%)} 75%{transform:translate(1%,1%)} 100%{transform:translate(-2%,-1%)} }
@keyframes breathe { to { transform: scale(1.05); filter: hue-rotate(-8deg); } }
@keyframes flash { 0%,75%,100%{transform:translateX(-130%)} 86%{transform:translateX(130%)} }
@keyframes blink { 50%{opacity:.2} }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes scan { to { top: 115%; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; }
  .hero-art { width: min(88vw, 650px); margin-inline: auto; }
  .hero-copy { margin-top: -12vw; padding-left: 3vw; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 4vw; }
}

@media (max-width: 680px) {
  .topbar { min-height: 60px; }
  .menu-toggle { display: block; }
  nav { display: none; position: absolute; top: 59px; left: 0; width: 100%; padding: 1.5rem 4vw; flex-direction: column; background: rgba(7,5,11,.96); border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  .hero { padding-top: 85px; }
  .hero-copy { margin-top: -8vw; padding-left: 0; }
  h1 { font-size: clamp(3.7rem, 19vw, 6rem); }
  .section { padding-inline: 5vw; }
  .section-heading { display: block; }
  .section-heading > p:last-child { margin-top: 1.5rem; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card { min-height: 340px; }
  .about { grid-template-columns: 1fr; }
  .about-copy { order: -1; }
  .about h2 { font-size: 18vw; }
  footer { flex-direction: column; }
  .cursor-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
  #blood-rain, .noise { display: none; }
}
