@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("assets/fonts/Nunito-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0b0f18;
  --bg-deep: #070a12;
  --surface: #111827;
  --surface-2: #0f172a;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #ffd166;
  --accent-2: #72ddf7;
  --accent-3: #f97316;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, #1c2a4a 0%, var(--bg) 55%)
    no-repeat,
    var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
}

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

.page {
  position: relative;
  z-index: 2;
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 48px 0 64px;
}

.starfield {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 10%, rgba(255, 255, 255, 0.8), transparent 50%),
    radial-gradient(1.5px 1.5px at 70% 40%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 50% 80%, rgba(255, 255, 255, 0.6), transparent 50%),
    radial-gradient(2px 2px at 30% 60%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 85% 25%, rgba(255, 255, 255, 0.75), transparent 50%);
  animation: drift 40s linear infinite;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.brand-tag {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.hero-copy h1 {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(32px, 3vw + 20px, 54px);
  margin: 0 0 16px;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}

.cta-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.badge-link:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

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

.button {
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.button.primary {
  background: linear-gradient(120deg, var(--accent) 0%, #ff9f1c 100%);
  color: #121212;
  box-shadow: var(--shadow);
}

.button.secondary {
  background: var(--surface);
  border-color: var(--border);
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.hero-badges span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.35) 0%, transparent 70%);
  filter: blur(6px);
  animation: pulse 6s ease-in-out infinite;
}

.starry {
  max-width: min(320px, 80%);
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5));
  animation: float 8s ease-in-out infinite;
}

.starry-alt {
  position: absolute;
  width: min(220px, 55%);
  right: -5%;
  bottom: -10%;
  animation: float 10s ease-in-out infinite reverse;
  opacity: 0.85;
}

.section {
  margin-top: 72px;
}

.section h2 {
  font-family: "Nunito", system-ui, sans-serif;
  font-size: clamp(24px, 2vw + 16px, 36px);
  margin: 0 0 20px;
}

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

.card {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.video {
  display: grid;
  gap: 18px;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface-2);
}

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

.noscript {
  color: var(--muted);
  font-size: 14px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.cta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(114, 221, 247, 0.15), rgba(255, 209, 102, 0.12));
  border: 1px solid var(--border);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 72px;
  color: var(--muted);
  font-size: 14px;
}

.footer a {
  color: var(--text);
}

.dot {
  margin: 0 8px;
}

.policy-hero .hero-copy p {
  color: var(--muted);
  margin: 0;
}

.policy-content {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.policy-content h2 {
  margin-top: 28px;
}

.policy-content h2:first-of-type {
  margin-top: 0;
}

.policy-content p {
  color: var(--muted);
  line-height: 1.7;
}

.policy-content ul {
  margin: 12px 0 18px;
  padding-left: 20px;
  color: var(--muted);
}

.policy-content li {
  margin-bottom: 8px;
}

.policy-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.6;
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-2%, 1%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 720px) {
  .hero-copy p {
    font-size: 16px;
  }

  .cta-row {
    justify-content: center;
    gap: clamp(6px, 2vw, 10px);
  }

  .badge-link {
    flex: 0 1 auto;
  }

  .store-badge {
    height: clamp(28px, 8vw, 46px);
    width: auto;
  }

  .hero-media {
    min-height: 280px;
  }

  .starry-alt {
    right: 0;
    bottom: -18%;
  }
}
