:root {
  --bg: #0d0924;
  --bg-deep: #070516;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.14);
  --primary: #6d4cff;
  --primary-two: #ff355d;
  --accent: #b7a1ff;
  --success: #36e7a0;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(109, 76, 255, 0.26), transparent 30rem),
    radial-gradient(circle at 82% 20%, rgba(255, 53, 93, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
  z-index: -3;
}

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

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

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

.page-glow-one {
  left: -120px;
  top: 24%;
  background: #7659ff;
}

.page-glow-two {
  right: -160px;
  bottom: 18%;
  background: #ff315d;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: 0.25s ease;
}

.site-header.scrolled {
  background: rgba(7, 5, 22, 0.78);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.navbar {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img,
.footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(109, 76, 255, 0.28);
}

.brand span {
  font-size: 17px;
}

.brand strong {
  color: var(--accent);
}

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

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.09);
}

.nav-links .nav-cta {
  color: #fff;
  margin-left: 6px;
  background: linear-gradient(135deg, var(--primary), #5931dd);
  box-shadow: 0 14px 35px rgba(109, 76, 255, 0.28);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 5px auto;
  border-radius: 999px;
}

.section-pad {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 58px;
  padding-top: 46px;
  padding-bottom: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-two), var(--primary));
  border-radius: 999px;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 6.7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.hero-text,
.section-head p,
.feature-card p,
.step p,
.note-card p,
.cta-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 17px;
}

.hero-text {
  max-width: 650px;
  font-size: 19px;
}

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

.store-button,
.outline-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-button {
  padding: 11px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4d2bd2);
  box-shadow: 0 20px 45px rgba(109, 76, 255, 0.34);
}

.store-button small {
  display: block;
  font-size: 11px;
  line-height: 1;
  color: rgba(255,255,255,0.76);
  font-weight: 700;
}

.play-triangle {
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18));
}

.outline-button {
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.outline-button.light {
  background: rgba(255,255,255,0.12);
  white-space: nowrap;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row div {
  min-width: 132px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  border-radius: 20px;
}

.trust-row strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.trust-row span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 660px;
}

.phone-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.phone-shot {
  width: min(72vw, 360px);
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.16);
  background: #100b2f;
}

.phone-shot-main {
  position: relative;
  z-index: 2;
  transform: rotate(-4deg) translateX(-46px);
}

.phone-shot-back {
  position: absolute;
  z-index: 1;
  transform: rotate(6deg) translate(88px, 20px) scale(0.86);
  opacity: 0.8;
}

.logo-strip {
  width: min(var(--max), calc(100% - 36px));
  margin: -20px auto 35px;
  padding: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.055);
  border-radius: 999px;
  backdrop-filter: blur(18px);
}

.logo-strip span {
  padding: 10px 18px;
  color: rgba(255,255,255,0.78);
  font-weight: 750;
  font-size: 14px;
}

.section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}

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

.feature-card,
.note-card,
.cta-card,
.screen-card,
.step {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.105), rgba(255,255,255,0.055));
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0,0,0,0.22);
}

.feature-card {
  min-height: 310px;
  padding: 26px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(109,76,255,0.35), transparent 68%);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(109,76,255,0.95), rgba(255,53,93,0.8));
  font-size: 26px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: center;
  padding-top: 82px;
  padding-bottom: 82px;
}

.split-image {
  display: flex;
  justify-content: center;
}

.split-image img {
  width: min(100%, 365px);
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: 24px;
}

.step span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(109,76,255,0.18);
  border: 1px solid rgba(183,161,255,0.3);
  color: #d8ceff;
  font-weight: 900;
}

.step p {
  margin-bottom: 0;
}

.screenshots {
  padding-top: 88px;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 390px));
  gap: 28px;
  justify-content: center;
}

.screen-card {
  padding: 16px;
  border-radius: 36px;
  text-align: center;
}

.screen-card img {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
}

.screen-card figcaption {
  padding: 18px 10px 6px;
  color: rgba(255,255,255,0.86);
  font-weight: 800;
  font-size: 18px;
}

.note {
  padding-top: 64px;
  padding-bottom: 64px;
}

.note-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 34px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,53,93,0.22), rgba(109,76,255,0.18)),
    rgba(255,255,255,0.06);
}

.note-card p {
  margin-bottom: 0;
  max-width: 820px;
}

.cta {
  padding-top: 74px;
  padding-bottom: 92px;
}

.cta-card {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  border-radius: 40px;
  padding: 48px 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(109,76,255,0.32), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
}

.cta-card img {
  width: 94px;
  height: 94px;
  margin: 0 auto 24px;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(109,76,255,0.34);
}

.cta-card p {
  max-width: 610px;
  margin: 0 auto 28px;
}

.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: start;
}

.site-footer p {
  margin: 12px 0 0;
  max-width: 520px;
  font-size: 15px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.045);
  font-weight: 700;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255,255,255,0.09);
}

.copyright {
  grid-column: 1 / -1;
  color: rgba(255,255,255,0.52);
  font-size: 14px;
}

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

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

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
  }

  .hero-text {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    min-height: 600px;
  }

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

  .split {
    grid-template-columns: 1fr;
  }

  .split-copy {
    max-width: 760px;
    margin: 0 auto;
  }
}

@media (max-width: 820px) {
  .navbar {
    min-height: 74px;
  }

  .brand span {
    max-width: 210px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 82px;
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(7, 5, 22, 0.94);
    backdrop-filter: blur(20px);
    border-radius: 22px;
    transform-origin: top;
    transform: scaleY(0.95);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  h1 {
    font-size: clamp(42px, 12vw, 66px);
  }

  .hero {
    padding-top: 32px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .phone-shot {
    width: min(74vw, 315px);
  }

  .phone-shot-main {
    transform: rotate(-3deg) translateX(-22px);
  }

  .phone-shot-back {
    transform: rotate(5deg) translate(54px, 24px) scale(0.82);
  }

  .logo-strip {
    border-radius: 28px;
  }

  .feature-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .note-card,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .section-pad,
  .navbar,
  .site-footer,
  .logo-strip {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand span {
    font-size: 14px;
    max-width: 180px;
  }

  .hero-text,
  .section-head p,
  .feature-card p,
  .step p,
  .note-card p,
  .cta-card p {
    font-size: 15.5px;
  }

  .hero-actions {
    display: grid;
  }

  .store-button,
  .outline-button {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .phone-shot {
    border-radius: 28px;
  }

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

  .step {
    grid-template-columns: 1fr;
  }

  .note-card,
  .cta-card {
    padding: 26px 20px;
  }
}
