:root {
  --bg: #081425;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.2);
  --text: #e8f2ff;
  --muted: #adc5e6;
  --brand: #00d4ff;
  --brand-2: #3bf2b5;
}

* {
  box-sizing: border-box;
}

html {
  background-color: #173860;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100dvh;
  background: radial-gradient(circle at 10% 15%, #173860 0%, var(--bg) 45%);
  color: var(--text);
  font-family: "Outfit", sans-serif;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  inset: -120px;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}

.route-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.route-bg-path {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-bg-path-base {
  stroke: rgba(113, 198, 255, 0.2);
}

.route-bg-path-progress {
  stroke: rgba(10, 132, 255, 0.94);
  filter: drop-shadow(0 0 10px rgba(10, 132, 255, 0.46));
  stroke-dasharray: 0 100;
}

.route-pin {
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 9px rgba(0, 212, 255, 0.22));
}

.pin-core {
  fill: #0a84ff;
}

.pin-ring {
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  animation: drift 12s ease-in-out infinite;
}

.orb-a {
  display: none;
}

.orb-b {
  display: none;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.1;
}

@media (prefers-reduced-motion: reduce) {
  .route-pin {
    opacity: 1;
  }
}

.topbar {
  position: sticky;
  top: calc(env(safe-area-inset-top) + 10px);
  z-index: 12;
  margin: 0 auto 0;
  width: min(1120px, calc(100% - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(9, 19, 33, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.topbar nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
}

.mobile-menu-picker {
  display: none;
}

.mobile-menu-picker select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.region-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.83rem;
}

.region-picker select {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 7px 12px;
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
}

.region-picker select:focus {
  outline: 2px solid rgba(0, 212, 255, 0.4);
  outline-offset: 2px;
}

.btn {
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand), #45c9ff);
  color: #032033;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 212, 255, 0.35);
}

.btn-small {
  padding: 9px 14px;
  font-size: 0.88rem;
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.floating-cta {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 16px);
  z-index: 30;
  display: none;
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(120deg, var(--brand), #45c9ff);
  color: #032033;
  font-weight: 800;
}

.floating-account {
  position: fixed;
  right: 16px;
  bottom: calc(env(safe-area-inset-bottom) + 70px);
  z-index: 30;
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(9, 19, 33, 0.82);
  color: var(--text);
  font-weight: 700;
}

.floating-cta,
.floating-account {
  min-height: 44px;
  padding: 10px 16px;
}

main {
  width: min(1120px, calc(100% - 28px));
  margin: 38px auto 80px;
}

.hero {
  text-align: center;
  padding: 36px 0;
}

.beta-pill {
  margin: 0 auto 10px;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 184, 77, 0.55);
  background: rgba(255, 184, 77, 0.16);
  color: #ffd89c;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}

.eyebrow {
  font-weight: 600;
  color: var(--brand-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

h1 {
  margin-top: 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.02;
}

.lead {
  width: min(700px, 100%);
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.09rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.device-shell {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.device-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  text-align: left;
  transform: translateY(0);
  animation: floaty 5s ease-in-out infinite;
}

.card-b {
  animation-delay: -1s;
}

.card-c {
  animation-delay: -2s;
}

.card-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.card-value {
  margin: 8px 0 2px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.card-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feature-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tile {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.tile h2 {
  font-size: 1.25rem;
}

.tile p {
  color: var(--muted);
  line-height: 1.65;
}

.plans {
  margin-top: 64px;
}

.plans h2,
.faq h2,
.security h2,
.legal h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.plans-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plans-grid article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
}

.plans-grid h3 {
  margin: 0;
}

.plans-grid .featured {
  border-color: rgba(0, 212, 255, 0.6);
  background: linear-gradient(170deg, rgba(0, 212, 255, 0.17), rgba(255, 255, 255, 0.05));
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.2);
  color: #97f0ff;
}

.price {
  margin: 10px 0 4px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  font-family: "Space Grotesk", sans-serif;
}

.price .price-amount {
  font-size: clamp(2rem, 4.2vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.price .price-cadence {
  font-size: 0.95rem;
  color: var(--muted);
  padding-bottom: 4px;
}

.free-price {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(59, 242, 181, 0.35);
  background: rgba(59, 242, 181, 0.1);
  color: #9affd8;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}

.plan-alt {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.plans-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.security {
  margin-top: 64px;
}

.security-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.security-grid article {
  border: 1px solid rgba(0, 212, 255, 0.6);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(
    170deg,
    rgba(0, 212, 255, 0.17),
    rgba(255, 255, 255, 0.04)
  );
}

.security-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq {
  margin-top: 64px;
}

details {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--muted);
  line-height: 1.6;
}

.legal {
  margin-top: 64px;
}

.legal-dropdown {
  margin-top: 18px;
}

.legal-body {
  margin-top: 12px;
}

.terms-issue-date {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.terms-text {
  margin: 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-family: "Outfit", sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
}

.legal-body ul {
  margin: 14px 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

footer {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto 28px;
  color: var(--muted);
  text-align: center;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px) scale(0.99);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, 24px);
  }
}

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

@media (max-width: 920px) {
  .route-bg {
    transform: scale(1.28);
    transform-origin: center top;
  }

  .topbar {
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    justify-content: space-between;
    position: sticky;
  }

  .brand {
    display: flex;
    justify-self: start;
  }

  .topbar nav {
    display: none;
  }

  .mobile-menu-picker {
    display: inline-flex;
    justify-self: center;
  }

  .mobile-menu-picker select {
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .topbar .btn-small {
    display: none;
  }

  .region-picker span {
    display: none;
  }

  .region-picker {
    justify-self: end;
  }

  .floating-account,
  .floating-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .device-shell,
  .feature-grid,
  .plans-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .topbar {
    margin-top: 0;
    padding: 10px 12px;
    gap: 8px;
  }

  .region-picker select {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  main {
    margin-top: 26px;
    margin-bottom: 152px;
  }
}
