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

html {
  scroll-behavior: smooth;
}

html, body {
  min-height: 100%;
  background: #030508;
  color: #f1f5f9;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(3, 5, 8, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-logo {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: #ffffff;
  text-decoration: none;
  user-select: none;
}

.nav-logo span {
  color: #38bdf8;
}

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

.nav-links a {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a.nav-cta {
  color: #ffffff;
  padding: 7px 20px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.06);
  transition: all 0.3s ease;
}

.nav-links a.nav-cta:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════════
   HERO (Landing Only)
   ═══════════════════════════════════════════════ */
.hero-bg {
  position: fixed;
  inset: 0;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(3, 5, 10, 0.88) 0%,
    rgba(3, 5, 10, 0.7) 18%,
    rgba(3, 5, 10, 0.35) 32%,
    transparent 48%
  );
  pointer-events: none;
}

.page-landing {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 28px 7%;
}

.cta-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ═══════════════════════════════════════════════
   EMAIL BOX
   ═══════════════════════════════════════════════ */
.inline-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 380px;
  width: 100%;
  background: rgba(4, 6, 14, 0.92);
  backdrop-filter: blur(32px) saturate(1.2);
  -webkit-backdrop-filter: blur(32px) saturate(1.2);
  border: 1px solid rgba(56, 189, 248, 0.08);
  border-radius: 8px;
  padding: 32px 28px 28px;
  box-shadow:
    0 0 60px rgba(56, 189, 248, 0.04),
    0 16px 48px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 0 40px rgba(0, 0, 0, 0.15);
}

.inline-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: all 0.4s ease;
}

.inline-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.inline-input:focus {
  outline: none;
  border-bottom-color: rgba(56, 189, 248, 0.7);
  background: rgba(0, 0, 0, 0.65);
  box-shadow:
    0 0 24px rgba(56, 189, 248, 0.06),
    0 6px 20px rgba(0, 0, 0, 0.35);
}

.inline-input.pulse {
  animation: inputPulse 0.8s ease;
}

@keyframes inputPulse {
  0%   { box-shadow: 0 0 0 rgba(56, 189, 248, 0); }
  40%  { box-shadow: 0 0 24px rgba(56, 189, 248, 0.2); }
  100% { box-shadow: 0 0 24px rgba(56, 189, 248, 0.06); }
}

.inline-input.success-pulse {
  animation: successPulse 1.2s ease;
}

@keyframes successPulse {
  0%   { box-shadow: 0 0 0 rgba(16, 185, 129, 0); border-bottom-color: rgba(56, 189, 248, 0.25); }
  30%  { box-shadow: 0 0 24px rgba(16, 185, 129, 0.35); border-bottom-color: rgba(16, 185, 129, 0.85); }
  100% { box-shadow: 0 0 24px rgba(16, 185, 129, 0); border-bottom-color: rgba(56, 189, 248, 0.25); }
}

.inline-submit {
  width: 100%;
  padding: 14px 0;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.1);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.03);
}

.inline-submit:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow:
    0 0 36px rgba(56, 189, 248, 0.1),
    0 4px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.inline-submit:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.inline-note {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.7;
  color: #ffffff;
  margin-top: 4px;
}

.inline-done {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.04em;
  padding: 12px 0;
}

.form-error {
  font-size: 13px;
  font-weight: 400;
  color: #f87171;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 10;
  padding: 40px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(3, 5, 8, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-left {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.02em;
}

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

.footer-links a {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Landing-specific footer (fixed at bottom) */
.footer-landing {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 48px;
  background: transparent;
  border: none;
  backdrop-filter: none;
}

/* ═══════════════════════════════════════════════
   LEGAL PAGES (Privacy, Terms)
   ═══════════════════════════════════════════════ */
.page-legal {
  position: relative;
  z-index: 10;
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 32px 80px;
}

.legal-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 200;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: #ffffff;
}

.legal-updated {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 48px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.legal-section p,
.legal-section li {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-section li {
  margin-bottom: 6px;
}

.legal-section a {
  color: #38bdf8;
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   CONTACT MODAL
   ═══════════════════════════════════════════════ */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 5, 10, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-overlay.visible {
  background: rgba(3, 5, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: auto;
  opacity: 1;
}

.contact-modal {
  position: relative;
  max-width: 420px;
  width: 90%;
  padding: 40px 32px 36px;
  background: rgba(4, 6, 14, 0.92);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(56, 189, 248, 0.08);
  border-radius: 8px;
  box-shadow:
    0 0 60px rgba(56, 189, 248, 0.04),
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-overlay.visible .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.3s ease;
}

.contact-close:hover {
  color: #ffffff;
}

.contact-title {
  font-size: 22px;
  font-weight: 300;
  color: #ffffff;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 2px solid rgba(56, 189, 248, 0.2);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.3s ease;
  resize: none;
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-input:focus {
  outline: none;
  border-bottom-color: rgba(56, 189, 248, 0.6);
  background: rgba(0, 0, 0, 0.55);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.05);
}

.contact-textarea {
  min-height: 100px;
}

.contact-submit {
  width: 100%;
  padding: 14px 0;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.1);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 4px;
}

.contact-submit:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 36px rgba(56, 189, 248, 0.1);
  transform: translateY(-1px);
}

.contact-submit:active {
  transform: translateY(0);
  transition-duration: 0.1s;
}

.contact-done {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  padding: 20px 0;
  letter-spacing: 0.04em;
}

/* ── Info Neon Button ────────────────────────── */
.info-trigger-container {
  position: absolute;
  top: 96px;
  left: 48px;
  z-index: 100;
  animation: floatNeon 6s ease-in-out infinite;
}

@keyframes floatNeon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.circle-neon-btn {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(3, 15, 25, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(0, 243, 255, 0.6);
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow:
    0 0 25px rgba(0, 243, 255, 0.5),
    0 0 60px rgba(0, 243, 255, 0.2),
    inset 0 0 20px rgba(0, 243, 255, 0.4),
    inset 0 0 40px rgba(0, 243, 255, 0.2);
  animation: circlePulse 2.8s infinite ease-in-out;
}

.circle-neon-btn:hover {
  transform: scale(1.1);
  border-color: rgba(0, 243, 255, 1);
  background: rgba(3, 15, 25, 0.8);
  box-shadow:
    0 0 40px rgba(0, 243, 255, 0.9),
    0 0 80px rgba(0, 243, 255, 0.5),
    0 0 120px rgba(0, 243, 255, 0.3),
    inset 0 0 30px rgba(0, 243, 255, 0.8),
    inset 0 0 60px rgba(0, 243, 255, 0.4);
}

.circle-neon-btn:active {
  transform: scale(0.95);
  transition-duration: 0.1s;
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Inter', -apple-system, sans-serif;
  user-select: none;
}

.text-top {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #e0faff;
  margin-bottom: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.8), 0 0 15px rgba(0, 243, 255, 0.4);
}

.text-bottom {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.9), 
    0 0 20px rgba(0, 243, 255, 1), 
    0 0 30px rgba(0, 243, 255, 0.8);
  text-transform: uppercase;
  line-height: 1.2;
}

/* Info Modal Content */
.info-modal {
  max-width: 500px;
}

.info-title {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  padding-bottom: 14px;
}

.info-intro {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  text-align: center;
}

.info-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-feature-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 14px 18px;
  transition: all 0.3s ease;
}

.info-feature-card:hover {
  background: rgba(56, 189, 248, 0.04);
  border-color: rgba(56, 189, 248, 0.15);
}

.info-feature-card h3 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #38bdf8;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.info-feature-card p {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes circlePulse {
  0% {
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow:
      0 0 20px rgba(0, 243, 255, 0.4),
      0 0 50px rgba(0, 243, 255, 0.2),
      inset 0 0 15px rgba(0, 243, 255, 0.3);
  }
  50% {
    border-color: rgba(0, 243, 255, 1);
    box-shadow:
      0 0 35px rgba(0, 243, 255, 0.8),
      0 0 70px rgba(0, 243, 255, 0.4),
      0 0 110px rgba(0, 243, 255, 0.2),
      inset 0 0 25px rgba(0, 243, 255, 0.6),
      inset 0 0 50px rgba(0, 243, 255, 0.3);
  }
  100% {
    border-color: rgba(0, 243, 255, 0.5);
    box-shadow:
      0 0 20px rgba(0, 243, 255, 0.4),
      0 0 50px rgba(0, 243, 255, 0.2),
      inset 0 0 15px rgba(0, 243, 255, 0.3);
  }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(3, 5, 8, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 24px;
    font-size: 14px;
    width: 100%;
  }

  .nav-links a.nav-cta {
    border: none;
    border-radius: 0;
    background: none;
    padding: 14px 24px;
  }

  .nav-hamburger {
    display: flex;
  }

  .page-landing {
    padding: 0 6% 28px;
  }

  .hero-bg {
    background-position: 62% center;
  }

  .hero-bg::after {
    background: linear-gradient(
      to top,
      rgba(3, 5, 10, 0.92) 0%,
      rgba(3, 5, 10, 0.6) 35%,
      rgba(3, 5, 10, 0.15) 60%,
      transparent 80%
    );
  }

  .inline-box {
    max-width: 320px;
    padding: 24px 22px 20px;
  }

  .footer, .footer-landing {
    padding: 16px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-legal {
    padding: 100px 20px 60px;
  }

  .contact-modal {
    width: 92%;
    padding: 32px 24px 28px;
  }

  .info-trigger-container {
    top: 80px;
    left: 24px;
  }

  .circle-neon-btn {
    width: 105px;
    height: 105px;
  }

  .btn-text .text-top {
    font-size: 9px;
  }

  .btn-text .text-bottom {
    font-size: 11px;
  }
}

