:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #151517;
  --surface-soft: #1d1d20;
  --line: #2b2b31;
  --text: #f7f7f7;
  --muted: #b8b8bf;
  --subtle: #85858f;
  --primary: #f24566;
  --primary-strong: #ff5b78;
  --cream: #fff6ea;
  --mint: #9ad6c5;
  --shadow: rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 7, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(242, 69, 102, 0.28);
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
}

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

.nav-links a:hover {
  color: var(--text);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(242, 69, 102, 0.72);
  border-radius: 999px;
  color: #ffffff;
}

.nav-links .nav-download:hover {
  border-color: var(--primary);
  background: rgba(242, 69, 102, 0.16);
}

.hero {
  position: relative;
  min-height: 86svh;
  overflow: hidden;
  padding: 104px 48px 72px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("./assets/screen-detail.jpg");
  background-position: center 24%;
  background-size: cover;
  filter: saturate(0.9);
  transform: scale(1.02);
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.66);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow,
.section-kicker,
.feature-label {
  margin: 0;
  color: var(--primary-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 16px 0 24px;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 900;
}

.hero-copy {
  max-width: 610px;
  margin: 0;
  color: var(--cream);
  font-size: 20px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}

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

.button.primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 680px;
  margin: 54px 0 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(18, 18, 20, 0.7);
}

.hero-metrics dt {
  color: var(--subtle);
  font-size: 13px;
}

.hero-metrics dd {
  margin: 8px 0 0;
  font-size: 17px;
  font-weight: 850;
}

.hero-phones {
  position: absolute;
  z-index: 1;
  right: 7vw;
  bottom: -150px;
  display: flex;
  align-items: flex-end;
  gap: 22px;
  pointer-events: none;
}

.phone {
  margin: 0;
  overflow: hidden;
  border: 10px solid #101012;
  border-radius: 34px;
  background: #101012;
  box-shadow: 0 28px 90px var(--shadow);
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  width: 290px;
  height: 632px;
}

.phone-side {
  width: 210px;
  height: 458px;
  opacity: 0.92;
}

.section {
  padding: 104px 48px;
}

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

.section-head h2,
.final-cta h2 {
  margin: 12px 0 0;
  font-size: 42px;
  line-height: 1.18;
}

.intro {
  background: #0c0c0d;
}

.scene-grid,
.screen-grid,
.flow-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

.scene-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(242, 69, 102, 0.14);
  color: var(--primary-strong);
  font-size: 14px;
  font-weight: 900;
}

.scene-card h3,
.feature-item h3,
.screen-card h3 {
  margin: 24px 0 10px;
  font-size: 24px;
}

.scene-card p,
.feature-item p,
.screen-card p,
.final-cta p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.feature-band {
  background: var(--bg);
}

.feature-list {
  width: min(1060px, 100%);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item h3 {
  margin-top: 8px;
}

.feature-item p:last-child {
  align-self: center;
  font-size: 18px;
}

.screens {
  background: #101011;
}

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

.screen-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.screen-frame {
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  background: #050505;
}

.screen-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-card h3 {
  margin: 18px 0 8px;
}

.service-flow {
  background: var(--bg);
}

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

.flow-step {
  display: grid;
  gap: 12px;
  min-height: 140px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.flow-step strong {
  color: var(--mint);
  font-size: 14px;
}

.flow-step span {
  align-self: end;
  font-size: 20px;
  font-weight: 850;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1120px, calc(100% - 96px));
  margin: 0 auto 82px;
  padding: 44px;
  border: 1px solid rgba(242, 69, 102, 0.42);
  border-radius: 8px;
  background: #171719;
}

.final-cta div {
  max-width: 720px;
}

.final-cta p {
  margin-top: 16px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  padding: 0 48px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 14px;
}

@media (max-width: 1160px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero-phones {
    right: -24px;
    opacity: 0.72;
  }

  .phone-main {
    width: 240px;
    height: 524px;
  }

  .phone-side {
    display: none;
  }

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

@media (max-width: 860px) {
  .site-header {
    padding: 0 22px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 76px 22px 56px;
  }

  .hero-inner {
    max-width: none;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-metrics,
  .scene-grid,
  .flow-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics,
  .hero-phones {
    display: none;
  }

  .phone-main {
    width: min(280px, 76vw);
    height: auto;
    aspect-ratio: 1206 / 2622;
  }

  .section {
    padding: 72px 22px;
  }

  .section-head {
    text-align: left;
  }

  .section-head h2,
  .final-cta h2 {
    font-size: 32px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-item p:last-child {
    font-size: 16px;
  }

  .final-cta {
    width: calc(100% - 44px);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 22px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-metrics div,
  .scene-card,
  .screen-card,
  .flow-step {
    padding: 20px;
  }

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