:root {
  --radius: 0.5rem;
  --background: oklch(0.97 0.02 295);
  --foreground: oklch(0.18 0.06 290);
  --card: oklch(1 0 0);
  --primary: oklch(0.52 0.25 295);
  --primary-foreground: oklch(0.99 0 0);
  --muted-foreground: oklch(0.50 0.06 290);
  --destructive: oklch(0.65 0.22 25);
  --border: oklch(0.82 0.06 295 / 60%);
  --cyan: oklch(0.65 0.15 275);
  --gradient-hero: radial-gradient(ellipse at center, oklch(0.90 0.08 295 / 0.7) 0%, oklch(0.97 0.02 295) 70%);
  --gradient-primary: linear-gradient(135deg, oklch(0.52 0.25 295) 0%, oklch(0.55 0.22 285) 100%);
  --shadow-glow: 0 0 60px oklch(0.52 0.25 295 / 0.30), 0 0 120px oklch(0.52 0.25 295 / 0.15);
  --shadow-glow-sm: 0 0 24px oklch(0.52 0.25 295 / 0.22);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.svg-sprite {
  display: none;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

/* ── Decorative lavender blobs (light-theme signature) ── */
.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.site-shell::before {
  width: 600px;
  height: 600px;
  top: -120px;
  right: -160px;
  background: radial-gradient(circle, oklch(0.80 0.12 295 / 0.45) 0%, oklch(0.85 0.10 310 / 0.20) 60%, transparent 80%);
}

.site-shell::after {
  width: 500px;
  height: 500px;
  bottom: 10%;
  left: -140px;
  background: radial-gradient(circle, oklch(0.82 0.10 275 / 0.35) 0%, oklch(0.88 0.08 295 / 0.15) 60%, transparent 80%);
}

.container {
  width: min(100% - 48px, 1280px);
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.narrow {
  width: min(100% - 48px, 1120px);
}

.centered {
  text-align: center;
}

.section {
  position: relative;
  padding: 8rem 0;
  overflow: hidden;
}

.mono,
.eyebrow,
.status-pill,
.hero-stats,
.rotating-shell,
.small {
  font-family: var(--font-mono);
}

.eyebrow {
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-glow {
  text-shadow: 0 0 30px oklch(0.52 0.25 295 / 0.45), 0 0 60px oklch(0.52 0.25 295 / 0.20);
}

.muted {
  color: var(--muted-foreground);
}

.glass {
  background: oklch(1 0 0 / 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid oklch(0.52 0.25 295 / 0.15);
}

.glass-strong {
  background: oklch(1 0 0 / 0.80);
  backdrop-filter: blur(24px);
  border: 1px solid oklch(0.52 0.25 295 / 0.22);
}

.glow-border {
  border: 1px solid oklch(0.52 0.25 295 / 0.40);
  box-shadow: var(--shadow-glow-sm);
}

.grid-bg {
  background-image:
    linear-gradient(oklch(0.52 0.25 295 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, oklch(0.52 0.25 295 / 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--primary);
  flex: none;
}
.icon2 {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--primary);
  flex: none;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-xs {
  width: 0.75rem;
  height: 0.75rem;
}

.icon-large {
  width: 2.5rem;
  height: 2.5rem;
}

.danger,
.danger-text {
  color: var(--destructive);
}

.btn,
.btn-hero,
.brand-mark,
.feature-icon {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 0.5rem;
  padding: 1rem 1.75rem;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px oklch(0.52 0.25 295 / 0.50);
}

.btn-small {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

.btn-ghost,
.btn-soft {
  color: var(--foreground);
  background: oklch(1 0 0 / 0.75);
  border: 1px solid oklch(0.52 0.25 295 / 0.28);
  box-shadow: none;
  backdrop-filter: blur(24px);
}

.btn-soft {
  background: oklch(0.97 0.02 295 / 0.65);
}

.btn-ghost:hover,
.btn-soft:hover {
  border-color: var(--primary);
}

.live-bar {
  position: fixed;
  z-index: 60;
  top: 0;
  inset-inline: 0;
  overflow: hidden;
  background: linear-gradient(90deg, oklch(0.52 0.25 295), oklch(0.62 0.22 275), oklch(0.52 0.25 295));
  background-size: 200% 100%;
  animation: live-gradient 12s linear infinite;
}

.live-shine {
  position: absolute;
  inset-block: 0;
  width: 33%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: live-shine 6s linear infinite;
}

.live-inner {
  position: relative;
  width: min(100% - 32px, 1280px);
  height: 36px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: oklch(0.99 0 0);
  font-size: 0.8125rem;
  font-weight: 500;
}

.live-left,
.live-time,
.live-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-left .icon,
.live-time .icon,
.live-link .icon {
  color: currentColor;
}

.live-dot-wrap {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}

.live-dot,
.live-dot-ping {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #dc2626;
}

.live-dot-ping {
  animation: ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.live-time {
  color: oklch(0.99 0 0 / 0.90);
}

.live-link {
  flex: none;
  border-radius: 0.375rem;
  background: oklch(0.99 0 0);
  color: var(--primary);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav {
  position: fixed;
  z-index: 50;
  top: 36px;
  inset-inline: 0;
  background: oklch(0.98 0.015 295 / 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid oklch(0.82 0.06 295 / 0.30);
}

.nav-inner {
  width: min(100% - 48px, 1280px);
  height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 700 0.875rem var(--font-mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
  transition: color 0.2s ease;
}

.menu-toggle:hover {
  color: var(--primary);
}

.menu-toggle .icon-close {
  display: none;
}

.nav-login {
  font-weight: 500;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.animated-backdrop,
.section-grid,
.hero-gradient,
.particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.animated-backdrop {
  overflow: hidden;
}

.animated-backdrop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-human {
  opacity: 0.4;
  transform: scale(1.15);
  animation: hero-pan-a 28s ease-in-out infinite;
}

.hero-bg-robots {
  opacity: 0.7;
  mix-blend-mode: multiply;
  transform: scale(1.05);
  animation: hero-pan-b 36s ease-in-out infinite;
}

.walker {
  inset: auto auto 0 0 !important;
  width: auto !important;
  object-fit: contain !important;
}

.walker-a {
  height: 60% !important;
  opacity: 0.5;
  animation: walker-a 22s linear infinite;
  filter: drop-shadow(0 0 30px oklch(0.52 0.25 295 / 0.4));
}

.walker-b {
  height: 45% !important;
  opacity: 0.9;
  transform: scaleX(-1);
  animation: walker-b 30s linear infinite;
  animation-delay: -6s;
}

.hero-vignette,
.hero-side-vignette,
.hero-color-grade,
.hero-scan {
  position: absolute;
  inset: 0;
}

.hero-vignette {
  background: radial-gradient(ellipse at center, transparent 0%, oklch(0.94 0.04 295 / 0.20) 65%, oklch(0.92 0.04 295 / 0.50) 100%);
}

.hero-side-vignette {
  background: linear-gradient(90deg, oklch(0.95 0.03 295 / 0.40), transparent 35%, transparent 70%, oklch(0.95 0.03 295 / 0.30));
}

.hero-color-grade {
  opacity: 0.25;
  mix-blend-mode: multiply;
  background: linear-gradient(120deg, oklch(0.75 0.15 295 / 0.18), transparent 40%, oklch(0.70 0.18 275 / 0.12));
}

.hero-scan {
  height: 8rem;
  opacity: 0.20;
  background: linear-gradient(180deg, transparent, oklch(0.52 0.25 295 / 0.25), transparent);
  animation: scan-down 7s linear infinite;
}

.section-grid {
  opacity: 0.15;
}

.hero-gradient {
  opacity: 0.95;
  background: var(--gradient-hero);
  mix-blend-mode: normal;
}

.particle-canvas {
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 3rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: var(--primary);
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

.status-pill span,
figcaption span,
.footer-base i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--primary);
  animation: pulse-glow 3s ease-in-out infinite;
}

h1 {
  font-size: 2.25rem;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-subline {
  display: block;
  margin-top: 0.75rem;
  color: oklch(0.28 0.07 290 / 0.85);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
}

.hero-subline span {
  color: var(--primary);
}

.hero-question {
  display: block;
  margin-top: 1.25rem;
  color: var(--muted-foreground);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
}

.rotating-shell {
  height: 3rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-shadow: 0 0 30px oklch(0.52 0.25 295 / 0.40);
}

.rotating-shell span {
  display: inline-block;
}

.rotating-shell span.is-changing {
  animation: rotate-text 0.6s ease;
}

.hero-copy > p {
  max-width: 36rem;
  color: oklch(0.50 0.06 290 / 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

.hero-stats strong {
  display: block;
  color: var(--primary);
  font-size: 1.5rem;
}

.hero-media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-avatar-wrap {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}

.hero-avatar-iframe {
  display: block;
  width: 100%;
  height: 550px;
  border: none;
  border-radius: 1rem;
}

.hero-media-glow {
  position: absolute;
  inset: -1rem;
  border-radius: 999px;
  background: oklch(0.72 0.18 295 / 0.30);
  filter: blur(48px);
  animation: pulse-glow 3s ease-in-out infinite;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 480px;
}

.image-frame::after,
.dashboard-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(to top, oklch(0.97 0.02 295 / 0.75), transparent 55%); */
}

.image-frame figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  border-radius: 0.5rem;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font: 0.75rem var(--font-mono);
}

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

.section-heading {
  text-align: center;
  margin: 0 auto 4rem;
  max-width: 900px;
}

.section-heading h2 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.7;
}

.pain-grid,
.feature-grid,
.ecosystem-grid,
.comparison-grid,
.usecase-grid,
.stats-grid,
.trust-grid {
  display: grid;
  gap: 1.25rem;
}

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

.pain-grid article {
  border-color: oklch(0.65 0.22 25 / 0.22);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dashboard-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin: 0 0 4rem;
  aspect-ratio: 16 / 9;
}

.dashboard-frame iframe,
.dashboard-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  object-fit: cover;
}

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

.feature-card {
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover,
.usecase-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.52 0.25 295 / 0.5);
  box-shadow: var(--shadow-glow-sm);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon .icon {
  color: var(--primary-foreground);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p,
.trust-grid p {
  color: var(--muted-foreground);
  line-height: 1.65;
}

.ecosystem-bg,
.before-after-bg,
.cta-bg,
.footer-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.ecosystem-bg img,
.before-after-bg img,
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ecosystem-bg {
  opacity: 0.3;
}

.ecosystem-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), oklch(0.95 0.03 295 / 0.75), var(--background));
}

.ecosystem-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 5rem;
}

.ecosystem-grid article {
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.ecosystem-grid .icon {
  display: block;
  margin: 0 auto 0.75rem;
  width: 2rem;
  height: 2rem;
}

.community-card {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  border-radius: 1.5rem;
  padding: 4rem;
  overflow: hidden;
}

.community-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.community-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.community-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.88 0.07 294.99), oklch(0.97 0.02 296.09 / 0.62), oklch(1 0 0 / 0.71));
}

.community-card h3 {
  font-size: 1.875rem;
  margin: 1.5rem 0;
}

.community-card p {
  color: oklch(0.28 0.07 290 / 0.85);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.tag-grid span {
  border-radius: 0.5rem;
  padding: 0.75rem;
  font: 0.70rem var(--font-mono);
}

.before-after-bg {
  opacity: 0.8;
}

.before-after-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), oklch(0.95 0.03 295 / 0.80), var(--background));
}

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

.comparison-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding: 2rem;
}

.card-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(100% 0.00011 271.152), oklch(0.65 0.22 25 / 0));
}

.card-bg.after::after {
  background: linear-gradient(135deg, oklch(100% 0.00011 271.152), oklch(54.998% 0.25301 287.013 / 0.116));
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.comparison-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.usecase-card {
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.usecase-card h3 {
  font-size: 1.5rem;
  margin: 1.25rem 0 1.5rem;
}

.usecase-card p {
  line-height: 1.55;
}

/* PAIN description — most dull */
.usecase-card p:nth-of-type(1) {
  color: oklch(0.50 0.06 290 / 0.55);
}

/* SOLUTION description — slightly dull */
.usecase-card p:nth-of-type(2) {
  color: oklch(0.35 0.07 290 / 0.75);
}

/* RESULT description — full foreground */
.usecase-card p:nth-of-type(3) {
  color: oklch(0.18 0.06 290);
}

.usecase-card p:nth-of-type(3) strong {
  color: oklch(0.18 0.06 290);
  font-weight: 600;
}

.usecase-card span {
  display: block;
  color: var(--primary);
  font: 0.75rem var(--font-mono);
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.usecase-card p:first-of-type span {
  color: oklch(0.65 0.22 25 / 0.85);
}

.trust-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid article {
  border-radius: 1rem;
  padding: 2rem;
}

.stats-grid strong {
  display: block;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.stats-grid span {
  color: var(--muted-foreground);
  font: 0.75rem var(--font-mono);
  letter-spacing: 0.13em;
}

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
  text-align: left;
}

.trust-grid article {
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.final-cta {
  text-align: center;
}

.cta-bg img {
  display: none;
}

.cta-bg::after {
  content: none;
}

.cta-bg .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.cta-copy {
  max-width: 900px;
}

.cta-copy h2 {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 2rem;
}

.cta-copy p {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.6;
}

.cta-lead {
  font-size: 1.25rem !important;
}

.cta-lead span {
  color: var(--primary);
  font-weight: 700;
}

.centered-actions {
  justify-content: center;
  margin: 3rem 0 4rem;
}

.deploy-line {
  display: block;
  font: 700 1.5rem var(--font-display);
}

.footer {
  position: relative;
  border-top: 1px solid oklch(0.82 0.06 295 / 0.6);
  overflow: hidden;
}

.footer-bg .grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.footer-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, oklch(0.72 0.18 295 / 0.15), transparent 55%),
    radial-gradient(ellipse at 90% 100%, oklch(0.65 0.20 295 / 0.10), transparent 60%);
}

.footer-cta {
  margin: 4rem 0 3rem;
  border-radius: 1rem;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer-identity {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-identity .brand {
  color: var(--foreground);
  margin-bottom: 1.25rem;
}

.footer-identity .brand-mark {
  font-size: 0.75rem;
}

.footer-identity p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.footer-identity strong {
  color: var(--foreground);
}

.address {
  align-items: flex-start !important;
}

.small {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.socials a {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: oklch(1 0 0 / 0.70);
  border: 1px solid oklch(0.52 0.25 295 / 0.18);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.socials a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.socials a[aria-label="LinkedIn"] .icon {
  fill: currentColor;
  stroke: none;
}

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

.footer-links a {
  display: block;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

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

.footer-base {
  border-top: 1px solid oklch(0.82 0.06 295 / 0.6);
}

.footer-base-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-base p {
  margin: 0;
  color: var(--muted-foreground);
}

.footer-base div div {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted-foreground);
  font: 11px var(--font-mono);
  letter-spacing: 0.12em;
}

.footer-base a,
.footer-base span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes live-gradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes live-shine {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(350%); }
}

@keyframes ping {
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

@keyframes scan-down {
  0% { transform: translateY(-30vh); }
  100% { transform: translateY(130vh); }
}

@keyframes hero-pan-a {
  0%, 100% { transform: scale(1.15) translate(-30px, -10px); }
  50% { transform: scale(1.25) translate(20px, 10px); }
}

@keyframes hero-pan-b {
  0%, 100% { transform: scale(1.05) translateX(0); }
  50% { transform: scale(1.12) translateX(-30px); }
}

@keyframes walker-a {
  0% { transform: translate(-20vw, 20%); }
  50% { transform: translate(50vw, 18%); }
  100% { transform: translate(120vw, 20%); }
}

@keyframes walker-b {
  0% { transform: translate(120vw, 30%) scaleX(-1); }
  50% { transform: translate(45vw, 28%) scaleX(-1); }
  100% { transform: translate(-30vw, 30%) scaleX(-1); }
}

@keyframes rotate-text {
  0% { transform: translateY(30px); opacity: 0; filter: blur(8px); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}

@media (min-width: 768px) {
  h1,
  .section-heading h2 {
    font-size: 3.1rem;
  }

  .hero-subline {
    font-size: 1.875rem;
  }

  .hero-question {
    font-size: 1.5rem;
  }

  .rotating-shell {
    font-size: 1rem;
  }

  .community-card h3,
  .stats-grid strong {
    font-size: 3rem;
  }

  .cta-copy h2 {
    font-size: 4.5rem;
  }

  .cta-lead {
    font-size: 1.5rem !important;
  }

  .deploy-line {
    font-size: 2.25rem;
  }

  .footer-cta h3 {
    font-size: 1.875rem;
  }
}

@media (max-width: 1024px) {
  .hero-layout,
  .feature-grid,
  .usecase-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 720px;
    margin-inline: auto;
  }

  .hero-avatar-wrap {
    max-width: 100%;
  }

  .hero-avatar-iframe {
    height: 420px;
  }

  .pain-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .container,
  .narrow,
  .nav-inner {
    width: min(100% - 32px, 1280px);
  }

  .live-time {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: oklch(0.99 0.01 295 / 0.95);
    flex-direction: column;
    padding: 2.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-1rem);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: -1;
    backdrop-filter: blur(20px);
  }

  .nav.is-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav.is-open .menu-toggle .icon:not(.icon-close) {
    display: none;
  }

  .nav.is-open .menu-toggle .icon-close {
    display: block;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 6rem 0;
  }

  .hero {
    padding-top: 8.5rem;
  }

  .feature-grid,
  .ecosystem-grid,
  .comparison-grid,
  .usecase-grid,
  .trust-grid,
  .footer-main,
  .footer-links {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  .hero-avatar-iframe {
    height: 320px;
  }

  .live-inner {
    width: min(100% - 20px, 1280px);
    font-size: 13px;
  }

  .live-left .icon,
  .live-dot-wrap {
    display: none;
  }

  .live-link {
    padding-inline: 0.5rem;
  }

  .nav-inner {
    height: 58px;
  }

  .brand {
    letter-spacing: 0.04em;
  }

  .brand span:last-child {
    font-size: 1rem;
  }

  .btn-small {
    padding: 0.5rem 0.8rem;
  }

  .hero-stats {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .action-row,
  .centered-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding-inline: 1rem;
  }

  .pain-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .community-card {
    padding: 2rem;
  }
}

/* ── Pricing Section ─────────────────────────────────────────── */
.pricing-section {
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.pricing-popular {
  border: 1px solid oklch(0.72 0.18 295 / 0.5);
  box-shadow: 0 0 32px oklch(0.72 0.18 295 / 0.15);
}

.pricing-enterprise {
  border-color: oklch(0.72 0.18 295 / 0.45);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-plan-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.pricing-tagline {
  font-size: 0.82rem;
  color: var(--primary);
  margin: 0;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  margin-top: 0.75rem;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 700;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.pricing-custom .price-amount {
  font-size: 2.5rem;
}

.price-period {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  margin-left: 0.1rem;
}

/* Feature groups */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.feature-group {
  border-top: 1px solid oklch(0.72 0.18 295 / 0.12);
  padding-top: 0.85rem;
}

.feature-group:first-child {
  border-top: none;
  padding-top: 0;
}

.feature-group-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.feature-group-header .icon {
  color: var(--primary);
  flex-shrink: 0;
}

.feature-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.feature-group ul li {
  font-size: 0.8rem;
  color: var(--muted-foreground);
  padding-left: 0.85rem;
  position: relative;
}

.feature-group ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* Enterprise checklist */
.pricing-checklist {
  gap: 0.65rem;
}

.pricing-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted-foreground);
  line-height: 1.4;
}

.check-icon {
  color: oklch(0.65 0.18 145);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ── Contact Section ─────────────────────────────────────────── */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.contact-orb-1 {
  width: 480px;
  height: 480px;
  background: oklch(0.72 0.18 295);
  top: -100px;
  right: -80px;
  animation: pulse-glow 6s ease-in-out infinite;
}

.contact-orb-2 {
  width: 320px;
  height: 320px;
  background: oklch(0.65 0.22 310);
  bottom: -80px;
  left: 5%;
  animation: pulse-glow 8s ease-in-out infinite reverse;
}

/* Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 3rem;
  align-items: start;
}

/* Left panel */
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-panel-top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.contact-subtext {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  max-width: 34rem;
  margin: 0;
}

.contact-response-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  width: fit-content;
}

.contact-response-pill strong {
  color: var(--primary);
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

a.contact-channel-card:hover {
  border-color: oklch(0.72 0.18 295 / 0.4);
  box-shadow: 0 4px 20px oklch(0.72 0.18 295 / 0.1);
  transform: translateX(4px);
}

.contact-channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.65rem;
  background: oklch(0.72 0.18 295 / 0.12);
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin: 0 0 0.15rem;
}

.contact-channel-value {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.4;
}

.contact-channel-arrow {
  margin-left: auto;
  color: var(--muted-foreground);
  flex-shrink: 0;
  opacity: 0.5;
}

/* Right form card */
.contact-form-card {
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: oklch(0.72 0.18 295 / 0.1);
  border: 1px solid oklch(0.72 0.18 295 / 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  width: fit-content;
}

.contact-form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

/* Form fields */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-optional {
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 0.72rem;
}

.form-group input,
.form-group textarea {
  background: oklch(1 0 0 / 0.45);
  border: 1px solid oklch(0.52 0.25 295 / 0.18);
  border-radius: 0.7rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: oklch(0.55 0.05 290 / 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: oklch(0.72 0.18 295 / 0.65);
  box-shadow: 0 0 0 3px oklch(0.72 0.18 295 / 0.1);
  background: oklch(1 0 0 / 0.65);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-submit {
  flex-shrink: 0;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0;
}

.form-note .icon {
  color: var(--primary);
  opacity: 0.7;
  flex-shrink: 0;
}

.contact-form-card.form-success::after {
  content: "✓  Message sent! We'll be in touch shortly.";
  display: block;
  text-align: center;
  color: oklch(0.65 0.18 145);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.25rem 0;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-orb-1 {
    width: 280px;
    height: 280px;
  }

  .contact-orb-2 {
    width: 200px;
    height: 200px;
  }
}
