:root {
  --primary: #6c63ff;
  --indigo: #4f46e5;
  --blue: #3b82f6;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: #dbe4ef;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 20px 42px rgba(79, 70, 229, 0.16);
  --radius-lg: 16px;
  --radius-md: 12px;
  --container: 1120px;
  --gradient: linear-gradient(120deg, var(--primary), var(--indigo), var(--blue));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 200;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.7rem);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.15rem;
}

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

.subhead {
  font-size: 1.125rem;
  max-width: 55ch;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--indigo);
  background: rgba(79, 70, 229, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.btn:focus-visible,
.main-nav a:focus-visible,
.socials a:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.35);
  outline-offset: 2px;
}

.btn-primary {
  color: #fff;
  background: var(--gradient);
  background-size: 150% 150%;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-position: 100% 20%;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  border-color: var(--border);
  background: var(--surface);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--indigo);
  transform: translateY(-1px);
}

.btn-ghost.on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(10px);
  background: rgba(248, 250, 252, 0.78);
  border-bottom: 1px solid rgba(219, 228, 239, 0.8);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 124px;
}

.brand img {
  height: 100px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
  justify-content: center;
}

.main-nav a {
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  color: #1e293b;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(79, 70, 229, 0.12);
  color: var(--indigo);
}

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 0;
  place-content: center;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 4px;
  background: #334155;
}

.hero {
  padding-top: 4.8rem;
  background:
    radial-gradient(circle at 18% 20%, rgba(108, 99, 255, 0.16), transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(59, 130, 246, 0.14), transparent 33%),
    var(--bg);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.3rem;
}

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

.hero-proof {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero-proof li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  background: var(--surface);
  color: #334155;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  min-height: 560px;
}

.hero-slider {
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0 0 48px 0;
  opacity: 0;
  transform: translateX(18px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.slide-kicker {
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #312e81;
  padding: 0.25rem 0.6rem;
  background: #e0e7ff;
  border-radius: 999px;
}

.hero-slide h2 {
  font-size: 1.2rem;
  margin: 0.7rem 0 0.55rem;
}

.slide-subhead {
  color: #475569;
  margin-bottom: 0.9rem;
}

.flow-line {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px dashed rgba(79, 70, 229, 0.28);
  border-radius: 48%;
  pointer-events: none;
}

.flow-line-a {
  top: -185px;
  right: -120px;
}

.flow-line-b {
  left: -170px;
  bottom: -160px;
}

.prompt-playground,
.preview-playground {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  padding: 0.85rem;
  display: grid;
  gap: 0.7rem;
}

.scene-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
}

.scene-badge {
  border-radius: 999px;
  background: #e0e7ff;
  color: #312e81;
  padding: 0.2rem 0.55rem;
}

.scene-badge.success {
  background: #dcfce7;
  color: #166534;
}

.prompt-user,
.prompt-ai {
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-size: 0.9rem;
}

.prompt-user {
  background: #fff;
  border: 1px solid #d9e2ef;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.prompt-user p {
  margin: 0;
  font-size: 0.86rem;
  color: #334155;
}

.prompt-ai {
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  color: #312e81;
  margin: 0;
  font-size: 0.84rem;
}

.mini-btn {
  border: 0;
  border-radius: 8px;
  padding: 0.45rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(120deg, #4f46e5, #3b82f6);
}

.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.channel-row span {
  font-size: 0.75rem;
  border: 1px solid #d6e0f1;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  color: #334155;
  background: #fff;
}

.flow-nodes {
  display: grid;
  gap: 0.6rem;
}

.flow-nodes.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.65rem;
}

.flow-graph {
  position: relative;
}

.flow-join {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, #c7d2fe, #93c5fd);
  z-index: 0;
}

.join-1 {
  top: 22%;
  left: 40%;
  width: 20%;
}

.join-2 {
  top: 72%;
  left: 40%;
  width: 20%;
}

.flow-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4f46e5;
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.14);
}

.pulse-1 {
  top: 19%;
  left: 40%;
  animation: pulse-path-a 2.4s linear infinite;
}

.pulse-2 {
  top: 69%;
  left: 40%;
  background: #3b82f6;
  animation: pulse-path-b 2.6s linear infinite;
}

.node {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #d6dfff;
  background: #eef2ff;
  color: #3730a3;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.node.node-condition {
  background: #eff6ff;
  border-color: #c7ddff;
  color: #1d4ed8;
}

.node.node-success {
  background: #ecfeff;
  border-color: #b8f1fc;
  color: #0f766e;
}

.preview-playground {
  grid-template-columns: 1fr;
}

.preview-content {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0.7rem;
}

.preview-pane {
  border: 1px solid #d8e3f4;
  border-radius: 10px;
  background: #fff;
  padding: 0.72rem;
  display: grid;
  gap: 0.35rem;
}

.preview-pane h3 {
  font-size: 0.92rem;
}

.preview-pane p {
  font-size: 0.84rem;
  color: #334155;
}

.phone-mock {
  background:
    linear-gradient(180deg, rgba(79, 70, 229, 0.08), rgba(79, 70, 229, 0)),
    #fff;
}

.bubble-left,
.bubble-right {
  max-width: 92%;
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
}

.bubble-left {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.bubble-right {
  justify-self: end;
  border: 1px solid #c7d2fe;
  background: #e0e7ff;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  border-radius: 999px;
  margin-right: 0.4rem;
  padding: 0.08rem 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.status.ok {
  background: #dcfce7;
  color: #166534;
}

.status.ready {
  background: #dbeafe;
  color: #1d4ed8;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.metric-row span {
  font-size: 0.76rem;
  color: #334155;
  border: 1px solid #dbe4ef;
  border-radius: 999px;
  background: #fff;
  padding: 0.2rem 0.5rem;
}

@keyframes pulse-path-a {
  0% { left: 40%; opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { left: 60%; opacity: 0; }
}

@keyframes pulse-path-b {
  0% { left: 40%; opacity: 0; }
  20%, 80% { opacity: 1; }
  100% { left: 60%; opacity: 0; }
}

.hero-slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  background: #4f46e5;
  transform: scale(1.15);
}

.trusted {
  padding-block: 2.6rem;
}

.trust-text {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1rem;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 0.9rem;
}

.logo-strip span {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.45rem;
  background: var(--surface);
  color: #334155;
  font-weight: 500;
}

.problem,
.features,
.pricing {
  background: var(--surface);
}

.solution,
.use-cases,
.benefits {
  background: var(--surface-alt);
}

.agents-spotlight {
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 99, 255, 0.1), transparent 36%),
    radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.1), transparent 36%),
    #f8faff;
}

.agents-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.agents-copy {
  display: grid;
  gap: 1rem;
}

.agent-points {
  display: grid;
  gap: 0.8rem;
}

.agent-points article {
  border: 1px solid #d9e3f4;
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem 1rem;
}

.agent-points article p {
  margin-top: 0.45rem;
}

.agents-graphic {
  position: relative;
  min-height: 320px;
  border: 1px solid #d8e3f3;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.16), transparent 30%),
    #ffffff;
  overflow: hidden;
}

.agent-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.agent-link {
  fill: none;
  stroke-width: 2.4;
  stroke-dasharray: 7 10;
  stroke-linecap: round;
  animation: draw-flow 9s linear infinite;
}

.agent-link.a1 {
  stroke: rgba(99, 102, 241, 0.7);
}

.agent-link.a2 {
  stroke: rgba(59, 130, 246, 0.7);
  animation-delay: -2s;
}

.agent-link.a3 {
  stroke: rgba(79, 70, 229, 0.72);
  animation-delay: -4s;
}

.agent-link.a4 {
  stroke: rgba(14, 165, 233, 0.66);
  animation-delay: -5.5s;
}

.agent-core,
.agent-node {
  position: absolute;
  border: 1px solid #d6dfff;
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.agent-core {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(120deg, #4f46e5, #3b82f6);
  color: #fff;
  border: 0;
  padding: 0.65rem 0.95rem;
  animation: pulse-core 2.8s ease-in-out infinite;
}

.agent-node {
  background: #fff;
  color: #334155;
  animation: float-node 4.2s ease-in-out infinite;
}

.node-a {
  top: 54px;
  left: 26px;
  animation-delay: -0.8s;
}

.node-b {
  top: 68px;
  right: 24px;
  animation-delay: -2.4s;
}

.node-c {
  left: 34px;
  bottom: 34px;
  animation-delay: -1.6s;
}

.node-d {
  right: 24px;
  bottom: 40px;
  animation-delay: -3.2s;
}

.agent-signal {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  z-index: 1;
  box-shadow: 0 0 0 7px rgba(108, 99, 255, 0.12);
}

.s1 {
  top: 152px;
  left: 250px;
  background: #6366f1;
  animation: signal-1 3.4s linear infinite;
}

.s2 {
  top: 153px;
  left: 270px;
  background: #3b82f6;
  animation: signal-2 3.8s linear infinite;
  animation-delay: -1.2s;
}

.s3 {
  top: 170px;
  left: 248px;
  background: #4f46e5;
  animation: signal-3 3.5s linear infinite;
  animation-delay: -2s;
}

.s4 {
  top: 169px;
  left: 276px;
  background: #0ea5e9;
  animation: signal-4 3.7s linear infinite;
  animation-delay: -0.7s;
}

@keyframes pulse-core {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.2);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(79, 70, 229, 0.04);
  }
}

@keyframes signal-1 {
  0% { top: 152px; left: 250px; opacity: 0; }
  12%, 82% { opacity: 1; }
  100% { top: 92px; left: 102px; opacity: 0; }
}

@keyframes signal-2 {
  0% { top: 153px; left: 270px; opacity: 0; }
  12%, 82% { opacity: 1; }
  100% { top: 106px; left: 448px; opacity: 0; }
}

@keyframes signal-3 {
  0% { top: 170px; left: 248px; opacity: 0; }
  12%, 82% { opacity: 1; }
  100% { top: 245px; left: 110px; opacity: 0; }
}

@keyframes signal-4 {
  0% { top: 169px; left: 276px; opacity: 0; }
  12%, 82% { opacity: 1; }
  100% { top: 240px; left: 448px; opacity: 0; }
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature-card,
.step-card,
.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1.2rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover,
.feature-card:hover,
.step-card:hover,
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.card p,
.feature-card p {
  margin-top: 0.6rem;
}

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

.step-card span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  background: #e0e7ff;
  color: #312e81;
  font-weight: 700;
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 1.4rem;
}

.how-steps {
  display: grid;
  gap: 0.9rem;
}

.how-steps article {
  border-left: 4px solid #c7d2fe;
  background: var(--surface);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1rem 1rem 1.1rem;
}

.how-steps p {
  margin-top: 0.45rem;
}

.flow-diagram {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1rem;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.bubble {
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  width: min(100%, 280px);
  text-align: center;
  font-weight: 600;
}

.bubble-a {
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  color: #5b21b6;
}

.bubble-b {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.bubble-c {
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.connector {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, #c7d2fe, #93c5fd);
}

.showcase-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.use-case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.use-case-card {
  background:
    linear-gradient(180deg, rgba(79, 70, 229, 0.05), rgba(79, 70, 229, 0) 45%),
    var(--surface);
}

.use-case-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.use-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: #eef2ff;
  border: 1px solid #d6dfff;
}

.use-case-card p {
  margin-top: 0;
}

.use-tags {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.use-tags span {
  font-size: 0.78rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #cdd8e9;
  color: #334155;
  background: #f8fafc;
}

.check-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  position: absolute;
  left: 0;
  top: 0.55rem;
  background: var(--gradient);
}

.builder-ui {
  position: relative;
  min-height: 260px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 99, 255, 0.1), transparent 45%),
    var(--surface);
  overflow: hidden;
}

.builder-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.connection-path {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 8 10;
  animation: draw-flow 10s linear infinite;
}

.path-1 {
  stroke: rgba(79, 70, 229, 0.72);
}

.path-2 {
  stroke: rgba(59, 130, 246, 0.68);
  animation-delay: -2.2s;
}

.path-3 {
  stroke: rgba(16, 185, 129, 0.65);
  animation-delay: -4.1s;
}

.builder-node {
  position: absolute;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  background: #fff;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  animation: float-node 4.4s ease-in-out infinite;
}

.builder-node.message {
  top: 24px;
  left: 22px;
  animation-delay: -0.6s;
}

.builder-node.input {
  top: 96px;
  right: 28px;
  animation-delay: -2.2s;
}

.builder-node.condition {
  bottom: 90px;
  left: 42%;
  animation-delay: -1.3s;
}

.builder-node.action {
  bottom: 22px;
  right: 34px;
  animation-delay: -3.5s;
}

.flow-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  z-index: 1;
  box-shadow: 0 0 0 7px rgba(108, 99, 255, 0.12);
}

.dot-1 {
  background: #4f46e5;
  top: 42px;
  left: 86px;
  animation: travel-1 3.4s linear infinite;
}

.dot-2 {
  background: #3b82f6;
  top: 140px;
  left: 320px;
  animation: travel-2 3.7s linear infinite;
  animation-delay: -1.5s;
}

.dot-3 {
  background: #10b981;
  top: 205px;
  left: 238px;
  animation: travel-3 3.2s linear infinite;
  animation-delay: -0.85s;
}

@keyframes draw-flow {
  from {
    stroke-dashoffset: 250;
  }
  to {
    stroke-dashoffset: 0;
  }
}

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

@keyframes travel-1 {
  0% {
    top: 42px;
    left: 86px;
    opacity: 0;
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    top: 114px;
    left: 322px;
    opacity: 0;
  }
}

@keyframes travel-2 {
  0% {
    top: 140px;
    left: 320px;
    opacity: 0;
  }
  14%,
  82% {
    opacity: 1;
  }
  100% {
    top: 204px;
    left: 246px;
    opacity: 0;
  }
}

@keyframes travel-3 {
  0% {
    top: 206px;
    left: 248px;
    opacity: 0;
  }
  12%,
  82% {
    opacity: 1;
  }
  100% {
    top: 246px;
    left: 406px;
    opacity: 0;
  }
}

.benefit-metrics {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.benefit-metrics article {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 1.1rem;
}

.benefit-metrics strong {
  display: block;
  font-size: 1.55rem;
  color: #312e81;
  margin-bottom: 0.45rem;
}

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

.price-card {
  display: grid;
  gap: 1rem;
}

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

.price-card li {
  position: relative;
  padding-left: 1.2rem;
  color: #334155;
}

.price-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 0.56rem;
}

.price {
  font-size: 2rem;
  color: #0f172a;
  font-weight: 800;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

.price-card.featured {
  border-color: #bfcaff;
  box-shadow: var(--shadow-md);
  position: relative;
}

.badge {
  position: absolute;
  top: -12px;
  right: 16px;
  margin: 0;
  background: var(--gradient);
  color: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.final-cta {
  background: linear-gradient(130deg, #312e81, #4338ca, #2563eb);
}

.cta-panel {
  text-align: center;
  display: grid;
  gap: 0.9rem;
}

.cta-panel h2,
.cta-panel p {
  color: #fff;
}

.cta-panel .hero-actions {
  justify-content: center;
}

.site-footer {
  padding: 3.6rem 0 1.5rem;
  background: #020617;
  color: #cbd5e1;
}

.footer-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.4fr 1fr auto;
  align-items: center;
}

.footer-logo {
  height: 68px;
  margin-bottom: 0.8rem;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: #cbd5e1;
}

.site-footer nav a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.socials a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(203, 213, 225, 0.35);
  color: #e2e8f0;
}

.socials a:hover {
  border-color: #fff;
}

.copyright {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

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

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

@media (max-width: 1040px) {
  .card-grid.four,
  .benefit-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-layout,
  .how-grid,
  .showcase-layout,
  .agents-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .nav-shell {
    grid-template-columns: auto auto auto;
    gap: 0.8rem;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .nav-actions .btn-ghost {
    display: none;
  }

  .main-nav.open {
    display: flex;
    position: absolute;
    top: 82px;
    left: 4%;
    right: 4%;
    z-index: 30;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 0.7rem;
    flex-direction: column;
    gap: 0.2rem;
  }

  .main-nav.open a {
    padding: 0.7rem;
  }

  .nav-actions {
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .hero-slider {
    min-height: 560px;
  }

  .hero-slide {
    inset: 0 0 42px 0;
  }

  .flow-nodes.compact,
  .preview-content {
    grid-template-columns: 1fr;
  }

  .agents-graphic {
    min-height: 300px;
  }

  .agent-core {
    font-size: 0.9rem;
  }

  .agent-node {
    font-size: 0.84rem;
  }

  .node-a {
    top: 34px;
    left: 14px;
  }

  .node-b {
    top: 52px;
    right: 12px;
  }

  .node-c {
    left: 14px;
    bottom: 20px;
  }

  .node-d {
    right: 12px;
    bottom: 24px;
  }

  .brand img {
    height: 64px;
  }

  .footer-logo {
    height: 56px;
  }

  .section {
    padding: 4.4rem 0;
  }

  .pricing-grid,
  .steps,
  .card-grid.four,
  .card-grid.three,
  .benefit-metrics,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    backdrop-filter: none;
    background: rgba(248, 250, 252, 0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
