:root {
  --ink: #ffffff;
  --muted: #c8c7dc;
  --soft: rgba(255, 255, 255, 0.72);
  --bg: #05091b;
  --panel: rgba(18, 27, 52, 0.72);
  --panel-strong: rgba(25, 35, 65, 0.88);
  --stroke: rgba(255, 255, 255, 0.16);
  --pink: #ff4fb5;
  --coral: #ff766f;
  --orange: #ffb13d;
  --cyan: #39e5ff;
  --mint: #70f2b5;
  --purple: #8c61ff;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Nunito", sans-serif;
  background:
    radial-gradient(circle at 50% 110%, rgba(167, 76, 255, 0.42), transparent 32%),
    radial-gradient(circle at 10% 20%, rgba(255, 79, 181, 0.18), transparent 34%),
    radial-gradient(circle at 90% 18%, rgba(57, 229, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #020717 0%, #080d24 46%, #130821 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(57, 229, 255, 0.55) 0 1px, transparent 1.5px);
  background-position: 12% 18%, 84% 48%;
  background-size: 240px 240px, 340px 340px;
  opacity: 0.22;
}

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

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

.page-glow {
  position: fixed;
  z-index: -2;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.page-glow-a {
  left: -120px;
  top: 24%;
  background: var(--pink);
}

.page-glow-b {
  right: -150px;
  bottom: 8%;
  background: var(--cyan);
}

.nav,
.hero,
.showcase,
.feature-strip,
.deep-section,
.footer,
.policy-page {
  width: min(1180px, calc(100% - 34px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(10, 15, 35, 0.66);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-right: 12px;
  font-weight: 900;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 12px 32px rgba(140, 97, 255, 0.4);
}

.nav nav,
.footer nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav nav a {
  padding: 11px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 900;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav nav a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 6vw, 82px);
  min-height: 760px;
  padding: 86px 0 54px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Baloo 2", "Nunito", sans-serif;
}

h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(4rem, 9.2vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
}

h3 {
  margin: 16px 0 8px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-copy > p:not(.kicker),
.copy-card p,
.feature-strip span,
.feature-grid p,
.policy-hero p,
.policy-card p {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.58;
}

.hero-copy > p:not(.kicker) {
  max-width: 690px;
}

.hero h1 {
  background: linear-gradient(90deg, #ffffff 0%, #ffe9f6 28%, #ff6fa8 54%, #ffb43e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 18px 44px rgba(255, 79, 181, 0.18));
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--stroke);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: white;
  box-shadow: 0 20px 48px rgba(255, 101, 137, 0.3);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.hero-card {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--stroke);
  border-radius: 46px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-logo {
  position: absolute;
  inset: 50%;
  width: min(76%, 440px);
  border-radius: 42px;
  translate: -50% -50%;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.38);
  animation: logoFloat 5.2s ease-in-out infinite;
}

.floating-shape {
  position: absolute;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.38));
  animation: drift 7s ease-in-out infinite;
}

.square {
  width: 84px;
  height: 84px;
  left: 34px;
  top: 52px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffca5d, #ff8426);
  rotate: -12deg;
}

.circle {
  width: 76px;
  height: 76px;
  right: 44px;
  top: 102px;
  border-radius: 50%;
  background: linear-gradient(145deg, #6be9ff, #168fce);
  animation-delay: -1.4s;
}

.triangle {
  width: 0;
  height: 0;
  right: 46px;
  bottom: 74px;
  border-left: 58px solid transparent;
  border-right: 58px solid transparent;
  border-bottom: 102px solid var(--mint);
  border-radius: 18px;
  rotate: 9deg;
  animation-delay: -2.5s;
}

.pill {
  width: 126px;
  height: 52px;
  left: 48px;
  bottom: 92px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffdc96, #ff9f31);
  rotate: 18deg;
  animation-delay: -4s;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.64fr) minmax(300px, 0.86fr) minmax(260px, 0.64fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  padding: 38px 0 74px;
}

.screenshot-card,
.copy-card,
.feature-grid article,
.policy-card,
.policy-hero {
  border: 1px solid var(--stroke);
  background: var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.screenshot-card {
  padding: 12px;
  border-radius: 38px;
  overflow: visible;
  transform: rotate(1.4deg);
}

.screenshot-card-large {
  transform: rotate(-1.6deg);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 28px;
}

.copy-card {
  position: sticky;
  top: 112px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 38px;
}

.copy-card h2 {
  font-size: clamp(2.6rem, 4.4vw, 4.8rem);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--stroke);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.07);
}

.feature-strip div {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

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

.feature-strip strong {
  font-size: 1.04rem;
  font-weight: 900;
}

.feature-strip span {
  margin-top: 8px;
  font-size: 0.98rem;
}

.deep-section {
  padding: 110px 0 92px;
}

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

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

.feature-grid article {
  min-height: 260px;
  padding: 26px;
  border-radius: 30px;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: white;
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 18px 44px rgba(255, 101, 137, 0.25);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0 54px;
  border-top: 1px solid var(--stroke);
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  margin-top: 5px;
  color: var(--muted);
}

.footer a {
  color: var(--soft);
  font-weight: 900;
}

.policy-page {
  padding: 74px 0 90px;
}

.policy-hero {
  padding: clamp(30px, 5vw, 54px);
  border-radius: 42px;
}

.policy-hero h1 {
  font-size: clamp(3rem, 7vw, 7rem);
}

.policy-card {
  margin-top: 20px;
  padding: clamp(26px, 4vw, 54px);
  border-radius: 36px;
}

.policy-card h2 {
  margin-top: 34px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.policy-card h2:first-child {
  margin-top: 0;
}

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

@keyframes drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -22px;
  }
}

@media (max-width: 980px) {
  .hero,
  .showcase,
  .feature-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 470px;
  }

  .showcase {
    align-items: stretch;
  }

  .screenshot-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .copy-card {
    position: static;
  }
}

@media (max-width: 660px) {
  .nav {
    align-items: stretch;
    border-radius: 28px;
    flex-direction: column;
  }

  .brand {
    justify-content: center;
  }

  .nav nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .nav nav a {
    text-align: center;
    padding-inline: 8px;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

  .hero-card {
    min-height: 380px;
    border-radius: 34px;
  }

  .app-logo {
    width: 78%;
    border-radius: 30px;
  }

  .floating-shape {
    scale: 0.72;
  }

  .footer {
    flex-direction: column;
  }

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