:root {
  --ink: #08111f;
  --muted: #637083;
  --blue: #0a8ff0;
  --blue-deep: #0661d8;
  --mint: #2ed06e;
  --panel: rgba(255, 255, 255, 0.7);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(8, 17, 31, 0.09);
  --shadow: 0 24px 70px rgba(28, 67, 118, 0.18);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(238, 248, 255, 0.96), rgba(255, 255, 255, 0.92) 42%, rgba(228, 246, 237, 0.9)),
    linear-gradient(180deg, #f8fbff 0%, #eef7ff 48%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(10, 143, 240, 0.12), transparent 34%),
    linear-gradient(300deg, rgba(46, 208, 110, 0.11), transparent 38%);
  z-index: -2;
}

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

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

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1120px, calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 44px rgba(40, 84, 129, 0.12);
  backdrop-filter: blur(22px);
}

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

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

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(10, 143, 240, 0.22);
}

.nav-links {
  gap: 8px;
  color: #334155;
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease;
}

.nav-links a:hover {
  color: var(--blue-deep);
  background: rgba(10, 143, 240, 0.09);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(310px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
  padding: clamp(58px, 8vw, 104px) 0 72px;
}

.hero-bg {
  position: absolute;
  inset: 24px -8vw auto;
  height: 70%;
  border-radius: 0 0 64px 64px;
  background:
    linear-gradient(130deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.32)),
    linear-gradient(110deg, rgba(10, 143, 240, 0.18), transparent 48%, rgba(46, 208, 110, 0.16));
  filter: saturate(1.1);
  z-index: -1;
}

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

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.15rem, 7vw, 6.7rem);
  line-height: 0.93;
  font-weight: 850;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 4.15rem);
  line-height: 1;
  font-weight: 830;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.15;
}

.hero-subtitle {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.store-button {
  display: inline-block;
  line-height: 0;
}

.store-button img {
  width: 180px;
  min-width: 180px;
  height: auto;
}

.secondary-link {
  color: var(--blue-deep);
  font-weight: 760;
  padding: 13px 4px;
}

.hero-visual {
  min-width: 0;
}

.phone-stack {
  position: relative;
  min-height: clamp(500px, 72vw, 740px);
}

.phone-shot {
  border-radius: clamp(28px, 4vw, 46px);
  object-fit: cover;
  background: #dcefff;
  box-shadow: 0 34px 80px rgba(28, 67, 118, 0.26);
}

.main-shot {
  position: relative;
  z-index: 3;
  width: min(390px, 72vw);
  margin: 0 auto;
}

.side-shot {
  position: absolute;
  top: 14%;
  width: min(260px, 45vw);
  opacity: 0.72;
  filter: saturate(0.94);
}

.side-left {
  left: 0;
  transform: rotate(-8deg);
}

.side-right {
  right: 0;
  transform: rotate(8deg);
}

.features,
.how-it-works,
.cta {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 54px);
}

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

.feature-card,
.step,
.cta-panel {
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.feature-card {
  min-height: 275px;
  padding: 24px;
  border-radius: var(--radius);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(10, 143, 240, 0.28);
  box-shadow: 0 30px 86px rgba(28, 67, 118, 0.23);
}

.feature-card p,
.step p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-icon {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(10, 143, 240, 0.16), rgba(46, 208, 110, 0.15));
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  border: 3px solid var(--blue);
}

.scan-icon::before {
  width: 24px;
  height: 16px;
  border-radius: 12px 12px 7px 7px;
  border-top-color: transparent;
}

.scan-icon::after {
  width: 15px;
  height: 15px;
  right: 10px;
  bottom: 10px;
  border-radius: 50%;
  box-shadow: 9px 9px 0 -6px var(--blue);
}

.speed-icon::before {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border-left-color: transparent;
}

.speed-icon::after {
  width: 14px;
  height: 3px;
  border: 0;
  background: var(--blue);
  transform: rotate(-34deg);
}

.globe-icon::before {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.globe-icon::after {
  width: 3px;
  height: 30px;
  border: 0;
  background: var(--blue);
  box-shadow: 9px 0 0 -7px var(--blue), -9px 0 0 -7px var(--blue);
}

.merge-icon::before {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.merge-icon::after {
  width: 16px;
  height: 3px;
  border: 0;
  background: var(--blue);
  box-shadow: 0 9px 0 var(--blue), 0 -9px 0 var(--blue);
}

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

.step {
  padding: 28px;
  border-radius: var(--radius);
}

.step span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 850;
}

.preview {
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px) 0;
  background:
    linear-gradient(180deg, rgba(4, 99, 178, 0.06), rgba(255, 255, 255, 0.72)),
    linear-gradient(100deg, rgba(10, 143, 240, 0.14), rgba(46, 208, 110, 0.11));
}

.preview-inner {
  position: relative;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}

.preview-shot {
  width: 100%;
  max-height: 730px;
  border-radius: clamp(28px, 4vw, 44px);
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 34px 80px rgba(28, 67, 118, 0.24);
}

.preview-shot:nth-child(2) {
  margin-top: 56px;
}

.preview-shot:nth-child(3) {
  margin-top: 22px;
}

.cta {
  text-align: center;
}

.cta-panel {
  display: grid;
  justify-items: center;
  padding: clamp(34px, 7vw, 78px);
  border-radius: 34px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.56)),
    linear-gradient(110deg, rgba(10, 143, 240, 0.12), rgba(46, 208, 110, 0.12));
}

.cta-panel h2 {
  max-width: 820px;
  margin-bottom: 28px;
}

.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 26px 0 38px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #516173;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--blue-deep);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--delay, 0ms);
}

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .phone-stack {
    min-height: 650px;
  }

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

  .preview-grid {
    grid-template-columns: repeat(2, minmax(230px, 1fr));
  }

  .preview-shot:nth-child(2),
  .preview-shot:nth-child(3) {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 8px;
    width: min(100% - 18px, 560px);
  }

  .nav-links {
    display: none;
  }

  .section-shell {
    width: min(100% - 28px, 560px);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

  .main-shot {
    width: min(315px, 78vw);
  }

  .side-shot {
    width: min(210px, 50vw);
    opacity: 0.5;
  }

  .side-left {
    left: -18px;
  }

  .side-right {
    right: -18px;
  }

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

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

  .preview-shot {
    max-height: none;
  }

  .site-footer {
    width: min(100% - 28px, 560px);
    flex-direction: column;
  }
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
