/* ─── SELF-HOSTED FONTS ─── */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/jetbrains-mono-latin-800-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/outfit-latin-300-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/outfit-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/outfit-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/outfit-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/outfit-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/outfit-latin-800-normal.woff2') format('woff2');
}

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

:root {
  --phosphor: #39FF14;
  --phosphor-dim: #39ff1433;
  --phosphor-mid: #39ff1488;
  --ember: #FF6B2C;
  --ember-dim: #FF6B2C33;
  --bg-deep: #0A0C0F;
  --bg-card: #0F1216;
  --bg-surface: #141820;
  --text-primary: #E8ECF1;
  --text-secondary: #7A8494;
  --text-muted: #4A5568;
  --border: #1E2430;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-display);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scanline overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* Ambient glow */
.glow-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.glow-orb--green { background: var(--phosphor); top: -200px; left: -100px; }
.glow-orb--ember { background: var(--ember); bottom: -300px; right: -200px; opacity: 0.08; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,12,15,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--phosphor);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .chevron {
  color: var(--text-muted);
  font-weight: 300;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text-primary); }

.nav-disabled {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  cursor: default;
}

.btn-nav {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
  background: transparent;
  border: 1px solid var(--phosphor);
  color: var(--phosphor);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-links a.btn-nav:hover {
  background: var(--phosphor);
  color: #000000;
}

/* ─── BUTTONS ─── */
.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.85rem 2rem;
  background: var(--phosphor);
  color: var(--bg-deep);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  box-shadow: 0 0 30px var(--phosphor-dim), 0 0 60px rgba(57,255,20,0.1);
  transform: translateY(-1px);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* ─── SECTION SHARED ─── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--phosphor);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  font-weight: 300;
  margin-bottom: 4rem;
}

/* ─── CTA / WAITLIST ─── */
.cta-section {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 8rem;
}

.cta-box {
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--phosphor), transparent);
}

.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

/* ─── WAITLIST FORM ─── */
.waitlist-form {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 180px;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-field input {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.form-field input::placeholder {
  color: var(--text-muted);
}

.form-field input:focus {
  border-color: var(--phosphor-mid);
}

.waitlist-form .btn-primary {
  align-self: flex-end;
  margin-top: 0.35rem;
  white-space: nowrap;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 1rem;
  text-align: center;
}

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover { color: var(--phosphor); }
footer .nav-disabled { color: var(--text-muted); cursor: default; }

/* ─── CONTENT PAGE (impressum etc.) ─── */
.content-page {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.content-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.content-page h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--phosphor);
}

.content-page p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.content-page a {
  color: var(--phosphor);
  text-decoration: none;
  transition: opacity 0.2s;
}
.content-page a:hover { opacity: 0.7; }

.content-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.content-page .back-link:hover { color: var(--phosphor); }

/* ─── ANIMATIONS ─── */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ─── DESKTOP FONT BOOST ─── */
@media (min-width: 901px) {
  body { font-size: 1.1rem; }
  .nav-logo { font-size: 1.25rem; }
  .nav-links a { font-size: 0.9rem; }
  .btn-nav { font-size: 0.9rem; }
  .btn-primary { font-size: 1rem; }
  .btn-secondary { font-size: 1rem; }
  .section-label { font-size: 0.85rem; }
  .section-title { font-size: clamp(2.4rem, 4.5vw, 3.5rem); }
  .section-desc { font-size: 1.2rem; }
  .cta-box h2 { font-size: clamp(2.4rem, 4.5vw, 3.5rem); }
  .cta-box p { font-size: 1.2rem; }
  footer { font-size: 0.85rem; }
  .content-page p { font-size: 1.1rem; }
  .content-page h2 { font-size: 1.5rem; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .cta-box { padding: 3rem 1.5rem; }
  .waitlist-form { flex-direction: column; }
  .waitlist-form .btn-primary { align-self: stretch; justify-content: center; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
}
