/* ===========================================================
   Perfex Insight Pro — Landing Page
   Self-contained. No external CDN. System fonts. Inline SVG.
   =========================================================== */

:root {
  --navy: #0a0f1e;
  --navy-2: #0f1729;
  --ink: #111c2e;
  --muted: #5a6b82;
  --muted-2: #7c8aa0;
  --line: #e6edf5;
  --soft: #f5f8fc;
  --white: #ffffff;

  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --cyan: #06b6d4;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --amber-2: #f97316;
  --green: #16a34a;
  --red: #ef4444;

  --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 55%, #7c3aed 120%);
  --grad-buy: linear-gradient(135deg, #f59e0b, #f97316);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow: 0 24px 64px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 40px 100px rgba(10, 15, 30, 0.22);
  --radius: 20px;
  --radius-lg: 28px;

  --font:
    "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

p {
  margin: 0;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 880px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: #fff;
  color: var(--blue);
  padding: 0.6rem 1rem;
  border-radius: 0 0 12px 0;
  font-weight: 800;
}
.skip-link:focus {
  left: 0;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */

.btn {
  --pad-y: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 999px;
  padding: var(--pad-y) 1.3rem;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
  white-space: nowrap;
}
.btn-sm {
  --pad-y: 0.5rem;
  padding: var(--pad-y) 0.95rem;
  font-size: 0.86rem;
}
.btn-lg {
  --pad-y: 0.92rem;
  padding: var(--pad-y) 1.6rem;
  font-size: 1rem;
}
.btn svg {
  transition: transform 0.18s ease;
}
.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 16px 38px rgba(37, 99, 235, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(37, 99, 235, 0.42);
}

.btn-buy {
  color: #2a1a02;
  background: var(--grad-buy);
  box-shadow: 0 14px 32px rgba(249, 115, 22, 0.34);
}
.btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(249, 115, 22, 0.46);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.w-full {
  width: 100%;
}

/* ---------- Navbar ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    padding 0.25s ease;
  padding: 0.55rem 0;
}
.nav.scrolled {
  background: rgba(10, 15, 30, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad);
  box-shadow: 0 10px 26px rgba(6, 182, 212, 0.32);
}
.brand-text {
  display: grid;
  line-height: 1.15;
  color: #fff;
}
.brand-text strong {
  font-size: 0.98rem;
  font-weight: 850;
}
.brand-text small {
  font-size: 0.72rem;
  color: #93b4e8;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-menu > a:not(.btn) {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 650;
  font-size: 0.92rem;
  position: relative;
}
.nav-menu > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--cyan);
  transition: width 0.2s ease;
}
.nav-menu > a:not(.btn):hover {
  color: #fff;
}
.nav-menu > a:not(.btn):hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.25s ease;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 100px;
  color: #fff;
  background:
    linear-gradient(180deg, #0a0f1e 0%, #0c1426 60%, #0e1830 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 60% 35%, #000 0%, transparent 72%);
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}
.glow-a {
  width: 460px;
  height: 460px;
  background: #2563eb;
  top: -120px;
  left: -80px;
}
.glow-b {
  width: 360px;
  height: 360px;
  background: #06b6d4;
  top: 40px;
  right: -60px;
}
.glow-c {
  width: 380px;
  height: 380px;
  background: #7c3aed;
  bottom: -160px;
  left: 30%;
  opacity: 0.4;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #d6e4ff;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 1.4rem;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.25);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.05em;
}
.lead {
  margin-top: 1.3rem;
  max-width: 560px;
  color: #b9c7de;
  font-size: 1.1rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.9rem;
}
.hero-actions.center {
  justify-content: center;
}
.hero-badges {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-badges li {
  font-size: 0.82rem;
  font-weight: 650;
  color: #cdd9ee;
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Hero product mockup ---------- */

.hero-stage {
  position: relative;
}
.app-window {
  border-radius: 20px;
  background: #0e1830;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transition: transform 0.5s ease;
}
.hero-stage:hover .app-window {
  transform: perspective(1600px) rotateY(-4deg) rotateX(1deg);
}
.aw-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.aw-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #44506a;
}
.aw-dot:nth-child(1) {
  background: #ff5f57;
}
.aw-dot:nth-child(2) {
  background: #febc2e;
}
.aw-dot:nth-child(3) {
  background: #28c840;
}
.aw-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.78rem;
  color: #9fb0cc;
  font-weight: 700;
}
.aw-body {
  display: grid;
  grid-template-columns: 60px 1fr;
  background: #f3f7fc;
}
.aw-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0;
  background: #0e1830;
}
.aw-logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--grad);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  margin-bottom: 0.3rem;
}
.aw-nav {
  width: 26px;
  height: 7px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
}
.aw-nav.short {
  width: 18px;
}
.aw-nav.active {
  background: var(--cyan);
  width: 30px;
}
.aw-main {
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
}
.aw-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.aw-kpi {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 13px;
  padding: 0.6rem 0.7rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}
.aw-kpi small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
}
.aw-kpi b {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin: 0.1rem 0 0.25rem;
}
.spark {
  width: 100%;
  height: 18px;
}
.aw-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0.6rem;
}
.aw-chart,
.aw-donut,
.aw-feed {
  background: #fff;
  border: 1px solid #e7eef7;
  border-radius: 13px;
  padding: 0.7rem 0.8rem;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}
.awc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.awc-head b {
  font-size: 0.8rem;
  color: var(--ink);
}
.awc-head small {
  font-size: 0.66rem;
  color: var(--muted);
}
.area {
  width: 100%;
  height: 70px;
  margin-top: 0.4rem;
}
.aw-donut {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.6rem;
  align-items: center;
}
.donut {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: conic-gradient(
    var(--blue) 0 42%,
    var(--green) 42% 74%,
    var(--amber-2) 74% 100%
  );
  position: relative;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 11px;
  background: #fff;
  border-radius: 50%;
}
.donut-legend {
  display: grid;
  gap: 0.18rem;
}
.donut-legend span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 600;
}
.lg {
  width: 8px;
  height: 8px;
  border-radius: 3px;
}
.lg.blue {
  background: var(--blue);
}
.lg.green {
  background: var(--green);
}
.lg.orange {
  background: var(--amber-2);
}
.lg.cyan {
  background: var(--cyan);
}
.lg.amber {
  background: var(--amber);
}
.lg.red {
  background: var(--red);
}
.lg.violet {
  background: var(--violet);
}
.donut.fin {
  background: conic-gradient(
    var(--cyan) 0 55%,
    var(--amber) 55% 80%,
    var(--red) 80% 100%
  );
}
.donut.sales {
  background: conic-gradient(
    var(--violet) 0 48%,
    var(--blue) 48% 78%,
    var(--green) 78% 100%
  );
}

/* Slider: stack slides in one cell and cross-fade */
.aw-stage {
  display: grid;
}
.aw-slide {
  grid-area: 1 / 1;
  display: grid;
  gap: 0.7rem;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
}
.aw-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.aw-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.45rem;
  height: 70px;
  margin-top: 0.4rem;
}
.aw-bars span {
  flex: 1;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #06b6d4, #2563eb);
}
.aw-pips {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
}
.aw-pip {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.aw-pip.active {
  width: 20px;
  background: var(--blue);
}
.aw-feed {
  display: grid;
  gap: 0.3rem;
}
.awf-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 600;
}
.awf-row i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}
.float-kpi {
  top: -26px;
  left: -34px;
  padding: 0.7rem 0.95rem;
  display: grid;
}
.float-kpi .fc-label {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 700;
}
.float-kpi .fc-value {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
}
.float-kpi .fc-trend {
  font-size: 0.72rem;
  font-weight: 800;
}
.fc-trend.up {
  color: var(--green);
}
.fc-trend.down {
  color: var(--red);
}
.float-kpi .fc-label,
.float-kpi .fc-value,
.float-kpi .fc-trend {
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.float-kpi.swapping .fc-label,
.float-kpi.swapping .fc-value,
.float-kpi.swapping .fc-trend {
  opacity: 0;
  transform: translateY(5px);
}
.float-pill {
  bottom: -18px;
  right: -20px;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  animation-delay: 1.5s;
}
.dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse 2s infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
  }
}

/* ---------- Stats ---------- */

.stats {
  margin-top: -52px;
  position: relative;
  z-index: 5;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat .infinity {
  font-size: 2.6rem;
}
.stat span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- Sections / headings ---------- */

.section {
  padding: 96px 0;
}
.section-soft {
  background: linear-gradient(180deg, #f5f8fc, #eef4fb);
}
.head {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf2ff;
  border: 1px solid #d2e2ff;
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.head h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 900;
  color: var(--navy);
}
.head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.head.light .kicker {
  color: #a5d8ff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.head.light h2 {
  color: #fff;
}
.head.light p {
  color: #b9c7de;
}

/* ---------- Bento features ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.bento-card {
  position: relative;
  overflow: hidden;
  grid-column: span 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.bento-card.span-2 {
  grid-column: span 2;
}
.bento-card:hover {
  transform: translateY(-5px);
  border-color: #c7dcff;
  box-shadow: 0 30px 70px rgba(37, 99, 235, 0.13);
}
.bento-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(60px);
  background: rgba(37, 99, 235, 0.18);
  top: -90px;
  right: -60px;
  pointer-events: none;
}
.bento-glow.alt {
  background: rgba(124, 58, 237, 0.18);
}
.ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  font-size: 1.4rem;
  color: var(--blue);
  background: #eaf2ff;
  margin-bottom: 1.1rem;
}
.bento-card h3 {
  font-size: 1.22rem;
  font-weight: 850;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.bento-card p {
  color: var(--muted);
  line-height: 1.65;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.mini-grid span {
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(180deg, #eef5ff, #dce9ff);
  border: 1px solid #d5e5ff;
}
.mini-grid span:nth-child(2) {
  background: linear-gradient(180deg, #e6fbff, #cdf0f7);
}
.mini-grid span:nth-child(4) {
  background: linear-gradient(180deg, #f1ebff, #e2d6ff);
}
.scope-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.scope-row span {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--blue);
  background: #eef5ff;
  border: 1px solid #d8e9ff;
  border-radius: 999px;
  padding: 0.42rem 0.8rem;
}

/* ---------- Dark / providers ---------- */

.section-dark {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.28), transparent 30rem),
    radial-gradient(circle at 85% 90%, rgba(124, 58, 237, 0.22), transparent 28rem),
    linear-gradient(135deg, #0a0f1e 0%, #0f1729 100%);
}

.marquee {
  overflow: hidden;
  margin-bottom: 2.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.chip {
  flex: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.chip::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
  vertical-align: middle;
}
.c-blue::before { background: #2563eb; }
.c-green::before { background: #16a34a; }
.c-orange::before { background: #f97316; }
.c-purple::before { background: #a855f7; }
.c-cyan::before { background: #06b6d4; }
.c-slate::before { background: #64748b; }
.c-indigo::before { background: #6366f1; }
.c-emerald::before { background: #10b981; }
.c-teal::before { background: #14b8a6; }
.c-red::before { background: #ef4444; }
.c-pink::before { background: #ec4899; }
.c-sky::before { background: #0ea5e9; }

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.provider-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}
.provider-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.22);
}
.provider-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-weight: 900;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 0.4rem;
}
.provider-card strong {
  font-size: 1rem;
}
.provider-card small {
  color: #9fb1ce;
  line-height: 1.4;
  font-size: 0.84rem;
}
.provider-card.included {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(6, 182, 212, 0.08);
}
.provider-card.included span { background: var(--grad); }
.provider-card.green span { background: #16a34a; }
.provider-card.orange span { background: #f97316; }
.provider-card.purple span { background: #a855f7; }
.provider-card.cyan span { background: #06b6d4; }
.provider-card.slate span { background: #64748b; }
.provider-card.indigo span { background: #6366f1; }
.provider-card.emerald span { background: #10b981; }
.provider-card.teal span { background: #14b8a6; }
.provider-card.red span { background: #ef4444; }
.provider-card.pink span { background: #ec4899; }
.provider-card.sky span { background: #0ea5e9; }
.provider-card.amber span { background: #f59e0b; }
.provider-card.violet span { background: #8b5cf6; }
.provider-card.yellow span { background: #eab308; }
.provider-card.rose span { background: #f43f5e; }
.provider-card.deep span { background: #6d28d9; }

.provider-card {
  position: relative;
}
.provider-card .soon {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}
.provider-card.included .soon {
  color: #062c36;
  background: var(--cyan);
  border-color: transparent;
}
.provider-card .ready {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #052e16;
  background: #4ade80;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}

.provider-cta {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
}
.provider-cta p {
  color: #9fb1ce;
  max-width: 620px;
}
.provider-cta a {
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid var(--cyan);
  padding-bottom: 2px;
}
.provider-cta a:hover {
  color: var(--cyan);
}

/* ---------- Split / steps ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split-copy .head {
  margin: 0 0 1.5rem;
  text-align: left;
}
.split-copy .kicker {
  margin-bottom: 0.9rem;
}
.split-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
}
.split-copy > p {
  margin-top: 1rem;
  color: var(--muted);
  line-height: 1.7;
}
.check {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.check li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 750;
  color: var(--ink);
}
.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  font-size: 0.72rem;
  color: #fff;
  background: var(--grad);
}
.steps {
  display: grid;
  gap: 0.9rem;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.step:hover {
  transform: translateX(5px);
  border-color: #c7dcff;
}
.step span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-weight: 900;
  color: var(--blue);
  background: #eaf2ff;
}
.step strong {
  color: var(--navy);
  font-size: 1.05rem;
}
.step p {
  margin-top: 0.25rem;
  color: var(--muted);
}

/* ---------- Showcase ---------- */

.shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.shot {
  margin: 0;
  grid-column: span 1;
}
.shot.wide {
  grid-column: span 2;
}
/* Problem / Solution */
.ps-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
.ps-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
}
.ps-card ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.ps-card li {
  position: relative;
  padding-left: 1.7rem;
  line-height: 1.5;
  font-size: 0.97rem;
}
.ps-card li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}
.ps-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.ps-problem {
  border-color: #f3d6d6;
  background: #fdf6f6;
}
.ps-problem .ps-tag {
  color: #b42318;
  background: #fee4e2;
}
.ps-problem li {
  color: var(--muted);
}
.ps-problem li::before {
  content: "✕";
  color: #e0563f;
}
.ps-solution {
  border-color: #cfe8d8;
  background: #f4fbf6;
}
.ps-solution .ps-tag {
  color: #027a48;
  background: #d1fadf;
}
.ps-solution li {
  color: #2f4738;
}
.ps-solution li::before {
  content: "✓";
  color: #16a34a;
}
.ps-arrow {
  display: grid;
  place-items: center;
  color: var(--blue);
}

/* Benefits grid */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.benefit {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.7rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.benefit:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.12);
  border-color: transparent;
}
.benefit-ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--bc, var(--blue));
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}
.benefit h3 {
  font-size: 1.12rem;
  margin: 1.1rem 0 0.5rem;
  color: var(--ink);
}
.benefit p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.96rem;
  margin: 0;
}
.shot-img {
  --accent: #2563eb;
  position: relative;
  height: 230px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shot:hover .shot-img {
  transform: translateY(-4px);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.2);
}
.shot-img.alt {
  --accent: #06b6d4;
  background: linear-gradient(135deg, #0b3a53, #06b6d4);
}
.shot-img.alt2 {
  --accent: #7c3aed;
  background: linear-gradient(135deg, #3b1d6e, #7c3aed);
}
.shot-img.alt3 {
  --accent: #0ea5e9;
  background: linear-gradient(135deg, #0f172a, #0ea5e9);
}
.shot-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  backdrop-filter: blur(4px);
}

/* Framed mini-dashboard mockup (placeholder until real screenshots) */
.sm {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  background: #f3f7fc;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.sm-top {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: #0e1830;
}
.sm-top i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.sm-top i:first-child {
  background: #ff5f57;
}
.sm-top i:nth-child(2) {
  background: #febc2e;
}
.sm-top i:nth-child(3) {
  background: #28c840;
}
.sm-body {
  flex: 1;
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  padding: 8px;
}
.sm-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  border-radius: 8px;
  background: #0e1830;
}
.sm-side b {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}
.sm-side b:first-child {
  background: var(--accent);
}
.sm-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.sm-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.sm-kpis.sm-kpis-2 {
  grid-template-columns: repeat(2, 1fr);
}
.sm-kpis span {
  height: 30px;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e3ebf5;
  position: relative;
}
.sm-kpis span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 40%;
  height: 5px;
  border-radius: 3px;
  background: var(--accent);
  opacity: 0.55;
}
.sm-chart {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3ebf5;
}
.sm-chart em {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: var(--accent);
  opacity: 0.85;
}
.sm-donut {
  flex: 1;
  border-radius: 8px;
  background:
    radial-gradient(circle at center, #fff 0 26%, transparent 27%),
    conic-gradient(var(--accent) 0 45%, #cbd5e1 45% 72%, #94a3b8 72% 100%);
  background-color: #fff;
  border: 1px solid #e3ebf5;
  margin: 0 auto;
  width: 70%;
}
.sm-tiles {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 6px;
}
.sm-tiles span {
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e3ebf5;
}
.sm-tiles span:nth-child(3n + 1) {
  border-top: 3px solid var(--accent);
}
.sm-rows {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sm-rows span {
  flex: 1;
  border-radius: 7px;
  background: #fff;
  border: 1px solid #e3ebf5;
  position: relative;
}
.sm-rows span::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--accent);
  opacity: 0.7;
}
.shot figcaption {
  margin-top: 0.85rem;
  color: var(--ink);
  font-weight: 750;
}

/* ---------- Comparison ---------- */

.compare {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child {
  border-bottom: 0;
}
.compare-row > div {
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-weight: 650;
}
.compare-row > div:first-child {
  color: var(--navy);
  font-weight: 800;
  background: #fafcff;
}
.compare-row .hl {
  color: var(--ink);
  font-weight: 750;
  background: linear-gradient(180deg, #f3f8ff, #eaf3ff);
  border-left: 2px solid var(--blue);
}
.compare-head > div {
  color: #fff !important;
  background: var(--navy) !important;
  font-weight: 850;
}
.compare-head .hl {
  background: var(--grad) !important;
  border-left: 0;
}

/* ---------- Pricing ---------- */

.price-card {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.price-info {
  padding: 2.2rem;
}
.badge {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #eaf2ff;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 1rem;
}
.price-info h3 {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--navy);
}
.price-info > p {
  margin-top: 0.7rem;
  color: var(--muted);
  line-height: 1.65;
}
.includes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
  margin-top: 1.4rem;
}
.includes span {
  position: relative;
  padding: 0.5rem 0.7rem 0.5rem 1.9rem;
  border-radius: 12px;
  background: #f6faff;
  border: 1px solid #e1edfb;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}
.includes span::before {
  content: "✓";
  position: absolute;
  left: 0.6rem;
  color: var(--green);
  font-weight: 900;
}
.price-buy {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 2.2rem;
  text-align: center;
  background: linear-gradient(160deg, #0a0f1e, #14213d);
  color: #fff;
}
.price-amount {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price-amount sup {
  font-size: 1.4rem;
  font-weight: 800;
  vertical-align: super;
  margin-right: 0.1rem;
  color: #9fb1ce;
}
.price-note {
  color: #9fb1ce;
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
}
.price-guarantee {
  color: #8aa0c0;
  font-size: 0.8rem;
  margin-top: 0.2rem;
}
.addon-note {
  max-width: 940px;
  margin: 1.2rem auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 0.8rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary i {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
}
.faq-item summary i::before,
.faq-item summary i::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.faq-item summary i::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}
.faq-item summary i::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}
.faq-item[open] summary {
  color: var(--blue);
  background: #f4f9ff;
}
.faq-item[open] summary i::after {
  transform: scaleY(0);
  opacity: 0;
}
.faq-body {
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0a0f1e, #14213d);
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.final-cta h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 900;
}
.final-cta p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 1rem auto 0;
  color: #b9c7de;
  font-size: 1.08rem;
}
.final-cta .hero-actions {
  position: relative;
  z-index: 1;
}

/* ---------- Footer ---------- */

.footer {
  background: #070b16;
  color: #93a3bd;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 2rem;
}
.footer-brand .brand {
  margin-bottom: 1rem;
}
.footer-brand .brand strong {
  color: #fff;
}
.footer-brand p {
  max-width: 320px;
  line-height: 1.6;
}
.footer-grid > div > strong {
  display: block;
  color: #fff;
  margin-bottom: 0.9rem;
}
.footer-grid > div > a {
  display: block;
  color: #93a3bd;
  margin-bottom: 0.55rem;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}
.footer-grid > div > a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  /* Drop backdrop-filter so it no longer becomes the containing block
     for the fixed drawer — the drawer must size to the viewport. */
  .nav {
    background: rgba(10, 15, 30, 0.97);
    backdrop-filter: none;
  }
  .nav.scrolled {
    background: rgba(10, 15, 30, 0.98);
  }
  /* Keep the logo + toggle above the full-screen drawer. */
  .brand {
    position: relative;
    z-index: 3;
  }
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 3;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.3rem;
    padding: 84px 22px 32px;
    background: rgba(10, 15, 30, 0.99);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-menu.open {
    transform: none;
  }
  /* Staggered fade-in of menu items when the drawer opens */
  .nav-menu > a {
    opacity: 0;
    transform: translateX(18px);
    transition:
      opacity 0.35s ease,
      transform 0.35s ease;
  }
  .nav-menu.open > a {
    opacity: 1;
    transform: none;
  }
  .nav-menu.open > a:nth-child(1) {
    transition-delay: 0.08s;
  }
  .nav-menu.open > a:nth-child(2) {
    transition-delay: 0.13s;
  }
  .nav-menu.open > a:nth-child(3) {
    transition-delay: 0.18s;
  }
  .nav-menu.open > a:nth-child(4) {
    transition-delay: 0.23s;
  }
  .nav-menu.open > a:nth-child(5) {
    transition-delay: 0.28s;
  }
  .nav-menu.open > a:nth-child(6) {
    transition-delay: 0.33s;
  }
  .nav-menu.open > a:nth-child(7) {
    transition-delay: 0.38s;
  }
  .nav-menu > a:not(.btn) {
    padding: 0.95rem 0.2rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-menu > a:not(.btn)::after {
    display: none;
  }
  .nav-menu .btn {
    width: 100%;
    margin-top: 0.5rem;
    justify-content: center;
  }
  .nav-menu .btn:first-of-type {
    margin-top: 1rem;
  }

  .hero {
    padding: 130px 0 80px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .app-window {
    transform: none;
  }
  .hero-stage:hover .app-window {
    transform: none;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card.span-2 {
    grid-column: span 2;
  }
  .provider-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .shots {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .ps-split {
    grid-template-columns: 1fr;
  }
  .ps-arrow {
    transform: rotate(90deg);
    margin: -0.5rem 0;
  }
  .shot.wide {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639.98px) {
  .section {
    padding: 70px 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento,
  .bento-card.span-2 {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
  .provider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card {
    grid-template-columns: 1fr;
  }
  .compare-row {
    grid-template-columns: 1fr;
  }
  .compare-row > div {
    border-bottom: 1px solid var(--line);
  }
  .compare-head {
    display: none;
  }
  .shots,
  .shot.wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .float-kpi {
    left: -10px;
  }
  .float-pill {
    right: -4px;
  }
}

/* ---------- Motion preference ---------- */

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