/* === F33RVOID — Y2K CYBER DYSTOPIAN === */

:root {
  --bg: #0a0a0a;
  --bg-alt: #111111;
  --fg: #e0e0e0;
  --fg-dim: #666666;
  --accent: #c41e3a;
  --accent-glow: rgba(196, 30, 58, 0.3);
  --chrome: #b8b8b8;
  --chrome-bright: #d4d4d4;
  --neon: #ff2d55;
  --neon-glow: rgba(255, 45, 85, 0.15);
  --void: #050505;
  --warn: #ff6b35;
  --green: #00ff88;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
  overflow: hidden;
}

.glitch-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(196, 30, 58, 0.03) 2px,
      rgba(196, 30, 58, 0.03) 4px
    );
  pointer-events: none;
  z-index: 2;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 1px,
    rgba(0,0,0,0.15) 1px,
    rgba(0,0,0,0.15) 2px
  );
  pointer-events: none;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 2rem;
}

.error-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.7;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 800;
  color: var(--chrome-bright);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-shadow:
    0 0 40px var(--accent-glow),
    0 0 80px rgba(196, 30, 58, 0.1);
  position: relative;
}

.brand-name::after {
  content: attr(data-text);
  position: absolute;
  left: 3px;
  top: 2px;
  color: var(--accent);
  opacity: 0.1;
  z-index: -1;
}

.tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--fg-dim);
  letter-spacing: 0.15em;
  margin-top: 1.5rem;
  text-transform: lowercase;
}

.hero-meta {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.meta-item {
  color: var(--chrome);
}

.meta-divider {
  color: var(--accent);
  opacity: 0.5;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.grid-line {
  position: absolute;
  background: var(--accent);
  opacity: 0.04;
}

.gl-1 { width: 1px; height: 100%; left: 25%; }
.gl-2 { width: 1px; height: 100%; left: 50%; }
.gl-3 { width: 1px; height: 100%; left: 75%; }
.gl-4 { width: 100%; height: 1px; top: 50%; }

/* === SIGNAL SECTION === */

.signal {
  padding: 8rem 2rem;
  background: var(--bg);
  border-top: 1px solid rgba(196, 30, 58, 0.1);
}

.signal-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(196, 30, 58, 0.2);
  background: rgba(196, 30, 58, 0.05);
}

.signal-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--chrome-bright);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.highlight {
  color: var(--accent);
}

.signal-left p {
  color: var(--fg-dim);
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 480px;
}

.code-block {
  background: var(--void);
  border: 1px solid rgba(196, 30, 58, 0.15);
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 2.2;
}

.code-line {
  padding-left: 1rem;
  border-left: 2px solid transparent;
}

.code-line:hover {
  border-left-color: var(--accent);
  background: rgba(196, 30, 58, 0.03);
}

.code-comment {
  color: var(--fg-dim);
  opacity: 0.5;
}

.code-key {
  color: var(--chrome);
}

.code-val {
  color: var(--green);
}

.code-val.err {
  color: var(--accent);
}

.code-val.warn {
  color: var(--warn);
}

/* === PRODUCTS === */

.products {
  padding: 8rem 2rem;
  background: var(--bg-alt);
  text-align: center;
}

.products h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--chrome-bright);
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.product-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--void);
  border: 1px solid rgba(184, 184, 184, 0.08);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: border-color 0.3s ease;
}

.product-card:hover {
  border-color: var(--accent);
}

.product-visual {
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.product-icon {
  font-size: 3rem;
  color: var(--chrome);
  opacity: 0.3;
}

.product-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--chrome-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.product-desc {
  font-size: 0.78rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-range {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--chrome-bright);
  font-weight: 700;
}

.product-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(196, 30, 58, 0.3);
}

/* === DROPS === */

.drops {
  padding: 8rem 2rem;
  background: var(--bg);
  border-top: 1px solid rgba(196, 30, 58, 0.1);
}

.drops-container {
  max-width: 900px;
  margin: 0 auto;
}

.drops h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--chrome-bright);
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.drops-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drop-rule {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(184, 184, 184, 0.06);
}

.drop-rule:first-child {
  border-top: 1px solid rgba(184, 184, 184, 0.06);
}

.rule-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.4;
  line-height: 1;
  min-width: 60px;
}

.rule-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--chrome-bright);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.rule-content p {
  font-size: 0.82rem;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 500px;
}

/* === CLOSING === */

.closing {
  padding: 10rem 2rem;
  background: var(--void);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.15;
  pointer-events: none;
}

.closing-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.deco-line {
  width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
}

.deco-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.3em;
  opacity: 0.5;
}

.closing-statement {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--chrome-bright);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.closing-sub {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--fg-dim);
  max-width: 500px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.status-bar {
  width: 200px;
  height: 2px;
  background: rgba(184, 184, 184, 0.1);
  margin: 0 auto 1rem;
  overflow: hidden;
}

.status-fill {
  width: 35%;
  height: 100%;
  background: var(--accent);
}

.status-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--fg-dim);
  letter-spacing: 0.2em;
  opacity: 0.4;
}

/* === DROP CTA BUTTON === */

.drop-cta {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 1.1rem 3rem;
  background: var(--accent);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, letter-spacing 0.2s ease;
  position: relative;
  z-index: 1;
}

.drop-cta:hover {
  background: var(--neon);
  box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(196, 30, 58, 0.12);
  letter-spacing: 0.3em;
}

/* === FOOTER === */

.site-footer {
  padding: 3rem 2rem;
  background: var(--bg);
  border-top: 1px solid rgba(184, 184, 184, 0.06);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--chrome);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.footer-info {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--fg-dim);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
}

.footer-divider {
  margin: 0 0.8rem;
  opacity: 0.3;
}

.footer-signal {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.15em;
  opacity: 0.3;
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
  .signal-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .meta-divider {
    display: none;
  }

  .drop-rule {
    flex-direction: column;
    gap: 1rem;
  }

  .rule-number {
    font-size: 1.8rem;
  }

  .closing-decoration {
    gap: 0.8rem;
  }

  .deco-line {
    width: 30px;
  }

  .signal,
  .products,
  .drops {
    padding: 5rem 1.5rem;
  }

  .closing {
    padding: 6rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 3.5rem;
  }

  .product-card {
    padding: 2rem 1.5rem;
  }

  .code-block {
    padding: 1.5rem;
    font-size: 0.7rem;
  }
}