:root {
  --bg-900: #020b1f;
  --bg-800: #091b3d;
  --bg-700: #123a76;
  --surface-strong: rgba(9, 25, 50, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.08);
  --surface-line: rgba(255, 255, 255, 0.16);
  --text-main: #f2f6ff;
  --text-muted: #b5c7eb;
  --accent: #66beff;
  --accent-2: #3a73ff;
  --ok: #8ce9b5;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-1: 0 18px 42px rgba(0, 0, 0, 0.36);
  --shadow-2: 0 8px 20px rgba(4, 10, 20, 0.32);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Manrope", "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 86% 4%, rgba(76, 170, 255, 0.2), transparent 34%),
    radial-gradient(circle at 10% 22%, rgba(91, 118, 255, 0.18), transparent 30%),
    linear-gradient(150deg, var(--bg-900), var(--bg-800) 48%, var(--bg-700));
  line-height: 1.56;
}

body.page-home::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 74% 84%, rgba(0, 174, 255, 0.2), transparent 32%),
    radial-gradient(circle at 14% 6%, rgba(58, 115, 255, 0.18), transparent 28%);
  pointer-events: none;
}

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

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.top-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(2, 11, 31, 0.95),
    rgba(2, 11, 31, 0.58)
  );
  border-bottom: 1px solid rgba(125, 185, 255, 0.18);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(58, 115, 255, 0.45);
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.nav a {
  color: var(--text-muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.hero {
  padding: 44px 0 26px;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ok);
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0 0 14px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(15px, 1.7vw, 20px);
  max-width: 62ch;
}

.wordmark {
  display: inline-block;
  color: transparent;
  background: linear-gradient(125deg, #d4ebff, #7fb5ff 52%, #4cc9ff);
  background-clip: text;
  -webkit-background-clip: text;
}

.proof-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(135, 187, 255, 0.36);
  background: rgba(9, 26, 54, 0.72);
  color: #e2ecff;
  font-size: 13px;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  color: #041733;
  background: linear-gradient(135deg, #b9e2ff, #77b9ff);
  box-shadow: 0 10px 28px rgba(82, 159, 255, 0.35);
}

.btn-secondary {
  color: #eef4ff;
  border-color: rgba(120, 180, 255, 0.4);
  background: linear-gradient(135deg, rgba(58, 115, 255, 0.48), rgba(34, 171, 255, 0.36));
  box-shadow: 0 10px 24px rgba(52, 115, 255, 0.28);
}

.btn-ghost {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.02);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid var(--surface-line);
  box-shadow: var(--shadow-1);
  padding: 22px;
}

.hero-art {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(130, 185, 255, 0.34);
  min-height: 560px;
  box-shadow: var(--shadow-1);
  background: linear-gradient(165deg, rgba(8, 26, 58, 0.88), rgba(8, 26, 58, 0.32));
}

.hero-wallpaper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
  filter: saturate(118%) brightness(0.9);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 16, 36, 0.94) 0%,
    rgba(5, 16, 36, 0.24) 46%,
    rgba(5, 16, 36, 0.1) 100%
  );
}

.hero-float-icon {
  position: absolute;
  width: 188px;
  height: 188px;
  right: 28px;
  top: 26px;
  border-radius: 42px;
  box-shadow: 0 22px 44px rgba(4, 13, 34, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-mini-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  border-radius: 16px;
  border: 1px solid rgba(141, 192, 255, 0.3);
  background: rgba(3, 15, 36, 0.75);
  backdrop-filter: blur(4px);
  padding: 14px;
}

.hero-mini-title {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a9c4f7;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  right: -88px;
  top: -92px;
  background: radial-gradient(
    circle,
    rgba(255, 210, 123, 0.42),
    rgba(255, 210, 123, 0)
  );
}

.plan-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.plan-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 24, 46, 0.7);
  padding: 8px 10px;
}

.plan-label {
  font-weight: 700;
  font-size: 14px;
}

.plan-note {
  color: #91acda;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.section {
  padding: 16px 0 32px;
}

.section h2 {
  margin: 0 0 14px;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.section .lead {
  margin: 0;
  color: var(--text-muted);
}

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

.card {
  background: linear-gradient(
    165deg,
    rgba(118, 173, 255, 0.18),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(145, 192, 255, 0.24);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-2);
}

.feature-kicker {
  margin: 0 0 6px;
  color: #9fd1ff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  font-weight: 800;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.chip-grid {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: #d7e3fa;
  background: rgba(6, 15, 29, 0.5);
}

.note {
  margin-top: 14px;
  font-size: 13px;
  color: #9eb0cf;
}

.signal-band {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(129, 186, 255, 0.3);
  background: linear-gradient(135deg, rgba(16, 49, 100, 0.8), rgba(16, 134, 197, 0.38));
  color: #deebff;
}

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

.link-block {
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 22, 43, 0.66);
  padding: 14px;
  color: var(--text-main);
}

.link-block strong {
  display: block;
  margin-bottom: 4px;
}

.link-block span {
  display: block;
  color: var(--text-muted);
  font-size: 13px;
}

.link-block:hover {
  text-decoration: none;
  border-color: rgba(147, 219, 255, 0.5);
}

.footer {
  padding: 24px 0 40px;
  color: #96abcc;
  font-size: 12px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 16px;
}

.footer a {
  color: #b8cae8;
}

.legal-page .hero {
  padding-top: 24px;
  grid-template-columns: 1fr;
}

.legal-wrap {
  margin-top: 4px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.05)
  );
  box-shadow: var(--shadow-2);
  padding: clamp(18px, 2vw, 28px);
}

.legal-wrap h2 {
  margin-top: 26px;
  margin-bottom: 10px;
  font-size: clamp(18px, 2.5vw, 24px);
}

.legal-wrap h2:first-of-type {
  margin-top: 0;
}

.legal-wrap p,
.legal-wrap li {
  color: #d7e4f9;
}

.legal-wrap ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.muted {
  color: #95aad0;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal-in 0.7s ease forwards;
}

.reveal.delay-1 {
  animation-delay: 0.12s;
}

.reveal.delay-2 {
  animation-delay: 0.24s;
}

.reveal.delay-3 {
  animation-delay: 0.36s;
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 420px;
  }

  .hero-float-icon {
    width: 140px;
    height: 140px;
    border-radius: 30px;
  }

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

@media (max-width: 640px) {
  .container {
    width: calc(100% - 26px);
  }

  .top-shell {
    position: static;
  }

  .brand {
    font-size: 18px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .nav {
    gap: 6px;
  }

  .nav a {
    font-size: 12px;
    padding: 7px 8px;
  }

  .cta-row {
    width: 100%;
  }

  .btn {
    flex: 1 1 100%;
  }

  .proof-row {
    gap: 8px;
  }

  .proof-pill {
    width: 100%;
    justify-content: center;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-float-icon {
    width: 112px;
    height: 112px;
    top: 16px;
    right: 16px;
    border-radius: 24px;
  }

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