:root {
  --bg-root: #136b91;
  --bg-inner-1: #58b9a8;
  --bg-inner-2: #4caab0;
  --bg-inner-3: #3c96b9;
  --bg-outer: #2d86ad;
  --panel: rgba(15, 23, 42, 0.56);
  --panel-strong: rgba(15, 23, 42, 0.76);
  --panel-soft: rgba(15, 23, 42, 0.32);
  --side: rgba(37, 129, 168, 0.92);
  --line: rgba(255, 255, 255, 0.18);
  --line-strong: rgba(186, 230, 253, 0.72);
  --text: #f8fafc;
  --muted: rgba(255, 255, 255, 0.76);
  --muted-2: rgba(255, 255, 255, 0.58);
  --accent: #42b2d4;
  --accent-hover: #1a93b8;
  --accent-focus: #bae6fd;
  --green: #86efac;
  --amber: #ffd6a8;
  --danger: #ffb4ab;
  --shadow: 0 24px 80px rgba(2, 8, 23, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background:
    radial-gradient(circle at 50% 46%, var(--bg-inner-1) 0%, var(--bg-inner-2) 28%, var(--bg-inner-3) 58%, var(--bg-outer) 100%),
    var(--bg-root);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 96px 96px;
  animation: gridDrift 26s linear infinite;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.58;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px),
    radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1.5px);
  background-position: 0 0, 48px 48px;
  background-size: 96px 96px;
  mix-blend-mode: soft-light;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.scene-eye,
.scene-plus,
.scene-dot,
.scene-planet {
  position: absolute;
  display: block;
  animation: floatShape 12s ease-in-out infinite;
}

.scene-eye {
  width: 96px;
  height: 46px;
  border: 0;
  background: url("data:image/svg+xml,%3Csvg width='96' height='48' viewBox='0 0 96 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 24C18 6 37 2 48 2C59 2 78 6 94 24C78 42 59 46 48 46C37 46 18 42 2 24Z' fill='%23bae6fd' fill-opacity='.08' stroke='%23dbf4ff' stroke-opacity='.42' stroke-width='2.4' stroke-linejoin='round'/%3E%3Cpath d='M9 24C23 11 38 7 48 7C58 7 73 11 87 24' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-6deg);
}

.scene-eye::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.82) 0 10%, rgba(147, 197, 253, 0.56) 12% 62%, rgba(15, 23, 42, 0.48) 64% 100%);
  transform: translate(-50%, -50%);
}

.scene-eye::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: rgba(8, 12, 30, 0.72);
  transform: translate(-50%, -50%);
}

.scene-eye-a {
  top: 38%;
  left: 7%;
}

.scene-eye-b {
  top: 11%;
  left: 34%;
  width: 72px;
  height: 34px;
  animation-delay: -3s;
}

.scene-eye-c {
  right: 18%;
  bottom: 5%;
  width: 84px;
  height: 40px;
  animation-delay: -7s;
}

.scene-plus {
  width: 16px;
  height: 16px;
}

.scene-plus::before,
.scene-plus::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: rgba(219, 244, 255, 0.68);
}

.scene-plus::before {
  transform: translate(-50%, -50%);
}

.scene-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.scene-plus-a {
  top: 30%;
  left: 19%;
}

.scene-plus-b {
  top: 78%;
  left: 32%;
  animation-delay: -5s;
}

.scene-plus-c {
  top: 28%;
  right: 20%;
  animation-delay: -9s;
}

.scene-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.scene-dot-a {
  top: 19%;
  left: 10%;
}

.scene-dot-b {
  top: 52%;
  right: 28%;
  background: rgba(196, 181, 253, 0.6);
  animation-delay: -4s;
}

.scene-dot-c {
  right: 9%;
  bottom: 29%;
  width: 4px;
  height: 4px;
  animation-delay: -8s;
}

.scene-planet {
  top: 18%;
  right: 7%;
  width: 128px;
  height: 52px;
  border: 4px solid rgba(191, 219, 254, 0.22);
  border-radius: 50%;
  transform: rotate(-16deg);
  animation-delay: -6s;
}

.scene-planet::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 2px solid rgba(219, 234, 254, 0.24);
  border-radius: 50%;
  content: "";
  background: rgba(96, 165, 250, 0.18);
  transform: translate(-50%, -50%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  padding: 10px 0;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.brand-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(15, 23, 42, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
  align-items: center;
  gap: 44px;
  width: min(1180px, calc(100% - 32px));
  min-height: min(660px, calc(100svh - 154px));
  margin: 0 auto;
  padding: 18px 0 24px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-focus);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: 58px;
  line-height: 1.02;
  font-weight: 900;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 600;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 520px);
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  box-shadow: 0 18px 40px rgba(8, 47, 73, 0.28);
}

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

.button-secondary {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.48);
}

.button-secondary:hover {
  background: rgba(15, 23, 42, 0.64);
}

.product-shell {
  min-width: 0;
  perspective: 1200px;
  perspective-origin: 42% 50%;
}

.desktop-preview {
  display: block;
  width: 100%;
  aspect-ratio: 1240 / 860;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backface-visibility: hidden;
  transform: rotateY(-9deg) rotateX(2deg) translateY(0);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  animation: screenshotLift 7s ease-in-out infinite;
}

.trust-strip,
.section,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip div {
  min-width: 0;
  padding: 20px;
  background: rgba(15, 23, 42, 0.44);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
}

.trust-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 92px 0 0;
}

.section-heading {
  max-width: 660px;
}

.section h2 {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 900;
}

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

.section > .feature-grid:first-child {
  margin-top: 0;
}

.feature-card {
  min-width: 0;
  min-height: 230px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.46);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(186, 230, 253, 0.5);
  background: rgba(15, 23, 42, 0.58);
}

.feature-card img {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin: 22px 0 8px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 600;
}

.privacy-section {
  padding-top: 54px;
}

.privacy-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.privacy-list div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.46);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.privacy-list img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.privacy-list span,
.privacy-list strong {
  display: block;
}

.privacy-list strong {
  min-height: 38px;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 92px;
  margin-top: 54px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
}

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

.policy-page {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 80px;
}

.policy-document {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: var(--shadow);
}

.policy-document h1 {
  font-size: 38px;
}

.policy-document h2 {
  margin: 34px 0 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.policy-document p,
.policy-document li {
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 600;
}

.policy-document code {
  display: inline-block;
  max-width: 100%;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.72);
  color: #bae6fd;
  overflow-wrap: anywhere;
}

.policy-document a {
  color: #9ce1ff;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 580ms ease, transform 580ms ease;
}

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

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 96px 96px, 96px 96px;
  }
}

@keyframes floatShape {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

@keyframes screenshotLift {
  0%,
  100% {
    transform: rotateY(-9deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: rotateY(-7deg) rotateX(2.6deg) translateY(-8px);
  }
}

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

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .product-shell {
    max-width: 760px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .privacy-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }

  .nav-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero {
    gap: 22px;
    padding-top: 16px;
    padding-bottom: 18px;
  }

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

  .section h2 {
    font-size: 28px;
  }

  .policy-document {
    padding: 20px;
  }

  .policy-document h1 {
    font-size: 30px;
  }
}

@media (max-width: 430px) {
  .hero,
  .trust-strip,
  .section,
  .footer,
  .topbar,
  .policy-page {
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: 36px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .desktop-preview {
    animation: none;
  }
}
