/* ═══════════════════════════════════════════
   INTRAI TECHNOLOGIES — Landing (Fase 0)
   Estilos: deep tech · oscuridad activa · precisión técnica
════════════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  /* Fondos */
  --bg-void:       #030810;
  --bg-deep:       #060C1A;
  --bg-surface:    #0A1020;
  --bg-elevated:   #0F1A2E;

  /* Bordes y separadores */
  --border-subtle: #111E35;
  --border-dim:    #1A2E4A;
  --border-active: #1E3D60;

  /* Texto */
  --text-primary:   #E8F0FF;
  --text-secondary: #8A9EC0;
  --text-muted:     #3A4E6A;
  --text-ghost:     #1E2E44;

  /* Teal */
  --teal-bright: #00C8D2;
  --teal-mid:    #009AA3;
  --teal-dim:    #004A50;
  --teal-ghost:  #001820;

  /* Blue */
  --blue-bright: #4A9EFF;
  --blue-mid:    #2A6EC0;
  --blue-dim:    #0A2A50;

  /* Sizing / layout */
  --navbar-h: 64px;
  --container: 1200px;
  --radius-sharp: 2px;

  /* Transitions */
  --t-fast: 0.15s;
  --t-med:  0.25s;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  cursor: crosshair;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-bright); }
a:focus-visible { outline: 1px solid var(--teal-bright); outline-offset: 2px; }

button { font-family: inherit; cursor: pointer; }
button, input { cursor: crosshair; }
input:focus-visible, button:focus-visible {
  outline: 1px solid var(--teal-bright);
  outline-offset: 2px;
}

img, svg { display: block; max-width: 100%; }

/* ── Layout helpers ── */
.container {
  width: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
}
.container-narrow { max-width: 720px; }

/* ═══════════════════════════════════════════
   GLOBAL EFFECTS
════════════════════════════════════════════ */

/* Grid HUD */
.bg-grid {
  background-image:
    linear-gradient(rgba(0,200,210,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,210,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Noise overlay */
.noise-overlay::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.9'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: overlay;
  z-index: 1000;
}

/* Scanline CRT */
.scanline::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
  z-index: 999;
}

/* ═══════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  z-index: 50;
  background: rgba(3, 8, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  animation: fade-down 0.6s ease 0.2s both;
}

.navbar-inner {
  height: 100%;
  max-width: var(--container);
  padding: 0 24px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-symbol { flex-shrink: 0; }

.brand-sep {
  display: block;
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--border-dim), transparent);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.brand-name {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: var(--text-primary);
}

.brand-hl { color: var(--teal-bright); }

.brand-sub {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Status badge (navbar right) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  background: var(--bg-surface);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 8px var(--teal-bright);
  animation: pulse 2s ease-in-out infinite;
}

/* Navbar nav */
.navbar-nav {
  display: flex;
  align-items: center;
}
.nav-link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sharp);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.nav-link:hover {
  color: var(--teal-bright);
  border-color: var(--border-dim);
}

/* Navbar right group */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 2px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  overflow: hidden;
}
.lang-btn {
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background var(--t-fast), color var(--t-fast);
}
.lang-btn:hover {
  color: var(--text-secondary);
  background: var(--bg-elevated);
}
.lang-btn.active {
  color: var(--teal-bright);
  background: var(--bg-surface);
}

/* Responsive nav */
@media (max-width: 768px) {
  .brand-wordmark, .brand-sep { display: none; }
  .nav-link { font-size: 0.58rem; letter-spacing: 0.15em; padding: 5px 8px; }
  .status-badge { padding: 6px 10px; font-size: 0.58rem; letter-spacing: 0.25em; }
  .lang-btn { padding: 5px 7px; font-size: 0.55rem; }
}

/* ═══════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--navbar-h) + 48px) 24px 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 40%;
  left: 50%;
  width: min(800px, 110vw);
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(0,200,210,0.08) 0%, rgba(74,158,255,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,200,210,0.4), transparent);
  animation: scan 6s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Badge general */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  background: var(--bg-surface);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 8px var(--teal-bright);
  animation: pulse 2s ease-in-out infinite;
}

/* Headline */
.hero-headline {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-line { display: block; opacity: 0; }
.hero-line-accent { color: var(--teal-bright); }

.hero-sub {
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.6;
  opacity: 0;
}

/* Divider line */
.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 560px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--text-ghost);
  text-transform: uppercase;
  opacity: 0;
}

/* ═══════════════════════════════════════════
   LAUNCH GRID (3 columns)
════════════════════════════════════════════ */
.launch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 960px;
  opacity: 0;
}

.launch-card {
  padding: 28px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}

.launch-card-active {
  border-color: var(--teal-dim);
  box-shadow: 0 0 30px rgba(0, 200, 210, 0.06);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.launch-card-active:hover {
  border-color: var(--teal-bright);
  box-shadow: 0 0 40px rgba(0, 200, 210, 0.12);
  transform: translateY(-2px);
}

.launch-card-soon {
  border-color: var(--border-dim);
  opacity: 0.6;
  transition: opacity var(--t-med);
}
.launch-card-soon:hover { opacity: 0.8; }

.launch-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.launch-card-active .launch-card-header { color: var(--teal-bright); }

.launch-logo {
  display: block;
  max-width: 200px;
  height: auto;
}

/* Compact countdown inside card */
.launch-countdown {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.launch-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  min-width: 52px;
  background: var(--bg-deep);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
}

.launch-cd-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.launch-cd-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.launch-cd-sep {
  flex-shrink: 0;
  align-self: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  color: var(--border-active);
  transition: opacity 0.4s ease;
}
.launch-cd-sep.dim { opacity: 0.25; }

.countdown-launched[hidden] { display: none; }
.countdown-launched {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--teal-bright);
  background: rgba(0, 200, 210, 0.06);
  color: var(--teal-bright);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Coming soon column */
.launch-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

.launch-soon-icon {
  opacity: 0.25;
}
.launch-soon-icon svg { display: block; }

.launch-soon-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.launch-soon-line {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: var(--border-dim);
  letter-spacing: 0.15em;
}

@media (max-width: 768px) {
  .launch-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
  .launch-card-active {
    grid-column: 1 / -1;
  }
  .launch-card { padding: 20px 16px; gap: 14px; }
  .launch-logo { max-width: 160px; }
  .launch-cd-unit { min-width: 44px; padding: 8px 8px; }
  .launch-cd-num { font-size: 1.3rem; }
  .launch-cd-sep { font-size: 1rem; }
  .launch-soon { padding: 12px 0; gap: 10px; }
}
@media (max-width: 400px) {
  .launch-cd-unit { min-width: 38px; padding: 6px 6px; }
  .launch-cd-num { font-size: 1.1rem; }
  .launch-logo { max-width: 140px; }
}
@media (min-width: 769px) and (max-width: 960px) {
  .launch-grid { grid-template-columns: 1fr 1fr; }
  .launch-card-active { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════
   EMAIL FORM
════════════════════════════════════════════ */
.email-form {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
}

.email-input-wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  transition: border-color var(--t-med), box-shadow var(--t-med);
}
.email-input-wrap:focus-within {
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 1px var(--teal-bright), 0 0 24px rgba(0, 200, 210, 0.15);
}
.email-input-wrap.invalid {
  border-color: var(--alert-red, #FF3A3A);
  animation: shake 0.4s ease;
}

.email-input {
  flex: 1;
  padding: 14px 18px;
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  border: none;
  outline: none;
  min-width: 0;
}
.email-input::placeholder { color: var(--text-muted); }

.email-submit {
  padding: 14px 24px;
  background: var(--teal-bright);
  color: #000;
  border: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: background var(--t-fast);
  white-space: nowrap;
}
.email-submit:hover { background: var(--teal-mid); }
.email-submit:active { transform: translateY(1px); }

.email-note {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-align: left;
}

.email-success {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--teal-bright);
  text-align: left;
}

@media (max-width: 560px) {
  .email-input-wrap { flex-direction: column; }
  .email-submit { padding: 14px 18px; }
}

/* ═══════════════════════════════════════════
   SIGNALS
════════════════════════════════════════════ */
.signals {
  padding: 96px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 48px;
}

.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  background: var(--bg-deep);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card:hover {
  border-color: var(--teal-dim);
  box-shadow: 0 0 24px rgba(0, 200, 210, 0.06);
}

.card-header {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}
.card-header-active {
  color: var(--teal-bright);
  border-bottom-color: var(--teal-dim);
}

.card-body {
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.card-log {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-secondary);
  white-space: pre-wrap;
  word-break: break-word;
}

.card-early[hidden] { display: none; }
.card-early {
  border-color: var(--teal-bright);
  background: rgba(0, 200, 210, 0.05);
}
.card-early:hover {
  border-color: var(--teal-bright);
  box-shadow: 0 0 32px rgba(0, 200, 210, 0.15);
}

.card-cta {
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 18px;
  border: 1px solid var(--teal-bright);
  color: var(--teal-bright);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border-radius: var(--radius-sharp);
  transition: background var(--t-fast), color var(--t-fast);
}
.card-cta:hover {
  background: var(--teal-bright);
  color: #000;
}

/* Redacted spans */
.redacted {
  display: inline-block;
  background: var(--text-muted);
  color: transparent;
  border-radius: var(--radius-sharp);
  padding: 0 4px;
  user-select: none;
  vertical-align: baseline;
}

/* Stats line */
.stats-line {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 6px 32px;
  border-right: 1px solid var(--border-subtle);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .stat { padding: 10px 20px; border-right: none; border-bottom: 1px solid var(--border-subtle); }
  .stat:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════
   LOG FEED / TERMINAL
════════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   ABOUT
════════════════════════════════════════════ */
.about {
  padding: 96px 24px;
  background: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
}

.about-core {
  text-align: center;
  margin-bottom: 56px;
}

.about-headline {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.about-lead {
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.about-block {
  padding: 28px;
  background: var(--bg-deep);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  transition: border-color var(--t-med);
}
.about-block:hover {
  border-color: var(--teal-dim);
}

.about-block-header {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--teal-bright);
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.about-block p {
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.about-sectors {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.about-sector {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
}

.about-sector-sep {
  color: var(--border-dim);
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-sector-sep { display: none; }
  .about-sectors { gap: 8px; }
}

/* ═══════════════════════════════════════════
   LOG FEED / TERMINAL
════════════════════════════════════════════ */
.logfeed {
  padding: 72px 24px;
  background: var(--bg-void);
}

.terminal {
  max-width: 760px;
  margin: 0 auto;
  background: #050B16;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(0, 200, 210, 0.02);
}

.terminal-header, .terminal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}
.terminal-footer {
  border-bottom: none;
  border-top: 1px solid var(--border-subtle);
}

.terminal-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-bright);
  font-weight: 500;
  letter-spacing: 0.2em;
}
.terminal-live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 8px var(--teal-bright);
  animation: pulse 1.5s ease-in-out infinite;
}

.terminal-denied {
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.terminal-body {
  padding: 18px 20px;
  min-height: 280px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-dim) transparent;
  font-size: 0.78rem;
  line-height: 1.7;
}
.terminal-body::-webkit-scrollbar { width: 6px; }
.terminal-body::-webkit-scrollbar-thumb { background: var(--border-dim); }
.terminal-body::-webkit-scrollbar-track { background: transparent; }

.log-line {
  display: flex;
  gap: 10px;
  opacity: 0;
  animation: log-in 0.35s ease forwards;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.log-line.fading { animation: log-out 0.4s ease forwards; }
.log-time { color: var(--text-ghost); flex-shrink: 0; }
.log-tag { flex-shrink: 0; font-weight: 500; }
.log-tag.sys { color: var(--text-muted); }
.log-tag.agt { color: var(--blue-bright); }
.log-tag.sec { color: var(--teal-bright); }
.log-tag.log { color: var(--text-muted); }
.log-msg { flex: 1; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; }
.log-status { flex-shrink: 0; color: var(--teal-bright); }
.log-status.muted { color: var(--text-muted); }

/* ═══════════════════════════════════════════
   WAITLIST SECUNDARIO
════════════════════════════════════════════ */
.waitlist {
  padding: 96px 24px;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.waitlist-title {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.05;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.waitlist-sub {
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.progress {
  max-width: 520px;
  margin: 0 auto 32px;
  text-align: left;
}
.progress-info {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.progress-info-label {
  font-family: 'Rajdhani', sans-serif;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-left: 8px;
}
.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-bright), var(--blue-bright));
  box-shadow: 0 0 12px rgba(0, 200, 210, 0.3);
  transition: width 1s ease;
}

.waitlist .email-form {
  margin: 0 auto;
  opacity: 1;
}

/* ═══════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  padding: 40px 0 32px;
  background: var(--bg-void);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}
.footer .container { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 2px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sharp);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.footer-social a:hover {
  color: var(--teal-bright);
  border-color: var(--teal-dim);
  background: rgba(0, 200, 210, 0.06);
}
.footer-social svg { display: block; }

.footer-copy {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.footer-copy a { color: var(--text-secondary); }
.footer-copy a:hover { color: var(--teal-bright); }

.footer-session {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-ghost);
  margin-top: 6px;
}
.footer-dot { color: var(--teal-bright); }

/* ═══════════════════════════════════════════
   EASTER EGG MODAL
════════════════════════════════════════════ */
.easter-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 8, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fade-in 0.3s ease both;
}
.easter-modal[hidden] { display: none; }
.easter-modal.closing { animation: fade-out 0.4s ease forwards; }

.easter-content {
  padding: 48px 56px;
  border: 1px solid var(--teal-bright);
  background: var(--bg-surface);
  border-radius: var(--radius-sharp);
  text-align: center;
  max-width: 440px;
  box-shadow: 0 0 60px rgba(0, 200, 210, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.easter-content h3 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--teal-bright);
  text-transform: uppercase;
  margin-top: 8px;
}
.easter-content p {
  color: var(--text-primary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.easter-sub {
  color: var(--text-muted) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
}

/* ═══════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════ */
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

@keyframes scan {
  0%   { top: -5%; }
  100% { top: 105%; }
}

@keyframes flicker {
  0%, 95%, 100% { opacity: 1; text-shadow: 0 0 12px rgba(0, 200, 210, 0.25); }
  96%           { opacity: 0.35; }
  97%           { opacity: 1; }
  98%           { opacity: 0.6; }
}
.flicker { animation: flicker 6s infinite; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fade-up 0.8s ease forwards; }

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes log-in {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes log-out {
  from { opacity: 1; max-height: 40px; }
  to   { opacity: 0; max-height: 0; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  50%      { transform: translateX(4px); }
  75%      { transform: translateX(-2px); }
}

/* Logo pulses (embedded in symbol) */
.logo-pulse-a      { animation: pulse 3s ease-in-out infinite; transform-origin: 40px 12px; transform-box: fill-box; }
.logo-pulse-b      { animation: pulse 3s ease-in-out infinite 1s; transform-box: fill-box; }
.logo-pulse-c      { animation: pulse 3s ease-in-out infinite 2s; transform-box: fill-box; }
.logo-pulse-center { animation: pulse 2.5s ease-in-out infinite; transform-origin: 40px 38px; transform-box: fill-box; }

/* ═══════════════════════════════════════════
   MOTION PREFERENCES
════════════════════════════════════════════ */
@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;
  }
  .hero-line, .hero-sub, .launch-grid, .email-form, .divider-line { opacity: 1 !important; }
  .particles { display: none; }
  .scan-line { display: none; }
}
