/* ============================================================
   SECTIONS-V2.CSS
   Styles for the 5 sections below the hero on index2.php:
   Meet Your AI Agents, AI Agent Categories, How It Works,
   Why This AI Platform, Use Cases. Alternates light/dark for
   rhythm: light - dark - light - dark - light.

   Design language reused throughout (matching the approved
   Hero and How It Works sections): ringed circular icon nodes,
   soft category-tinted glows, glass surfaces, animated
   connectors - not generic boxed feature cards.

   Depends only on the root tokens in style.css (:root vars,
   .container, .cta-primary, .reveal-child) - fully
   self-contained otherwise.
   ============================================================ */

/* ============================================================
   SHARED SECTION HEAD UTILITIES
   ============================================================ */
.section-head {
  max-width: 640px;
}

.section-head-center {
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--clr-primary-rgb), 0.08);
  border: 1px solid rgba(var(--clr-primary-rgb), 0.18);
  border-radius: var(--r-full);
  padding: 6px 14px 6px 10px;
  margin-bottom: var(--sp-5);
}

.section-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-primary);
  flex-shrink: 0;
}

.section-eyebrow .eyebrow-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--clr-primary);
  line-height: 1;
}

.section-eyebrow-dark {
  background: rgba(var(--clr-primary-rgb), 0.14);
  border-color: rgba(var(--clr-primary-rgb), 0.3);
}

.section-eyebrow-dark .eyebrow-label {
  color: #fda4a4;
}

.section-h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--clr-text);
  margin-bottom: var(--sp-4);
}

.section-h2-dark {
  color: #fff;
}

.section-body {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--clr-text-muted);
}

.section-body-dark {
  color: rgba(255, 255, 255, 0.62);
}

/* ============================================================
   MEET YOUR AI AGENTS (light)
   An AI-core visual (33 at the center, 4 category satellites)
   instead of a boxed stat card, and an infinite ticker of real
   agent names instead of a static wrapped pill cloud.
   ============================================================ */
.meet-agents {
  padding: 100px 0 0;
  background: var(--clr-bg);
  overflow: hidden;
}

.agent-core-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: 64px auto 0;
}

.agent-core-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--clr-primary-rgb), 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ring-outer {
  width: 100%;
  height: 100%;
  animation: coreRingSpinCW 40s linear infinite;
}

.ring-inner {
  width: 68%;
  height: 68%;
  border-color: rgba(var(--clr-primary-rgb), 0.13);
  animation: coreRingSpinCCW 28s linear infinite;
}

@keyframes coreRingSpinCW  { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes coreRingSpinCCW { to { transform: translate(-50%, -50%) rotate(-360deg); } }

.agent-core-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.agent-core-number {
  font-size: 80px;
  font-weight: 800;
  letter-spacing: -4px;
  color: var(--clr-primary);
  line-height: 1;
}

.agent-core-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-text-muted);
  letter-spacing: 0.2px;
  margin-top: 6px;
}

.agent-orbit {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 108px;
  padding: 14px 10px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.agent-orbit:hover {
  box-shadow: var(--shadow-lg);
}

.orbit-top    { top: 0;    left: 50%;  transform: translate(-50%, -30%); }
.orbit-right  { top: 50%;  right: 0;   transform: translate(30%, -50%); }
.orbit-bottom { bottom: 0; left: 50%;  transform: translate(-50%, 30%); }
.orbit-left   { top: 50%;  left: 0;    transform: translate(-30%, -50%); }

.orbit-top:hover    { transform: translate(-50%, -30%) translateY(-3px); }
.orbit-bottom:hover { transform: translate(-50%, 30%) translateY(-3px); }
.orbit-right:hover  { transform: translate(30%, -50%) translateY(-3px); }
.orbit-left:hover   { transform: translate(-30%, -50%) translateY(-3px); }

.agent-orbit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(var(--cat-rgb), 0.12);
  color: var(--cat-color);
  margin-bottom: 4px;
}

.agent-orbit-icon svg {
  width: 16px;
  height: 16px;
}

.orbit-career      { --cat-color: var(--clr-cat-career);      --cat-rgb: var(--clr-cat-career-rgb); }
.orbit-marketplace { --cat-color: var(--clr-cat-marketplace); --cat-rgb: var(--clr-cat-marketplace-rgb); }
.orbit-personal    { --cat-color: var(--clr-cat-personal);    --cat-rgb: var(--clr-cat-personal-rgb); }
.orbit-business    { --cat-color: var(--clr-cat-business);    --cat-rgb: var(--clr-cat-business-rgb); }

.agent-orbit-count {
  font-size: 20px;
  font-weight: 800;
  color: var(--cat-color);
  line-height: 1;
}

.agent-orbit-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--clr-text-faint);
  letter-spacing: 0.2px;
}

.meet-agents-cta {
  text-align: center;
  margin-top: 56px;
}

/* Infinite ticker of real agent names */
.agent-ticker {
  position: relative;
  margin-top: 64px;
  padding: 26px 0;
  overflow: hidden;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.agent-ticker::before,
.agent-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.agent-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--clr-surface), transparent);
}

.agent-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--clr-surface), transparent);
}

.agent-ticker-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: agentTickerScroll 40s linear infinite;
}

.agent-ticker:hover .agent-ticker-track {
  animation-play-state: paused;
}

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

.agent-pill {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--clr-border-2);
  color: var(--clr-text-2);
  background: var(--clr-surface);
  white-space: nowrap;
}

.pill-career      { color: var(--clr-cat-career);      background: rgba(var(--clr-cat-career-rgb), 0.06);      border-color: rgba(var(--clr-cat-career-rgb), 0.24); }
.pill-marketplace { color: var(--clr-cat-marketplace); background: rgba(var(--clr-cat-marketplace-rgb), 0.06); border-color: rgba(var(--clr-cat-marketplace-rgb), 0.24); }
.pill-personal    { color: var(--clr-cat-personal);    background: rgba(var(--clr-cat-personal-rgb), 0.06);    border-color: rgba(var(--clr-cat-personal-rgb), 0.24); }
.pill-business    { color: var(--clr-cat-business);    background: rgba(var(--clr-cat-business-rgb), 0.06);    border-color: rgba(var(--clr-cat-business-rgb), 0.24); }

.pill-more {
  color: var(--clr-text-faint);
  border-style: dashed;
  background: transparent;
}

/* ============================================================
   AI AGENT CATEGORIES (light)
   White cards in a 4-column row: a small numbered badge, an
   elevated icon-plate graphic with a soft drop shadow beneath
   it, a title, and a short description.
   ============================================================ */
.categories-section {
  position: relative;
  padding: 100px 0;
  background: #fff;
  overflow: hidden;
}

.categories-section:after {
  width: 80%;
  height: 1px;
  background: #e5e5e5;
  content: "";
  display: block;
  bottom: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.categories-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--clr-dark-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--clr-dark-rgb), 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.category-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, var(--clr-surface) 0%, #fdfcfa 100%);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 32px 26px 28px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(var(--clr-dark-rgb), 0.04), 0 8px 24px -12px rgba(var(--clr-dark-rgb), 0.1);
  transition: border-color var(--t-base), transform var(--t-base), box-shadow var(--t-base);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-primary-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.category-card:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--clr-primary-rgb), 0.3);
  box-shadow: 0 1px 2px rgba(var(--clr-dark-rgb), 0.05), 0 24px 40px -16px rgba(var(--clr-primary-rgb), 0.28);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.cat-card-career      { --cat-color: var(--clr-cat-career);      --cat-rgb: var(--clr-cat-career-rgb); }
.cat-card-marketplace { --cat-color: var(--clr-cat-marketplace); --cat-rgb: var(--clr-cat-marketplace-rgb); }
.cat-card-personal    { --cat-color: var(--clr-cat-personal);    --cat-rgb: var(--clr-cat-personal-rgb); }
.cat-card-business    { --cat-color: var(--clr-cat-business);    --cat-rgb: var(--clr-cat-business-rgb); }

.category-card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--clr-dark), #384457);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 14px rgba(var(--clr-dark-rgb), 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.category-card-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 120px;
  margin-bottom: 18px;
  background: #f1ebe0;
  border-radius: 10px;
}

.category-card-icon-shadow {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 52px;
  height: 12px;
  border-radius: 50%;
  background: rgba(var(--clr-primary-rgb), 0.25);
  filter: blur(7px);
  transition: transform var(--t-base), opacity var(--t-base);
}

.category-card-icon-plate {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  transition: transform var(--t-base);
}

.category-card-icon-plate svg,
.category-card-icon-plate img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 12px rgba(var(--clr-dark-rgb), 0.16));
}

.category-card:hover .category-card-icon-plate {
  transform: translateY(-4px);
}

.category-card:hover .category-card-icon-shadow {
  transform: translateX(-50%) scaleX(0.85);
  opacity: 0.7;
}

.category-card-count {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 10px;
}

.category-card-title {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.3px;
  margin-bottom: 9px;
}

.category-card-desc {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--clr-text-muted);
}

.category-card-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--clr-border);
  text-align: left;
}

.category-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-2);
  line-height: 1.3;
}

.category-card-list-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(var(--clr-primary-rgb), 0.1);
  color: var(--clr-primary);
  flex-shrink: 0;
}

.category-card-list-icon svg {
  width: 9px;
  height: 9px;
}

.category-card-list-more {
  padding-left: 28px;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  color: var(--clr-text-faint);
}

.category-card-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding-top: 20px;
  width: 100%;
  border-top: 1px solid var(--clr-border);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.1px;
}

.category-card-cta svg {
  width: 13px;
  height: 13px;
  transition: transform var(--t-base);
}

.category-card:hover .category-card-cta svg {
  transform: translateX(3px);
}

/* ============================================================
   HOW IT WORKS (light) - horizontal process flow
   Unchanged - already approved.
   ============================================================ */
.how-it-works {
  padding: 100px 0;
  background: #fff;
}

.flow {
  --flow-duration: 9s;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 68px;
}

.flow-line {
  position: absolute;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--clr-border-2);
  z-index: 0;
}

.flow-line-pulse {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(var(--clr-primary-rgb), 0.16);
  animation: flowPulseX var(--flow-duration) linear infinite;
}

@keyframes flowPulseX {
  0%   { left: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Icon lights up (bg #bd3f3d, icon white) the moment the moving
   dot above crosses it, and STAYS lit for the rest of that pass
   (it doesn't fade back) - the whole row only resets together
   right as a fresh pass begins. Each node sits at 0/25/50/75/100%
   of the line's own timeline. Shares --flow-duration with the
   dot so the two always stay in sync, however slow/fast it is. */
.flow-step:nth-child(2) .flow-node { animation: flowNodeGlow0   var(--flow-duration) linear infinite; }
.flow-step:nth-child(3) .flow-node { animation: flowNodeGlow25  var(--flow-duration) linear infinite; }
.flow-step:nth-child(4) .flow-node { animation: flowNodeGlow50  var(--flow-duration) linear infinite; }
.flow-step:nth-child(5) .flow-node { animation: flowNodeGlow75  var(--flow-duration) linear infinite; }
.flow-step:nth-child(6) .flow-node { animation: flowNodeGlow100 var(--flow-duration) linear infinite; }

@keyframes flowNodeGlow0 {
  0%     { background: #bd3f3d; color: #fff; }
  99%    { background: #bd3f3d; color: #fff; }
  99.5%  { background: var(--clr-surface); color: var(--clr-primary); }
  100%   { background: var(--clr-surface); color: var(--clr-primary); }
}

@keyframes flowNodeGlow25 {
  0%     { background: var(--clr-surface); color: var(--clr-primary); }
  24.9%  { background: var(--clr-surface); color: var(--clr-primary); }
  25%    { background: #bd3f3d; color: #fff; }
  99%    { background: #bd3f3d; color: #fff; }
  99.5%  { background: var(--clr-surface); color: var(--clr-primary); }
  100%   { background: var(--clr-surface); color: var(--clr-primary); }
}

@keyframes flowNodeGlow50 {
  0%     { background: var(--clr-surface); color: var(--clr-primary); }
  49.9%  { background: var(--clr-surface); color: var(--clr-primary); }
  50%    { background: #bd3f3d; color: #fff; }
  99%    { background: #bd3f3d; color: #fff; }
  99.5%  { background: var(--clr-surface); color: var(--clr-primary); }
  100%   { background: var(--clr-surface); color: var(--clr-primary); }
}

@keyframes flowNodeGlow75 {
  0%     { background: var(--clr-surface); color: var(--clr-primary); }
  74.9%  { background: var(--clr-surface); color: var(--clr-primary); }
  75%    { background: #bd3f3d; color: #fff; }
  99%    { background: #bd3f3d; color: #fff; }
  99.5%  { background: var(--clr-surface); color: var(--clr-primary); }
  100%   { background: var(--clr-surface); color: var(--clr-primary); }
}

@keyframes flowNodeGlow100 {
  0%    { background: var(--clr-surface); color: var(--clr-primary); }
  95.9% { background: var(--clr-surface); color: var(--clr-primary); }
  96%   { background: #bd3f3d; color: #fff; }
  100%  { background: #bd3f3d; color: #fff; }
}

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}

.flow-node {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2px solid var(--clr-border-2);
  color: var(--clr-primary);
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--t-base), transform var(--t-base);
  flex-shrink: 0;
}

.flow-node svg {
  width: 26px;
  height: 26px;
}

.flow-step:hover .flow-node {
  border-color: var(--clr-primary);
  transform: translateY(-3px);
}

.flow-node-index {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--clr-surface);
}

.flow-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--clr-text);
  letter-spacing: -0.1px;
  margin-bottom: 6px;
}

.flow-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--clr-text-muted);
  max-width: 190px;
}

/* ============================================================
   WHY THIS AI PLATFORM (dark, textured background)
   An editorial, card-free before/after comparison divided by a
   VS marker, plus 4 value-prop tiles using the ringed-icon
   language from How It Works.
   ============================================================ */
.why-platform {
  position: relative;
  padding: 100px 0;
  background: var(--clr-dark);
  overflow: hidden;
}

.why-platform-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--clr-dark-rgb), 0.88), rgba(var(--clr-dark-rgb), 0.96)),
    url('../images/abstract-texture-dark.jpg');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.compare-editorial {
  position: relative;
  z-index: 1;
  display: grid;
  /* Capped, not 1fr - on wide screens 1fr stretched each list
     column far past what its text needs, leaving a slab of bare
     background between the text and the divider. Capping width
     and centering the whole row keeps both lists hugging the
     divider instead. */
  grid-template-columns: minmax(0, 420px) auto minmax(0, 420px);
  justify-content: center;
  gap: 40px;
  align-items: stretch;
  margin-top: 64px;
}

.compare-col-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.compare-col-label-primary {
  color: #fda4a4;
}

.compare-editorial-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.compare-editorial-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.compare-editorial-list-primary li {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.compare-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.compare-icon svg {
  width: 12px;
  height: 12px;
}

.compare-icon-x {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
}

.compare-icon-check {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--clr-primary-rgb), 0.15);
}

.compare-divider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding-top: 4px;
}

.compare-divider-line {
  width: 1px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.16), transparent);
}

.compare-divider-badge {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 24px rgba(var(--clr-primary-rgb), 0.35);
}

/* Traveling pulse along the divider - same visual language as the
   process-flow line pulse in How It Works, so the tall empty gap
   above/below the VS badge reads as "connecting" the two columns
   instead of dead space. Passes behind the badge (z-index: 0 vs
   the badge's 1) like it's ducking behind it. */
.compare-divider-pulse {
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(var(--clr-primary-rgb), 0.18), 0 0 14px 2px rgba(var(--clr-primary-rgb), 0.55);
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: comparePulseY 3.6s ease-in-out infinite;
}

@keyframes comparePulseY {
  0%   { top: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes comparePulseX {
  0%   { left: 0%;   opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.value-props {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 72px;
}

.value-prop {
  text-align: center;
  padding: 24px 14px;
}

.value-prop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(var(--clr-primary-rgb), 0.35);
  color: var(--clr-primary);
  margin-bottom: 18px;
  transition: border-color var(--t-base), transform var(--t-base);
}

.value-prop-icon svg {
  width: 22px;
  height: 22px;
}

.value-prop:hover .value-prop-icon {
  border-color: var(--clr-primary);
  transform: translateY(-3px);
}

.value-prop-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.value-prop-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   USE CASES / REAL-LIFE SCENARIOS (light)
   Reuses index.php's hero accordion component verbatim -
   .category-accordion / .accordion-panel / .panel-* are already
   fully styled in style.css (loaded on this page too). Only the
   size constraint and the 4 scenario color-scopes are new here.
   ============================================================ */
.use-cases {
  padding: 100px 0;
  background: var(--clr-bg);
}

.usecase-accordion {
  max-width: 1120px;
  margin: 56px auto 0;
}

.uc-panel-career      { --cat-color: var(--clr-cat-career);      --cat-rgb: var(--clr-cat-career-rgb); }
.uc-panel-marketplace { --cat-color: var(--clr-cat-marketplace); --cat-rgb: var(--clr-cat-marketplace-rgb); }
.uc-panel-personal    { --cat-color: var(--clr-cat-personal);    --cat-rgb: var(--clr-cat-personal-rgb); }
.uc-panel-business    { --cat-color: var(--clr-cat-business);    --cat-rgb: var(--clr-cat-business-rgb); }

/* Whichever scenario leads the accordion (currently Business,
   open by default) uses the site's own brand color instead of
   its category color - it reads as the featured card, not just
   "the business-colored one". Targets the position, not the
   category, so this keeps following the lead card if the order
   ever changes again. */
.usecase-accordion .accordion-panel:first-child {
  --cat-color: var(--clr-primary);
  --cat-rgb: var(--clr-primary-rgb);
}

/* Family/personal-life scenario uses its own photo (family-life.jpg),
   not the fitness-tuned crop shared with index.php's Personal AI */
.uc-panel-family { background-position: center 40%; }

.use-cases-closing {
  text-align: center;
  margin-top: 64px;
}

.use-cases-closing-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 20px;
}

/* ============================================================
   FINAL CTA (primary gradient)
   The page's closing statement - deliberately its own tone
   (a rich primary-to-primary-deep gradient, not light or dark
   like its neighbors) so it reads as a finale.
   ============================================================ */
.final-cta {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(155deg, var(--clr-primary) 0%, var(--clr-primary-deep) 100%);
  overflow: hidden;
  text-align: center;
}

.final-cta-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.final-cta-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 65%);
}

.final-cta-glow-a {
  width: 640px;
  height: 640px;
  top: -220px;
  left: -160px;
}

.final-cta-glow-b {
  width: 520px;
  height: 520px;
  bottom: -240px;
  right: -140px;
}

.final-cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-full);
  padding: 6px 14px 6px 10px;
  margin-bottom: var(--sp-6);
}

.final-cta-eyebrow .eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}

.final-cta-eyebrow .eyebrow-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.final-cta-h2 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.final-cta-body {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  margin: 0 auto var(--sp-8);
}

.final-cta-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

.cta-final-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--clr-primary-deep);
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 28px;
  border-radius: var(--r-btn);
  box-shadow: 0 12px 28px rgba(var(--clr-dark-rgb), 0.24);
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.cta-final-primary svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-base);
}

.cta-final-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(var(--clr-dark-rgb), 0.3);
}

.cta-final-primary:hover svg {
  transform: translateX(3px);
}

.cta-final-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  padding: 15px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--r-btn);
  transition: background var(--t-base), border-color var(--t-base);
}

.cta-final-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.final-cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.68);
}

.final-cta-trust-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

/* ============================================================
   FOOTER V2 (dark)
   Brand column + 4 link columns, social links, bottom bar.
   ============================================================ */
.site-footer-v2 {
  position: relative;
  background: var(--clr-dark);
}

.footer-v2-top {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 64px;
  padding: 80px 0 56px;
}

.footer-v2-logo {
  margin-bottom: 20px;
}

.footer-v2-tagline {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-v2-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-v2-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: background var(--t-base), border-color var(--t-base), color var(--t-base);
}

.footer-v2-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-v2-social-link:hover {
  background: var(--clr-primary);
  border-color: var(--clr-primary);
  color: #fff;
}

.footer-v2-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-v2-col-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.footer-v2-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-v2-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t-fast);
}

.footer-v2-col a:hover {
  color: #fff;
}

.footer-v2-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-v2-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
}

.footer-v2-copyright,
.footer-v2-made {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   ACCESSIBILITY - REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .agent-core-ring,
  .agent-ticker-track,
  .flow-line-pulse,
  .flow-node,
  .compare-divider-pulse {
    animation: none !important;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE - TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .meet-agents,
  .categories-section,
  .how-it-works,
  .why-platform,
  .use-cases {
    padding: 80px 0;
  }

  .final-cta {
    padding: 96px 0;
  }

  .meet-agents {
    padding: 80px 0 0;
  }

  .footer-v2-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 0 44px;
  }

  .footer-v2-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .value-props {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
  }

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

/* ============================================================
   RESPONSIVE - MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .meet-agents,
  .categories-section,
  .how-it-works,
  .why-platform,
  .use-cases {
    padding: 64px 0;
  }

  .meet-agents {
    padding: 64px 0 0;
  }

  .final-cta {
    padding: 72px 0;
  }

  .footer-v2-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-v2-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta-ctas {
    flex-direction: column;
    width: 100%;
  }

  .cta-final-primary,
  .cta-final-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .category-cards,
  .usecase-grid {
    grid-template-columns: 1fr;
  }

  .usecase-card {
    height: 300px;
  }

  /* AI core visual - scale everything down to stay compact */
  .agent-core-visual {
    max-width: 300px;
    margin-top: 48px;
  }

  .agent-orbit {
    width: 84px;
    padding: 10px 6px;
  }

  .agent-orbit-icon {
    width: 28px;
    height: 28px;
  }

  .agent-orbit-icon svg {
    width: 13px;
    height: 13px;
  }

  .agent-orbit-count {
    font-size: 16px;
  }

  .agent-orbit-name {
    font-size: 9.5px;
  }

  .agent-core-number {
    font-size: 52px;
    letter-spacing: -2px;
  }

  .agent-core-label {
    font-size: 12px;
  }

  /* Comparison stacks; VS divider becomes a horizontal marker */
  .compare-editorial {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .compare-divider {
    flex-direction: row;
    height: auto;
    width: 100%;
    padding: 0;
  }

  .compare-divider-line {
    min-height: 0;
    height: 1px;
    width: auto;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  }

  .compare-divider-pulse {
    top: 50%;
    left: 0;
    animation-name: comparePulseX;
  }

  /* Process flow becomes a vertical stack with a vertical line */
  .flow {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 48px;
  }

  .flow-line {
    top: 0;
    bottom: 0;
    left: 33px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .flow-line-pulse {
    top: 0;
    left: -3px;
    animation-name: flowPulseY;
  }

  @keyframes flowPulseY {
    0%   { top: 0%;   opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
  }

  .flow-step {
    flex-direction: row;
    text-align: left;
    gap: 18px;
    padding: 0;
  }

  .flow-node {
    margin-bottom: 0;
  }

  .flow-desc {
    max-width: 100%;
  }

  .value-props {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .use-cases-closing {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .use-cases-closing .cta-primary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE (max 440px)
   ============================================================ */
@media (max-width: 440px) {
  .agent-core-visual {
    max-width: 260px;
  }

  .category-card,
  .usecase-content {
    padding: 24px;
  }
}
