:root {
  --bg: #f7f8ff;
  --bg-alt: #eef4ff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --ink: #1a2440;
  --muted: #4e5b7a;
  --line: rgba(42, 59, 108, 0.16);
  --primary: #1463ff;
  --primary-soft: rgba(20, 99, 255, 0.12);
  --accent: #f76b15;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 28px 70px rgba(19, 34, 71, 0.14);
  --shadow-soft: 0 18px 40px rgba(19, 34, 71, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(20, 99, 255, 0.12), transparent 36%),
    radial-gradient(circle at 85% 20%, rgba(247, 107, 21, 0.12), transparent 42%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-alt) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.ambient {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.36;
  z-index: -1;
  pointer-events: none;
}

.ambient--one {
  background: #7dcbff;
  top: -120px;
  left: -120px;
  animation: float-one 12s ease-in-out infinite;
}

.ambient--two {
  background: #ffc490;
  bottom: -150px;
  right: -150px;
  animation: float-two 14s ease-in-out infinite;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  width: min(1160px, calc(100% - 48px));
  margin: 18px auto 12px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 12px;
  z-index: 20;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__icon {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 2px 10px rgba(20, 99, 255, 0.2);
  transition: transform 0.2s ease;
}

.brand:hover .brand__icon {
  transform: scale(1.03);
}

.brand:focus-visible .brand__icon {
  outline: 2px solid rgba(20, 99, 255, 0.55);
  outline-offset: 2px;
}

.brand__text {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.96rem;
  color: var(--muted);
}

.site-nav a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.hero {
  margin-top: 20px;
  padding: 56px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--primary);
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
}

.lead {
  margin: 18px 0 0;
  font-size: 1.06rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 52ch;
}

.lead-sm {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.62;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 0.96rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

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

.btn--primary {
  color: #fff;
  background: linear-gradient(140deg, var(--primary), #2ea5ff);
  box-shadow: 0 12px 24px rgba(20, 99, 255, 0.3);
}

.btn--ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.hero__facts {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.hero__facts li {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.hero__facts strong {
  color: var(--ink);
  margin-right: 6px;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.phone-frame {
  width: min(100%, 360px);
  border-radius: 36px;
  padding: 16px;
  border: 1px solid rgba(26, 36, 64, 0.22);
  background: linear-gradient(180deg, #111b35, #0a1226);
  box-shadow: 0 28px 54px rgba(8, 15, 33, 0.45);
}

.phone-frame__top {
  width: 42%;
  height: 28px;
  margin: 0 auto 10px;
  border-radius: 0 0 14px 14px;
  background: #060b16;
}

.phone-frame img {
  width: 100%;
  display: block;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.phone-frame img.is-switching {
  opacity: 0.35;
  transform: scale(0.98);
}

.screen-dots {
  display: flex;
  gap: 10px;
}

.screen-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 36, 64, 0.25);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.screen-dot.is-active {
  background: var(--primary);
  transform: scale(1.2);
}

.block {
  margin-top: 70px;
}

.block__header {
  max-width: 760px;
}

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

.feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(20, 99, 255, 0.36);
}

.feature-card h3 {
  font-size: 1.1rem;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.flow-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.flow-step {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.flow-step__num {
  font-family: "Sora", sans-serif;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

.flow-step h3 {
  margin-top: 10px;
  font-size: 1.08rem;
}

.flow-step p {
  margin: 10px 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.flow-step img {
  width: 100%;
  border-radius: 14px;
  display: block;
  border: 1px solid rgba(26, 36, 64, 0.16);
}

.block--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.matrix-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  box-shadow: var(--shadow-soft);
}

.matrix-cell {
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 96px;
}

.matrix-cell strong {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
}

.matrix-cell span {
  color: var(--muted);
  font-size: 0.92rem;
}

.matrix-cell--q1 {
  background: rgba(255, 82, 82, 0.13);
}

.matrix-cell--q2 {
  background: rgba(83, 203, 123, 0.16);
}

.matrix-cell--q3 {
  background: rgba(255, 205, 87, 0.2);
}

.matrix-cell--q4 {
  background: rgba(129, 153, 202, 0.18);
}

.cta {
  margin-top: 76px;
  margin-bottom: 74px;
  padding: 44px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(20, 99, 255, 0.25);
  background:
    radial-gradient(circle at 85% 20%, rgba(247, 107, 21, 0.2), transparent 44%),
    linear-gradient(140deg, rgba(20, 99, 255, 0.11), rgba(255, 255, 255, 0.9));
}

.cta p {
  color: var(--muted);
  line-height: 1.55;
  max-width: 70ch;
}

.site-footer {
  padding: 0 24px 36px;
  text-align: center;
  color: #617191;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes float-one {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 24px) scale(1.05);
  }
}

@keyframes float-two {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-28px, -22px) scale(1.08);
  }
}

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

  .hero__visual {
    order: -1;
  }

  .block--split {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container,
  .site-header {
    width: min(1160px, calc(100% - 24px));
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 28px 18px;
    gap: 22px;
    margin-top: 14px;
  }

  .feature-grid,
  .flow-grid,
  .matrix-card {
    grid-template-columns: 1fr;
  }

  .block {
    margin-top: 50px;
  }

  .cta {
    margin-top: 56px;
    margin-bottom: 52px;
    padding: 30px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
