:root {
  --navy: #090d2b;
  --navy-soft: #121845;
  --lavender: #cdb7ff;
  --lavender-bright: #e5dcff;
  --violet: #8d6cff;
  --gold: #f2d38b;
  --white: #fffaff;
  --muted: #c8c4df;
  --glass: rgba(255, 255, 255, 0.09);
  --border: rgba(229, 220, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at top left, #31205f 0%, var(--navy) 36%, #050719 100%);
  overflow-x: hidden;
}

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

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

.cosmic-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255, 255, 255, 0.52) 0 1px, transparent 2px),
    radial-gradient(circle at 18% 72%, rgba(205, 183, 255, 0.48) 0 1px, transparent 2px),
    radial-gradient(circle at 29% 34%, rgba(255, 255, 255, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 42% 82%, rgba(242, 211, 139, 0.44) 0 1.5px, transparent 3px),
    radial-gradient(circle at 57% 21%, rgba(255, 255, 255, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 64%, rgba(205, 183, 255, 0.44) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 27%, rgba(255, 255, 255, 0.38) 0 1px, transparent 2px),
    radial-gradient(circle at 94% 79%, rgba(205, 183, 255, 0.34) 0 1px, transparent 2px);
  opacity: 0.58;
  animation: naturalStars 16s ease-in-out infinite alternate;
}

.cosmic-background::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    conic-gradient(from 90deg at 50% 50%, transparent 0deg, rgba(205, 183, 255, 0.12) 64deg, transparent 126deg, rgba(86, 111, 255, 0.12) 214deg, transparent 300deg),
    radial-gradient(circle at 68% 24%, rgba(242, 211, 139, 0.12), transparent 22%),
    radial-gradient(circle at 18% 72%, rgba(205, 183, 255, 0.12), transparent 28%);
  filter: blur(18px);
  opacity: 0.72;
  animation: auroraPulse 18s ease-in-out infinite alternate;
}

.orb,
.star,
.zodiac-halo,
.eclipse-ring,
.meteor {
  position: absolute;
  display: block;
}

.orb {
  width: 34vw;
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.5;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-one {
  top: 9%;
  left: -10%;
  background: rgba(179, 139, 255, 0.52);
}

.orb-two {
  right: -12%;
  bottom: 12%;
  background: rgba(86, 111, 255, 0.42);
  animation-delay: -5s;
}

.orb-three {
  width: 20vw;
  right: 18%;
  top: 18%;
  background: rgba(242, 211, 139, 0.2);
  animation-delay: -8s;
}

.star {
  color: var(--lavender-bright);
  text-shadow: 0 0 18px rgba(229, 220, 255, 0.9);
  animation: twinkle 4s ease-in-out infinite;
}

.star-one { top: 18%; left: 52%; font-size: 1.8rem; }
.star-two { top: 38%; left: 8%; font-size: 1.3rem; animation-delay: -1s; }
.star-three { right: 12%; top: 13%; font-size: 1rem; animation-delay: -2s; }
.star-four { right: 23%; bottom: 22%; font-size: 1.5rem; animation-delay: -3s; }
.star-five { left: 34%; bottom: 15%; font-size: 1.1rem; animation-delay: -1.6s; }
.star-six { right: 42%; top: 66%; font-size: 0.95rem; animation-delay: -2.7s; }

.zodiac-halo {
  width: 520px;
  height: 520px;
  right: -120px;
  top: -150px;
  border: 1px solid rgba(229, 220, 255, 0.14);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(229, 220, 255, 0.22) 0deg 1deg, transparent 1deg 30deg),
    radial-gradient(circle, transparent 56%, rgba(205, 183, 255, 0.1) 57%, transparent 58%);
  mask-image: radial-gradient(circle, transparent 44%, #000 45%, #000 62%, transparent 63%);
  opacity: 0.6;
  animation: slowSpin 82s linear infinite;
}

.eclipse-ring {
  width: 180px;
  height: 180px;
  left: 14%;
  top: 18%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 38%, transparent 34%, rgba(242, 211, 139, 0.52) 35%, rgba(205, 183, 255, 0.16) 39%, transparent 43%);
  filter: drop-shadow(0 0 30px rgba(242, 211, 139, 0.28));
  opacity: 0.7;
  animation: eclipseGlow 9s ease-in-out infinite;
}

.meteor {
  width: 150px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(229, 220, 255, 0.95), rgba(242, 211, 139, 0.85));
  box-shadow: 0 0 22px rgba(229, 220, 255, 0.72);
  opacity: 0;
  transform: rotate(-24deg);
  animation: meteorFall 8s linear infinite;
}

.meteor-one { left: 68%; top: 12%; animation-delay: -1s; }
.meteor-two { left: 36%; top: 44%; animation-delay: -4.2s; animation-duration: 10s; }
.meteor-three { left: 84%; top: 62%; animation-delay: -6.4s; animation-duration: 11s; }

.site-header,
.section-shell,
.site-footer {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(205, 183, 255, 0.28), rgba(9, 13, 43, 0.36));
  box-shadow: 0 0 24px rgba(205, 183, 255, 0.22);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a:hover {
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 48px 0 84px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 9vw, 8.2rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 28px rgba(205, 183, 255, 0.16);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.store-badge:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
}

.store-badge img {
  display: block;
  width: auto;
  height: 56px;
}

.google-play-badge img {
  height: 76px;
  margin: -10px 0;
}

.store-note {
  margin-top: 14px;
  color: rgba(200, 196, 223, 0.78);
  font-size: 0.86rem;
}

.phone-wrap {
  display: grid;
  place-items: center;
}

.phone-frame {
  position: relative;
  width: min(360px, 86vw);
  padding: 13px;
  border: 1px solid rgba(229, 220, 255, 0.36);
  border-radius: 46px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.05));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42), 0 0 80px rgba(141, 108, 255, 0.28);
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-screen {
  min-height: 680px;
  padding: 22px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(28, 25, 74, 0.98), rgba(11, 13, 43, 0.98));
  overflow: hidden;
}

.status-row,
.moon-card,
.insight-card {
  position: relative;
  z-index: 1;
}

.status-row {
  display: flex;
  justify-content: space-between;
  color: var(--lavender-bright);
  font-weight: 700;
}

.moon-card,
.insight-card,
.feature-card,
.compliance {
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.moon-card {
  margin-top: 34px;
  padding: 24px;
  border-radius: 28px;
}

.moon {
  display: block;
  color: var(--gold);
  font-size: 4.8rem;
  line-height: 1;
}

.moon-card p,
.insight-card p {
  color: var(--lavender);
  font-weight: 800;
}

.moon-card h2 {
  margin-bottom: 0;
  font-size: 2.25rem;
  line-height: 1;
}

.zodiac-wheel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.zodiac-wheel span {
  display: grid;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: rgba(205, 183, 255, 0.1);
  color: var(--lavender-bright);
  font-size: 1.45rem;
}

.insight-card {
  padding: 22px;
  border-radius: 24px;
  line-height: 1.5;
}

.app-gallery,
.features,
.compliance {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

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

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 18px;
  align-items: end;
}

.screenshot-card {
  position: relative;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(229, 220, 255, 0.24);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28), 0 0 46px rgba(141, 108, 255, 0.16);
  overflow: hidden;
  transform: translateY(0) rotate(-1deg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.screenshot-card:nth-child(even) {
  transform: translateY(28px) rotate(1.4deg);
}

.screenshot-card:hover {
  transform: translateY(-10px) rotate(0deg) scale(1.02);
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.36), 0 0 70px rgba(205, 183, 255, 0.28);
}

.screenshot-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 28%, transparent 72%, rgba(205, 183, 255, 0.18));
  pointer-events: none;
}

.screenshot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 26px;
  background: rgba(205, 183, 255, 0.14);
  object-fit: contain;
  object-position: center top;
}

.screenshot-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(9, 13, 43, 0.72);
  backdrop-filter: blur(14px);
  color: var(--lavender-bright);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.screenshot-card.is-featured {
  transform: translateY(-18px) rotate(-2.5deg);
}

.feature-card {
  padding: 28px;
  border-radius: 28px;
}

.feature-card span {
  color: var(--gold);
  font-size: 2.2rem;
}

.feature-card h3 {
  margin: 18px 0 10px;
}

.feature-card p,
.compliance p,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.compliance {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  margin-bottom: 70px;
  padding: 40px;
  border-radius: 34px;
}

.compliance-list {
  display: grid;
  gap: 18px;
}

.compliance-list div {
  padding-left: 18px;
  border-left: 2px solid var(--lavender);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 46px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

.legal-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 70px 0 96px;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.28);
  padding: clamp(28px, 5vw, 56px);
}

.legal-card h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

.legal-card h2 {
  margin: 38px 0 12px;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-card a {
  color: var(--lavender-bright);
  font-weight: 800;
}

.legal-card ul {
  padding-left: 22px;
}

.legal-date {
  color: var(--gold);
  font-weight: 800;
}

@keyframes naturalStars {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.42; }
  50% { transform: translate3d(8px, -10px, 0) scale(1.02); opacity: 0.66; }
  100% { transform: translate3d(-6px, 8px, 0) scale(1); opacity: 0.5; }
}

@keyframes auroraPulse {
  0% { transform: translate3d(-2%, -1%, 0) scale(1); opacity: 0.48; }
  50% { transform: translate3d(2%, 1%, 0) scale(1.04); opacity: 0.78; }
  100% { transform: translate3d(1%, -2%, 0) scale(1.08); opacity: 0.56; }
}

@keyframes floatOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -28px, 0) scale(1.08); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.14); }
}

@keyframes slowSpin {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

@keyframes eclipseGlow {
  0%, 100% { transform: scale(0.96); opacity: 0.42; }
  50% { transform: scale(1.08); opacity: 0.86; }
}

@keyframes meteorFall {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-24deg) scaleX(0.45); }
  8% { opacity: 1; }
  24% { opacity: 0; transform: translate3d(-360px, 190px, 0) rotate(-24deg) scaleX(1); }
  100% { opacity: 0; transform: translate3d(-360px, 190px, 0) rotate(-24deg) scaleX(1); }
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

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

  .hero,
  .compliance {
    grid-template-columns: 1fr;
  }

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

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

  .screenshot-card,
  .screenshot-card:nth-child(even),
  .screenshot-card.is-featured {
    transform: none;
  }
}

@media (max-width: 620px) {
  .site-header,
  .section-shell,
  .site-footer {
    width: min(100% - 26px, 1160px);
  }

  h1 {
    font-size: 3.5rem;
  }

  .hero {
    padding-top: 20px;
  }

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

  .screenshot-grid {
    display: flex;
    gap: 16px;
    margin-inline: -13px;
    padding: 6px 13px 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screenshot-card {
    min-width: 82%;
    scroll-snap-align: center;
  }

  .phone-screen {
    min-height: 600px;
  }

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