:root {
  --bg: #030303;
  --bg-soft: #080808;
  --surface: #0d0d0d;
  --surface-2: #141414;
  --line: #232323;
  --text: #f6f6f6;
  --muted: #a7a7a7;
  --primary: #d7ff2f;
  --primary-light: #ebff8d;
  --accent: #1e1e1e;
  --ok: #d7ff2f;
  --radius: 22px;
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 50% -10%, #101010 0%, var(--bg) 30%),
    linear-gradient(180deg, #020202 0%, #060606 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.shell {
  width: min(1160px, calc(100% - 2.25rem));
  margin: 0 auto;
}

.ambient {
  pointer-events: none;
  position: fixed;
  border-radius: 999px;
  filter: none;
  z-index: -1;
}

.ambient-a {
  display: none;
}

.ambient-b {
  width: 52vw;
  height: 52vw;
  right: -22vw;
  top: -8vw;
  background: #171717;
  opacity: 0.88;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, #050505 88%, transparent);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 18px rgba(215, 255, 47, 0.32);
}

.brand-text {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.14em;
}

.desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.7rem;
}

.desktop-nav a,
.text-link,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.topbar-actions {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
}

.topbar-actions .btn-sm {
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

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

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.btn-primary {
  background: #f4f4f4;
  color: #090909;
}

.btn-primary:hover {
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(255, 255, 255, 0.12);
}

.btn-outline {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-outline:hover {
  border-color: #404040;
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  padding-top: 66px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 2.6rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.2rem) 0 4.8rem;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.4rem, 5.8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 100%;
}

.grad-text {
  color: #ffffff;
}

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

.hero-title {
  display: grid;
  gap: 0.8rem;
}

.hero-wordmark {
  display: inline-block;
  width: fit-content;
  font-size: clamp(3.8rem, 8vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  position: relative;
  padding-right: 0.34em;
}

.hero-wordmark::before {
  content: "";
  position: absolute;
  top: 0.18em;
  right: 0;
  width: 0.22em;
  height: 0.22em;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 24px rgba(215, 255, 47, 0.24);
}

.hero-title-copy {
  display: block;
  max-width: none;
  width: fit-content;
  font-size: clamp(1.48rem, 2.35vw, 2.2rem);
  line-height: 0.98;
  white-space: nowrap;
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  margin-top: 1.5rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #dddddd;
}

.hero-kicker-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
}

.hero-cta-row {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  align-items: start;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions .btn {
  min-height: 62px;
  padding-inline: 1.45rem;
  border-radius: 18px;
  font-size: 1rem;
}

.kpis {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(100%, 680px);
}

.kpis li {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(160deg, #101010 0%, #070707 100%);
  padding: 1rem 1rem 1.1rem;
  min-height: 126px;
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.kpis strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.kpis span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-side {
  display: grid;
  justify-content: end;
  align-items: start;
}

.hero-preview-card {
  position: relative;
  width: min(100%, 440px);
  border: 1px solid #1d1d1d;
  border-radius: 36px;
  background: linear-gradient(180deg, #090909 0%, #060606 100%);
  padding: 1rem 1rem 1.2rem;
  box-shadow: var(--shadow);
}

.hero-preview-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.8rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cfcfcf;
  background: rgba(255, 255, 255, 0.05);
}

.app-shot-wrap {
  position: relative;
  border-radius: 30px;
  border: 1px solid #212121;
  background: linear-gradient(180deg, #0e0e0e 0%, #050505 100%);
  overflow: hidden;
  width: min(100%, 338px);
  aspect-ratio: 1320 / 2404;
  margin: 0 auto;
}

.app-shot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-preview-note {
  margin: 0.95rem auto 0;
  max-width: 338px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.section {
  padding: 5rem 0;
}

.section.alt {
  background: linear-gradient(180deg, #070707 0%, #030303 100%);
  border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
}

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

.section-head h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3.3vw, 2.55rem);
  letter-spacing: -0.012em;
}

.section-head p {
  color: var(--muted);
  margin-top: 0.8rem;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface) 0%, #070707 100%);
  padding: 1.2rem;
}

.card h3 {
  font-size: 1.16rem;
}

.card p {
  color: var(--muted);
  margin-top: 0.6rem;
}

.card ul {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  color: #c8d6eb;
  font-size: 0.92rem;
  display: grid;
  gap: 0.35rem;
}

.card li::before {
  content: "•";
  color: var(--primary);
  margin-right: 0.45rem;
}

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

.steps article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #111111 0%, #080808 100%);
  padding: 1.1rem;
}

.steps span {
  font-family: "JetBrains Mono", monospace;
  color: var(--primary);
  font-size: 0.78rem;
}

.steps h3 {
  margin-top: 0.45rem;
}

.steps p {
  color: var(--muted);
  margin-top: 0.45rem;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.doc-card {
  border: 1px solid #1f1f1f;
  border-radius: 28px;
  background: linear-gradient(160deg, #0e0e0e 0%, #050505 100%);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.doc-card-media {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #1b1b1b;
  background: #050505;
}

.doc-card-media img {
  display: block;
  width: 100%;
  height: auto;
}

.doc-card-copy {
  display: grid;
  gap: 0.7rem;
  padding: 0.2rem 0.15rem 0;
}

.doc-card h3 {
  font-size: 1.2rem;
}

.doc-card p {
  color: var(--muted);
}

.doc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  color: #101010;
  background: var(--primary);
  border: 1px solid transparent;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(165deg, var(--surface) 0%, #0a1323 100%);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.price-card.featured {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  background: linear-gradient(170deg, #1b1940 0%, #0d172a 60%, #0e1b30 100%);
  box-shadow: 0 20px 36px rgba(124, 92, 255, 0.12);
}

.price-card > b {
  align-self: flex-start;
  font-size: 0.72rem;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  color: #cfc3ff;
}

.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.price small {
  color: var(--muted);
  font-size: 0.85rem;
  font-family: "Manrope", sans-serif;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: #d6e3f3;
}

.price-card li::before {
  content: "✓";
  color: var(--ok);
  margin-right: 0.45rem;
}

.cta-section {
  padding-top: 2rem;
}

.cta-box {
  border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--line));
  border-radius: 22px;
  background: linear-gradient(145deg, #1b1b3f 0%, #0d1a31 58%, #0a1322 100%);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.cta-box p {
  margin-top: 0.6rem;
  color: var(--muted);
}

.cta-form {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cta-form input {
  flex: 1 1 260px;
  min-width: 180px;
  font: inherit;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0a1324;
  color: var(--text);
  padding: 0.78rem 0.85rem;
}

.cta-form input:focus {
  outline: 2px solid color-mix(in srgb, var(--primary) 45%, transparent);
  outline-offset: 2px;
}

.thanks {
  min-height: 1.25em;
  color: #d4c9ff;
  font-weight: 700;
}

.footer {
  margin-top: 3.2rem;
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
  padding: 1.6rem 0 1.2rem;
  background: #040404;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner p {
  color: var(--muted);
  margin-top: 0.35rem;
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
}

.foot-note {
  margin-top: 1rem;
  color: #7f93ad;
  font-size: 0.88rem;
}

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

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@media (max-width: 1040px) {
  .hero-grid,
  .cards-grid,
  .steps,
  .docs-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-side {
    justify-content: start;
  }

  .hero-preview-card {
    width: min(100%, 460px);
  }

  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-title-copy {
    width: fit-content;
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.22rem, 2.05vw, 1.85rem);
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(1160px, calc(100% - 1.2rem));
  }

  .desktop-nav,
  .text-link {
    display: none;
  }

  .topbar-inner {
    height: 60px;
  }

  .hero {
    padding-top: 60px;
  }

  h1 {
    max-width: 100%;
  }

  .hero-grid {
    gap: 1.8rem;
    padding-bottom: 3.4rem;
  }

  .hero-wordmark {
    font-size: clamp(3.05rem, 19vw, 4.5rem);
  }

  .hero-title-copy {
    max-width: 100%;
    font-size: clamp(1.7rem, 8vw, 2.5rem);
    white-space: normal;
    width: auto;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.65;
  }

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

  .hero-actions .btn {
    width: 100%;
  }

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

  .kpis li {
    min-height: auto;
  }

  .hero-preview-card {
    width: 100%;
    padding: 0.9rem 0.9rem 1.1rem;
  }

  .app-shot-wrap {
    width: min(100%, 290px);
  }

  .footer-inner {
    flex-direction: column;
  }
}
