/* StatusPanda Landing — shadcn-inspired tokens */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 200ms;
  --ring-offset: 2px;
  --shadow-xs: 0 1px 2px hsl(var(--shadow) / 0.05);
  --shadow-sm: 0 1px 3px hsl(var(--shadow) / 0.08), 0 1px 2px -1px hsl(var(--shadow) / 0.06);
  --shadow-md: 0 4px 12px -2px hsl(var(--shadow) / 0.1), 0 2px 6px -2px hsl(var(--shadow) / 0.06);
  --shadow-lg: 0 12px 32px -8px hsl(var(--shadow) / 0.14), 0 4px 12px -4px hsl(var(--shadow) / 0.08);

  /* accent — deep slate indigo, restrained in both themes */
  --accent: 222 20% 32%;
  --accent-fg: 0 0% 98%;
  --accent-muted: 222 16% 93%;
  --accent-muted-fg: 222 22% 28%;

  --background: 0 0% 98%;
  --foreground: 222 14% 8%;
  --card: 0 0% 100%;
  --card-fg: 222 14% 8%;
  --muted: 220 10% 95%;
  --muted-fg: 220 8% 40%;
  --border: 220 12% 88%;
  --input: 220 10% 90%;
  --ring: 222 20% 32%;
  --shadow: 222 20% 12%;
  --hero-glow: 222 30% 78%;
  --nav-bg: 0 0% 99% / 0.72;
  --status-up: 152 38% 40%;
  --status-down: 0 55% 52%;
  --status-paused: 38 70% 48%;
}

[data-theme="dark"] {
  --accent: 222 22% 58%;
  --accent-fg: 222 20% 8%;
  --accent-muted: 222 16% 14%;
  --accent-muted-fg: 222 18% 72%;

  --background: 222 14% 5%;
  --foreground: 220 8% 96%;
  --card: 222 12% 8%;
  --card-fg: 220 8% 96%;
  --muted: 222 10% 12%;
  --muted-fg: 220 6% 58%;
  --border: 222 10% 16%;
  --input: 222 10% 16%;
  --ring: 222 22% 58%;
  --shadow: 0 0% 0%;
  --hero-glow: 222 28% 16%;
  --nav-bg: 222 14% 5% / 0.78;
  --status-up: 152 42% 46%;
  --status-down: 0 52% 56%;
  --status-paused: 38 68% 52%;
}

[data-theme="dark"] .hero h1 em,
[data-theme="dark"] .cta-content h2 em {
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(222 30% 72%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  font-size: 1.125rem;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

::selection {
  background: hsl(var(--accent) / 0.18);
  color: hsl(var(--foreground));
}

:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: var(--ring-offset);
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

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

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

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

.section-pad {
  padding-block: clamp(5.5rem, 11vw, 8.5rem);
}

/* ── Utilities ── */

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-accent { color: hsl(var(--accent)); }
.text-muted { color: hsl(var(--muted-fg)); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 999px;
  background: hsl(var(--accent-muted));
  color: hsl(var(--accent-muted-fg));
  border: 1px solid hsl(var(--accent) / 0.18);
  box-shadow: var(--shadow-xs);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease),
              border-color var(--duration) var(--ease), transform 120ms var(--ease),
              box-shadow var(--duration) var(--ease);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-fg));
  box-shadow: var(--shadow-sm), 0 4px 14px -2px hsl(var(--accent) / 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: var(--shadow-md), 0 6px 20px -4px hsl(var(--accent) / 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98) translateY(0);
}

.btn-outline {
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}

.btn-outline:hover {
  background: hsl(var(--muted));
  border-color: hsl(var(--foreground) / 0.12);
  box-shadow: var(--shadow-xs);
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--muted-fg));
  min-height: 2.5rem;
  padding: 0 0.75rem;
}

.btn-ghost:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs), 0 0 0 1px hsl(var(--border) / 0.4);
}

/* ── Nav ── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--nav-bg));
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.nav.nav-scrolled {
  border-bottom-color: hsl(var(--border));
  background: hsl(var(--nav-bg));
  box-shadow: var(--shadow-sm), 0 0 0 1px hsl(var(--border) / 0.35);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand img { width: 2rem; height: 2rem; }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  border-radius: var(--radius);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav-links a:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
}

.nav-links a.is-active {
  color: hsl(var(--foreground));
  background: hsl(var(--muted));
  box-shadow: inset 0 0 0 1px hsl(var(--border));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  color: hsl(var(--muted-fg));
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.theme-toggle:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.theme-toggle svg { width: 1.125rem; height: 1.125rem; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.nav-cta { display: none; }

.menu-btn {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  cursor: pointer;
  color: hsl(var(--foreground));
}

.menu-btn svg { width: 1.25rem; height: 1.25rem; }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 4rem 0 0;
  z-index: 40;
  background: hsl(var(--background) / 0.96);
  backdrop-filter: blur(16px);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid hsl(var(--border));
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 0.875rem 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: hsl(var(--muted-fg));
}

.mobile-menu a:hover {
  background: hsl(var(--muted));
  color: hsl(var(--foreground));
}

.mobile-menu .btn { margin-top: 0.75rem; width: 100%; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta { display: flex; align-items: center; gap: 0.5rem; }
  .menu-btn { display: none; }
}

/* ── Hero ── */

.hero {
  position: relative;
  padding: 10rem 0 8rem;
  min-height: min(920px, 92vh);
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* Hero background graphics */
.hero-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transition: transform 400ms var(--ease);
}

.hero-grid-bg {
  position: absolute;
  inset: -30% -15%;
  background-image:
    linear-gradient(hsl(var(--accent) / 0.14) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--accent) / 0.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image:
    radial-gradient(ellipse 95% 85% at 50% 35%, #000 10%, transparent 68%);
  opacity: 0.85;
  animation: hero-grid-drift 32s linear infinite;
}

[data-theme="dark"] .hero-grid-bg {
  opacity: 0.65;
  background-image:
    linear-gradient(hsl(var(--accent) / 0.22) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--accent) / 0.22) 1px, transparent 1px);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  will-change: transform;
}

.hero-orb-1 {
  width: 560px;
  height: 560px;
  top: -12%;
  right: -10%;
  background: hsl(var(--accent) / 0.28);
  animation: orb-float-1 14s ease-in-out infinite;
}

.hero-orb-2 {
  width: 440px;
  height: 440px;
  bottom: -5%;
  left: -12%;
  background: hsl(var(--accent) / 0.22);
  animation: orb-float-2 18s ease-in-out infinite;
}

.hero-orb-3 {
  width: 280px;
  height: 280px;
  top: 30%;
  left: 38%;
  background: hsl(var(--accent) / 0.16);
  animation: orb-float-3 11s ease-in-out infinite;
}

.hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.hero-pulse {
  animation: hero-pulse 4s ease-in-out infinite;
  transform-origin: center;
}

.hero-pulse-delay { animation-delay: 2.5s; }

.hero-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: hero-line-draw 4s var(--ease) forwards;
}

.hero-line-delay { animation-delay: 0.6s; }

.hero-dash {
  stroke-dasharray: 8 10;
  animation: hero-dash-flow 20s linear infinite;
}

.hero-node {
  animation: hero-node-pulse 3s ease-in-out infinite;
}

.hero-node-up { animation-delay: 0.5s; }
.hero-node-down { animation-delay: 1.2s; }

.hero-radar {
  position: absolute;
  top: 12%;
  right: 8%;
  width: min(420px, 40vw);
  height: min(420px, 40vw);
  opacity: 0.6;
}

.hero-radar span {
  position: absolute;
  inset: 0;
  border: 1.5px solid hsl(var(--accent) / 0.35);
  border-radius: 50%;
  animation: radar-ring 3.2s var(--ease) infinite;
}

.hero-radar span:nth-child(2) { animation-delay: 1.3s; }
.hero-radar span:nth-child(3) { animation-delay: 2.6s; }

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(to top, hsl(var(--background)) 0%, transparent 100%);
}

.hero-glow {
  pointer-events: none;
  position: absolute;
  top: -25%;
  left: 50%;
  translate: -50% 0;
  width: min(1100px, 140vw);
  height: 620px;
  background: radial-gradient(ellipse at center, hsl(var(--hero-glow) / 0.75) 0%, hsl(var(--accent) / 0.08) 45%, transparent 72%);
  filter: blur(50px);
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.hero-preview-float {
  animation: preview-float 6s ease-in-out infinite;
}

@keyframes hero-grid-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(56px, 56px); }
}

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

@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -20px) scale(1.08); }
}

@keyframes orb-float-3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-16px, 12px); }
}

@keyframes hero-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes hero-line-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes hero-dash-flow {
  to { stroke-dashoffset: -200; }
}

@keyframes hero-node-pulse {
  0%, 100% { opacity: 0.5; r: 4; }
  50% { opacity: 1; }
}

@keyframes radar-ring {
  0% { transform: scale(0.35); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 0; }
}

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

@media (min-width: 1024px) {
  .hero {
    padding: 10rem 0 8rem;
    min-height: min(960px, 94vh);
  }

  .hero-radar { right: 6%; }

  .hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 5rem;
  }
  .hero-copy { text-align: left; margin-inline: 0; }
  .hero-lead { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-trust { justify-content: flex-start; }
}

.hero-copy {
  position: relative;
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
}

.hero-copy .badge { margin-bottom: 1.75rem; }

.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(222 28% 48%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-seo {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin: -0.5rem 0 1.25rem;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.hero-lead {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 500;
  color: hsl(var(--muted-fg));
  max-width: 36rem;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  justify-content: center;
  font-size: 0.9375rem;
  color: hsl(var(--muted-fg));
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.875rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.7);
  box-shadow: var(--shadow-xs);
  font-size: 0.875rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.hero-trust span:hover {
  border-color: hsl(var(--accent) / 0.25);
  box-shadow: var(--shadow-sm);
}

.hero-trust strong {
  color: hsl(var(--foreground));
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Dashboard preview */

.preview-wrap {
  position: relative;
}

.preview-glow {
  position: absolute;
  inset: 10% -5% -10%;
  background: radial-gradient(ellipse at 50% 50%, hsl(var(--accent) / 0.12), transparent 65%);
  pointer-events: none;
}

.preview {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px hsl(var(--border) / 0.6),
    0 0 80px -24px hsl(var(--accent) / 0.18);
  transition: box-shadow 400ms var(--ease), transform 400ms var(--ease);
}

.preview::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.6);
}

[data-theme="dark"] .preview::before {
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.04);
}

.hero-preview-float:hover .preview {
  box-shadow:
    0 0 0 1px hsl(var(--accent) / 0.2),
    0 32px 64px -16px hsl(var(--shadow) / 0.16),
    0 0 100px -16px hsl(var(--accent) / 0.22);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid hsl(var(--border));
  margin: -1rem -1rem 1rem;
  background: hsl(var(--muted) / 0.5);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.preview-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: hsl(var(--border));
}

.preview-dot:nth-child(1) { background: #f87171; }
.preview-dot:nth-child(2) { background: #fbbf24; }
.preview-dot:nth-child(3) { background: #4ade80; }

.preview-title {
  margin-left: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-card {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.35);
  box-shadow: var(--shadow-xs);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.stat-card:hover {
  border-color: hsl(var(--accent) / 0.18);
  box-shadow: var(--shadow-sm);
}

.stat-card .label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-fg));
  margin-bottom: 0.25rem;
}

.stat-card .value {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stat-card .value.up { color: hsl(var(--status-up)); }

.monitor-list { display: flex; flex-direction: column; gap: 0.5rem; }

.monitor-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  font-size: 0.9375rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.monitor-row:hover {
  border-color: hsl(var(--accent) / 0.15);
  box-shadow: var(--shadow-xs);
}

.monitor-name {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  min-width: 0;
}

.monitor-name span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.status-dot.up { background: hsl(var(--status-up)); box-shadow: 0 0 0 3px hsl(var(--status-up) / 0.2); }
.status-dot.down { background: hsl(var(--status-down)); box-shadow: 0 0 0 3px hsl(var(--status-down) / 0.2); }
.status-dot.paused { background: hsl(var(--status-paused)); }

.monitor-meta {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
  font-variant-numeric: tabular-nums;
}

.status-pill {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

.status-pill.up {
  background: hsl(var(--status-up) / 0.12);
  color: hsl(var(--status-up));
}

.status-pill.down {
  background: hsl(var(--status-down) / 0.12);
  color: hsl(var(--status-down));
}

/* ── Sections ── */

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}

.section-header .badge {
  margin-bottom: 1rem;
}

.section-header p {
  color: hsl(var(--muted-fg));
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.7;
}

.section-header strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

/* Proof / stats — trusted by developers */

.proof-section {
  position: relative;
  border-block: 1px solid hsl(var(--border));
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, hsl(var(--accent) / 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, hsl(var(--accent) / 0.04) 0%, transparent 50%),
    hsl(var(--background));
  overflow: hidden;
}

.proof-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.proof-header .badge { margin-bottom: 1rem; }

.proof-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.proof-header p {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-weight: 500;
  color: hsl(var(--muted-fg));
  line-height: 1.7;
}

.proof-header strong {
  color: hsl(var(--foreground));
  font-weight: 600;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.proof-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 350ms var(--ease),
    box-shadow 400ms var(--ease),
    transform 400ms var(--ease),
    opacity 400ms var(--ease),
    filter 400ms var(--ease);
}

.proof-section[data-proof-active="monitors"] .proof-card[data-proof="monitors"],
.proof-section[data-proof-active="interval"] .proof-card[data-proof="interval"],
.proof-section[data-proof-active="sla"] .proof-card[data-proof="sla"],
.proof-section[data-proof-active="speed"] .proof-card[data-proof="speed"] {
  border-color: hsl(var(--accent) / 0.35);
  box-shadow: 0 0 0 1px hsl(var(--accent) / 0.1), 0 20px 48px -20px hsl(var(--accent) / 0.18);
  transform: translateY(-4px) scale(1.02);
}

.proof-section[data-proof-active="monitors"] .proof-card:not([data-proof="monitors"]),
.proof-section[data-proof-active="interval"] .proof-card:not([data-proof="interval"]),
.proof-section[data-proof-active="sla"] .proof-card:not([data-proof="sla"]),
.proof-section[data-proof-active="speed"] .proof-card:not([data-proof="speed"]) {
  opacity: 0.7;
  filter: saturate(0.75);
}

.proof-card:hover {
  border-color: hsl(var(--accent) / 0.25);
}

.proof-card-accent {
  border-color: hsl(var(--accent) / 0.25);
}

.proof-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  min-height: 7rem;
  color: hsl(var(--accent));
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, hsl(var(--accent) / 0.14) 0%, transparent 70%),
    linear-gradient(180deg, hsl(var(--muted) / 0.6) 0%, hsl(var(--muted) / 0.25) 100%);
  border-bottom: 1px solid hsl(var(--border));
}

.proof-visual-accent {
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, hsl(var(--accent) / 0.2) 0%, transparent 70%),
    linear-gradient(180deg, hsl(var(--accent-muted) / 0.45) 0%, hsl(var(--muted) / 0.25) 100%);
}

.proof-visual-inner {
  width: 100%;
  max-width: 11rem;
  transition: transform 350ms var(--ease);
}

.proof-visual-inner svg {
  width: 100%;
  height: auto;
  display: block;
}

.proof-body {
  padding: 1.375rem 1.25rem 1.5rem;
  text-align: center;
}

.proof-num {
  display: block;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: hsl(var(--foreground));
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.5rem;
  transition: color 350ms var(--ease);
}

.proof-section[data-proof-active="sla"] .proof-card[data-proof="sla"] .proof-num,
.proof-card-accent .proof-num {
  color: hsl(var(--accent));
}

.proof-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  line-height: 1.4;
}

.proof-audience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.proof-audience-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-fg));
}

.proof-audience-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.proof-audience-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  box-shadow: 0 2px 8px -4px hsl(var(--shadow) / 0.1);
  transition:
    color 250ms var(--ease),
    border-color 250ms var(--ease),
    transform 250ms var(--ease),
    box-shadow 250ms var(--ease);
}

.proof-audience-pill svg {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--accent));
  opacity: 0.8;
}

.proof-audience-pill:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--accent) / 0.25);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px hsl(var(--accent) / 0.12);
}

.proof-marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.proof-marquee {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: proof-marquee 40s linear infinite;
}

.proof-marquee-track:hover .proof-marquee {
  animation-play-state: paused;
}

.proof-marquee span {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: hsl(var(--muted-fg));
  padding: 0.4375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: var(--shadow-xs);
}

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

@media (min-width: 768px) {
  .proof-grid { grid-template-columns: repeat(4, 1fr); }

  .proof-visual {
    min-height: 7.5rem;
  }
}

/* Features bento — refined asymmetric grid */

.bento-section { /* padding via .section-pad */ }

.bento {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.bento-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  transition:
    border-color 300ms var(--ease),
    box-shadow 350ms var(--ease),
    transform 350ms var(--ease);
}

.bento-card:hover {
  border-color: hsl(var(--accent) / 0.28);
  box-shadow: var(--shadow-md), 0 0 0 1px hsl(var(--accent) / 0.08);
  transform: translateY(-3px);
}

.bento-visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 9.5rem;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 90% 80% at 50% 110%, hsl(var(--accent) / 0.1) 0%, transparent 65%),
    linear-gradient(180deg, hsl(var(--muted) / 0.55) 0%, hsl(var(--muted) / 0.25) 100%);
  border-bottom: 1px solid hsl(var(--border));
  overflow: hidden;
}

.bento-visual-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 7.5rem;
  transition: transform 300ms var(--ease);
  position: relative;
  z-index: 1;
}

.bento-visual svg {
  width: auto;
  height: 100%;
  max-height: 7.5rem;
}

.bento-body {
  padding: 1.5rem 1.625rem 1.625rem;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 4;
  background: hsl(var(--card));
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--accent));
  margin-bottom: 0.625rem;
  padding: 0.25rem 0.5625rem;
  border-radius: calc(var(--radius) - 2px);
  background: hsl(var(--accent-muted) / 0.7);
  border: 1px solid hsl(var(--accent) / 0.12);
  box-shadow: var(--shadow-xs);
}

.bento-card h3 {
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.bento-card p {
  font-size: 1.0625rem;
  color: hsl(var(--muted-fg));
  line-height: 1.65;
  flex: 1;
}

.bento-card .bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.125rem;
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--accent));
  opacity: 0.7;
  transition: opacity 250ms var(--ease);
}

.bento-card:hover .bento-link { opacity: 1; }

.bento-card .bento-link svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Bento grid placement — tight asymmetric layout */
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    min-height: 680px;
  }

  .bento-a {
    grid-column: 1 / 7;
    grid-row: 1 / 3;
  }

  .bento-b {
    grid-column: 7 / 10;
    grid-row: 1 / 2;
  }

  .bento-f {
    grid-column: 10 / 13;
    grid-row: 1 / 2;
  }

  .bento-c {
    grid-column: 7 / 13;
    grid-row: 2 / 3;
  }

  .bento-d {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
  }

  .bento-e {
    grid-column: 4 / 13;
    grid-row: 3 / 4;
  }

  .bento-a .bento-visual {
    min-height: 14rem;
    padding: 2rem 1.5rem;
  }

  .bento-a .bento-visual-inner { min-height: 11rem; }
  .bento-a .bento-visual svg { max-height: 11rem; }

  .bento-b .bento-visual,
  .bento-f .bento-visual {
    min-height: 8.5rem;
  }

  .bento-c .bento-visual {
    min-height: 7.5rem;
    flex: 0 0 7.5rem;
  }

  .bento-c {
    flex-direction: row;
  }

  .bento-c .bento-visual {
    flex: 0 0 42%;
    border-bottom: none;
    border-right: 1px solid hsl(var(--border));
  }

  .bento-c .bento-body {
    flex: 1;
    justify-content: center;
  }

  .bento-d .bento-visual { min-height: 8rem; }
  .bento-e .bento-visual { min-height: 8rem; }

  .bento-e {
    flex-direction: row;
  }

  .bento-e .bento-visual {
    flex: 0 0 38%;
    border-bottom: none;
    border-right: 1px solid hsl(var(--border));
    min-height: auto;
  }

  .bento-e .bento-body {
    flex: 1;
    justify-content: center;
  }
}

/* Bento scroll entrance */
.bento-card.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 600ms var(--ease),
    transform 600ms var(--ease),
    border-color 300ms var(--ease),
    box-shadow 350ms var(--ease);
}

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

.bento-card.reveal.visible:hover {
  transform: translateY(-2px);
}

/* Bento graphic animations */
.anim-pulse {
  animation: pulse-ring 2.4s ease-in-out infinite;
  transform-origin: center;
}

.anim-float {
  animation: float-y 4s ease-in-out infinite;
}

.anim-float-delay {
  animation: float-y 4s ease-in-out 1.2s infinite;
}

.anim-draw {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-line 2s var(--ease) forwards;
}

.anim-bar-grow {
  transform-origin: bottom;
  animation: bar-grow 1.2s var(--ease) forwards;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* How it works — premium timeline */

.how-section {
  background: hsl(var(--muted) / 0.35);
  border-block: 1px solid hsl(var(--border));
}

.steps-wrap {
  position: relative;
}

.steps-line {
  display: none;
}

.steps {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.step {
  position: relative;
  padding: 0;
  overflow: hidden;
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -12px hsl(var(--shadow) / 0.12);
}

.step-visual {
  padding: 1.5rem;
  background: linear-gradient(180deg, hsl(var(--accent-muted) / 0.5) 0%, hsl(var(--muted) / 0.3) 100%);
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
}

.step-visual svg { max-height: 5.5rem; width: auto; }

.step-body { padding: 1.5rem; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius);
  background: hsl(var(--accent));
  color: hsl(var(--accent-fg));
  font-weight: 800;
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 1.0625rem;
  color: hsl(var(--muted-fg));
  line-height: 1.65;
}

.step-time {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--accent));
}

.step-time svg { width: 0.875rem; height: 0.875rem; }

@media (min-width: 900px) {
  .steps-line {
    display: block;
    position: absolute;
    top: 4.5rem;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: hsl(var(--border));
    z-index: 0;
  }

  .steps-line::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background: hsl(var(--accent));
    animation: line-grow 1.8s var(--ease) 0.4s forwards;
  }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .step { z-index: 1; }
}

@keyframes line-grow {
  to { width: 100%; }
}

/* Pricing */

.pricing-section {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, hsl(var(--accent) / 0.06) 0%, transparent 55%),
    hsl(var(--muted) / 0.35);
  border-block: 1px solid hsl(var(--border));
}

.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.pricing-billing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  box-shadow: 0 2px 8px -2px hsl(var(--shadow) / 0.08);
}

.pricing-billing svg {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--accent));
}

.pricing-controls-hint {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}

.pricing-shell {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  width: 100%;
}

.pricing-shell:has(.pricing-card:nth-child(3)) {
  justify-content: flex-start;
}

.pricing-card {
  flex: 0 0 calc((100% - 2.5rem) / 3);
  width: calc((100% - 2.5rem) / 3);
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 350ms var(--ease),
    box-shadow 400ms var(--ease),
    transform 400ms var(--ease),
    opacity 400ms var(--ease),
    filter 400ms var(--ease);
}

.pricing-section[data-pricing-active="free"] .pricing-card[data-plan="free"],
.pricing-section[data-pricing-active="pro"] .pricing-card[data-plan="pro"] {
  border-color: hsl(var(--accent) / 0.4);
  box-shadow:
    0 0 0 1px hsl(var(--accent) / 0.12),
    0 24px 56px -20px hsl(var(--accent) / 0.2);
  transform: translateY(-6px) scale(1.01);
}

.pricing-section[data-pricing-active="free"] .pricing-card[data-plan="pro"],
.pricing-section[data-pricing-active="pro"] .pricing-card[data-plan="free"] {
  opacity: 0.72;
  filter: saturate(0.8);
  transform: scale(0.985);
}

.pricing-section[data-pricing-active="free"] .pricing-card[data-plan="pro"]:hover,
.pricing-section[data-pricing-active="pro"] .pricing-card[data-plan="free"]:hover {
  opacity: 0.88;
  filter: saturate(0.92);
}

.pricing-card:hover {
  border-color: hsl(var(--accent) / 0.28);
}

.pricing-card.featured {
  border-color: hsl(var(--accent) / 0.35);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, hsl(var(--accent)), transparent);
  opacity: 0.85;
  z-index: 2;
}

.pricing-visual {
  position: relative;
  padding: 1.25rem 1rem;
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 90% 90% at 50% 100%, hsl(var(--accent) / 0.12) 0%, transparent 65%),
    linear-gradient(180deg, hsl(var(--muted) / 0.6) 0%, hsl(var(--muted) / 0.22) 100%);
  border-bottom: 1px solid hsl(var(--border));
  overflow: hidden;
}

.pricing-visual-pro {
  background:
    radial-gradient(ellipse 90% 90% at 50% 100%, hsl(var(--accent) / 0.18) 0%, transparent 65%),
    linear-gradient(180deg, hsl(var(--accent-muted) / 0.5) 0%, hsl(var(--muted) / 0.22) 100%);
}

.pricing-visual-inner {
  position: relative;
  width: 100%;
  transition: transform 350ms var(--ease);
}

.pricing-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 28px -10px hsl(var(--shadow) / 0.16);
}

.pricing-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.625rem;
  background: hsl(var(--muted) / 0.55);
  border-bottom: 1px solid hsl(var(--border));
}

.pricing-frame-bar span:nth-child(1) { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: #f87171; }
.pricing-frame-bar span:nth-child(2) { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: #fbbf24; }
.pricing-frame-bar span:nth-child(3) { width: 0.4375rem; height: 0.4375rem; border-radius: 50%; background: #4ade80; }

.pricing-frame-title {
  margin-left: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
}

.pricing-dashboard {
  width: 100%;
  display: block;
  padding: 0.375rem;
  background: hsl(var(--card));
  transition: transform 350ms var(--ease);
}

.pricing-hotspot {
  transition: opacity 350ms var(--ease), filter 350ms var(--ease);
}

.pricing-card.is-feature-highlight .pricing-hotspot {
  opacity: 0.3;
  filter: grayscale(0.35);
}

.pricing-card.is-feature-highlight .pricing-hotspot.is-highlighted {
  opacity: 1;
  filter: none;
}

.pricing-card.is-feature-highlight .pricing-hotspot.is-highlighted rect,
.pricing-card.is-feature-highlight .pricing-hotspot.is-highlighted circle,
.pricing-card.is-feature-highlight .pricing-hotspot.is-highlighted path,
.pricing-card.is-feature-highlight .pricing-hotspot.is-highlighted g {
  filter: drop-shadow(0 0 8px hsl(var(--accent) / 0.35));
}

.pricing-line-flow {
  animation: hero-dash-flow 14s linear infinite;
}

.pricing-float-pill {
  position: absolute;
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 6px 16px -6px hsl(var(--shadow) / 0.15);
  z-index: 2;
}

.pricing-float-free {
  top: 0.5rem;
  right: 0;
  color: hsl(152 38% 40%);
  border-color: hsl(152 38% 40% / 0.25);
}

.pricing-float-pro {
  bottom: 0.5rem;
  left: 0;
  color: hsl(var(--accent));
  border-color: hsl(var(--accent) / 0.25);
  background: hsl(var(--accent-muted) / 0.5);
}

.pricing-head {
  padding: 1.375rem 1.375rem 1.125rem;
  text-align: center;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.pricing-card .plan {
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: hsl(var(--accent));
  margin-bottom: 0.625rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: hsl(var(--accent-muted) / 0.6);
}

.pricing-card .price {
  font-size: clamp(2.25rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
}

.pricing-card .price-note {
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
}

.pricing-body {
  padding: 1.25rem 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: hsl(var(--card));
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pricing-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4375rem 0.5rem;
  font-size: 1rem;
  line-height: 1.45;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition:
    background 250ms var(--ease),
    border-color 250ms var(--ease),
    transform 250ms var(--ease);
}

.pricing-card li:hover,
.pricing-card li.is-active {
  background: hsl(var(--muted) / 0.45);
  border-color: hsl(var(--border));
  transform: translateX(4px);
}

.pricing-card li svg {
  flex-shrink: 0;
  width: 0.9375rem;
  height: 0.9375rem;
  color: hsl(var(--accent));
}

.pricing-card .btn {
  width: 100%;
  min-height: 2.875rem;
  font-size: 1rem;
}

.pricing-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
}

.pricing-matrix {
  margin-top: 2.5rem;
  padding: 0;
  overflow: hidden;
}

.pricing-matrix-head,
.pricing-matrix-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.875rem 1.375rem;
}

.pricing-matrix-head {
  background: hsl(var(--muted) / 0.45);
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: hsl(var(--muted-fg));
}

.pricing-matrix-label {
  color: hsl(var(--foreground));
}

.pricing-matrix-col {
  text-align: center;
}

.pricing-matrix-col-pro {
  color: hsl(var(--accent));
}

.pricing-matrix-row {
  font-size: 0.9375rem;
  color: hsl(var(--muted-fg));
  border-bottom: 1px solid hsl(var(--border));
  transition: background 250ms var(--ease);
}

.pricing-matrix-row:last-child {
  border-bottom: none;
}

.pricing-matrix-row:hover {
  background: hsl(var(--muted) / 0.3);
}

.pricing-matrix-row span:first-child {
  font-weight: 600;
  color: hsl(var(--foreground));
}

.pricing-matrix-row span:not(:first-child) {
  text-align: center;
}

.pricing-matrix-highlight {
  font-weight: 700;
  color: hsl(var(--accent)) !important;
}

.pricing-matrix-yes {
  display: inline-flex;
  justify-content: center;
  color: hsl(152 38% 40%);
}

.pricing-matrix-yes svg {
  width: 1.125rem;
  height: 1.125rem;
}

.pricing-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

.pricing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
}

.pricing-trust-item svg {
  width: 1.125rem;
  height: 1.125rem;
  color: hsl(var(--accent));
}

.pricing-footnote {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
}

@media (max-width: 900px) {
  .pricing-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
  }

  .pricing-section[data-pricing-active="free"] .pricing-card[data-plan="free"],
  .pricing-section[data-pricing-active="pro"] .pricing-card[data-plan="pro"] {
    transform: translateY(-4px) scale(1);
  }

  .pricing-matrix-head,
  .pricing-matrix-row {
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
  }
}

/* Benefits */

.benefits-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, hsl(var(--accent) / 0.05) 0%, transparent 55%),
    hsl(var(--background));
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.benefit-card {
  padding: 0;
  overflow: hidden;
  transition: border-color 300ms var(--ease), box-shadow 350ms var(--ease), transform 350ms var(--ease);
}

.benefit-card:hover {
  border-color: hsl(var(--accent) / 0.25);
  box-shadow: 0 16px 40px -16px hsl(var(--shadow) / 0.14);
  transform: translateY(-2px);
}

.benefit-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 6.5rem;
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, hsl(var(--accent) / 0.14) 0%, transparent 70%),
    linear-gradient(180deg, hsl(var(--muted) / 0.6) 0%, hsl(var(--muted) / 0.25) 100%);
  border-bottom: 1px solid hsl(var(--border));
  transition: transform 350ms var(--ease);
}

.benefit-visual svg {
  width: 100%;
  max-width: 10rem;
  height: auto;
}

.benefit-body {
  padding: 1.5rem 1.375rem 1.625rem;
}

.benefit-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.benefit-body p {
  font-size: 1.0625rem;
  color: hsl(var(--muted-fg));
  line-height: 1.65;
}

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Why switch */

.switch-section {
  border-block: 1px solid hsl(var(--border));
  background:
    radial-gradient(ellipse 60% 40% at 80% 50%, hsl(var(--accent) / 0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 10% 60%, hsl(0 55% 52% / 0.03) 0%, transparent 50%),
    hsl(var(--background));
}

.switch-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.switch-segment {
  position: relative;
  display: inline-flex;
  padding: 0.25rem;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.45);
  box-shadow: inset 0 1px 2px hsl(var(--shadow) / 0.04);
}

.switch-segment-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  background: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: color 300ms var(--ease);
}

.switch-segment-btn svg {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
}

.switch-segment-btn.is-active {
  color: hsl(var(--foreground));
}

.switch-segment-indicator {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0.25rem;
  width: calc(50% - 0.25rem);
  border-radius: 999px;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 2px 8px -2px hsl(var(--shadow) / 0.12);
  transition: transform 400ms var(--ease);
  pointer-events: none;
}

.switch-section[data-switch-active="new"] .switch-segment-indicator {
  transform: translateX(100%);
}

.switch-controls-hint {
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}

.switch-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.switch-card {
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  transition:
    border-color 350ms var(--ease),
    box-shadow 400ms var(--ease),
    transform 400ms var(--ease),
    opacity 400ms var(--ease),
    filter 400ms var(--ease);
}

.switch-section[data-switch-active="old"] .switch-old,
.switch-section[data-switch-active="new"] .switch-new {
  border-color: hsl(var(--accent) / 0.35);
  box-shadow: 0 0 0 1px hsl(var(--accent) / 0.1), 0 20px 48px -20px hsl(var(--accent) / 0.15);
  transform: translateY(-4px) scale(1.01);
}

.switch-section[data-switch-active="old"] .switch-new,
.switch-section[data-switch-active="new"] .switch-old {
  opacity: 0.55;
  filter: saturate(0.65);
  transform: scale(0.985);
}

.switch-section[data-switch-active="old"] .switch-new:hover,
.switch-section[data-switch-active="new"] .switch-old:hover {
  opacity: 0.75;
  filter: saturate(0.85);
}

.switch-old {
  border-color: hsl(0 55% 52% / 0.15);
}

.switch-new {
  border-color: hsl(var(--accent) / 0.2);
}

.switch-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 14rem;
  background:
    linear-gradient(180deg, hsl(var(--muted) / 0.55) 0%, hsl(var(--muted) / 0.18) 100%);
  border-bottom: 1px solid hsl(var(--border));
  overflow: hidden;
}

.switch-visual-new {
  background:
    radial-gradient(ellipse 80% 100% at 50% 100%, hsl(var(--accent) / 0.14) 0%, transparent 70%),
    linear-gradient(180deg, hsl(var(--muted) / 0.6) 0%, hsl(var(--muted) / 0.22) 100%);
}

.switch-visual-inner {
  position: relative;
  width: 100%;
  max-width: 22rem;
  transition: transform 350ms var(--ease);
}

.switch-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -12px hsl(var(--shadow) / 0.18);
}

.switch-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--muted) / 0.55);
  border-bottom: 1px solid hsl(var(--border));
}

.switch-frame-bar span:nth-child(1) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #f87171; }
.switch-frame-bar span:nth-child(2) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #fbbf24; }
.switch-frame-bar span:nth-child(3) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4ade80; }

.switch-frame-title {
  margin-left: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.switch-dashboard {
  width: 100%;
  display: block;
  padding: 0.375rem;
  background: hsl(var(--card));
}

.switch-hotspot {
  transition: opacity 350ms var(--ease), filter 350ms var(--ease);
}

.switch-section.is-topic-active .switch-hotspot {
  opacity: 0.25;
  filter: grayscale(0.4);
}

.switch-section.is-topic-active .switch-hotspot.is-highlighted {
  opacity: 1;
  filter: none;
}

.switch-section.is-topic-active .switch-hotspot.is-highlighted rect,
.switch-section.is-topic-active .switch-hotspot.is-highlighted circle,
.switch-section.is-topic-active .switch-hotspot.is-highlighted ellipse,
.switch-section.is-topic-active .switch-hotspot.is-highlighted path {
  filter: drop-shadow(0 0 6px hsl(var(--accent) / 0.35));
}

.switch-old .switch-hotspot.is-highlighted rect,
.switch-old .switch-hotspot.is-highlighted circle {
  filter: drop-shadow(0 0 6px hsl(0 55% 52% / 0.4));
}

.switch-float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 6px 16px -6px hsl(var(--shadow) / 0.18);
  white-space: nowrap;
  z-index: 2;
}

.switch-float-bad {
  top: 0.75rem;
  right: -0.25rem;
  color: hsl(0 55% 52%);
  border-color: hsl(0 55% 52% / 0.25);
}

.switch-float-paywall {
  bottom: 1rem;
  left: -0.5rem;
  font-size: 0.6875rem;
  color: hsl(0 55% 52%);
  background: hsl(0 55% 52% / 0.08);
  border-color: hsl(0 55% 52% / 0.2);
}

.switch-float-good {
  top: 1rem;
  right: -0.75rem;
  color: hsl(152 38% 40%);
  border-color: hsl(152 38% 40% / 0.25);
}

.switch-float-free {
  bottom: 0.75rem;
  left: -0.75rem;
  font-size: 0.6875rem;
  color: hsl(var(--accent));
  background: hsl(var(--accent-muted) / 0.5);
  border-color: hsl(var(--accent) / 0.2);
}

.switch-alert-1 { animation: switch-alert-drop 3s ease-in-out infinite; }
.switch-alert-2 { animation: switch-alert-drop 3s ease-in-out 0.15s infinite; }
.switch-alert-3 { animation: switch-alert-drop 3s ease-in-out 0.3s infinite; }

@keyframes switch-alert-drop {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(3px); opacity: 0.85; }
}

@keyframes anim-modal-wobble {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-0.6deg); }
  75% { transform: rotate(0.6deg); }
}

.anim-modal-wobble {
  transform-origin: center;
  animation: anim-modal-wobble 4s ease-in-out infinite;
}

@keyframes anim-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-2px); }
  40% { transform: translateX(2px); }
  60% { transform: translateX(-1px); }
  80% { transform: translateX(1px); }
}

.anim-shake {
  animation: anim-shake 2.5s ease-in-out infinite;
}

.switch-line-flow {
  animation: hero-dash-flow 14s linear infinite;
}

.switch-connector {
  display: none;
}

.switch-body {
  padding: 1.5rem 1.5rem 1.625rem;
}

.switch-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
}

.switch-label-old {
  color: hsl(0 55% 52%);
  background: hsl(0 55% 52% / 0.1);
}

.switch-label-new {
  color: hsl(var(--accent));
  background: hsl(var(--accent-muted) / 0.6);
}

.switch-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.switch-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  font-size: 1.0625rem;
  color: hsl(var(--muted-fg));
  line-height: 1.55;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: default;
  transition:
    background 250ms var(--ease),
    border-color 250ms var(--ease),
    color 250ms var(--ease),
    transform 250ms var(--ease);
}

.switch-body li:hover,
.switch-body li.is-active {
  background: hsl(var(--muted) / 0.45);
  border-color: hsl(var(--border));
  color: hsl(var(--foreground));
  transform: translateX(4px);
}

.switch-li-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 1;
}

.switch-old .switch-li-icon {
  color: hsl(0 55% 52%);
  background: hsl(0 55% 52% / 0.12);
}

.switch-new .switch-li-icon {
  color: hsl(152 38% 40%);
  background: hsl(152 38% 40% / 0.12);
}

.switch-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.switch-topic {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  background: hsl(var(--muted) / 0.35);
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 250ms var(--ease),
    border-color 250ms var(--ease),
    color 250ms var(--ease),
    box-shadow 250ms var(--ease),
    transform 250ms var(--ease);
}

.switch-topic:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--accent) / 0.25);
  transform: translateY(-1px);
}

.switch-topic.is-active {
  color: hsl(var(--foreground));
  background: hsl(var(--accent-muted) / 0.55);
  border-color: hsl(var(--accent) / 0.3);
  box-shadow: 0 4px 12px -4px hsl(var(--accent) / 0.2);
}

.switch-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .switch-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .switch-visual {
    min-height: 16rem;
    padding: 2rem 1.75rem;
  }

  .switch-visual-inner {
    max-width: 100%;
  }

  .switch-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.25rem;
  }

  .switch-connector-line {
    width: 2px;
    height: 3rem;
    background: linear-gradient(180deg, transparent, hsl(var(--accent) / 0.35), transparent);
    animation: switch-pulse-line 2s ease-in-out infinite;
  }

  .switch-connector-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: hsl(var(--accent));
    background: hsl(var(--card));
    border: 1px solid hsl(var(--accent) / 0.25);
    border-radius: 50%;
    box-shadow: 0 4px 12px -4px hsl(var(--accent) / 0.2);
  }
}

@keyframes switch-pulse-line {
  0%, 100% { opacity: 0.5; transform: scaleY(0.9); }
  50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 899px) {
  .switch-segment-btn {
    padding: 0.5625rem 0.875rem;
    font-size: 0.8125rem;
  }

  .switch-float-bad,
  .switch-float-good {
    right: 0.25rem;
  }

  .switch-float-paywall,
  .switch-float-free {
    left: 0.25rem;
  }
}

/* FAQ */

.faq-section {
  background:
    radial-gradient(ellipse 50% 40% at 20% 80%, hsl(var(--accent) / 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 90% 20%, hsl(var(--accent) / 0.04) 0%, transparent 50%),
    hsl(var(--background));
}

.faq-shell {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.faq-filter {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  background: hsl(var(--muted) / 0.35);
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 250ms var(--ease),
    border-color 250ms var(--ease),
    color 250ms var(--ease),
    box-shadow 250ms var(--ease),
    transform 250ms var(--ease);
}

.faq-filter:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--accent) / 0.25);
  transform: translateY(-1px);
}

.faq-filter.is-active {
  color: hsl(var(--foreground));
  background: hsl(var(--accent-muted) / 0.55);
  border-color: hsl(var(--accent) / 0.3);
  box-shadow: 0 4px 12px -4px hsl(var(--accent) / 0.2);
}

.faq-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.faq-graphic-col {
  order: 2;
}

.faq-main {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-graphic-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px -12px hsl(var(--shadow) / 0.16);
  background: hsl(var(--card));
}

.faq-frame-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--muted) / 0.55);
  border-bottom: 1px solid hsl(var(--border));
}

.faq-frame-bar span:nth-child(1) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #f87171; }
.faq-frame-bar span:nth-child(2) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #fbbf24; }
.faq-frame-bar span:nth-child(3) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4ade80; }

.faq-frame-title {
  margin-left: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  transition: opacity 300ms var(--ease);
}

.faq-visual-stage {
  position: relative;
  min-height: 13rem;
  padding: 1rem;
  background:
    radial-gradient(ellipse 80% 80% at 50% 100%, hsl(var(--accent) / 0.1) 0%, transparent 70%),
    linear-gradient(180deg, hsl(var(--muted) / 0.45) 0%, hsl(var(--muted) / 0.15) 100%);
}

.faq-scene {
  position: absolute;
  inset: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 450ms var(--ease),
    transform 450ms var(--ease);
}

.faq-scene.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.faq-scene svg {
  width: 100%;
  max-width: 20rem;
  height: auto;
  display: block;
  transition: transform 350ms var(--ease);
}

.faq-scene-pill {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 6px 16px -6px hsl(var(--shadow) / 0.15);
  color: hsl(var(--accent));
}

.faq-scene-pill-green {
  color: hsl(152 38% 40%);
  border-color: hsl(152 38% 40% / 0.25);
}

.faq-progress-bar {
  transform-origin: left center;
  animation: faq-progress-fill 2.5s ease-in-out infinite;
}

@keyframes faq-progress-fill {
  0%, 100% { transform: scaleX(0.45); }
  50% { transform: scaleX(1); }
}

.faq-line-flow {
  animation: hero-dash-flow 14s linear infinite;
}

.faq-scene-dots {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.75rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--card));
}

.faq-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: hsl(var(--muted-fg) / 0.25);
  transition:
    background 300ms var(--ease),
    transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.faq-dot.is-active {
  background: hsl(var(--accent));
  transform: scale(1.35);
  box-shadow: 0 0 0 3px hsl(var(--accent) / 0.15);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition:
    border-color 300ms var(--ease),
    box-shadow 350ms var(--ease),
    transform 350ms var(--ease),
    opacity 350ms var(--ease);
}

.faq-item.is-hidden {
  display: none;
}

.faq-item.open {
  border-color: hsl(var(--accent) / 0.35);
  box-shadow: 0 10px 32px -14px hsl(var(--accent) / 0.18);
  transform: translateY(-1px);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  text-align: left;
  color: hsl(var(--foreground));
  background: none;
  border: none;
  cursor: pointer;
  transition: background 250ms var(--ease);
}

.faq-trigger:hover {
  background: hsl(var(--muted) / 0.4);
}

.faq-item.open .faq-trigger {
  background: hsl(var(--accent-muted) / 0.25);
}

.faq-trigger-left {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  min-width: 0;
}

.faq-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: hsl(var(--accent));
  background: hsl(var(--accent-muted) / 0.5);
  border-radius: var(--radius);
  transition: background 300ms var(--ease), color 300ms var(--ease);
}

.faq-item.open .faq-num {
  color: hsl(var(--accent-fg));
  background: hsl(var(--accent));
}

.faq-trigger-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.faq-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: hsl(var(--muted-fg));
}

.faq-item.open .faq-cat {
  color: hsl(var(--accent));
}

.faq-q {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}

.faq-icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsl(var(--muted) / 0.45);
  border: 1px solid hsl(var(--border));
  transition: background 300ms var(--ease), border-color 300ms var(--ease);
}

.faq-item.open .faq-icon-wrap {
  background: hsl(var(--accent-muted) / 0.55);
  border-color: hsl(var(--accent) / 0.25);
}

.faq-icon {
  width: 1rem;
  height: 1rem;
  color: hsl(var(--accent));
  transition: transform 400ms var(--ease);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 400ms var(--ease);
}

.faq-item.open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel-inner p {
  padding: 0 1.25rem 1.25rem 4.125rem;
  font-size: 1.0625rem;
  color: hsl(var(--muted-fg));
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.faq-item.open .faq-panel-inner p {
  opacity: 1;
  transform: translateY(0);
}

.faq-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.375rem;
  background:
    radial-gradient(ellipse 80% 100% at 0% 50%, hsl(var(--accent) / 0.08) 0%, transparent 60%),
    hsl(var(--card));
  border-color: hsl(var(--accent) / 0.15);
}

.faq-cta-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.faq-cta-copy p {
  font-size: 0.9375rem;
  color: hsl(var(--muted-fg));
  line-height: 1.5;
}

@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
  }

  .faq-graphic-col {
    order: 0;
    position: sticky;
    top: 6rem;
  }

  .faq-main {
    order: 0;
  }

  .faq-visual-stage {
    min-height: 15rem;
  }

  .faq-panel-inner p {
    padding-left: 4.375rem;
  }
}

@media (max-width: 899px) {
  .faq-panel-inner p {
    padding-left: 1.25rem;
    padding-top: 0.25rem;
  }

  .faq-trigger-left {
    gap: 0.75rem;
  }
}

/* CTA */

.cta-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, hsl(var(--accent) / 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 10% 50%, hsl(var(--accent) / 0.04) 0%, transparent 50%),
    hsl(var(--background));
}

.cta-shell {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px hsl(var(--border) / 0.5),
    0 32px 64px -32px hsl(var(--accent) / 0.12);
}

.cta-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.5);
  z-index: 2;
}

[data-theme="dark"] .cta-shell::before {
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.04);
}

.cta-bg-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(hsl(var(--border) / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, hsl(var(--border) / 0.4) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: radial-gradient(ellipse 80% 80% at 30% 50%, black 0%, transparent 70%);
}

.cta-glow {
  pointer-events: none;
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, hsl(var(--accent) / 0.14) 0%, transparent 70%);
  filter: blur(40px);
}

.cta-glow-2 {
  top: auto;
  bottom: -30%;
  left: auto;
  right: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at center, hsl(152 38% 40% / 0.08) 0%, transparent 70%);
}

.cta-grid {
  display: grid;
  gap: 0;
  position: relative;
  z-index: 1;
}

.cta-graphic-col {
  padding: 1.5rem;
  background:
    radial-gradient(ellipse 80% 80% at 30% 80%, hsl(var(--accent) / 0.12) 0%, transparent 60%),
    linear-gradient(180deg, hsl(var(--muted) / 0.55) 0%, hsl(var(--muted) / 0.2) 100%);
  border-bottom: 1px solid hsl(var(--border));
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-graphic-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  overflow: hidden;
  box-shadow: 0 12px 32px -12px hsl(var(--shadow) / 0.16);
}

.cta-graphic-bar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: hsl(var(--muted) / 0.5);
  border-bottom: 1px solid hsl(var(--border));
}

.cta-graphic-bar span:nth-child(1) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #f87171; }
.cta-graphic-bar span:nth-child(2) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #fbbf24; }
.cta-graphic-bar span:nth-child(3) { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #4ade80; }

.cta-graphic-title {
  margin-left: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  transition: opacity 300ms var(--ease);
}

.cta-visual-stage {
  position: relative;
  min-height: 12rem;
  padding: 0.5rem;
}

.cta-scene {
  position: absolute;
  inset: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 450ms var(--ease), transform 450ms var(--ease);
}

.cta-scene.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.cta-dashboard {
  width: 100%;
  display: block;
  transition: transform 350ms var(--ease);
}

.cta-hotspot {
  transition: opacity 350ms var(--ease), filter 350ms var(--ease);
}

.cta-graphic-frame.is-highlight-active .cta-hotspot {
  opacity: 0.35;
  filter: grayscale(0.3);
}

.cta-graphic-frame.is-highlight-active .cta-hotspot.is-highlighted {
  opacity: 1;
  filter: none;
}

.cta-graphic-frame.is-highlight-active .cta-hotspot.is-highlighted rect,
.cta-graphic-frame.is-highlight-active .cta-hotspot.is-highlighted circle,
.cta-graphic-frame.is-highlight-active .cta-hotspot.is-highlighted g {
  filter: drop-shadow(0 0 8px hsl(var(--accent) / 0.35));
}

.cta-line-flow {
  animation: hero-dash-flow 16s linear infinite;
}

.cta-float-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card));
  box-shadow: 0 6px 16px -6px hsl(var(--shadow) / 0.18);
  white-space: nowrap;
  z-index: 3;
}

.cta-float-pill .status-dot {
  width: 0.375rem;
  height: 0.375rem;
}

.cta-float-pill-1 {
  top: 22%;
  right: -0.25rem;
}

.cta-float-pill-2 {
  bottom: 28%;
  left: -0.25rem;
}

.cta-float-pill-3 {
  top: 48%;
  right: 0.5rem;
  color: hsl(152 38% 40%);
  border-color: hsl(152 38% 40% / 0.25);
}

.cta-scene-tabs {
  display: flex;
  gap: 0.375rem;
  padding: 0.625rem 0.75rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.3);
}

.cta-scene-tab {
  flex: 1;
  padding: 0.4375rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 250ms var(--ease),
    border-color 250ms var(--ease),
    color 250ms var(--ease);
}

.cta-scene-tab:hover {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.45);
}

.cta-scene-tab.is-active {
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  border-color: hsl(var(--border));
  box-shadow: 0 2px 6px -2px hsl(var(--shadow) / 0.1);
}

.cta-live-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
}

.cta-live-stat {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--card) / 0.7);
  backdrop-filter: blur(4px);
}

.cta-live-num {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: hsl(var(--foreground));
  line-height: 1.2;
}

.cta-live-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  margin-top: 0.125rem;
}

.cta-content {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: hsl(var(--card));
}

.cta-content .badge {
  width: fit-content;
  margin-bottom: 1rem;
}

.cta-content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.875rem;
}

.cta-content h2 em {
  font-style: normal;
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(222 28% 48%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-lead {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  font-weight: 500;
  color: hsl(var(--muted-fg));
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cta-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cta-highlight {
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  background: hsl(var(--muted) / 0.35);
  border: 1px solid hsl(var(--border));
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 250ms var(--ease),
    border-color 250ms var(--ease),
    color 250ms var(--ease),
    box-shadow 250ms var(--ease),
    transform 250ms var(--ease);
}

.cta-highlight:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--accent) / 0.25);
  transform: translateY(-1px);
}

.cta-highlight.is-active {
  color: hsl(var(--foreground));
  background: hsl(var(--accent-muted) / 0.55);
  border-color: hsl(var(--accent) / 0.3);
  box-shadow: 0 4px 12px -4px hsl(var(--accent) / 0.2);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
}

.btn-lg {
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  font-size: 1.0625rem;
}

.cta-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cta-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--muted-fg));
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  background: hsl(var(--muted) / 0.35);
  transition: border-color 250ms var(--ease), background 250ms var(--ease);
}

.cta-trust-item:hover {
  border-color: hsl(var(--accent) / 0.2);
  background: hsl(var(--muted) / 0.5);
}

.cta-trust-item svg {
  flex-shrink: 0;
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--accent));
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 1.05fr 1fr;
  }

  .cta-graphic-col {
    padding: 2rem;
    border-bottom: none;
    border-right: 1px solid hsl(var(--border));
    justify-content: center;
  }

  .cta-graphic-frame {
    width: 100%;
  }

  .cta-visual-stage {
    min-height: 13.5rem;
  }

  .cta-content {
    padding: 2.5rem 2.25rem;
  }

  .cta-float-pill-1 { right: 0.5rem; }
  .cta-float-pill-2 { left: 0.5rem; }
  .cta-float-pill-3 { right: 1rem; }
}

/* Stagger reveals */

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

.reveal-stagger > *.visible:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *.visible:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > *.visible:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > *.visible:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > *.visible:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > *.visible:nth-child(6) { transition-delay: 400ms; }

.reveal-stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */

.footer {
  border-top: 1px solid hsl(var(--border));
  padding: 4rem 0 2.5rem;
  background:
    linear-gradient(180deg, hsl(var(--muted) / 0.35) 0%, hsl(var(--background)) 100%);
}

[data-theme="dark"] .footer {
  background:
    linear-gradient(180deg, hsl(var(--muted) / 0.5) 0%, hsl(var(--background)) 100%);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: hsl(var(--muted-fg));
  max-width: 18rem;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-fg));
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-col a {
  font-size: 1rem;
  color: hsl(var(--muted-fg));
  transition: color var(--duration) var(--ease);
}

.footer-col a:hover { color: hsl(var(--foreground)); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-grid-bg,
  .hero-orb,
  .hero-pulse,
  .hero-line,
  .hero-dash,
  .hero-node,
  .hero-radar span,
  .hero-preview-float,
  .proof-marquee {
    animation: none !important;
  }

  .hero-line { stroke-dashoffset: 0; }

  .bento-card.reveal,
  .bento-card.reveal.visible,
  .bento-card:hover {
    transform: none;
  }
}
