*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  background: #0a0a0b;
  color: #f6f7fb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #f6f7fb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: start;
  justify-items: start;
  --hero-top-space: max(env(safe-area-inset-top), clamp(2rem, 8vh, 6rem));
  padding: var(--hero-top-space) 1rem var(--hero-bottom-space, 4.5rem);
  overflow: visible;
  background: linear-gradient(0deg, rgba(0, 0, 0, var(--hero-darken, 0.22)), rgba(0, 0, 0, var(--hero-darken, 0.22))), linear-gradient(180deg, rgba(10, 10, 11, var(--hero-depth-top, 0.62)) 0%, rgba(10, 10, 11, var(--hero-depth-mid, 0.78)) 40%, rgba(10, 10, 11, var(--hero-depth-bottom, 0.92)) 100%), radial-gradient(var(--hero-vignette-rx, 45%) var(--hero-vignette-ry, 45%) at var(--hero-vignette-cx, 50%) var(--hero-vignette-cy, 35%), rgba(0, 0, 0, var(--hero-vignette-opacity, 0.28)), transparent var(--hero-vignette-stop, 65%)), radial-gradient(60% 60% at 70% 20%, rgba(255, 50, 122, var(--hero-glow1-opacity, 0.24)), transparent 60%), radial-gradient(40% 40% at 30% 80%, rgba(91, 55, 255, var(--hero-glow2-opacity, 0.24)), transparent 60%), var(--hero-image-url, url("/icon.png")) center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #0a0a0b;
  opacity: var(--hero-fade-opacity, 1);
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
.hero .hero__inner {
  width: min(1100px, 92%);
  margin-inline: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: calc(100svh - var(--hero-top-space) - var(--hero-bottom-space, 4.5rem));
  position: relative;
  z-index: 1;
}
.hero .hero__header {
  max-width: 32ch;
  padding: 0.5rem 0;
}
.hero .hero__body {
  margin-top: auto;
  align-self: end;
  margin-inline-start: auto;
  max-width: 50ch;
  text-align: end;
  padding: 0.5rem 0;
}
.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: rgba(246, 247, 251, 0.7);
}
.hero h1 {
  font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 1rem 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.hero h1 .accent {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%), linear-gradient(90deg, rgb(255, 101, 155.087804878), rgb(132.82, 106, 255));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero #app__title {
  padding-top: 1.2rem;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: rgba(246, 247, 251, 0.7);
  max-width: 60ch;
  margin: 0 0 1.5rem;
}
.hero .cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero .cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f6f7fb;
  font-weight: 600;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
}
.hero .cta .btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}
.hero .cta .btn.btn--primary {
  background: linear-gradient(90deg, #ff327a, #5b37ff);
  border: none;
}
.hero .cta .btn.btn--primary:hover {
  filter: brightness(1.05);
}
.hero .hero__body .cta {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  /* On compact viewports, push body content to the bottom */
  .hero {
    --hero-bottom-space: 6rem;
    padding: 1.25rem 1rem var(--hero-bottom-space);
    align-content: start;
  }
  .hero#app__title {
    padding-top: 0.2rem;
  }
  .hero .hero__inner {
    min-height: calc(100svh - var(--hero-bottom-space));
  }
  .hero .hero__body {
    margin-top: auto;
  }
  .hero .lead {
    margin: 0 0 1rem;
  }
  .scroll-cue {
    bottom: 1rem;
  }
}
/* Extra-compact: make the title a bit larger */
@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(3.38rem, 7.8vw, 6.5rem);
  }
}
/* Wide layouts: bring bottom content up ~150px */
@media (min-width: 1200px) {
  .hero {
    --hero-bottom-space: 9.5rem;
    padding-bottom: var(--hero-bottom-space);
  }
  .hero .hero__inner {
    min-height: calc(100svh - var(--hero-bottom-space));
  }
}
.scroll-cue {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  gap: 0.4rem;
  color: rgba(246, 247, 251, 0.7);
  font-size: 0.85rem;
  opacity: 0.9;
}
.scroll-cue .mouse {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
  transform: translateX(-50%);
  animation: wheel 1.7s ease-in-out infinite;
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
}
section {
  padding: clamp(2.5rem, 5vw, 5rem) 1rem;
}

.section--features {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
}
.section--features .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (max-width: 900px) {
  .section--features .grid {
    grid-template-columns: 1fr;
  }
}
.section--features .card {
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}
.section--features .card h3 {
  margin: 0.2rem 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.section--features .card p {
  color: rgba(246, 247, 251, 0.7);
  font-size: 0.98rem;
  line-height: 1.5;
}

.section--how .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  counter-reset: step;
}
@media (max-width: 900px) {
  .section--how .steps {
    grid-template-columns: 1fr;
  }
}
.section--how .step {
  position: relative;
  padding: 1rem 1rem 1rem 3rem;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
}
.section--how .step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.75rem;
  top: 1rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.section--badges .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.section--badges .badge {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  color: rgba(246, 247, 251, 0.7);
}

.footer {
  text-align: center;
  color: rgba(246, 247, 251, 0.7);
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer a {
  color: rgba(246, 247, 251, 0.7);
  text-decoration: underline;
}
