:root {
  color-scheme: dark;
  --bg: #031018;
  --bg-soft: #071b25;
  --panel: rgba(7, 28, 39, 0.72);
  --panel-strong: rgba(9, 42, 56, 0.92);
  --text: #eefbff;
  --muted: #99b8c2;
  --blue: #34c6ff;
  --green: #48f2a7;
  --yellow: #ffe66d;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(52, 198, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 78% 4%, rgba(72, 242, 167, 0.16), transparent 34rem),
    linear-gradient(180deg, #031018 0%, #04131c 48%, #02090e 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.45) 100%);
}

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

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

.ambient {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.18;
  z-index: -1;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}

.ambient-a {
  left: -8rem;
  top: 22rem;
  background: var(--blue);
}

.ambient-b {
  right: -10rem;
  top: 48rem;
  background: var(--green);
  animation-duration: 18s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand img {
  width: 142px;
  border-radius: 18px;
  filter: drop-shadow(0 12px 32px rgba(52, 198, 255, 0.25));
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 16, 24, 0.7);
}

.site-nav a,
.nav-cta {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: 180ms ease;
}

.site-nav a:hover,
.nav-cta:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  color: #061016;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 800;
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 56px 0 90px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.085em;
}

h2 {
  font-size: clamp(2.2rem, 4.3vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-lead,
.section-intro p,
.sticky-copy p,
.video-band p,
.privacy-section p,
.beta-section p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0;
}

.primary-button,
.secondary-button,
.beta-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

.primary-button,
.beta-form button {
  color: #041018;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 18px 50px rgba(52, 198, 255, 0.28);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-row span {
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.045);
}

.hero-stage {
  position: relative;
  min-height: 660px;
  perspective: 1200px;
}

.phone-mockup {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, 72vw);
  min-height: 650px;
  transform: translate(-50%, -50%) rotateX(7deg) rotateZ(-4deg);
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 44px;
  background: linear-gradient(160deg, rgba(13, 52, 67, 0.96), rgba(2, 13, 20, 0.98));
  box-shadow: var(--shadow), inset 0 0 0 8px rgba(255, 255, 255, 0.035);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 0.9rem;
  color: var(--muted);
}

.phone-top strong {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #061016;
  border-radius: 50%;
  background: conic-gradient(var(--green), var(--blue), rgba(255, 255, 255, 0.12));
}

.score-card,
.mini-map,
.phone-list,
.float-card,
.glass-card,
.feature-card,
.video-band,
.privacy-section,
.beta-section {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.score-card {
  border-radius: 28px;
  padding: 1.4rem;
  background:
    radial-gradient(circle at 82% 18%, rgba(72, 242, 167, 0.24), transparent 9rem),
    var(--panel-strong);
}

.score-card p,
.score-card small,
.float-card small,
.feature-card p,
.glass-card p,
.beta-form small {
  color: var(--muted);
}

.score-card h2 {
  margin-bottom: 0.8rem;
  font-size: 2rem;
}

.mini-map {
  position: relative;
  height: 220px;
  margin-top: 1rem;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(52, 198, 255, 0.14), transparent),
    rgba(255, 255, 255, 0.045);
}

.river {
  position: absolute;
  left: -24px;
  top: 54px;
  width: 118%;
  height: 70px;
  border-radius: 999px;
  border: 2px solid rgba(52, 198, 255, 0.52);
  transform: rotate(-16deg);
}

.pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px 18px 18px 4px;
  color: #041018;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--blue));
  transform: rotate(-12deg);
}

.pin-one { left: 60px; top: 54px; }
.pin-two { right: 52px; top: 82px; background: var(--yellow); }
.pin-three { left: 145px; bottom: 30px; }

.phone-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 24px;
}

.phone-list span {
  padding: 0.85rem;
  color: var(--muted);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.float-card {
  position: absolute;
  display: grid;
  gap: 0.35rem;
  max-width: 230px;
  padding: 1rem;
  border-radius: 24px;
}

.float-card span {
  color: var(--green);
  font-size: 1.6rem;
}

.fish-card {
  left: 2%;
  top: 16%;
}

.weather-card {
  right: 0;
  top: 36%;
}

.shield-card {
  left: 8%;
  bottom: 8%;
}

.video-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 80px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 36px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.06);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.story-strip {
  overflow: hidden;
  padding: 1rem 0 6rem;
}

.story-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 24s linear infinite;
}

.story-track span {
  padding: 1rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
}

.split-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding: 80px 0;
}

.sticky-copy {
  position: sticky;
  top: 112px;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.glass-card,
.feature-card {
  border-radius: 32px;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.card-number {
  color: var(--green);
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 80px 0;
}

.section-intro {
  grid-column: 1 / -1;
  max-width: 820px;
}

.feature-card {
  min-height: 230px;
  background:
    radial-gradient(circle at 90% 10%, rgba(52, 198, 255, 0.14), transparent 9rem),
    var(--panel);
}

.feature-card.tall {
  grid-row: span 2;
  min-height: 476px;
}

.feature-card.wide {
  grid-column: span 2;
}

.privacy-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 40px;
  padding: clamp(1.4rem, 4vw, 3rem);
  border-radius: 40px;
}

.privacy-orbit {
  position: relative;
  min-height: 380px;
}

.orbit-ring,
.lock-core,
.orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring {
  width: 260px;
  height: 260px;
  border: 1px dashed rgba(72, 242, 167, 0.45);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.lock-core {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border-radius: 42px;
  color: #041018;
  font-weight: 950;
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.orbit-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  transform: translate(86px, -112px);
  box-shadow: 0 0 42px rgba(72, 242, 167, 0.65);
}

.orbit-dot.second {
  background: var(--blue);
  transform: translate(-118px, 84px);
}

.check-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.beta-section {
  margin: 90px auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: 44px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(72, 242, 167, 0.18), transparent 24rem),
    var(--panel);
}

.beta-section p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.beta-form {
  display: grid;
  gap: 0.85rem;
  max-width: 620px;
  margin: 2rem auto 0;
  text-align: left;
}

.beta-form label {
  color: var(--muted);
  font-weight: 800;
}

.beta-form div {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.beta-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  padding: 0 1rem;
  font: inherit;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 52px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 120px;
  border-radius: 16px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.layer {
  will-change: transform;
  transition: transform 160ms ease-out;
}

@keyframes drift {
  to { transform: translate3d(80px, -40px, 0) scale(1.08); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes spin {
  to { rotate: 360deg; }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .video-band,
  .split-section,
  .privacy-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-stage {
    min-height: 620px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.tall,
  .feature-card.wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 230px;
  }

  .sticky-copy {
    position: static;
  }

  .float-card {
    max-width: 190px;
  }

  .weather-card {
    right: 0;
  }
}

@media (max-width: 560px) {
  .nav-cta {
    display: none;
  }

  .brand img {
    width: 118px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-stage {
    min-height: 570px;
  }

  .phone-mockup {
    width: min(315px, 86vw);
    min-height: 570px;
    border-radius: 38px;
  }

  .float-card {
    padding: 0.85rem;
    font-size: 0.85rem;
  }

  .fish-card { left: 0; top: 6%; }
  .weather-card { right: -4px; top: 42%; }
  .shield-card { left: 0; bottom: 0; }

  .beta-form div {
    flex-direction: column;
    border-radius: 26px;
  }

  .beta-form input {
    min-height: 3rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

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