:root {
  --surface: #212030;
  --surface-container-lowest: #0f172a;
  --surface-container-low: #111827;
  --surface-container: #252436;
  --surface-container-high: #334155;
  --surface-container-highest: #475569;
  --outline: #282739;
  --outline-variant: #282739;
  --error: #fe4a4c;
  --error-container: #451313;
  --on-error-container: #fecaca;
  --shadow: rgba(0, 0, 0, 0.2);
  --inverse-surface: #3d3848;
  --on-inverse-surface: #0f172a;
  --primary: #8a6ff0;
  --on-primary: #ffffff;
  --secondary: #34d399;
  --on-secondary: #0f172a;
  --text-high: #eef2ff;
  --text-mid: #c6ccde;
  --text-low: #95a0bc;
  --amber: #f59e0b;
  --amber-nav: #d97706;
  --amber-soft: rgba(245, 158, 11, 0.45);
  --container-border: rgba(71, 85, 105, 0.35);
  --section-hero-solid: #141a31;
  --section-base-solid: #0f172a;
  --section-min-height: 46rem;
  --section-hero-bg: linear-gradient(180deg, #17162a 0%, #141a31 72%, #121b34 100%);
  --section-base-bg: linear-gradient(180deg, #0d1327 0%, #111827 44%, #0f172a 100%);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--surface-container-lowest);
}

body {
  margin: 0;
  color: var(--text-high);
  background-color: var(--surface-container-lowest);
  background:
    radial-gradient(circle at 6% 12%, rgba(138, 111, 240, 0.2), transparent 36%),
    radial-gradient(circle at 90% 8%, rgba(52, 211, 153, 0.12), transparent 30%),
    linear-gradient(180deg, #0d1327 0%, #111827 44%, #0f172a 100%);
  font-family: "Nunito", "Segoe UI", sans-serif;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

body::before {
  width: 34rem;
  height: 34rem;
  top: -12rem;
  right: -10rem;
  background: radial-gradient(circle, rgba(138, 111, 240, 0.24), transparent 62%);
  animation: drift-orb-a 22s ease-in-out infinite;
}

body::after {
  width: 28rem;
  height: 28rem;
  left: -10rem;
  bottom: -7rem;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.16), transparent 68%);
  animation: drift-orb-b 26s ease-in-out infinite;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Nunito", "Segoe UI", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
  color: var(--text-mid);
}

ul {
  margin: 0;
  padding-left: 1.25rem;
}

ul li::marker {
  color: var(--amber);
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 4.2rem 0;
  min-height: var(--section-min-height);
  display: flex;
  align-items: center;
}

.section-tint {
  border-block: 1px solid transparent;
}

.section-alt-hero {
  background: var(--section-hero-solid);
}

.section-alt-base {
  background: var(--section-base-solid);
}

.narrow {
  max-width: 760px;
}

.narrow p + p,
.narrow ul + p {
  margin-top: 1.1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(7, 16, 41, 0.95), rgba(8, 19, 44, 0.88));
  backdrop-filter: blur(12px) saturate(130%);
}

.nav-row {
  min-height: 5.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  color: var(--text-mid);
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--amber-nav);
}

.nav-links a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.32rem;
  height: 2px;
  border-radius: 999px;
  background: var(--amber-nav);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a:not(.btn-primary):focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(245, 158, 11, 0.45);
  background: rgba(15, 23, 42, 0.84);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 0.12rem;
  background: var(--text-high);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -0.38rem;
}

.menu-toggle span::after {
  position: absolute;
  top: 0.38rem;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(0.38rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-0.38rem) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  font-family: "Nunito", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:not(.btn-primary):hover,
.btn:not(.btn-primary):focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  --btn-radius: 16px;
  --btn-depth: 6px;
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  width: max-content;
  min-height: 0;
  margin-bottom: 0;
  overflow: visible;
  border-radius: var(--btn-radius);
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  outline-offset: 4px;
  transform: translateY(0);
  transition: filter 250ms;
}

.btn-primary .edge {
  position: absolute;
  inset: 0;
  border-radius: var(--btn-radius);
  pointer-events: none;
}

.btn-primary .edge {
  background: linear-gradient(
    to left,
    #5a45c3 0%,
    #4a34b4 8%,
    #3f2c9e 92%,
    #2f1d7d 100%
  );
}

.btn-primary .front {
  position: relative;
  display: block;
  min-width: 12rem;
  padding: 0.72rem 1.6rem;
  box-sizing: border-box;
  border-radius: var(--btn-radius);
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(calc(var(--btn-depth) * -1));
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1);
}

.btn-primary:hover .front,
.btn-primary:focus-visible .front {
  transform: translateY(calc((var(--btn-depth) + 2px) * -1));
  transition: transform 250ms cubic-bezier(0.3, 0.7, 0.4, 1.5);
}

.btn-primary:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.btn-primary:focus:not(:focus-visible) {
  outline: none;
}

.btn-primary .edge,
.btn-primary .front {
  left: 0;
  right: 0;
}

.nav-links .nav-cta-half {
  --btn-radius: 11px;
  --btn-depth: 0;
  font-size: 0.665rem;
}

.nav-links .nav-cta-half .front {
  min-width: 8.4rem;
  padding: 0.5rem 1.12rem;
  transform: none;
  transition: background-color 220ms ease;
}

.nav-links .nav-cta-half .edge {
  display: none;
}

.nav-links .nav-cta-half:hover .front,
.nav-links .nav-cta-half:focus-visible .front,
.nav-links .nav-cta-half:active .front {
  transform: none;
}

.btn-ghost {
  background: rgba(37, 36, 54, 0.72);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--text-high);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(245, 158, 11, 0.65);
  background: rgba(37, 36, 54, 0.94);
}

.hero {
  padding-top: 5rem;
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(138, 111, 240, 0.3), transparent 42%),
    radial-gradient(circle at 86% 22%, rgba(245, 158, 11, 0.2), transparent 34%),
    var(--section-hero-bg);
  border-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.9rem;
  align-items: start;
}

.hero-copy {
  align-self: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: #b8a9ff;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: none;
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  max-width: 15ch;
}

.lead {
  margin-top: 1.2rem;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
  max-width: 50ch;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-actions .btn-primary .front {
  min-width: 15.5rem;
  padding-inline: 2.2rem;
}

.hero-main-shot {
  width: min(76%, 17.1rem);
  justify-self: center;
  border-radius: 1.25rem;
  margin-top: 0;
  border: 0;
  box-shadow: none;
  animation: hero-breathe 4.2s ease-in-out infinite;
  will-change: transform;
}

@keyframes hero-breathe {
  0%,
  100% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes drift-orb-a {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-12px, 16px, 0);
  }
}

@keyframes drift-orb-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, -18px, 0);
  }
}

.why-section {
  border-block: 1px solid transparent;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.8rem);
  margin-bottom: 1.5rem;
}

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

.step-card {
  --card-depth: 7px;
  --card-back-layer: var(--primary);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #2a3f7b;
  border: 0;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 var(--card-depth) 0 var(--card-back-layer);
  margin-top: 0;
  margin-bottom: calc(var(--card-depth) + 0.3rem);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 calc(var(--card-depth) + 3px) 0 var(--card-back-layer);
}

.step-card h3 {
  font-size: 1.22rem;
  margin-bottom: 0;
  color: var(--text-high);
}

.step-card p {
  margin: 0;
  color: var(--text-mid);
}

.features-grid {
  margin-top: 1.3rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(280px, 31vw, 380px);
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem;
  padding: 0.2rem 1rem 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.features-carousel {
  position: relative;
  margin-inline: -1rem;
}

.features-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 3;
  padding-inline: 0.35rem;
}

.features-nav {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.58);
  background: rgba(15, 23, 42, 0.98);
  color: #f8c561;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.features-nav:hover,
.features-nav:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.9);
  background: rgba(29, 39, 67, 0.99);
  color: #ffd68a;
}

.features-nav:active {
  transform: translateY(0);
}

.features-nav:disabled {
  opacity: 0.45;
  border-color: rgba(148, 163, 184, 0.4);
  color: rgba(148, 163, 184, 0.85);
  cursor: not-allowed;
  box-shadow: none;
}

.feature-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--container-border);
  overflow: hidden;
  background: var(--surface-container-low);
  box-shadow: none;
  min-height: 0;
  height: fit-content;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.6);
}

.feature-card img {
  width: 100%;
  height: clamp(352px, 48.4vh, 429px);
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 320ms ease;
}

.feature-card:hover img {
  transform: scale(1.02);
}

.features-grid::-webkit-scrollbar {
  display: none;
}

.features-dots {
  margin-top: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.features-dots:empty {
  display: none;
}

.features-dot {
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(148, 163, 184, 0.55);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.features-dot:hover,
.features-dot:focus-visible {
  transform: scale(1.1);
  background: rgba(245, 158, 11, 0.75);
}

.features-dot.active {
  background: #f59e0b;
}

.feature-body {
  padding: 0.74rem 0.9rem 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  min-height: 0;
  background: rgba(11, 18, 36, 0.96);
  border-top: 1px solid var(--container-border);
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-size: 0.88rem;
}

.feature-body h3 {
  font-size: 1rem;
  line-height: 1.2;
  color: var(--text-high);
}

.feature-body p {
  color: var(--text-mid);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-body ul {
  margin-top: 0.2rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  color: var(--text-high);
}

.feature-body li {
  margin: 0;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.42);
  background: rgba(245, 158, 11, 0.16);
  font-size: 0.68rem;
  line-height: 1.1;
}

.insight-example {
  margin-top: 1.4rem;
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--container-border);
  background: var(--surface-container);
}

.insight-example h3 {
  font-size: 1.1rem;
  color: #b7f8e1;
  margin-bottom: 0.65rem;
}

.insight-example strong {
  color: #dffaf1;
}

.difference-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.difference-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-high);
}

.difference-list li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.22);
}

.security-pills {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.security-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--surface-container-low);
  border: 1px solid var(--container-border);
  font-size: 0.85rem;
  color: var(--text-mid);
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.security-pills span:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.62);
  color: var(--text-high);
}

.final-cta {
  text-align: center;
  border-block: 1px solid transparent;
}

.final-cta p {
  font-size: 1.08rem;
  margin-bottom: 1.45rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 4.4rem 0 2.8rem;
  background: #000f36;
  border-top: 1px solid transparent;
}

.site-footer::before {
  display: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding-left: 2.25rem;
}

.footer-grid h3 {
  font-size: 1.04rem;
  margin-bottom: 0.85rem;
}

.footer-grid a {
  display: block;
  color: var(--text-low);
  margin-bottom: 0.45rem;
  transition: color 0.2s ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--text-high);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.3rem;
  padding-left: 2.25rem;
  border-top: 1px solid transparent;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-high);
  font-weight: 600;
}

@media (max-width: 1040px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    background: linear-gradient(180deg, rgba(7, 16, 41, 0.97), rgba(8, 19, 44, 0.95));
  }

  .nav-row {
    min-height: 4.8rem;
  }

  .brand {
    font-size: 1.8rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 4.8rem 1rem auto 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(71, 85, 105, 0.35);
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    transform-origin: top;
    transform: scaleY(0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links a {
    min-height: 2.7rem;
    display: flex;
    align-items: center;
    border-radius: 0.8rem;
    padding-inline: 0.7rem;
  }

  .nav-links .btn-primary {
    min-height: 0;
    display: inline-grid;
    align-items: initial;
    border-radius: var(--btn-radius);
    padding-inline: 0;
    align-self: flex-start;
  }

  .nav-links .nav-cta-half {
    --btn-radius: 16px;
    --btn-depth: 0;
    font-size: 0.95rem;
  }

  .nav-links .nav-cta-half .front {
    min-width: 12rem;
    padding: 0.72rem 1.6rem;
  }

  .nav-links a:not(.btn-primary)::after {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.55rem;
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .btn:not(.btn-primary) {
    width: 100%;
  }

  .section {
    padding: 3.2rem 0;
    min-height: 40rem;
  }

  .section > .container {
    width: min(var(--container), calc(100% - 3rem));
  }

  h1 {
    max-width: 20ch;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-grid {
    justify-items: center;
  }

  .eyebrow {
    justify-content: center;
  }

  h1,
  .lead {
    margin-inline: auto;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-main-shot {
    width: min(65%, 14.4rem);
    justify-self: center;
  }

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

  .footer-grid {
    padding-left: 1.5rem;
  }

  .footer-bottom {
    padding-left: 1.5rem;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--container), calc(100% - 1.35rem));
  }

  .brand {
    font-size: 1.55rem;
  }

  .hero {
    padding-top: 4.6rem;
  }

  .hero-main-shot {
    border-radius: 1.1rem;
  }

  .features-grid {
    grid-auto-columns: min(84vw, 340px);
  }

  .feature-body,
  .step-card,
  .insight-example {
    padding: 1rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}
