/* ============================================================
   ValueFarm AI & Agents — Dark Futuristic Theme
   Extends styles.css + home.css conventions
   ============================================================ */

/* ---- Page Foundation ---- */
.vf-ai-page {
  background: #020c1b;
  color: #e2e8f0;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
}

/* ================================================================
   HERO
   ================================================================ */
.ai-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 24px 0;
}

.ai-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 0%, black 0%, transparent 100%);
}

.ai-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ai-orb--1 {
  width: 600px;
  height: 600px;
  top: -160px;
  left: -100px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.16) 0%, transparent 70%);
}

.ai-orb--2 {
  width: 500px;
  height: 500px;
  top: 0;
  right: -80px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.14) 0%, transparent 70%);
}

.ai-orb--3 {
  width: 360px;
  height: 360px;
  bottom: 40px;
  left: 35%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.ai-hero__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Kicker */
.ai-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 20px;
}

.ai-kicker__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 14px 4px rgba(96, 165, 250, 0.5);
  animation: ai-pulse-dot 2.2s ease-in-out infinite;
}

@keyframes ai-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 14px 4px rgba(96, 165, 250, 0.5); }
  50% { opacity: 0.7; transform: scale(1.35); box-shadow: 0 0 20px 6px rgba(96, 165, 250, 0.3); }
}

.ai-hero h1 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(44px, 5.5vw, 74px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: #f1f5f9;
  margin: 0 0 20px;
}

.ai-gradient-text {
  background: linear-gradient(125deg, #60a5fa 0%, #a78bfa 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ai-hero__copy > p {
  font-size: 18px;
  line-height: 1.78;
  color: #e0e7ef;
  max-width: 520px;
  margin-bottom: 32px;
}

.ai-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.ai-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a56db, #7c3aed);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.22s;
  border: none;
  cursor: pointer;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
  letter-spacing: -0.1px;
}

.ai-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26, 86, 219, 0.45);
  text-decoration: none;
  color: #fff;
}

.ai-btn-primary--large {
  padding: 16px 36px;
  font-size: 16px;
}

.ai-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: #e0e7ef;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.22s;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
}

.ai-btn-ghost:hover {
  border-color: rgba(96, 165, 250, 0.38);
  color: #e2e8f0;
  text-decoration: none;
}

.ai-btn-ghost--large {
  padding: 16px 32px;
  font-size: 16px;
}

/* ---- Neural Visual ---- */
.ai-hero__visual {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-neural {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-neural__ring {
  position: absolute;
  border-radius: 50%;
}

.ai-neural__ring--1 {
  width: 340px;
  height: 340px;
  border: 1px solid rgba(96, 165, 250, 0.1);
  animation: ai-ring-spin 24s linear infinite;
}

.ai-neural__ring--2 {
  width: 230px;
  height: 230px;
  border: 1px solid rgba(167, 139, 250, 0.13);
  animation: ai-ring-spin 16s linear infinite reverse;
}

.ai-neural__ring--3 {
  width: 148px;
  height: 148px;
  border: 1px solid rgba(34, 211, 238, 0.16);
  animation: ai-ring-spin 9s linear infinite;
}

@keyframes ai-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ai-neural__core {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a56db 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.3),
    0 0 40px rgba(26, 86, 219, 0.55),
    0 0 90px rgba(109, 40, 217, 0.28);
  animation: ai-core-breathe 3.5s ease-in-out infinite;
}

@keyframes ai-core-breathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.3), 0 0 40px rgba(26, 86, 219, 0.55), 0 0 90px rgba(109, 40, 217, 0.28); }
  50% { box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.5), 0 0 60px rgba(26, 86, 219, 0.7), 0 0 120px rgba(109, 40, 217, 0.4); }
}

.ai-neural__core-inner {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.06em;
}

.ai-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 3;
}

.ai-node--1 { top: 0; left: 50%; transform: translate(-50%, -50%); background: #60a5fa; box-shadow: 0 0 12px 3px rgba(96, 165, 250, 0.5); }
.ai-node--2 { bottom: 0; left: 50%; transform: translate(-50%, 50%); background: #a78bfa; box-shadow: 0 0 12px 3px rgba(167, 139, 250, 0.5); }
.ai-node--3 { left: 0; top: 50%; transform: translate(-50%, -50%); background: #22d3ee; box-shadow: 0 0 12px 3px rgba(34, 211, 238, 0.5); }
.ai-node--4 { right: 0; top: 50%; transform: translate(50%, -50%); background: #60a5fa; box-shadow: 0 0 12px 3px rgba(96, 165, 250, 0.5); }
.ai-node--5 { top: 16%; right: 12%; background: #fbbf24; width: 7px; height: 7px; box-shadow: 0 0 10px 3px rgba(251, 191, 36, 0.45); }
.ai-node--6 { bottom: 20%; left: 10%; background: #34d399; width: 7px; height: 7px; box-shadow: 0 0 10px 3px rgba(52, 211, 153, 0.45); }

/* Floating cards */
.ai-float-card {
  position: absolute;
  padding: 14px 16px;
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(96, 165, 250, 0.14);
  background: rgba(8, 18, 38, 0.88);
  max-width: 224px;
  z-index: 5;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.ai-float-card--1 {
  top: 20px;
  right: -16px;
  animation: ai-float-1 5s ease-in-out infinite;
}

.ai-float-card--2 {
  bottom: 56px;
  left: -28px;
  animation: ai-float-2 6s ease-in-out infinite;
}

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

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

.ai-float-card__label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 6px;
}

.ai-float-card__label--green {
  color: #34d399;
}

.ai-float-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.ai-float-card p {
  font-size: 12px;
  color: #d7e0eb;
  line-height: 1.55;
  margin: 0;
  max-width: none;
}

.ai-float-signals {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ai-signal {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.ai-signal--green {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.24);
  color: #34d399;
}

.ai-signal--amber {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

/* Hero stats strip */
.ai-hero__stats {
  position: relative;
  max-width: 1200px;
  margin: 64px auto 0;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  background: rgba(8, 20, 40, 0.7);
  border: 1px solid rgba(96, 165, 250, 0.1);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  backdrop-filter: blur(14px);
}

.ai-hero-stat {
  flex: 1;
  text-align: center;
}

.ai-hero-stat strong {
  display: block;
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #f1f5f9;
  margin-bottom: 5px;
  letter-spacing: -0.03em;
}

.ai-hero-stat span {
  font-size: 13px;
  color: #d7e0eb;
  line-height: 1.4;
}

.ai-hero-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(96, 165, 250, 0.1);
  flex-shrink: 0;
}

/* ================================================================
   TRAINED-ON MARQUEE STRIP
   ================================================================ */
.ai-marquee-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(96, 165, 250, 0.07);
  border-bottom: 1px solid rgba(96, 165, 250, 0.07);
  padding: 18px 0;
  background: rgba(4, 14, 30, 0.6);
}

.ai-marquee-strip::before,
.ai-marquee-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.ai-marquee-strip::before {
  left: 0;
  background: linear-gradient(90deg, #020c1b, transparent);
}

.ai-marquee-strip::after {
  right: 0;
  background: linear-gradient(-90deg, #020c1b, transparent);
}

.ai-marquee-track {
  display: flex;
  gap: 0;
  animation: ai-marquee 28s linear infinite;
  width: max-content;
}

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

.ai-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 500;
  color: #d7e0eb;
  white-space: nowrap;
  border-right: 1px solid rgba(96, 165, 250, 0.07);
}

.ai-marquee-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ai-marquee-item__dot--blue { background: #3b82f6; }
.ai-marquee-item__dot--purple { background: #a78bfa; }
.ai-marquee-item__dot--cyan { background: #22d3ee; }
.ai-marquee-item__dot--gold { background: #fbbf24; }
.ai-marquee-item__dot--green { background: #34d399; }

/* ================================================================
   SECTION BASE
   ================================================================ */
.ai-section {
  padding: 112px 24px;
  border-top: 1px solid rgba(96, 165, 250, 0.05);
}

.ai-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ai-section__heading {
  max-width: 680px;
  margin-bottom: 56px;
}

.ai-section__heading--center {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ai-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 14px;
}

.ai-eyebrow--center {
  text-align: center;
}

.ai-section h2 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #f1f5f9;
  margin: 0 0 18px;
}

.ai-section__heading p,
.ai-section__heading--center p {
  font-size: 17px;
  line-height: 1.78;
  color: #d7e0eb;
  max-width: 580px;
}

.ai-section__heading--center p {
  margin: 0 auto;
}

/* ================================================================
   CHAT SECTION
   ================================================================ */
.ai-chat-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: start;
}

/* Chat UI */
.ai-chat-ui {
  border-radius: 24px;
  background: rgba(8, 18, 38, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.12);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.04),
    0 40px 80px rgba(0, 0, 0, 0.4);
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.07);
  background: rgba(4, 12, 28, 0.5);
}

.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-chat-header strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.ai-chat-header span {
  font-size: 11px;
  color: #dbe4ef;
}

.ai-chat-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
  margin-left: auto;
  flex-shrink: 0;
  animation: ai-pulse-dot 2.5s ease-in-out infinite;
}

.ai-chat-messages {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ai-msg {
  display: flex;
  flex-direction: column;
}

.ai-msg--user {
  align-items: flex-end;
}

.ai-msg--ai {
  align-items: flex-start;
}

.ai-msg__bubble {
  max-width: 92%;
  padding: 13px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.ai-msg--user .ai-msg__bubble {
  background: linear-gradient(135deg, #1a56db, #6d28d9);
  color: #e0e7ff;
  border-bottom-right-radius: 5px;
}

.ai-msg--ai .ai-msg__bubble {
  background: rgba(12, 26, 50, 0.95);
  border: 1px solid rgba(96, 165, 250, 0.1);
  color: #edf2f7;
  border-bottom-left-radius: 5px;
}

.ai-msg__bubble p {
  font-size: 14px;
  color: inherit;
  max-width: none;
  margin: 0 0 8px;
  line-height: 1.68;
}

.ai-msg__bubble p:last-child {
  margin: 0;
}

.ai-msg__bubble strong {
  color: #93c5fd;
  font-weight: 600;
}

.ai-msg__list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.ai-msg__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  color: #e0e7ef;
  line-height: 1.5;
}

.ai-msg__list li::before {
  content: "›";
  color: #60a5fa;
  font-weight: 700;
  flex-shrink: 0;
}

.ai-msg__example {
  margin-top: 12px;
  padding: 9px 13px;
  border-radius: 10px;
  background: rgba(96, 165, 250, 0.07);
  border: 1px solid rgba(96, 165, 250, 0.14);
  font-size: 12px;
  color: #7dd3fc;
  font-style: italic;
}

.ai-msg__tag {
  margin-top: 10px;
  font-size: 11px;
  color: #dbe4ef;
  font-style: italic;
}

.ai-chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(96, 165, 250, 0.07);
  background: rgba(4, 12, 28, 0.5);
}

.ai-chat-input input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #dbe4ef;
  font-family: "Helvetica Neue", "Helvetica", sans-serif;
  outline: none;
}

.ai-chat-input input::placeholder {
  color: #edf2f7;
}

.ai-chat-send {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a56db, #7c3aed);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.ai-chat-send:hover {
  transform: scale(1.08);
}

/* Chat features list */
.ai-chat-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 4px;
}

.ai-chat-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-chat-feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(8, 18, 38, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-chat-feature h3 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.ai-chat-feature p {
  font-size: 14px;
  line-height: 1.68;
  color: #d7e0eb;
  max-width: none;
  margin: 0;
}

/* ================================================================
   COMPANY INTELLIGENCE SECTION
   ================================================================ */
.ai-intel-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.ai-intel__copy h2 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #f1f5f9;
  margin: 0 0 18px;
}

.ai-intel__copy > p {
  font-size: 16px;
  line-height: 1.75;
  color: #d7e0eb;
  max-width: 480px;
  margin: 0;
}

.ai-intel__list {
  list-style: none;
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.ai-intel__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-intel__list-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.ai-intel__list-icon--blue { background: #60a5fa; box-shadow: 0 0 12px rgba(96, 165, 250, 0.45); }
.ai-intel__list-icon--purple { background: #a78bfa; box-shadow: 0 0 12px rgba(167, 139, 250, 0.45); }
.ai-intel__list-icon--cyan { background: #22d3ee; box-shadow: 0 0 12px rgba(34, 211, 238, 0.45); }
.ai-intel__list-icon--gold { background: #fbbf24; box-shadow: 0 0 12px rgba(251, 191, 36, 0.45); }

.ai-intel__list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}

.ai-intel__list span {
  font-size: 14px;
  color: #d7e0eb;
  line-height: 1.6;
}

/* Intel cards grid */
.ai-intel__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ai-intel-card {
  padding: 22px;
  border-radius: 20px;
  background: rgba(8, 18, 38, 0.7);
  border: 1px solid rgba(96, 165, 250, 0.1);
  backdrop-filter: blur(12px);
}

.ai-intel-card--wide {
  grid-column: 1 / -1;
}

.ai-intel-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ai-intel-card__ticker {
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.04em;
}

.ai-intel-card__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #60a5fa;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.18);
  padding: 3px 10px;
  border-radius: 999px;
}

.ai-intel-card__summary {
  font-size: 13px;
  line-height: 1.72;
  color: #d7e0eb;
  margin-bottom: 16px;
}

.ai-intel-card__signals {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-signal-pill {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.ai-signal-pill--green {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
  color: #34d399;
}

.ai-signal-pill--amber {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.ai-intel-card__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dbe4ef;
  margin-bottom: 14px;
}

.ai-intel-card__caption {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #dbe4ef;
}

/* Spark bars chart */
.ai-spark-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 64px;
}

.ai-bar {
  flex: 1;
  background: rgba(96, 165, 250, 0.15);
  border-radius: 4px 4px 0 0;
}

.ai-bar--highlight {
  background: rgba(96, 165, 250, 0.55);
}

/* Health score ring */
.ai-health-ring {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.ai-health-ring svg {
  transform: rotate(-90deg);
}

.ai-health-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ai-health-ring__label strong {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1;
}

.ai-health-ring__label span {
  font-size: 10px;
  color: #dbe4ef;
}

/* ================================================================
   AGENTS SECTION
   ================================================================ */
.ai-agents-section {
  position: relative;
}

.ai-agents-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 64% 55% at 50% 10%, rgba(109, 40, 217, 0.07) 0%, transparent 100%),
    radial-gradient(ellipse 44% 44% at 15% 90%, rgba(26, 86, 219, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.ai-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.ai-agent-card {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: rgba(8, 18, 38, 0.6);
  border: 1px solid rgba(96, 165, 250, 0.09);
  backdrop-filter: blur(14px);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  overflow: hidden;
}

.ai-agent-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(26, 86, 219, 0.03) 0%, transparent 55%);
  pointer-events: none;
}

.ai-agent-card:hover {
  border-color: rgba(96, 165, 250, 0.2);
  background: rgba(8, 20, 44, 0.8);
  transform: translateY(-3px);
}

.ai-agent-card__number {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: rgba(96, 165, 250, 0.07);
  position: absolute;
  top: 18px;
  right: 22px;
  line-height: 1;
  pointer-events: none;
}

.ai-agent-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  margin-bottom: 14px;
}

.ai-agent-card__badge--purple {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.22);
  color: #a78bfa;
}

.ai-agent-card__badge--cyan {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.22);
  color: #22d3ee;
}

.ai-agent-card__badge--gold {
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.22);
  color: #fbbf24;
}

.ai-agent-card h3 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #f1f5f9;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.ai-agent-card > p {
  font-size: 14px;
  line-height: 1.72;
  color: #d7e0eb;
  margin-bottom: 22px;
  max-width: none;
}

.ai-agent-card__principles {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-bottom: 26px;
}

.ai-agent-card__principles li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #e0e7ef;
  line-height: 1.45;
}

.ai-agent-card__principles li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #60a5fa;
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(96, 165, 250, 0.4);
}

.ai-agent-card:nth-child(2) .ai-agent-card__principles li::before {
  background: #a78bfa;
  box-shadow: 0 0 6px rgba(167, 139, 250, 0.4);
}

.ai-agent-card:nth-child(3) .ai-agent-card__principles li::before {
  background: #22d3ee;
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.4);
}

.ai-agent-card:nth-child(4) .ai-agent-card__principles li::before {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.4);
}

.ai-agent-card__footer {
  padding-top: 20px;
  border-top: 1px solid rgba(96, 165, 250, 0.07);
}

.ai-agent-card__footer span {
  font-size: 13px;
  color: #dbe4ef;
  font-style: italic;
  line-height: 1.55;
}

/* ================================================================
   DEMOCRATIZATION SECTION
   ================================================================ */
.ai-demo-layout {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 64px;
  align-items: center;
}

.ai-demo__copy h2 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: #f1f5f9;
  margin: 0 0 18px;
}

.ai-demo__copy > p {
  font-size: 16px;
  line-height: 1.78;
  color: #d7e0eb;
  max-width: 460px;
  margin: 0;
}

.ai-demo__cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

/* Comparison */
.ai-demo__comparison {
  display: grid;
  gap: 14px;
}

.ai-compare-card {
  padding: 24px 28px;
  border-radius: 20px;
}

.ai-compare-card--before {
  background: rgba(10, 20, 38, 0.4);
  border: 1px solid rgba(96, 165, 250, 0.05);
}

.ai-compare-card--after {
  background: rgba(8, 22, 54, 0.65);
  border: 1px solid rgba(96, 165, 250, 0.16);
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.04),
    0 20px 50px rgba(26, 86, 219, 0.08);
}

.ai-compare-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #dbe4ef;
  margin-bottom: 14px;
}

.ai-compare-card--before .ai-compare-card__label {
  color: #f8fafc;
}

.ai-compare-card__label--bright {
  color: #60a5fa;
}

.ai-compare-card ul {
  list-style: none;
  display: grid;
  gap: 11px;
}

.ai-compare-card--before ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.5;
}

.ai-compare-card--before ul li::before {
  content: "✕";
  color: #edf2f7;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ai-compare-card--after ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #edf2f7;
  line-height: 1.5;
}

.ai-compare-card--after ul li::before {
  content: "✓";
  color: #34d399;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.ai-compare-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
}

.ai-compare-divider__line {
  flex: 1;
  height: 1px;
  background: rgba(96, 165, 250, 0.08);
}

.ai-compare-divider__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.14);
  border: 1px solid rgba(96, 165, 250, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #60a5fa;
  flex-shrink: 0;
}

/* ================================================================
   FINAL CTA SECTION
   ================================================================ */
.ai-cta-section {
  position: relative;
  padding: 128px 24px;
  text-align: center;
  overflow: hidden;
  border-top: 1px solid rgba(96, 165, 250, 0.06);
}

.ai-cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 65% at 50% 50%, rgba(26, 86, 219, 0.1) 0%, transparent 100%),
    radial-gradient(ellipse 45% 45% at 80% 80%, rgba(109, 40, 217, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 35% 35% at 20% 20%, rgba(6, 182, 212, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.ai-cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ai-cta__inner {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.ai-cta__inner h2 {
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 800;
  color: #f1f5f9;
  margin: 16px 0 18px;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.ai-cta__inner p {
  font-size: 17px;
  color: #d7e0eb;
  line-height: 1.68;
  max-width: 440px;
  margin: 0 auto 44px;
}

.ai-cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.ai-cta__download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-cta__download img {
  height: 40px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.ai-cta__download a:hover img {
  opacity: 1;
}

/* ================================================================
   FOOTER DARK OVERRIDES
   ================================================================ */
.vf-ai-page .vf-footer {
  background: rgba(5, 13, 28, 0.96);
  border-top-color: rgba(148, 163, 184, 0.2);
}

.vf-ai-page .vf-footer__brand strong {
  color: #f8fafc;
}

.vf-ai-page .vf-footer__brand span {
  color: #edf2f7;
}

.vf-ai-page .vf-footer__group h3 {
  color: #f8fafc;
}

.vf-ai-page .vf-footer__group p,
.vf-ai-page .vf-footer__group a,
.vf-ai-page .vf-footer__group span,
.vf-ai-page .vf-footer__disclaimer p,
.vf-ai-page .vf-footer__bottom span,
.vf-ai-page .vf-footer__legal a {
  color: #edf2f7;
}

.vf-ai-page .vf-footer__group a:hover,
.vf-ai-page .vf-footer__legal a:hover {
  color: #93c5fd;
}

/* ================================================================
   REVEAL ANIMATIONS (override home.css for dark page)
   ================================================================ */
.vf-ai-page [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.vf-ai-page [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .ai-hero__inner,
  .ai-chat-layout,
  .ai-intel-layout,
  .ai-demo-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .ai-hero__visual {
    min-height: 380px;
  }

  .ai-agents-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ai-hero__stats {
    padding: 24px 32px;
  }
}

@media (max-width: 700px) {
  .ai-hero {
    padding: 80px 16px 0;
  }

  .ai-section {
    padding: 80px 16px;
  }

  .ai-hero__stats {
    flex-direction: column;
    gap: 22px;
    text-align: center;
    padding: 24px 20px;
    margin-top: 48px;
    border-radius: 20px 20px 0 0;
  }

  .ai-hero-stat-divider {
    width: 48px;
    height: 1px;
  }

  .ai-neural {
    width: 260px;
    height: 260px;
  }

  .ai-neural__ring--1 { width: 260px; height: 260px; }
  .ai-neural__ring--2 { width: 175px; height: 175px; }
  .ai-neural__ring--3 { width: 112px; height: 112px; }

  .ai-float-card {
    max-width: 170px;
    padding: 10px 12px;
  }

  .ai-float-card--1 {
    right: -8px;
    top: 10px;
  }

  .ai-float-card--2 {
    left: -8px;
    bottom: 44px;
  }

  .ai-agents-grid,
  .ai-intel__cards {
    grid-template-columns: 1fr;
  }

  .ai-intel-card--wide {
    grid-column: auto;
  }

  .ai-demo__comparison {
    margin-top: 0;
  }

  .ai-agent-card {
    padding: 24px;
  }

  .ai-chat-features {
    gap: 22px;
  }

  .ai-cta__inner h2 {
    font-size: 36px;
  }
}
