:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: rgba(12, 18, 28, 0.84);
  --panel-strong: rgba(8, 13, 22, 0.94);
  --text: #f6f8ff;
  --muted: #aab3c4;
  --cyan: #16e7ff;
  --lime: #a8ff38;
  --pink: #ff27c8;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(22, 231, 255, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(255, 39, 200, 0.2), transparent 24%),
    radial-gradient(circle at 62% 78%, rgba(168, 255, 56, 0.12), transparent 28%),
    var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(5, 7, 11, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
.steps,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
}

nav {
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 79px);
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px) 58px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 860px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 900;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 900;
}

.subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

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

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 900;
}

.primary-action {
  color: #031017;
  background: linear-gradient(100deg, var(--lime), var(--cyan), var(--pink));
  box-shadow: 0 16px 44px rgba(22, 231, 255, 0.24);
}

.secondary-action {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

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

.phone-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(22, 231, 255, 0.42);
  border-radius: 34px;
  background: #03060a;
  box-shadow: var(--shadow), 0 0 44px rgba(22, 231, 255, 0.18);
}

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

.main-phone {
  right: 14%;
  top: 0;
  width: min(330px, 56vw);
  aspect-ratio: 1179 / 2556;
}

.side-phone {
  right: 0;
  bottom: 8px;
  width: min(250px, 42vw);
  aspect-ratio: 1179 / 2556;
  transform: rotate(5deg);
  opacity: 0.74;
}

.feature-band,
.workflow,
.screens,
.closing {
  padding: clamp(58px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section-title {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.feature-grid article {
  min-height: 300px;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.feature-grid p,
.closing p {
  color: var(--muted);
  line-height: 1.6;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 28px;
  border-radius: 18px;
  color: #041018;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  font-size: 18px;
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
}

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

.steps div {
  display: grid;
  gap: 10px;
  min-width: 160px;
  padding: 20px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.steps strong {
  color: var(--lime);
  font-size: 15px;
}

.steps span {
  font-size: 18px;
  font-weight: 900;
}

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

figure {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(22, 231, 255, 0.22);
  border-radius: 28px;
  background: var(--panel-strong);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.36);
}

figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  border-radius: 20px;
}

figcaption {
  padding: 14px 4px 4px;
  color: var(--text);
  font-weight: 900;
  text-align: center;
}

.closing {
  display: grid;
  justify-items: center;
  text-align: center;
}

.closing img {
  width: 116px;
  height: 116px;
  margin-bottom: 22px;
  border-radius: 28px;
  box-shadow: 0 18px 52px rgba(22, 231, 255, 0.24);
}

.closing p {
  max-width: 560px;
  font-size: 18px;
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer span {
  color: var(--text);
  font-weight: 900;
}

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

  .hero {
    min-height: auto;
  }

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

  .main-phone {
    left: 8%;
    right: auto;
  }

  .side-phone {
    right: 8%;
  }

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

  .steps {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  h1 {
    font-size: 44px;
  }

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

  .main-phone {
    width: 66vw;
    left: 0;
  }

  .side-phone {
    width: 48vw;
    right: 0;
  }

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

  .feature-grid article {
    min-height: 220px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
