:root {
  --bg: #090113;
  --bg-alt: #120425;
  --accent: #a575ff;
  --accent-soft: rgba(165, 117, 255, 0.35);
  --text: #f3edff;
  --muted: #b9a8d9;
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  color: var(--text);
}

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

body {
  margin: 0;
  background: radial-gradient(circle at top, #1b0636, #05010b 65%);
  min-height: 100vh;
  padding: 0 24px 80px;
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, rgba(165, 117, 255, 0.08), transparent);
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 460px;
  height: 460px;
  background: var(--accent-soft);
  filter: blur(120px);
  z-index: -1;
}

.glow-one {
  top: -120px;
  right: -80px;
}

.glow-two {
  bottom: -160px;
  left: -100px;
}

.site-header,
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.cta {
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #0e0318;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 35px rgba(165, 117, 255, 0.28);
}

.cta.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(243, 237, 255, 0.2);
}

main {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  padding: 40px 0 24px;
}

.hero__text h1 {
  font-size: clamp(2.5rem, 5vw, 3.7rem);
  margin-bottom: 16px;
}

.hero__text .lead {
  color: var(--muted);
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
}

.app-store-badge img {
  width: 170px;
  height: auto;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.device-frame {
  border-radius: 36px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(165, 117, 255, 0.15), rgba(9, 1, 19, 0.8));
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.feature-card {
  background: rgba(11, 3, 19, 0.8);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 16px 0 0;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 48px;
  align-items: center;
  background: rgba(7, 1, 14, 0.6);
  border-radius: 32px;
  padding: 48px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.split.reverse .split__text {
  order: 2;
}

.split__text p {
  margin-bottom: 16px;
}

.split__visual img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(5, 1, 11, 0.7);
}

.panel {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 32px 36px;
  background: rgba(12, 2, 22, 0.9);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.download-panel {
  align-items: center;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
  padding-bottom: 48px;
}

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

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.gallery figure {
  margin: 0;
  background: rgba(11, 3, 19, 0.65);
  border-radius: 24px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.gallery figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.zodiac,
.seo-section {
  background: rgba(8, 1, 16, 0.72);
  border-radius: 32px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.zodiac__grid,
.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.zodiac__grid article,
.seo-card {
  background: rgba(11, 3, 19, 0.7);
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.zodiac__grid ul,
.seo-card p {
  color: var(--muted);
  margin: 12px 0 0;
  padding-left: 18px;
}

.seo-card p {
  padding-left: 0;
}

.pillars {
  background: rgba(8, 1, 16, 0.7);
  border-radius: 32px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillars ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-page {
  padding-bottom: 96px;
}

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.legal section {
  background: rgba(11, 3, 19, 0.65);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.legal ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.small {
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  body {
    padding: 0 16px 64px;
  }

  .site-header {
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .split {
    padding: 32px;
  }

  .zodiac,
  .seo-section {
    padding: 28px;
  }
}
