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

:root {
  --bg-deep: #071A2D;
  --bg-mid: #0A2540;
  --bg-alt: #081E35;
  --accent: #1F6FEB;
  --accent-hover: #2F81F7;
  --success: #00C896;
  --text: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.65);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.1);
  --card-radius: 18px;
  --max-w: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#page-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  overflow-y: auto;
  position: relative;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ─── TOPNAV (HARDCODED TO TOP — NEVER MOVES) ─── */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  background: rgba(7, 26, 45, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.topnav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo {
  border-radius: 6px;
}

.topnav-brand span {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

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

.topnav-links a {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

@media (max-width: 680px) {
  .nav-toggle {
    display: block;
  }

  .topnav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(7, 26, 45, 0.97);
    border-bottom: 1px solid var(--card-border);
    padding: 16px 24px;
    gap: 16px;
    overflow: hidden;
  }

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

/* ─── HERO ─── */
.hero {
  padding: 184px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-mid) 100%);
  overflow: hidden;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(31, 111, 235, 0.1);
  border: 1px solid rgba(31, 111, 235, 0.22);
  color: var(--accent-hover);
  font-size: 20.3px;
  font-weight: 600;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
  max-width: 100%;
  animation: badge-breathe 3.5s ease-in-out infinite;
}

@keyframes badge-breathe {
  0%, 100% { opacity: 0.78; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

.hero h1 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero p {
  font-size: clamp(0.95rem, 1.8vw, 1.125rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── SECTIONS ─── */
.section {
  padding: 88px 0;
  background: var(--bg-mid);
  width: 100%;
  overflow: hidden;
}

.section-alt {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

/* ─── TRUST CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  width: 100%;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  transition: border-color 0.2s;
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(31, 111, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ─── SECURITY ─── */
.security-content {
  max-width: 640px;
  margin: 0 auto;
}

.security-card {
  padding: 36px 32px;
}

.security-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 100%;
}

.security-check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(31, 111, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-top: 2px;
}

.security-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.security-list p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.security-list div {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* ─── COVERAGE ─── */
.coverage-chips {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  max-width: 100%;
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

/* ─── CORRIDOR CONNECTOR ─── */
.corridor-connector {
  display: flex;
  justify-content: center;
  padding: 16px 0 32px;
  overflow: hidden;
}

.corridor-line {
  position: relative;
  width: 220px;
  max-width: 60%;
  height: 2px;
  background: rgba(31, 111, 235, 0.25);
  border-radius: 1px;
  overflow: hidden;
}

.corridor-pulse {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1F6FEB;
  transform: translateY(-50%);
  animation: corridor-travel 3.5s ease-in-out infinite;
}

@keyframes corridor-travel {
  0%   { left: 0; }
  50%  { left: calc(100% - 10px); }
  100% { left: 0; }
}

.coverage-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  overflow-wrap: break-word;
}

/* ─── WAITLIST ─── */
.waitlist {
  text-align: center;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  width: 100%;
}

.waitlist-fields {
  display: flex;
  gap: 12px;
  width: 100%;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  max-width: 100%;
  width: 100%;
}

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

/* ─── WAITLIST MODAL ─── */
.wl-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.wl-modal.active {
  display: flex;
}

.wl-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.wl-modal-card {
  position: relative;
  background: #0D2137;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 48px 40px;
  max-width: 420px;
  width: calc(100% - 32px);
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.wl-state h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.wl-state p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.wl-modal-btn {
  margin-top: 28px;
  min-width: 140px;
}

.wl-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: wl-spin 0.8s linear infinite;
}

@keyframes wl-spin {
  to { transform: rotate(360deg); }
}

.wl-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  font-weight: 700;
}

.wl-icon-success {
  background: rgba(0, 200, 150, 0.12);
  color: var(--success);
}

.wl-icon-error {
  background: rgba(248, 81, 73, 0.12);
  color: #f85149;
}

.wl-icon-info {
  background: rgba(31, 111, 235, 0.12);
  color: var(--accent);
  font-style: normal;
}

.waitlist-success {
  margin-top: 16px;
  color: var(--success);
  font-size: 15px;
  font-weight: 500;
  display: none;
  transition: opacity 0.4s ease;
  overflow-wrap: break-word;
}

.waitlist-success.visible {
  display: block;
}

.waitlist-error {
  color: #f85149;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
  text-align: center;
  background: var(--bg-deep);
  overflow: hidden;
  width: 100%;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

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

.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* ─── RESPONSIVE: TABLET ─── */
@media (max-width: 768px) {
  .hero {
    padding: 148px 0 80px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .section {
    padding: 72px 0;
  }

  .section-title {
    margin-bottom: 36px;
  }

  .container {
    padding: 0 20px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .security-card {
    padding: 28px 20px;
  }
}

/* ─── RESPONSIVE: MOBILE ─── */
@media (max-width: 480px) {
  .hero {
    padding: 120px 0 64px;
  }

  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }

  .waitlist-fields {
    flex-direction: column;
  }

  .waitlist-input {
    width: 100%;
    flex: none;
  }

  .waitlist-form .btn {
    width: 100%;
  }

  .wl-modal-card {
    padding: 36px 24px;
  }

  .chip {
    padding: 8px 16px;
    font-size: 13px;
  }

  .security-list li {
    gap: 12px;
  }

  .security-check {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

/* ─── SCREEN READER ONLY ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
