/* ─────────────────────────────────────────────
   Vault Guard Landing — style.css
   Palette: #FFB000 amber / #0b0600 dark / Jura + VT323
───────────────────────────────────────────── */

/* ── Design tokens ── */
:root {
  --a:         #FFB000;
  --a-dim:     #c88a00;
  --a-faint:   rgba(255,176,0,0.08);
  --a-mid:     rgba(255,176,0,0.14);
  --a-glow:    rgba(255,176,0,0.22);
  --bg:        #0b0600;
  --bg2:       #0f0700;
  --bg3:       #160a00;
  --border:    rgba(255,176,0,0.20);
  --border-hi: rgba(255,176,0,0.48);
  --text-aa:   rgba(255,176,0,0.72);
  --text-dim:  rgba(255,176,0,0.45);
  --text-faint:rgba(255,176,0,0.28);
  --font-mono: 'VT323', monospace;
  --font-body: 'Jura', sans-serif;
  --radius:    0px;        /* flat brutalist style */
  --max-w:     1100px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--a);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }
figure { margin: 0; }

/* ── CRT scanlines overlay ── */
.crt-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.06) 2px,
    rgba(0,0,0,0.06) 4px
  );
}

/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11,6,0,0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-icon { width: 26px; height: 26px; image-rendering: pixelated; }

.nav-name {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 4px;
}

.btn-nav {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--a);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  padding: 8px 20px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}

.btn-nav:hover {
  background: var(--a);
  color: #000;
  box-shadow: 0 0 18px rgba(255,176,0,0.25);
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 80px 40px 80px;
  overflow: hidden;
}

/* Ambient glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 72% 50%, rgba(255,176,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Vignette corners */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--text-dim);
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-mono);
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.0;
  letter-spacing: 1px;
  text-shadow: 0 0 40px rgba(255,176,0,0.28);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-aa);
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.hero-note {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--text-dim);
}

/* CRT Monitor in hero */
.hero-monitor {
  border: 2px solid var(--border-hi);
  background: #0e0a04;
  box-shadow:
    0 0 60px rgba(255,176,0,0.10),
    0 0 120px rgba(255,176,0,0.04),
    inset 0 2px 0 rgba(255,176,0,0.06);
}

.monitor-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(255,176,0,0.10);
  background: rgba(0,0,0,0.3);
}

.monitor-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-faint);
}

.monitor-screen { position: relative; overflow: hidden; }

.monitor-img {
  width: 100%;
  display: block;
  filter: sepia(0.2) brightness(0.88) contrast(1.1);
}

.screen-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(4,2,0,0.65) 100%);
  pointer-events: none;
}

.screen-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.18) 3px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
}

.monitor-bottom {
  display: flex;
  justify-content: center;
  padding: 9px 0 11px;
  border-top: 1px solid rgba(255,176,0,0.08);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--a);
  box-shadow: 0 0 6px var(--a), 0 0 14px rgba(255,176,0,0.3);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--a), 0 0 14px rgba(255,176,0,0.3); }
  50%       { opacity: 0.3; box-shadow: 0 0 3px var(--a); }
}

/* Hero dialog preview (below monitor) */
.hero-dialog {
  margin-top: 12px;
  border: 1px solid var(--border);
  background: rgba(15,7,0,0.92);
  padding: 18px 20px;
}

.hero-dialog-text {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--a);
  margin-bottom: 14px;
  line-height: 1.3;
}

.hero-dialog-choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dialog-choice {
  font-size: 12px;
  color: var(--text-aa);
  padding: 5px 10px;
  border: 1px solid rgba(255,176,0,0.12);
  background: rgba(255,176,0,0.03);
  letter-spacing: 0.3px;
  display: flex;
  gap: 8px;
  align-items: baseline;
  transition: background 0.1s, border-color 0.1s;
}

.dialog-choice:hover {
  background: rgba(255,176,0,0.06);
  border-color: rgba(255,176,0,0.25);
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--a);
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   SHARED SECTION STYLES
───────────────────────────────────────────── */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 96px 40px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 5px;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: 2px;
  line-height: 1.08;
  margin-bottom: 56px;
}

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
.testimonials {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
}

.testimonials-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.testimonial {
  display: flex;
  gap: 28px;
  padding: 36px 40px;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: background 0.15s;
}

.testimonial:last-child { border-bottom: none; }

.testimonial:hover { background: rgba(255,176,0,0.025); }

.testimonial-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 88px;
  line-height: 0.62;
  color: var(--border-hi);
  flex-shrink: 0;
  margin-top: 6px;
  text-shadow: 0 0 24px rgba(255,176,0,0.18);
  user-select: none;
}

.testimonials-sub {
  font-size: 16px;
  color: var(--text-aa);
  line-height: 1.75;
  max-width: 680px;
  margin-top: -28px;
  margin-bottom: 48px;
}

.testimonial-text {
  font-size: 19px;
  color: var(--text-aa);
  line-height: 1.68;
  font-style: italic;
  padding-top: 4px;
}

/* ─────────────────────────────────────────────
   HOW IT WORKS
───────────────────────────────────────────── */
.how {
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 72px;
  color: rgba(255,176,0,0.30);
  line-height: 1;
  margin-bottom: 14px;
}

.step-line {
  width: 36px;
  height: 1px;
  background: var(--border-hi);
  margin-bottom: 22px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-aa);
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   DIALOGUE SHOWCASE
───────────────────────────────────────────── */
.showcase {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-terminal {
  border: 2px solid var(--border-hi);
  background: var(--bg3);
  max-width: 780px;
  box-shadow:
    0 0 60px rgba(255,176,0,0.07),
    inset 0 2px 0 rgba(255,176,0,0.05);
}

.showcase-body {
  padding: 32px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-overseer-line {
  font-family: var(--font-mono);
  font-size: 21px;
  color: var(--a);
  line-height: 1.35;
  text-shadow: 0 0 16px rgba(255,176,0,0.2);
}

.showcase-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-choice {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 12px;
  border: 1px solid rgba(255,176,0,0.10);
  background: rgba(255,176,0,0.02);
  flex-wrap: wrap;
}

.showcase-choice-left {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex: 1;
}

.choice-text {
  font-size: 13px;
  color: var(--text-aa);
  letter-spacing: 0.2px;
}

.choice-result {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.choice-allowed { color: #6fcf6f; }
.choice-denied  { color: rgba(255,80,60,0.85); }

.showcase-divider {
  height: 1px;
  background: rgba(255,176,0,0.10);
  margin: 4px 0;
}

.showcase-footer-note {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.showcase-override-text {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */
.faq {
  border-bottom: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 740px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  background: transparent;
  border: none;
  color: var(--a);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: left;
  transition: color 0.12s;
}

.faq-q:hover { color: #FFD55A; }

.faq-icon {
  font-size: 24px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.22s ease;
  line-height: 1;
}

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
}

.faq-q[aria-expanded="true"] + .faq-a {
  max-height: 400px;
}

.faq-a p {
  padding-bottom: 22px;
  font-size: 14px;
  color: var(--text-aa);
  line-height: 1.78;
}

/* ─────────────────────────────────────────────
   FINAL CTA
───────────────────────────────────────────── */
.final-cta {
  background: var(--bg);
}

.cta-monitor {
  border: 2px solid var(--border-hi);
  background: var(--bg2);
  max-width: 680px;
  margin: 0 auto;
  box-shadow:
    0 0 80px rgba(255,176,0,0.08),
    0 0 160px rgba(255,176,0,0.03);
}

.cta-content {
  padding: 52px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.cta-speech {
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.45;
  color: var(--a);
  max-width: 520px;
  text-shadow: 0 0 20px rgba(255,176,0,0.18);
}

.cta-name {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
  margin-top: -8px;
}

.cta-note {
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--a);
  color: #000;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border: 2px solid var(--a);
  transition: background 0.14s, color 0.14s, box-shadow 0.14s;
  position: relative;
}

.btn-primary:hover {
  background: transparent;
  color: var(--a);
  box-shadow: 0 0 24px rgba(255,176,0,0.22);
}

.btn-primary.btn-large {
  font-size: 15px;
  padding: 18px 44px;
  letter-spacing: 2px;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg3);
  padding: 32px 40px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 3px;
  text-decoration: none;
}

.footer-icon {
  width: 20px;
  height: 20px;
  opacity: 0.65;
  image-rendering: pixelated;
}

.footer-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: color 0.12s;
}

.footer-links a:hover { color: var(--a); }

.footer-legal {
  font-size: 11px;
  color: var(--text-faint);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  letter-spacing: 0.3px;
}

.gdpr-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 10px;
  border: 1px solid rgba(255,176,0,0.22);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: border-color 0.14s, color 0.14s;
  align-self: flex-end;
}

.gdpr-badge:hover {
  border-color: var(--border-hi);
  color: var(--a);
}

.gdpr-icon { font-size: 10px; }

/* ─────────────────────────────────────────────
   DONATE SECTION
───────────────────────────────────────────── */
.donate {
  padding: 96px 40px;
  border-top: 1px solid var(--border);
}

.donate-sub {
  font-size: 16px;
  color: var(--text-aa);
  line-height: 1.75;
  max-width: 600px;
  margin-top: -20px;
  margin-bottom: 40px;
}

.donate-terminal {
  border: 1px solid var(--border-hi);
  background: var(--bg3);
  max-width: 720px;
}

.donate-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.donate-row:last-child {
  border-bottom: none;
}

.donate-coin-wrap {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 80px;
}

.donate-coin {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--a);
  line-height: 1;
}

.donate-net {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-top: 3px;
  text-transform: uppercase;
}

.donate-addr {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-aa);
  letter-spacing: 0.5px;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.donate-copy {
  background: transparent;
  border: 1px solid var(--border-hi);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 2px;
  padding: 5px 16px;
  cursor: pointer;
  transition: all 0.12s;
  flex-shrink: 0;
}

.donate-copy:hover {
  background: var(--a-faint);
  border-color: var(--a);
  color: var(--a);
}

.donate-copy.donate-copy-success {
  border-color: #4cdb6e;
  color: #4cdb6e;
  background: rgba(76, 219, 110, 0.07);
}

.donate-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  max-width: 720px;
}

/* ─────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  transition-delay: 0.18s;
}

/* ─────────────────────────────────────────────
   RESPONSIVE — tablet (text top, overseer below)
───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  /* visual moves below the text on tablet/phone */
  .hero-visual { order: 1; }
  .hero-text   { order: 0; }

  .hero-title { font-size: clamp(38px, 7vw, 56px); }

  .testimonial { padding: 28px 28px; gap: 20px; }
  .testimonial-mark { font-size: 64px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }

  .cta-content { padding: 36px 32px; }
}

/* ─────────────────────────────────────────────
   RESPONSIVE — mobile
───────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-inner     { padding: 13px 20px; }
  .hero          { padding: 56px 20px; }
  .section-inner { padding: 64px 20px; }
  .footer        { padding: 28px 20px; }

  .hero-title { font-size: clamp(34px, 10vw, 50px); }
  .section-title { font-size: clamp(28px, 8vw, 42px); }

  .testimonial { padding: 22px 18px; gap: 14px; }
  .testimonial-mark { font-size: 52px; }
  .testimonial-text { font-size: 16px; }

  .showcase-body { padding: 22px 20px 20px; }
  .showcase-choice { flex-direction: column; gap: 6px; }
  .choice-result { white-space: normal; }

  .cta-content { padding: 28px 20px; }
  .cta-speech  { font-size: 18px; }

  .donate-row { flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
  .donate-addr { font-size: 12px; width: 100%; }
  .donate-copy { width: 100%; text-align: center; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-legal { text-align: left; }
  .gdpr-badge { align-self: flex-start; }

  .footer-links { flex-wrap: wrap; gap: 16px; }
}
