:root {
  --bg: #090713;
  --bg-soft: #131125;
  --panel: rgba(19, 17, 37, .72);
  --panel-strong: rgba(25, 23, 49, .92);
  --text: #fffafb;
  --muted: #c8c4dc;
  --cyan: #27f7ff;
  --pink: #ff4fd8;
  --purple: #8e63ff;
  --blue: #3f8cff;
  --orange: #ff8a38;
  --yellow: #fff36d;
  --green: #55ffb1;
  --shadow: 0 24px 80px rgba(0, 0, 0, .36);
  --radius: 8px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 79, 216, .2), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(39, 247, 255, .18), transparent 28%),
    radial-gradient(circle at 50% 88%, rgba(255, 138, 56, .16), transparent 32%),
    linear-gradient(135deg, #090713 0%, #111021 44%, #071526 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

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

.site-bg,
.site-bg * {
  pointer-events: none;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.aurora,
.orb {
  position: absolute;
  filter: blur(20px);
  opacity: .7;
  transform: translate3d(0, 0, 0);
}

.aurora {
  width: 44vw;
  min-width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  mix-blend-mode: screen;
  animation: floatAurora 18s ease-in-out infinite alternate, hueFlow 12s linear infinite;
}

.aurora-one {
  top: -16%;
  left: -12%;
  background: radial-gradient(circle, rgba(255, 79, 216, .5), transparent 64%);
}

.aurora-two {
  right: -18%;
  top: 16%;
  background: radial-gradient(circle, rgba(39, 247, 255, .42), transparent 66%);
  animation-delay: -6s;
}

.aurora-three {
  right: 20%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(255, 243, 109, .26), rgba(255, 138, 56, .24), transparent 68%);
  animation-delay: -12s;
}

.orb {
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: conic-gradient(from 120deg, transparent, rgba(255, 79, 216, .35), transparent, rgba(39, 247, 255, .35), transparent);
  animation: spin 28s linear infinite;
}

.orb-a {
  top: 18%;
  left: 5%;
}

.orb-b {
  top: 38%;
  right: 8%;
  width: 300px;
  animation-duration: 36s;
  animation-direction: reverse;
}

.orb-c {
  bottom: 10%;
  left: 58%;
  width: 180px;
  animation-duration: 24s;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 12px 0;
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  display: inline-block;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--yellow) 0 9%, transparent 10%),
    conic-gradient(from 0deg, var(--cyan), var(--pink), var(--orange), var(--yellow), var(--purple), var(--cyan));
  box-shadow: 0 0 28px rgba(39, 247, 255, .45);
  animation: spin 10s linear infinite;
}

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

.nav-links a {
  transition: color .2s ease, text-shadow .2s ease;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 16px rgba(39, 247, 255, .75);
}

.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  align-items: center;
  min-height: calc(100vh - 72px);
  gap: 42px;
  padding-top: 36px;
}

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(4.1rem, 14vw, 9.5rem);
  font-weight: 950;
  text-shadow:
    0 0 18px rgba(255, 79, 216, .55),
    0 0 46px rgba(39, 247, 255, .34);
}

.hero-subtitle {
  max-width: 740px;
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 3.4vw, 2.35rem);
  font-weight: 760;
  line-height: 1.12;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions,
.download-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

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

.button-primary {
  color: #08111d;
  background: linear-gradient(135deg, var(--yellow), var(--orange) 32%, var(--pink) 66%, var(--cyan));
  box-shadow: 0 14px 34px rgba(255, 79, 216, .25), 0 0 34px rgba(39, 247, 255, .18);
}

.button-primary:hover {
  box-shadow: 0 18px 46px rgba(255, 79, 216, .35), 0 0 54px rgba(39, 247, 255, .28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .08);
}

.button-secondary:hover {
  border-color: rgba(39, 247, 255, .55);
  box-shadow: 0 0 28px rgba(39, 247, 255, .15);
}

.button-large {
  min-height: 58px;
  padding-inline: 26px;
  font-size: 1.05rem;
}

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

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.hero-stage::before {
  width: min(88vw, 560px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(39, 247, 255, .12), rgba(255, 79, 216, .09), transparent 68%);
  animation: pulseGlow 5s ease-in-out infinite;
}

.hero-stage::after {
  width: min(68vw, 410px);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 255, 255, .22);
  animation: spin 34s linear infinite reverse;
}

.hero-spiro {
  position: relative;
  z-index: 2;
  width: min(84vw, 520px);
  filter: drop-shadow(0 0 26px rgba(39, 247, 255, .25));
}

.spin-slow {
  transform-origin: 50% 50%;
  animation: spin 26s linear infinite;
}

.spin-reverse {
  transform-origin: 50% 50%;
  animation: spin 18s linear infinite reverse;
}

.mini-art {
  position: absolute;
  z-index: 3;
  width: 88px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    radial-gradient(circle, rgba(255, 255, 255, .95) 0 4%, transparent 5%),
    repeating-conic-gradient(from 20deg, rgba(39, 247, 255, .9) 0 8deg, rgba(255, 79, 216, .9) 8deg 15deg, rgba(255, 243, 109, .9) 15deg 21deg, transparent 21deg 30deg);
  box-shadow: 0 0 32px rgba(255, 79, 216, .26);
  animation: spin 12s linear infinite, bob 4s ease-in-out infinite;
}

.mini-art-one {
  top: 12%;
  right: 9%;
}

.mini-art-two {
  bottom: 16%;
  left: 8%;
  width: 72px;
  animation-delay: -2s;
  animation-direction: reverse;
}

.mini-art-three {
  right: 0;
  bottom: 30%;
  width: 58px;
  animation-delay: -4s;
}

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

.section-heading h2,
.download-copy h2,
.policy-shell h1,
.error-shell h1 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 7vw, 4.4rem);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.phone-mockup {
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .04));
  box-shadow: var(--shadow), inset 0 0 22px rgba(255, 255, 255, .08);
}

.phone-screen {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 650px;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255, 79, 216, .25), transparent 28%),
    radial-gradient(circle at 65% 65%, rgba(39, 247, 255, .2), transparent 28%),
    #090713;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 92px;
  height: 22px;
  border-radius: 0 0 15px 15px;
  background: #05040c;
  transform: translateX(-50%);
  z-index: 3;
}

.screen-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.screen-ring {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#090713, #090713) padding-box,
    conic-gradient(var(--cyan), var(--pink), var(--orange), var(--yellow), var(--purple), var(--cyan)) border-box;
  box-shadow: 0 0 28px rgba(39, 247, 255, .15);
  animation: spin 22s linear infinite;
}

.ring-two {
  width: 60%;
  animation-duration: 14s;
  animation-direction: reverse;
}

.ring-three {
  width: 38%;
  animation-duration: 9s;
}

.screen-core {
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--yellow), var(--pink), var(--cyan));
  box-shadow: 0 0 38px rgba(255, 243, 109, .55);
  animation: pulseGlow 2.8s ease-in-out infinite;
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, .07);
}

.tool-row span {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

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

.art-tile,
.feature-card,
.love-card,
.download-panel,
.policy-shell,
.error-shell {
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.art-tile {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 250px;
  overflow: hidden;
}

.art-tile::before {
  position: absolute;
  inset: -30%;
  content: "";
  background: conic-gradient(from 90deg, transparent, rgba(255, 79, 216, .35), transparent, rgba(39, 247, 255, .35), transparent);
  animation: spin 16s linear infinite;
}

.tile-orbit,
.tile-flower,
.tile-lines,
.tile-sun {
  position: relative;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.tile-orbit {
  border: 2px dashed rgba(255, 255, 255, .62);
  box-shadow: inset 0 0 22px rgba(39, 247, 255, .24), 0 0 22px rgba(255, 79, 216, .22);
  animation: spin 11s linear infinite reverse;
}

.tile-flower {
  background: repeating-conic-gradient(from 15deg, rgba(255, 79, 216, .9) 0 10deg, rgba(255, 243, 109, .9) 10deg 20deg, rgba(39, 247, 255, .9) 20deg 30deg);
  mask-image: radial-gradient(circle, transparent 0 22%, black 23% 72%, transparent 73%);
  animation: spin 14s linear infinite;
}

.tile-lines {
  background: repeating-radial-gradient(circle, transparent 0 9px, rgba(39, 247, 255, .85) 10px 12px, transparent 13px 18px), conic-gradient(var(--pink), var(--orange), var(--cyan), var(--purple), var(--pink));
  animation: hueFlow 5s linear infinite;
}

.tile-sun {
  background: radial-gradient(circle, var(--yellow) 0 16%, transparent 17%), repeating-conic-gradient(var(--orange) 0 8deg, transparent 8deg 16deg);
  filter: drop-shadow(0 0 22px rgba(255, 243, 109, .5));
  animation: spin 20s linear infinite;
}

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

.feature-card {
  min-height: 246px;
  padding: 24px;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(39, 247, 255, .42);
  box-shadow: 0 28px 80px rgba(39, 247, 255, .16);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.feature-card p,
.download-copy p,
.section-heading p,
.policy-shell p {
  color: var(--muted);
  line-height: 1.72;
}

.card-icon {
  display: block;
  width: 54px;
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan), var(--pink), var(--yellow), var(--orange), var(--purple), var(--cyan));
  box-shadow: 0 0 28px rgba(255, 79, 216, .22);
  animation: spin 18s linear infinite;
}

.icon-gif {
  animation-duration: 9s;
}

.icon-png {
  background: conic-gradient(from 90deg, var(--green), var(--cyan), var(--purple), var(--green));
}

.icon-video {
  border-radius: var(--radius);
}

.icon-freedom {
  background: repeating-conic-gradient(var(--yellow) 0 10deg, var(--pink) 10deg 20deg, var(--cyan) 20deg 30deg);
}

.icon-free {
  background: radial-gradient(circle, var(--yellow), var(--orange), var(--pink));
}

.love-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.love-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 18px;
  text-align: center;
  font-weight: 850;
  line-height: 1.22;
  animation: bob 5s ease-in-out infinite;
}

.love-card:nth-child(2n) {
  animation-delay: -1.2s;
}

.love-card:nth-child(3n) {
  animation-delay: -2.2s;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 34px;
  padding: clamp(22px, 5vw, 52px);
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 40%, rgba(255, 243, 109, .17), transparent 26%),
    radial-gradient(circle at 78% 20%, rgba(255, 79, 216, .2), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
}

.qr-frame {
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 50px rgba(39, 247, 255, .18);
}

.qr-frame img {
  width: 100%;
  height: auto;
  image-rendering: crisp-edges;
}

.qr-url {
  margin: 12px 0 0;
  color: #08111d;
  font-size: .72rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: center;
}

.download-copy {
  align-items: flex-start;
  flex-direction: column;
}

.download-copy p {
  max-width: 520px;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 52px;
  color: var(--muted);
  font-size: .92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-email {
  opacity: .76;
}

.policy-shell,
.error-shell {
  width: min(900px, calc(100% - 32px));
  margin: 64px auto;
  padding: clamp(24px, 5vw, 54px);
}

.policy-shell {
  background: rgba(12, 11, 24, .82);
}

.policy-shell section {
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.policy-shell h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.policy-shell a:not(.button) {
  color: var(--cyan);
}

.policy-updated {
  font-size: .95rem;
}

.error-shell {
  display: grid;
  place-items: center;
  min-height: 62vh;
  text-align: center;
}

.error-shell .brand-mark {
  width: 86px;
  margin-bottom: 18px;
}

.error-shell p {
  color: var(--muted);
  font-size: 1.2rem;
}

.particle {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--color);
  box-shadow: 0 0 18px var(--color);
  opacity: .62;
  transform: translate3d(var(--x), 105vh, 0);
  animation: particleFloat var(--duration) linear infinite;
  animation-delay: var(--delay);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes floatAurora {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(8vw, 5vh, 0) scale(1.16);
  }
}

@keyframes hueFlow {
  to {
    filter: hue-rotate(360deg);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(.96);
    opacity: .78;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes particleFloat {
  to {
    transform: translate3d(calc(var(--x) + var(--drift)), -12vh, 0);
  }
}

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

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 430px;
    order: -1;
  }

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

  .love-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .topbar {
    width: min(100% - 24px, 1180px);
    min-height: 64px;
  }

  .nav-links {
    gap: 12px;
    font-size: .86rem;
  }

  .brand span:last-child {
    display: none;
  }

  .section-shell {
    width: min(100% - 24px, 1180px);
    padding: 58px 0;
  }

  .hero {
    gap: 22px;
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(3.3rem, 17vw, 5.4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .mini-art-one {
    right: 0;
  }

  .mini-art-two {
    left: 0;
  }

  .art-board,
  .card-grid,
  .love-grid {
    grid-template-columns: 1fr;
  }

  .art-tile {
    min-height: 220px;
  }

  .feature-card {
    min-height: auto;
  }

  .love-card {
    min-height: 96px;
  }

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

  .download-panel {
    gap: 24px;
  }
}

@media (max-width: 420px) {
  .nav-links {
    gap: 9px;
    font-size: .8rem;
  }

  .hero-subtitle {
    font-size: 1.28rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .particle {
    display: none;
  }
}
