:root {
  --hud-ink: #1c1b22;
  --hud-paper: #f6f4f8;
  --hud-card: #fcfbfd;
  --hud-lilac: #8b62dc;
  --hud-lilac-dark: #7046c4;
  --hud-mint: #d9f0e5;
  --hud-line: rgba(45, 37, 58, 0.1);
  --hud-shadow: 0 30px 90px rgba(69, 50, 92, 0.13);
  --hud-ease: cubic-bezier(0.32, 0.72, 0, 1);
}

html {
  background: var(--hud-paper);
}

body {
  background:
    radial-gradient(circle at 84% 3%, rgba(154, 111, 229, 0.14), transparent 28rem),
    var(--hud-paper);
  color: var(--hud-ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.container,
.hero-inner {
  width: min(100% - 2rem, 1240px);
}

nav {
  top: 16px;
  left: 50%;
  right: auto;
  width: min(calc(100% - 2rem), 1180px);
  min-height: 62px;
  padding: 0.45rem 0.5rem 0.45rem 1.25rem;
  transform: translateX(-50%);
  border: 1px solid rgba(45, 37, 58, 0.08);
  border-radius: 999px;
  background: rgba(252, 251, 253, 0.8);
  box-shadow: 0 10px 40px rgba(69, 50, 92, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

nav.scrolled {
  background: rgba(252, 251, 253, 0.94);
  border-bottom-color: rgba(45, 37, 58, 0.08);
}

.nav-logo {
  color: var(--hud-ink);
  font-size: 1.05rem;
  letter-spacing: -0.04em;
}

.nav-right {
  gap: 0.05rem;
}

.nav-link {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.nav-link:hover {
  background: rgba(112, 70, 196, 0.07);
}

.nav-cta,
.btn-primary,
.btn-secondary {
  min-height: 48px;
  border-radius: 999px;
  font-weight: 650;
  transition:
    transform 600ms var(--hud-ease),
    color 600ms var(--hud-ease),
    background 600ms var(--hud-ease),
    box-shadow 600ms var(--hud-ease);
}

.nav-cta {
  padding: 0.78rem 1.25rem;
  background: var(--hud-ink);
}

.nav-cta:hover,
.hero-actions .btn-primary:hover {
  color: #fff;
  background: var(--hud-lilac-dark);
  box-shadow: 0 14px 34px rgba(112, 70, 196, 0.23);
  transform: translateY(-2px);
}

.btn-secondary:hover {
  color: var(--hud-ink);
  background: #fff;
  transform: translateY(-2px);
}

.nav-cta:active,
.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
}

.hero {
  min-height: 100dvh;
  padding-top: 120px;
  padding-bottom: 70px;
  background:
    radial-gradient(circle at 74% 38%, rgba(154, 111, 229, 0.15), transparent 27rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent);
}

.hero-bg .orb,
.hero-dots {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 1.05fr) minmax(500px, 0.95fr);
  gap: clamp(2.5rem, 6vw, 7rem);
}

.hero-badge {
  padding: 0.55rem 0.85rem;
  border: 0;
  color: #5c4878;
  background: rgba(139, 98, 220, 0.1);
}

.hero h1 {
  max-width: 630px;
  font-size: clamp(4rem, 6vw, 5.8rem);
  line-height: 0.87;
  letter-spacing: -0.07em;
}

.hero h1 .gradient-text {
  color: var(--hud-lilac-dark);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero-tagline {
  max-width: 53ch;
  color: #67606f;
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  line-height: 1.72;
}

.hero-note {
  color: #80778a;
}

.hero-phone-wrapper {
  position: relative;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 36px;
  background: rgba(112, 70, 196, 0.07);
  box-shadow: var(--hud-shadow);
}

.hero-phone-wrapper::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 29px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.fan-phone {
  box-shadow: 0 24px 60px rgba(48, 37, 64, 0.2);
  transition: transform 900ms var(--hud-ease);
}

.how-it-works,
.features,
.gallery,
.pricing-section,
.faq-section,
.proof-section,
.story-section,
.highlights,
.cta-section {
  padding-top: clamp(6.5rem, 11vw, 10rem);
  padding-bottom: clamp(7rem, 12vw, 11rem);
}

.section-eyebrow {
  color: var(--hud-lilac-dark);
  font-size: 0.69rem;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.section-title {
  color: var(--hud-ink);
  font-size: clamp(3.1rem, 6.2vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.062em;
}

.section-desc {
  max-width: 57ch;
  color: #706879;
  line-height: 1.72;
}

.step,
.feature-card,
.proof-card,
.gallery-card,
.price-card,
.faq-item {
  border-color: rgba(45, 37, 58, 0.08);
  background: rgba(252, 251, 253, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.feature-card,
.proof-card,
.price-card {
  border-radius: 26px;
}

.feature-card:hover,
.proof-card:hover,
.price-card:hover {
  border-color: rgba(112, 70, 196, 0.16);
  box-shadow: 0 24px 70px rgba(69, 50, 92, 0.11);
  transform: translateY(-5px);
}

.showcase-frame {
  border-radius: 34px;
  background: rgba(112, 70, 196, 0.08);
  box-shadow: var(--hud-shadow);
}

.showcase-phone img,
.gallery-card img {
  object-fit: cover;
}

.pricing-header {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 590px;
  padding: clamp(1.65rem, 3vw, 2.35rem);
  transition:
    transform 700ms var(--hud-ease),
    box-shadow 700ms var(--hud-ease),
    border-color 700ms var(--hud-ease);
}

.price-card.featured {
  border-color: rgba(112, 70, 196, 0.22);
  background:
    radial-gradient(circle at 80% 0%, rgba(154, 111, 229, 0.18), transparent 16rem),
    rgba(252, 251, 253, 0.88);
  box-shadow: 0 25px 80px rgba(112, 70, 196, 0.13);
}

.price-card.featured::before {
  top: 0;
  right: auto;
  left: 50%;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  content: "Most flexible";
  color: #fff;
  background: var(--hud-lilac-dark);
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.price-tier {
  min-height: 32px;
  color: var(--hud-lilac-dark);
}

.price-amount {
  min-height: 74px;
  color: var(--hud-ink);
  font-size: clamp(2.5rem, 4vw, 4.1rem);
  letter-spacing: -0.06em;
}

.price-sub {
  min-height: 34px;
  margin-top: -0.25rem;
}

.price-blurb {
  min-height: 72px;
  color: #6f6877;
  line-height: 1.55;
}

.price-list {
  margin-top: 1.25rem;
}

.price-list li {
  padding: 0.65rem 0;
}

.price-list li::before {
  color: var(--hud-lilac-dark);
  background: rgba(139, 98, 220, 0.12);
}

.price-action {
  width: 100%;
  margin-top: auto;
  padding-top: 1.5rem;
}

.price-action .btn-primary,
.price-action .btn-secondary {
  width: 100%;
  justify-content: center;
}

.cta-box {
  overflow: hidden;
  border: 1px solid rgba(45, 37, 58, 0.08);
  border-radius: 36px;
  background:
    radial-gradient(circle at 75% 15%, rgba(154, 111, 229, 0.25), transparent 24rem),
    var(--hud-card);
  box-shadow: var(--hud-shadow);
}

:focus-visible {
  outline: 3px solid var(--hud-lilac);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 128px;
  }

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

  .hero-phone-wrapper {
    width: min(100%, 660px);
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin: 0 auto;
  }

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

  .price-amount,
  .price-tier,
  .price-sub,
  .price-blurb {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  nav {
    top: 9px;
    width: calc(100% - 1rem);
    min-height: 58px;
  }

  .nav-right {
    top: 66px;
    right: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(45, 37, 58, 0.09);
    border-radius: 24px;
    background: rgba(252, 251, 253, 0.97);
    box-shadow: 0 24px 70px rgba(69, 50, 92, 0.15);
  }

  .nav-right .nav-link,
  .nav-right .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 4.5rem;
  }

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

  .hero-phone-wrapper {
    padding: 0.4rem;
    border-radius: 26px;
  }

  .section-title {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .how-it-works,
  .features,
  .gallery,
  .pricing-section,
  .faq-section,
  .proof-section,
  .story-section,
  .highlights,
  .cta-section {
    padding-top: 6rem;
    padding-bottom: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fan-phone,
  .price-card,
  .feature-card,
  .proof-card,
  .btn-primary,
  .btn-secondary,
  .nav-cta {
    transition-duration: 0.01ms !important;
  }
}
