/* ==========================================================================
   ELEROUTE // STEALTH EDITORIAL CSS - ZERO-SCROLL LOCKUP
   Perfect viewport centering on Desktop & Mobile (100dvh, zero overflow)
   ========================================================================== */

:root {
  --bg-deep: #030406;
  --amber-solar: #ff9d2e;
  --amber-glow: rgba(255, 140, 20, 0.4);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

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

html, body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Strict: No scrolling anywhere */
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Page Frame Layout with Automotive Carbon Weave & Studio Vignette */
.page-wrapper {
  position: relative;
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #06080b;
  /* Carbon fiber diagonal weave texture */
  background-image: 
    radial-gradient(circle at 50% 35%, rgba(255, 140, 20, 0.04) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%), 
    linear-gradient(225deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%), 
    linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%), 
    linear-gradient(315deg, rgba(255, 255, 255, 0.02) 25%, #06080b 25%);
  background-position: 0 0, 4px 0, 4px -4px, 0px 4px, 0px 0px;
  background-size: 100% 100%, 8px 8px, 8px 8px, 8px 8px, 8px 8px;
}

/* Ambient glow cursor */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 140, 20, 0.08) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  z-index: 2;
  mix-blend-mode: screen;
}

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

.vignette-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle at 50% 40%, transparent 20%, rgba(4, 5, 8, 0.75) 70%, #030406 100%);
}

/* Header Navbar */
.navbar {
  position: relative;
  z-index: 50;
  padding: 1.5rem 2.5rem;
  flex-shrink: 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 280px;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 14px rgba(255, 140, 20, 0.25));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo-img:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 24px rgba(255, 140, 20, 0.45));
}

.nav-meta {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.stealth-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: #64748b;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 1rem;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.lang-btn {
  background: none;
  border: none;
  color: #475569;
  cursor: pointer;
  padding: 0.2rem 0.3rem;
  transition: color 0.2s;
}

.lang-btn.active {
  color: var(--amber-solar);
}

.lang-divider {
  color: #1e293b;
}

/* Hero Stage - Absolute Full Height Backdrop */
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  opacity: 0.88;
  filter: contrast(1.1) brightness(0.85);
}

.hero-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(3, 4, 6, 0.75) 0%, rgba(3, 4, 6, 0.2) 32%, rgba(3, 4, 6, 0.65) 65%, #030406 100%),
    radial-gradient(circle at 50% 40%, transparent 28%, rgba(3, 4, 6, 0.65) 80%);
}

/* Main Content - Flex-Centered & Locked to Viewport */
.hero-stage {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 1.5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.content-container {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.lead-quote {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.quote-line {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1.4vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--amber-solar);
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 140, 20, 0.3);
}

.main-statement {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

/* High-Contrast Access Box */
.access-box {
  width: 100%;
  max-width: 480px;
}

.subscribe-form {
  position: relative;
}

.input-glow-group {
  display: flex;
  align-items: center;
  background: rgba(4, 5, 8, 0.92);
  backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 157, 46, 0.65);
  border-radius: 9999px;
  padding: 0.4rem 0.45rem 0.4rem 1.4rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(255, 140, 20, 0.22),
    inset 0 1px 2px rgba(255, 180, 50, 0.2);
}

.input-glow-group:hover {
  border-color: rgba(255, 170, 60, 0.9);
  box-shadow: 
    0 12px 45px rgba(0, 0, 0, 0.95),
    0 0 45px rgba(255, 150, 30, 0.35),
    inset 0 1px 2px rgba(255, 200, 80, 0.3);
}

.input-glow-group:focus-within {
  border-color: #ffaa33;
  box-shadow: 
    0 0 0 3px rgba(255, 157, 46, 0.25),
    0 0 50px rgba(255, 140, 20, 0.45),
    0 20px 50px rgba(0, 0, 0, 0.95);
}

.input-glow-group input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  min-width: 0;
}

.input-glow-group input::placeholder {
  color: #64748b;
  font-size: 0.82rem;
}

.submit-btn {
  background: linear-gradient(135deg, #ffb03a 0%, #ff7700 100%);
  color: #050608;
  border: none;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 120, 0, 0.5);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #ffc466 0%, #ff8c1a 100%);
  box-shadow: 0 6px 30px rgba(255, 140, 20, 0.75);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(1px);
}

.form-feedback {
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  min-height: 1.1rem;
  letter-spacing: 0.08em;
}

.form-feedback.success {
  color: var(--amber-solar);
}

.form-feedback.error {
  color: #ef4444;
}

/* Footer - Pinned to bottom, zero extra height */
.footer {
  position: relative;
  z-index: 20;
  padding: 1rem 2.5rem 1.25rem;
  flex-shrink: 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #334155;
}

/* Responsive Lock for Mobile (Perfect Fit, Zero Scroll) */
@media (max-width: 768px) {
  .navbar {
    padding: 1.1rem 1.25rem;
  }
  .brand-logo-img {
    height: 34px;
    max-width: 200px;
  }
  .brand-text {
    font-size: 1rem;
    letter-spacing: 0.25em;
  }
  .stealth-tag {
    display: none;
  }
  .hero-backdrop .hero-img {
    object-position: center 30%;
  }
  .hero-stage {
    padding: 0 1.25rem 1.25rem;
  }
  .content-container {
    gap: 1rem;
  }
  .main-statement {
    font-size: 1.35rem;
    line-height: 1.2;
  }
  .quote-line {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
  }
  .access-box {
    max-width: 100%;
  }
  .input-glow-group {
    padding: 0.35rem 0.4rem 0.35rem 1.1rem;
  }
  .input-glow-group input {
    font-size: 0.8rem;
  }
  .input-glow-group input::placeholder {
    font-size: 0.74rem;
  }
  .submit-btn {
    padding: 0.65rem 1.1rem;
    font-size: 0.68rem;
  }
  .footer {
    padding: 0.75rem 1.25rem 1rem;
  }
  .footer-container {
    font-size: 0.58rem;
  }
}
