/* ============================================
   MAXIS AI - Premium Design System
   Inspired by: Prevalent.ai, Jasper, Clay, Superhuman
   ============================================ */

:root {
  --color-primary: #8F75DD;
  --color-primary-light: #B8A5F0;
  --color-primary-dark: #6B52B5;
  --color-primary-glow: rgba(143, 117, 221, 0.15);
  --color-primary-glow-strong: rgba(143, 117, 221, 0.35);
  --color-bg-dark: #06060B;
  --color-bg-dark-2: #0D0D14;
  --color-bg-dark-3: #111118;
  --color-bg-light: #F8F8FC;
  --color-bg-white: #FFFFFF;
  --color-text-primary: #FFFFFF;
  --color-text-dark: #1A1A2E;
  --color-text-muted: rgba(255, 255, 255, 0.55);
  --color-text-muted-dark: #6B7280;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-light: rgba(0, 0, 0, 0.06);
  --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --space-section: clamp(100px, 12vw, 180px);
  --container-max: 1280px;
  --container-padding: 24px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 768px) {
  :root { --container-padding: 48px; }
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-primary);
  background: var(--color-bg-dark);
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* --- Custom Cursor --- */
.cursor {
  width: 20px;
  height: 20px;
  border: 1.5px solid rgba(143, 117, 221, 0.6);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo),
              border-color 0.3s, background 0.3s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 10001;
  transform: translate(-50%, -50%);
}

.cursor.hovering {
  width: 50px;
  height: 50px;
  border-color: var(--color-primary);
  background: rgba(143, 117, 221, 0.08);
}

@media (max-width: 991px) {
  body { cursor: auto; }
  .cursor, .cursor-dot { display: none; }
}

/* --- Noise Overlay --- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* --- Typography --- */
.display-xl {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.display-lg {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.display-md {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.heading { font-size: 1.75rem; line-height: 1.3; letter-spacing: -0.005em; font-weight: 600; }
.body-lg { font-size: 1.25rem; line-height: 1.6; }
.body { font-size: 1rem; line-height: 1.7; }
.caption { font-size: 0.875rem; line-height: 1.5; }

.overline {
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.text-purple { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-muted-dark { color: var(--color-text-muted-dark); }
.text-dark { color: var(--color-text-dark); }

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary), #9F8FEF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Split text animation targets */
.split-line {
  overflow: hidden;
  display: block;
}

.split-line-inner {
  display: block;
  transform: translateY(105%);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  cursor: none;
  transition: all 0.4s var(--ease-out-expo);
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(143, 117, 221, 0);
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(143, 117, 221, 0.4), 0 8px 32px rgba(143, 117, 221, 0.25);
}

.btn-primary:hover::before { opacity: 1; }

.btn span { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.btn-sm { padding: 12px 24px; font-size: 0.875rem; }

.btn-icon {
  display: inline-flex;
  transition: transform 0.3s var(--ease-out-expo);
}

.btn:hover .btn-icon { transform: translateX(4px); }

/* --- Navigation (Hedra-style: fully transparent, centred links) --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.6s var(--ease-out-expo), backdrop-filter 0.6s, border-color 0.6s;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(6, 6, 11, 0.55);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
}

.nav-logo .logo-highlight { color: var(--color-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.nav-ctas { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }

.nav-login {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}
.nav-login:hover { color: #fff; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { font-size: 2rem; font-weight: 600; color: #fff; }
.mobile-nav-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links, .nav-ctas { display: none; }
  .nav-hamburger { display: flex; }
}

/* --- Hero (Suno-style: immersive, centred, side cards with parallax) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
}

/* Immersive gradient background — Suno-style large ambient blobs */
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 65% at 15% 25%, rgba(143, 117, 221, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 65% 55% at 85% 15%, rgba(107, 82, 181, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 90% 75% at 50% 90%, rgba(143, 117, 221, 0.15) 0%, transparent 60%);
  animation: hero-bg-shift 16s ease-in-out infinite alternate;
}

@keyframes hero-bg-shift {
  0%   { opacity: 1; transform: scale(1) translate(0, 0); }
  50%  { opacity: 0.85; transform: scale(1.04) translate(-1%, 1%); }
  100% { opacity: 1; transform: scale(1.02) translate(1%, -1%); }
}

/* Heavy grain texture — Suno-signature feel */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* Subtle vignette */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 40%, rgba(6,6,11,0.7) 100%);
}

/* Canvas particle background */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---- Float keyframes for stacked cards ---- */
@keyframes float-stack-back {
  0%, 100% { margin-top: 0px; }
  50%       { margin-top: -12px; }
}
@keyframes float-stack-mid {
  0%, 100% { margin-top: 0px; }
  50%       { margin-top: -14px; }
}
@keyframes float-stack-front {
  0%, 100% { margin-top: 0px; }
  50%       { margin-top: -12px; }
}

/* ---- 2-column hero layout ---- */
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  min-height: 100vh;
  padding-top: 72px;
  pointer-events: none;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  pointer-events: auto;
}

/* Cards surround wrapper — full-hero overlay */
.hero-cards-surround {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Agent network SVG — sits behind the card stack */
.hero-network-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0; /* anime.js fades in */
}

/* Net lines start invisible for draw-in animation */
.net-line {
  stroke-dashoffset: 1;
  stroke-dasharray: 1;
}

/* Outer node groups start invisible */
.net-node {
  opacity: 0;
}

/* Hub starts invisible */
.net-hub-bg,
.net-hub-core,
.net-hub-ring,
.hero-network-svg text[y="275"] {
  opacity: 0;
}

/* Dashed ring rotation */
@keyframes ring-spin {
  to { transform: rotate(360deg); transform-origin: 260px 230px; }
}
.net-hub-ring {
  animation: ring-spin 18s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}

/* ---- Stacked agent cards — surrounding the center ---- */
.hero-card-stack {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-visual-card {
  position: absolute;
  width: 268px;
  background: linear-gradient(160deg, rgba(28, 24, 48, 0.92), rgba(12, 11, 22, 0.96));
  border: 1px solid rgba(143, 117, 221, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: 20px;
  cursor: default;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
  overflow: hidden;
  pointer-events: auto;
}

/* Back card — left side, upper */
.hero-vc-back {
  top: 18%; left: 3%;
  transform: rotate(-4deg) scale(0.9);
  z-index: 1;
  opacity: 0.65;
  animation: float-stack-back 9s ease-in-out infinite;
  animation-delay: 0s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Middle card — left side, lower */
.hero-vc-mid {
  bottom: 12%; left: 5%;
  transform: rotate(3deg) scale(0.93);
  z-index: 2;
  opacity: 0.75;
  animation: float-stack-mid 7s ease-in-out infinite;
  animation-delay: -2.5s;
  box-shadow: 0 14px 48px rgba(0,0,0,0.5);
}

/* Front card — right side, mid-height */
.hero-vc-front {
  top: 50%; right: 3%;
  transform: translateY(-50%) rotate(2deg);
  z-index: 3;
  animation: float-stack-front 6s ease-in-out infinite;
  animation-delay: -1s;
  box-shadow: 0 24px 64px rgba(0,0,0,0.55), inset 1px 1px 0 rgba(255,255,255,0.06);
}

/* Hover: pause float, glow border, 3D tilt (handled by JS) */
.hero-visual-card:hover {
  border-color: rgba(143, 117, 221, 0.55);
  box-shadow: 0 0 40px rgba(143, 117, 221, 0.25), 0 24px 64px rgba(0,0,0,0.6);
  animation-play-state: paused;
}

/* ── Internal card animations ──────────────────────────────── */

/* Scan line that sweeps across a card */
@keyframes scan-sweep {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}
.hero-card-scan {
  position: absolute;
  top: 0; left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(143,117,221,0.07), transparent);
  pointer-events: none;
  animation: scan-sweep 3.5s ease-in-out infinite;
}

/* Pulsing data-wave line (front card) */
@keyframes data-wave {
  0%   { d: path("M0,8 Q36,2 72,8 Q108,14 144,8 Q180,2 216,8 Q252,14 288,8"); }
  50%  { d: path("M0,8 Q36,14 72,8 Q108,2 144,8 Q180,14 216,8 Q252,2 288,8"); }
  100% { d: path("M0,8 Q36,2 72,8 Q108,14 144,8 Q180,2 216,8 Q252,14 288,8"); }
}
.hero-card-wave-svg {
  display: block;
  width: 100%;
  margin-top: 10px;
  overflow: visible;
}
.hero-card-wave-path {
  fill: none;
  stroke: url(#wave-grad);
  stroke-width: 1.5;
  animation: data-wave 2.5s ease-in-out infinite;
}

/* Progress bar animated fill */
@keyframes bar-fill-anim {
  0%   { width: 0%; }
  100% { width: var(--fill); }
}
.hero-card-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  width: 0%;
  animation: bar-fill-anim 2.2s var(--ease-out-expo) 1.2s forwards;
}

/* Milestone sequential reveal */
@keyframes milestone-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.hero-vc-milestone:nth-child(1) { animation: milestone-in 0.5s ease 1.4s both; }
.hero-vc-milestone:nth-child(2) { animation: milestone-in 0.5s ease 2.0s both; }
.hero-vc-milestone:nth-child(3) { animation: milestone-in 0.5s ease 2.6s both; }

/* Ticker number that blinks/updates */
@keyframes num-tick {
  0%, 90% { opacity: 1; }
  92%      { opacity: 0.3; }
  94%      { opacity: 1; }
}
.hero-card-ticker { animation: num-tick 4s ease-in-out 3s infinite; }

/* Compliance check draw-in */
@keyframes check-draw {
  from { stroke-dashoffset: 40; }
  to   { stroke-dashoffset: 0; }
}
.hero-check-svg path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: check-draw 0.6s ease 1.8s forwards;
}

/* Green status indicator shimmer */
@keyframes status-shimmer {
  0%, 100% { box-shadow: 0 0 6px #6EE7B7; }
  50%       { box-shadow: 0 0 18px #6EE7B7, 0 0 30px rgba(110,231,183,0.4); }
}
.hero-status-dot { animation: status-shimmer 2s ease-in-out infinite; }

/* Milestone list (middle card) */
.hero-vc-milestones {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-vc-milestone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.hero-vc-milestone.done { color: rgba(255,255,255,0.65); }
.hero-vc-milestone.active { color: var(--color-primary-light); }
.hero-vc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.hero-vc-milestone.done .hero-vc-dot { background: #6EE7B7; }
.hero-vc-milestone.active .hero-vc-dot {
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(143,117,221,0.8);
  animation: dot-pulse 2s ease-in-out infinite;
}

/* Footer chips (front card) */
.hero-vc-footer {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.hero-vc-chip {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  padding: 3px 9px;
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary-light);
  margin-bottom: 10px;
  opacity: 0.8;
}

.hero-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.hero-card-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 14px;
}

.hero-card-bar {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 8px;
}

.hero-card-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  width: 0%;
  transition: width 2.2s var(--ease-out-expo);
}

.hero-card-bar-fill.animated { width: var(--fill); }

.hero-card-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.hero-card-stat-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-light);
}

.hero-card-stat-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  max-width: 90px;
  line-height: 1.3;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6EE7B7;
  background: rgba(110, 231, 183, 0.08);
  border-radius: 100px;
  padding: 3px 10px;
  margin-top: 10px;
}

/* ---- Hero text alignment ---- */
.hero .hero-headline { text-align: center; }
.hero .hero-subheadline { text-align: center; }
.hero .hero-body { text-align: center; }

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-overline-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 12px rgba(143, 117, 221, 0.7);
  animation: dot-pulse 2s ease-in-out infinite;
}

.hero-headline {
  margin-bottom: 24px;
  max-width: 720px;
}

/* Typewriter line break — only visible once line1 is done */
.hero-type-br {
  display: none;
}
.hero-type-br.visible {
  display: block;
  line-height: 0.2;
}

/* Blinking cursor */
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes cursor-fade {
  0%   { opacity: 1; }
  100% { opacity: 0; }
}
.hero-cursor {
  display: inline-block;
  color: var(--color-primary-light);
  font-weight: 300;
  animation: cursor-blink 0.9s step-end infinite;
  margin-left: 2px;
}

.hero-headline .text-gradient { font-style: italic; }

.hero-subheadline {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  max-width: 580px;
}

.hero-body {
  color: rgba(255, 255, 255, 0.38);
  max-width: 520px;
  margin-bottom: 16px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 52px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
  justify-content: center;
}

.hero-trust-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.hero-trust span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 991px) {
  .hero-inner {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-cards-surround { display: none; }
  .hero-center { align-items: center; text-align: center; }
  .hero .hero-headline,
  .hero .hero-subheadline,
  .hero .hero-body { text-align: center; }
}

@media (max-width: 600px) {
  .hero-ctas { flex-direction: column; align-items: center; }
}

/* --- Logo Bar --- */
.logo-bar {
  background: var(--color-bg-dark);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
  position: relative;
}

.logo-bar::before,
.logo-bar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.logo-bar::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg-dark), transparent);
}

.logo-bar::after {
  right: 0;
  background: linear-gradient(-90deg, var(--color-bg-dark), transparent);
}

.logo-bar-label {
  text-align: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.25);
}

.logo-marquee-wrapper { overflow: hidden; }

.logo-marquee {
  display: flex;
  gap: 80px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.logo-marquee-item {
  flex-shrink: 0;
  opacity: 0.2;
  transition: opacity 0.5s;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.logo-marquee-item:hover { opacity: 0.5; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Section Shared --- */
.section { padding: var(--space-section) 0; position: relative; }
.section-dark { background: var(--color-bg-dark); color: var(--color-text-primary); }
.section-light { background: var(--color-bg-light); color: var(--color-text-dark); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 72px;
}

.section-header .overline {
  color: var(--color-primary);
  margin-bottom: 20px;
  display: inline-block;
}

.section-header .display-lg { margin-bottom: 20px; }

.section-header .body-lg { color: var(--color-text-muted-dark); }
.section-dark .section-header .body-lg { color: var(--color-text-muted); }

/* Section divider glow */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 117, 221, 0.2), transparent);
  border: none;
  margin: 0;
}

/* --- Problem / Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--color-bg-white);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo);
}

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

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(143, 117, 221, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label { font-size: 1rem; color: var(--color-text-muted-dark); line-height: 1.5; }

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

/* --- Agent Cards (Signature Section) --- */
.agents-section {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.agents-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 117, 221, 0.06) 0%, transparent 70%);
  filter: blur(80px);
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.agent-card {
  background: linear-gradient(160deg, #0D0D16, #14142A);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  cursor: none;
}

/* Glow effect on hover */
.agent-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(143, 117, 221, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
}

.agent-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transition: width 0.5s var(--ease-out-expo);
}

.agent-card:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 117, 221, 0.15);
  box-shadow: 0 0 60px rgba(143, 117, 221, 0.06);
}

.agent-card:hover::before { opacity: 1; }
.agent-card:hover::after { width: 100%; }

.agent-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(143, 117, 221, 0.12), rgba(143, 117, 221, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  border: 1px solid rgba(143, 117, 221, 0.1);
}

.agent-name { font-size: 1.125rem; font-weight: 600; margin-bottom: 8px; }

.agent-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(143, 117, 221, 0.08);
  color: var(--color-primary-light);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.agent-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.55;
  flex-grow: 1;
}

.agent-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out-expo), opacity 0.4s;
  opacity: 0;
}

.agent-card:hover .agent-details {
  max-height: 200px;
  opacity: 1;
  margin-top: 16px;
}

.agent-details p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.agent-details strong { color: rgba(255, 255, 255, 0.5); }

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

/* --- Platform Feature Rows --- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-row + .feature-row { margin-top: 120px; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(135deg, #1a1a2e, #0D0D16);
  border: 1px solid rgba(143, 117, 221, 0.08);
}

.feature-image-inner {
  position: absolute;
  inset: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(143, 117, 221, 0.05), rgba(143, 117, 221, 0.02));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(143, 117, 221, 0.06);
}

.feature-image-icon {
  font-size: 4rem;
  opacity: 0.3;
}

.feature-content .display-md { margin-bottom: 16px; }
.feature-content .body { color: var(--color-text-muted-dark); margin-bottom: 24px; }

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-text-dark);
}

.feature-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
}

/* --- Solutions Glass Cards --- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(143, 117, 221, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.solution-card:hover::before { opacity: 1; }

.solution-card:hover {
  border-color: rgba(143, 117, 221, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(143, 117, 221, 0.06);
}

.solution-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.solution-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 8px; }
.solution-card p { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 20px; line-height: 1.6; }

.solution-arrow {
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.solution-arrow-icon {
  transition: transform 0.3s var(--ease-out-expo);
}

.solution-card:hover .solution-arrow-icon { transform: translateX(6px); }

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

/* --- Role Cards --- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.role-card {
  background: var(--color-bg-white);
  border-radius: 16px;
  padding: 32px 28px;
  border-left: 3px solid var(--color-primary);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}

.role-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(143, 117, 221, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.role-icon { font-size: 1.5rem; margin-bottom: 16px; }
.role-card h3 { font-size: 1.125rem; font-weight: 600; color: var(--color-text-dark); margin-bottom: 8px; }
.role-card p { font-size: 0.9375rem; color: var(--color-text-muted-dark); margin-bottom: 16px; line-height: 1.6; }
.role-link { color: var(--color-primary); font-size: 0.875rem; font-weight: 600; }

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

/* --- Metrics / Trust --- */
.metrics-section {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.metrics-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(143, 117, 221, 0.06) 0%, transparent 70%);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.metric-item {
  padding: 40px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.4s var(--ease-out-expo);
}

.metric-item:hover {
  background: rgba(143, 117, 221, 0.04);
  border-color: rgba(143, 117, 221, 0.1);
}

.metric-item .stat-number { font-size: 4rem; }
.metric-item .stat-label { color: var(--color-text-muted); font-size: 0.9375rem; }

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  margin-bottom: -20px;
}

.testimonial-quote {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-bottom: 32px;
}

.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial-info .name { font-weight: 600; font-size: 0.9375rem; }
.testimonial-info .title { font-size: 0.8125rem; color: var(--color-text-muted); }

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

/* --- Final CTA --- */
.cta-section {
  background: var(--color-bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(143, 117, 221, 0.12), transparent 65%);
  filter: blur(80px);
}

.cta-section .container { position: relative; z-index: 1; }
.cta-section .display-lg { margin-bottom: 16px; }
.cta-section .body-lg { color: var(--color-text-muted); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo { margin-bottom: 16px; display: block; }

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
  max-width: 280px;
  line-height: 1.6;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s var(--ease-out-expo);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.875rem; color: rgba(255, 255, 255, 0.35); transition: color 0.3s; }
.footer-col a:hover { color: var(--color-primary-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.2);
}

.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255, 255, 255, 0.2); }
.footer-legal a:hover { color: rgba(255, 255, 255, 0.5); }

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* --- Animations --- */
@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

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

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

@keyframes dot-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(143, 117, 221, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 20px rgba(143, 117, 221, 0.8); }
}

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  25% { transform: translate(var(--tx1), var(--ty1)); opacity: 0.5; }
  50% { transform: translate(var(--tx2), var(--ty2)); opacity: 0.2; }
  75% { transform: translate(var(--tx3), var(--ty3)); opacity: 0.4; }
}

/* GSAP reveal: initial states set via JS, CSS fallback if JS fails */
.gsap-ready .gsap-reveal { opacity: 0; transform: translateY(40px); }
.gsap-ready .gsap-reveal-left { opacity: 0; transform: translateX(-60px); }
.gsap-ready .gsap-reveal-right { opacity: 0; transform: translateX(60px); }
.gsap-ready .gsap-reveal-scale { opacity: 0; transform: scale(0.92); }
.gsap-ready .gsap-stagger > * { opacity: 0; transform: translateY(30px); }

/* ============================================================
   NEW SECTIONS — Homepage Content Plan
   ============================================================ */

/* --- Hero Badges --- */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.hero-badges span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 100px;
  padding: 5px 14px;
  letter-spacing: 0.02em;
}

/* --- Execution Gap — Insight Cards --- */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.insight-card {
  background: var(--color-bg-white);
  border-radius: 20px;
  padding: 40px 32px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-left: 3px solid var(--color-primary);
  transition: all 0.4s var(--ease-out-expo);
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(143, 117, 221, 0.08);
}

.insight-card-inner p {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-dark);
  line-height: 1.6;
  font-style: italic;
}

.execution-gap-conclusion {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: 8px;
}

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

/* --- What Maxis AI Does --- */
.what-maxis-does {
  background: var(--color-bg-dark-2);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.capability-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 36px 24px;
  background: rgba(143, 117, 221, 0.04);
  border: 1px solid rgba(143, 117, 221, 0.1);
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
  cursor: default;
}

.capability-strip-item:hover {
  background: rgba(143, 117, 221, 0.08);
  border-color: rgba(143, 117, 221, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 0 40px rgba(143, 117, 221, 0.12);
}

.capability-strip-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(143, 117, 221, 0.08);
  border: 1px solid rgba(143, 117, 221, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-strip-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

@media (max-width: 767px) { .capability-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .capability-strip { grid-template-columns: 1fr; } }

/* --- Solution Card Primary highlight --- */
.solution-card-primary {
  border-color: rgba(143, 117, 221, 0.12);
  background: rgba(143, 117, 221, 0.025);
}

/* --- How It Works — Stacked Cards --- */
.how-it-works {
  background: var(--color-bg-dark);
}

.step-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.step-card {
  display: grid;
  grid-template-columns: 72px 1fr 4px;
  gap: 32px;
  align-items: center;
  padding: 36px 48px;
  background: linear-gradient(135deg, rgba(28, 24, 48, 0.6), rgba(12, 11, 22, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.step-card:hover {
  border-color: rgba(143, 117, 221, 0.2);
  transform: translateX(8px);
  box-shadow: 0 20px 60px rgba(143, 117, 221, 0.08);
}

.step-number {
  font-size: 2.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(143, 117, 221, 0.5), rgba(143, 117, 221, 0.18));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}

.step-accent {
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  border-radius: 3px;
  opacity: 0.4;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .step-card {
    grid-template-columns: 48px 1fr;
    padding: 28px 24px;
    gap: 16px;
  }
  .step-accent { display: none; }
  .step-number { font-size: 2rem; }
}

/* --- Core Capabilities — Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* Security: col 1-2, row 1 */
.bento-security { grid-column: 1 / 3; grid-row: 1; }
/* AI Agents: col 3, row 1-2 (tall) */
.bento-agents { grid-column: 3; grid-row: 1 / 3; }
/* Integration: col 1, row 2 */
.bento-integration { grid-column: 1; grid-row: 2; }
/* Continuous: col 2, row 2 */
.bento-continuous { grid-column: 2; grid-row: 2; }
/* No-Code: sits below — add a 3rd row */
.bento-nocode { grid-column: 1 / 3; grid-row: 3; }

.bento-card {
  background: var(--color-bg-white);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s var(--ease-out-expo);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(143, 117, 221, 0.08);
  border-color: rgba(143, 117, 221, 0.1);
}

.bento-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(143, 117, 221, 0.06);
  border: 1px solid rgba(143, 117, 221, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.bento-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted-dark);
  line-height: 1.65;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.bento-tags span {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(143, 117, 221, 0.06);
  border: 1px solid rgba(143, 117, 221, 0.12);
  border-radius: 100px;
  padding: 4px 12px;
}

@media (max-width: 991px) {
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-security { grid-column: 1 / 3; grid-row: auto; }
  .bento-agents { grid-column: 1; grid-row: auto; }
  .bento-integration { grid-column: 2; grid-row: auto; }
  .bento-continuous { grid-column: 1; grid-row: auto; }
  .bento-nocode { grid-column: 2; grid-row: auto; }
}

@media (max-width: 600px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-security,
  .bento-agents,
  .bento-integration,
  .bento-continuous,
  .bento-nocode { grid-column: 1; grid-row: auto; }
}

/* --- Where AI Agents Deliver Impact --- */
.impact-section {
  background: var(--color-bg-dark-2);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.impact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.impact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

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

.impact-card:hover {
  border-color: rgba(143, 117, 221, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(143, 117, 221, 0.08);
}

.impact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(143, 117, 221, 0.06);
  border: 1px solid rgba(143, 117, 221, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.impact-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.impact-card p { font-size: 0.9375rem; color: var(--color-text-muted); line-height: 1.65; }

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

/* --- From Insight to Execution --- */
.insight-execution-section {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.insight-execution-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(143, 117, 221, 0.05), transparent);
}

.insight-execution-inner {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
}

.ie-overline-muted { color: rgba(255, 255, 255, 0.35); margin-bottom: 16px; display: block; }
.ie-overline-active { color: var(--color-primary); margin-bottom: 16px; display: block; }

.insight-label { color: rgba(255, 255, 255, 0.3); margin-bottom: 20px; }
.execution-label { color: #fff; margin-bottom: 20px; }

.insight-desc { color: rgba(255, 255, 255, 0.38); margin-bottom: 32px; }
.execution-desc { color: rgba(255, 255, 255, 0.75); margin-bottom: 32px; }

.insight-points, .execution-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insight-point {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.3);
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.execution-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 12px 16px;
  background: rgba(143, 117, 221, 0.04);
  border: 1px solid rgba(143, 117, 221, 0.1);
  border-radius: 10px;
}

.execution-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(143, 117, 221, 0.6);
}

.insight-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 80px;
}

.insight-divider-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(143, 117, 221, 0.3));
}

.insight-divider-arrow {
  font-size: 1.25rem;
  color: var(--color-primary);
  font-weight: 700;
}

@media (max-width: 767px) {
  .insight-execution-inner { grid-template-columns: 1fr; gap: 32px; }
  .insight-divider { flex-direction: row; padding-top: 0; }
  .insight-divider-line { width: 64px; height: 1px; background: linear-gradient(to right, rgba(255,255,255,0.05), rgba(143,117,221,0.3)); }
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--color-bg-dark-2);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: rgba(143, 117, 221, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-family);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.faq-question:hover { color: var(--color-primary-light); }

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out-expo);
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 28px 24px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* --- Hero Pillars (3 bullet points below hero body) --- */
.hero-pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 40px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.hero-pillar-sep {
  color: var(--color-primary);
  opacity: 0.5;
}

/* --- Bento Bullet Lists --- */
.bento-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.bento-bullets li {
  font-size: 0.875rem;
  color: var(--color-text-muted-dark);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.bento-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.7;
}
