:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: rgba(248, 251, 255, 0.68);
  --soft: rgba(248, 251, 255, 0.12);
  --line: rgba(248, 251, 255, 0.16);
  --night: #070812;
  --night-2: #101226;
  --lime: #7df24d;
  --green: #5df57a;
  --teal: #00d9c8;
  --cyan: #00a7f2;
  --blue: #005cff;
  --mint: #b9ff8b;
  --radius: 30px;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 6%, rgba(125, 242, 77, 0.26), transparent 28rem),
    radial-gradient(circle at 78% 14%, rgba(0, 167, 242, 0.34), transparent 32rem),
    radial-gradient(circle at 50% 88%, rgba(0, 92, 255, 0.25), transparent 36rem),
    linear-gradient(135deg, #06120d 0%, #071a2f 48%, #050711 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at top, black, transparent 74%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 8, 18, 0.78) 100%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(7, 8, 18, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: url("./assets/app-icon.png") center / cover no-repeat;
  box-shadow: 0 12px 34px rgba(0, 167, 242, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: white;
}

.nav-cta {
  color: #03130f;
  background: linear-gradient(135deg, var(--mint), white 48%, #d9ecff);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 750;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: 80px 22px;
}

.hero-inner,
.section,
.footer-inner,
.page-hero,
.legal-layout {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.82rem;
  font-weight: 700;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--lime);
  box-shadow: 0 0 18px var(--lime);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

h1 {
  max-width: 780px;
  margin-top: 18px;
  font-size: clamp(4rem, 11vw, 9rem);
}

h2 {
  font-size: clamp(2.7rem, 7vw, 6.2rem);
}

h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  color: #03130f;
  background: linear-gradient(135deg, var(--mint), white 48%, #d8edff);
  box-shadow: 0 22px 54px rgba(0, 167, 242, 0.28);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

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

.hero-icon {
  position: absolute;
  top: -16px;
  right: 28px;
  width: 138px;
  aspect-ratio: 1;
  border-radius: 31px;
  background: url("./assets/app-icon.png") center / cover no-repeat;
  box-shadow: 0 30px 70px rgba(0, 92, 255, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.18);
  transform: rotate(7deg);
  z-index: 4;
}

.hero-icon::after {
  content: "";
  position: absolute;
  inset: -42px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(125, 242, 77, 0.28), rgba(0, 167, 242, 0.12), transparent 62%);
  z-index: -1;
}

.phone {
  position: absolute;
  inset: 16px 0 16px auto;
  width: min(360px, 82vw);
  border-radius: 54px;
  padding: 14px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.46);
  transform: rotate(4deg);
}

.phone-screen {
  min-height: 494px;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(180deg, rgba(125, 242, 77, 0.15), transparent 38%),
    linear-gradient(135deg, #09283a, #050611);
}

.viewfinder {
  position: absolute;
  inset: 18px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 62% 30%, var(--mint) 0 8%, transparent 9%),
    linear-gradient(145deg, rgba(0, 217, 200, 0.22), rgba(0, 92, 255, 0.18)),
    linear-gradient(180deg, #1c2341, #080b18);
}

.viewfinder::before,
.viewfinder::after {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 40%;
  background: linear-gradient(135deg, #28316b, #111735);
  clip-path: polygon(0 100%, 22% 35%, 38% 78%, 54% 26%, 75% 88%, 100% 48%, 100% 100%);
}

.viewfinder::after {
  opacity: 0.55;
  transform: translateY(16px) scaleX(1.12);
  filter: blur(2px);
}

.capture-bar {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  align-items: center;
  gap: 14px;
}

.snap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime), var(--teal));
  border: 5px solid white;
  box-shadow: 0 0 36px rgba(0, 217, 200, 0.42);
}

.mini-stack {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.mini-frame {
  width: 34px;
  height: 42px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border: 2px solid rgba(255, 255, 255, 0.72);
  opacity: 0.72;
}

.floating-frame {
  position: absolute;
  top: 44px;
  left: -26px;
  width: 190px;
  aspect-ratio: 1.22;
  border-radius: 28px;
  background:
    radial-gradient(circle at 70% 28%, var(--mint) 0 10%, transparent 11%),
    linear-gradient(140deg, var(--teal), var(--blue));
  border: 5px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 76px rgba(0, 167, 242, 0.32);
  transform: rotate(-8deg);
}

.spark {
  position: absolute;
  width: 34px;
  height: 34px;
  background: white;
  clip-path: polygon(50% 0, 62% 35%, 100% 50%, 62% 65%, 50% 100%, 38% 65%, 0 50%, 38% 35%);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.76));
}

.hero-visual .spark {
  top: 28px;
  left: 132px;
}

.film-ribbon {
  position: absolute;
  right: 250px;
  bottom: 78px;
  display: flex;
  gap: 12px;
  transform: rotate(-8deg);
}

.film-ribbon span {
  width: 58px;
  height: 72px;
  border-radius: 16px;
  background: rgba(0, 167, 242, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.section {
  padding: 112px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-head p {
  max-width: 420px;
  margin: 0;
}

.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case {
  position: relative;
  min-height: 360px;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}

.case::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  right: -80px;
  bottom: -90px;
  background: var(--glow);
  filter: blur(14px);
  opacity: 0.75;
}

.case h3,
.case p,
.case .tag {
  position: relative;
  z-index: 2;
}

.case p {
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  margin-bottom: 100px;
  color: white;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}

.step {
  min-height: 250px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
}

.step-number {
  color: var(--lime);
  font-weight: 900;
  margin-bottom: 58px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.visual-panel {
  min-height: 520px;
  border-radius: 42px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 24%, rgba(125, 242, 77, 0.3), transparent 22%),
    radial-gradient(circle at 72% 58%, rgba(0, 167, 242, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035));
}

.visual-panel .play {
  position: absolute;
  left: 58px;
  top: 180px;
  width: 0;
  height: 0;
  border-top: 54px solid transparent;
  border-bottom: 54px solid transparent;
  border-left: 84px solid white;
  filter: drop-shadow(0 0 28px rgba(0, 217, 200, 0.62));
}

.photo-card {
  position: absolute;
  width: 210px;
  height: 250px;
  right: 72px;
  top: 132px;
  border-radius: 30px;
  border: 6px solid rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 66% 28%, var(--mint) 0 12%, transparent 13%),
    linear-gradient(145deg, var(--teal), var(--blue));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
}

.photo-card:nth-child(3) {
  transform: translate(-34px, 24px) rotate(-9deg);
  opacity: 0.5;
}

.photo-card:nth-child(4) {
  transform: translate(-68px, 46px) rotate(-15deg);
  opacity: 0.32;
}

.bullets {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.bullet {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.bullet-icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--lime), var(--teal) 48%, var(--blue));
}

.cta-band {
  text-align: center;
  padding: 76px 24px;
  border-radius: 42px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0, rgba(0, 217, 200, 0.28), transparent 36%),
    rgba(255, 255, 255, 0.06);
}

.cta-band p {
  max-width: 620px;
  margin: 22px auto 0;
}

.page-hero {
  padding: 96px 0 42px;
}

.page-hero h1 {
  font-size: clamp(3.6rem, 8vw, 7.4rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding: 36px 0 110px;
}

.toc {
  position: sticky;
  top: 98px;
  height: fit-content;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.toc a {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-panel {
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(26px, 5vw, 54px);
  background: rgba(255, 255, 255, 0.055);
}

.content-panel section + section {
  margin-top: 46px;
}

.content-panel h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  margin-bottom: 12px;
}

.content-panel ul {
  color: var(--muted);
  line-height: 1.75;
  padding-left: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
}

.faq-question {
  width: 100%;
  border: 0;
  color: white;
  background: transparent;
  padding: 22px 24px;
  text-align: left;
  font: inherit;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
}

.faq-question span {
  color: var(--lime);
}

.faq-answer {
  display: none;
  padding: 0 24px 24px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-question span {
  transform: rotate(45deg);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.22);
}

.footer-inner {
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-inner,
  .split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 52px;
  }

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

  .phone {
    right: 50%;
    transform: translateX(50%) rotate(3deg);
  }

  .floating-frame {
    left: 4%;
  }

  .film-ribbon {
    right: auto;
    left: 5%;
  }

  .use-cases,
  .flow {
    grid-template-columns: 1fr;
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .step:last-child {
    border-bottom: 0;
  }

  .section-head,
  .footer-inner {
    display: grid;
  }

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

@media (max-width: 620px) {
  .nav {
    padding-inline: 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero-inner,
  .section,
  .footer-inner,
  .page-hero,
  .legal-layout {
    width: min(100% - 30px, var(--max));
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

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

  .phone {
    width: min(315px, 90vw);
  }

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

  .floating-frame {
    width: 148px;
  }

  .section {
    padding: 82px 0;
  }

  .visual-panel {
    min-height: 430px;
  }

  .visual-panel .play {
    left: 36px;
  }

  .photo-card {
    right: 34px;
    width: 168px;
    height: 214px;
  }

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

@media (prefers-reduced-motion: no-preference) {
  .floating-frame,
  .spark,
  .photo-card {
    animation: float 5s ease-in-out infinite;
  }

  .spark {
    animation-duration: 3s;
  }

  .photo-card:nth-child(3) {
    animation-delay: 450ms;
  }

  .photo-card:nth-child(4) {
    animation-delay: 800ms;
  }

  @keyframes float {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -10px;
    }
  }
}
