:root {
  --bg: #07111f;
  --bg-soft: #0d1a2d;
  --surface: rgba(8, 21, 39, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-light: #f4f7ff;
  --line: rgba(148, 163, 184, 0.2);
  --text: #e8eefc;
  --text-soft: #b8c4da;
  --ink: #0c1527;
  --ink-soft: #44506b;
  --brand: #4b68ff;
  --brand-strong: #3551e5;
  --teal: #009b8d;
  --orange: #f89300;
  --glow: 0 28px 80px rgba(19, 35, 70, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(75, 104, 255, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(0, 155, 141, 0.16), transparent 22%),
    linear-gradient(180deg, #08111d 0%, #0d1830 52%, #f4f7ff 52%, #eff4fb 100%);
  font: 16px/1.65 "Manrope", "Segoe UI", sans-serif;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 40px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(6, 15, 29, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--glow);
}

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

.brand span {
  display: grid;
}

.brand strong,
h1,
h2,
h3 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.topnav a {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.topnav a:hover,
.footer-links a:hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand) 0%, #7790ff 100%);
  box-shadow: 0 18px 36px rgba(75, 104, 255, 0.28);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-compact {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0 40px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dce5ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 18px 0 14px;
  font-size: clamp(2.8rem, 6vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero-text {
  max-width: 640px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

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

.hero-points {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.hero-points li {
  position: relative;
  padding-left: 18px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #59d3b7);
}

.device {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.device::before,
.device::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
}

.device::before {
  width: 280px;
  height: 280px;
  background: rgba(75, 104, 255, 0.22);
  left: 10%;
  top: 6%;
}

.device::after {
  width: 220px;
  height: 220px;
  background: rgba(0, 155, 141, 0.18);
  right: 5%;
  bottom: 10%;
}

.device-frame {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  padding: 14px;
  border-radius: 40px;
  background: linear-gradient(180deg, #151d2e 0%, #0a111e 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 36px 80px rgba(4, 11, 23, 0.5);
}

.device-header {
  display: flex;
  justify-content: center;
  padding: 6px 0 14px;
}

.device-pill {
  display: block;
  width: 110px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.device-screen {
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(75, 104, 255, 0.22), transparent 26%),
    linear-gradient(180deg, #eef3ff 0%, #dce7ff 100%);
  color: var(--ink);
}

.device-screen-shot {
  padding: 0;
  height: 540px;
  overflow: hidden;
  background: #ffffff;
}

.app-shot {
  width: 65%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
  object-position: center top;
}

.screen-card,
.tool-mini {
  border: 1px solid rgba(12, 21, 39, 0.08);
  box-shadow: 0 18px 36px rgba(31, 46, 89, 0.08);
}

.screen-card {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.screen-card strong,
.tool-mini strong {
  display: block;
  font-size: 1rem;
}

.screen-card p,
.tool-mini span,
.tool-mini strong {
  margin: 0;
}

.screen-card p,
.tool-mini span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.screen-card-primary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(228, 237, 255, 0.96) 100%);
}

.screen-card-alt {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(234, 246, 244, 0.94) 100%);
}

.screen-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.screen-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--brand-strong);
  background: rgba(75, 104, 255, 0.12);
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.tool-mini {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 220px;
  padding: 16px 18px;
  border-radius: 22px;
  backdrop-filter: blur(18px);
  background: rgba(8, 21, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--glow);
}

.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.floating-card strong {
  display: block;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.floating-card-left {
  left: 0;
  top: 16%;
}

.floating-card-right {
  right: 0;
  bottom: 18%;
}

.section,
.cta-panel,
.footer {
  color: var(--ink);
}

.section {
  padding: 42px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section .eyebrow,
.cta-panel .eyebrow {
  background: rgba(75, 104, 255, 0.1);
  border: 1px solid rgba(75, 104, 255, 0.14);
  color: var(--brand-strong);
}

h2 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.about-grid,
.features-grid,
.steps {
  display: grid;
  gap: 18px;
}

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

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

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

.info-card,
.feature-card,
.step-card,
.cta-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(22, 41, 71, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 44px rgba(31, 46, 89, 0.08);
}

.info-card,
.feature-card,
.step-card {
  padding: 22px;
}

.feature-card::after,
.info-card::after,
.step-card::after,
.cta-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -48px -24px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 104, 255, 0.08), transparent 70%);
}

.feature-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0e7b71;
  background: rgba(0, 155, 141, 0.11);
}

.info-card p,
.feature-card p,
.step-card p,
.cta-panel p,
.footer p {
  margin: 0;
  color: var(--ink-soft);
}

.step-number {
  display: inline-block;
  margin-bottom: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  margin: 24px 0 36px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  min-width: 240px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(11, 21, 38, 0.98) 0%, rgba(35, 46, 78, 0.96) 100%);
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(11, 21, 38, 0.2);
}

.store-link small,
.store-link strong {
  display: block;
}

.store-link small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.store-link strong {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.05rem;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0 6px;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .floating-card-left {
    animation: drift-left 6s ease-in-out infinite;
  }

  .floating-card-right {
    animation: drift-right 7s ease-in-out infinite;
  }

  .button,
  .store-link,
  .feature-card,
  .info-card,
  .step-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .feature-card:hover,
  .info-card:hover,
  .step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 54px rgba(31, 46, 89, 0.12);
  }
}

@keyframes drift-left {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes drift-right {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

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

  .device {
    min-height: 480px;
  }

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

  .steps,
  .cta-panel,
  .footer {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(75, 104, 255, 0.18), transparent 28%),
      linear-gradient(180deg, #08111d 0%, #0d1830 44%, #f4f7ff 44%, #eff4fb 100%);
  }

  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 12px;
    padding-bottom: 26px;
  }

  .topbar {
    position: static;
    flex-direction: column;
    align-items: flex-start;
  }

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

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.7rem, 10vw, 2.7rem);
  }

  .hero {
    gap: 22px;
    padding-top: 10px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .device {
    min-height: 420px;
  }

  .device-frame {
    width: 100%;
    max-width: 320px;
  }

  .device-screen-shot {
    height: 500px;
  }

  .floating-card {
    display: none;
  }

  .about-grid,
  .features-grid,
  .steps,
  .screen-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 32px 0;
  }

  .info-card,
  .feature-card,
  .step-card,
  .cta-panel {
    padding: 20px;
  }

  .store-link,
  .button,
  .button-compact {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
