/* ============================================
   XRAI Studio — Premium Styles
   ============================================ */

:root {
  --ink: #0f1729;
  --ink-mid: #1c2a4a;
  --ink-soft: #2d3f66;
  --azure: #3d6ce7;
  --azure-light: #6b93f5;
  --azure-glow: rgba(61, 108, 231, 0.15);
  --teal: #2a9d8f;
  --teal-glow: rgba(42, 157, 143, 0.12);
  --amber: #e09f3e;
  --amber-glow: rgba(224, 159, 62, 0.12);
  --rose: #c75c8a;
  --violet: #7c6bc4;
  --green: #4caf82;
  --bone: #f5f2ed;
  --bone-warm: #ece7df;
  --parchment: #faf8f5;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-mid: #3d3d56;
  --text-soft: #6b6b82;
  --text-faint: #9a9ab0;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm:
    0 1px 3px rgba(15, 23, 41, 0.04), 0 1px 2px rgba(15, 23, 41, 0.06);
  --shadow: 0 4px 24px rgba(15, 23, 41, 0.06), 0 1px 4px rgba(15, 23, 41, 0.04);
  --shadow-lg:
    0 12px 48px rgba(15, 23, 41, 0.08), 0 4px 12px rgba(15, 23, 41, 0.04);
  --shadow-xl:
    0 24px 64px rgba(15, 23, 41, 0.12), 0 8px 24px rgba(15, 23, 41, 0.06);
  --shadow-glow: 0 0 40px rgba(61, 108, 231, 0.15);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family:
    "Plus Jakarta Sans",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--text);
  background: var(--parchment);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Grain overlay for texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  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 256px;
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(61, 108, 231, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 900px;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-mid);
  font-size: 1.05rem;
}

.section-sub {
  font-size: 1.12rem;
  color: var(--text-soft);
  margin-bottom: 52px;
  max-width: 620px;
}

a {
  color: var(--azure);
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}

a:hover {
  color: var(--ink);
}

/* ============================================
   Reveal Animations
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s var(--ease-out-expo),
    transform 0.8s var(--ease-out-expo);
}

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

.reveal-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(2deg);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.7s var(--ease-out-expo);
}

.reveal-word.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow:
    0 2px 8px rgba(15, 23, 41, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.btn-primary::before {
  background: linear-gradient(135deg, var(--azure) 0%, var(--ink-mid) 100%);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    0 8px 32px rgba(15, 23, 41, 0.25),
    var(--shadow-glow);
}

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

.btn-arrow {
  transition: transform 0.4s var(--ease-out-expo);
}

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

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(15, 23, 41, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: rgba(15, 23, 41, 0.04);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 34, 0.35);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.5s var(--ease-out-expo);
}

/* Over the dark hero (not scrolled): light text */
.nav:not(.scrolled) .nav-logo,
.nav:not(.scrolled) .logo-studio {
  color: rgba(255, 255, 255, 0.85);
}
.nav:not(.scrolled) .logo-xr {
  color: #ff6b6b;
}
.nav:not(.scrolled) .logo-ai {
  color: #6b93f5;
}
.nav:not(.scrolled) .nav-links a {
  color: rgba(255, 255, 255, 0.7);
}
.nav:not(.scrolled) .nav-links a:hover {
  color: var(--white);
}
.nav:not(.scrolled) .nav-cta {
  background: var(--azure);
  color: var(--white) !important;
}
.nav:not(.scrolled) .nav-toggle span {
  background: var(--white);
}

.nav.scrolled {
  background: rgba(250, 248, 245, 0.92);
  box-shadow: var(--shadow);
  border-bottom-color: rgba(15, 23, 41, 0.06);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 2px;
  transition: transform 0.4s var(--ease-out-expo);
}

.nav-logo:hover {
  transform: scale(1.02);
  color: var(--ink);
}

.logo-xr {
  color: #d62828;
  font-weight: 800;
}

.logo-ai {
  color: #1e5fb8;
  font-weight: 800;
}

.logo-studio {
  font-weight: 300;
  color: var(--text-soft);
  margin-left: 4px;
}

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

.nav-links a {
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  transition: color 0.3s var(--ease-out-expo);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--azure);
  border-radius: 1px;
  transition: width 0.4s var(--ease-out-expo);
}

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

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

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 10px !important;
  transition: all 0.4s var(--ease-out-expo) !important;
  box-shadow: 0 2px 8px rgba(15, 23, 41, 0.15);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--ink-mid) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15, 23, 41, 0.2) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.4s var(--ease-out-expo);
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 160px 0 100px;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 10%,
      rgba(91, 108, 231, 0.25) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 60% 50% at 20% 80%,
      rgba(42, 157, 143, 0.14) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 50% 50%,
      rgba(124, 107, 196, 0.12) 0%,
      transparent 60%
    ),
    linear-gradient(160deg, #0a0f22 0%, var(--ink) 45%, #131d3d 100%);
  position: relative;
  overflow: hidden;
}

/* Starfield */
.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      1.5px 1.5px at 20% 30%,
      rgba(255, 255, 255, 0.8),
      transparent
    ),
    radial-gradient(1px 1px at 40% 70%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(
      1.5px 1.5px at 60% 20%,
      rgba(255, 255, 255, 0.7),
      transparent
    ),
    radial-gradient(1px 1px at 80% 50%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 10% 60%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(
      1.5px 1.5px at 90% 80%,
      rgba(255, 255, 255, 0.5),
      transparent
    ),
    radial-gradient(1px 1px at 30% 90%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 70% 40%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(
      1.5px 1.5px at 50% 65%,
      rgba(255, 255, 255, 0.35),
      transparent
    ),
    radial-gradient(1px 1px at 15% 15%, rgba(255, 255, 255, 0.6), transparent);
  background-size: 100% 100%;
  animation: starTwinkle 6s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

/* Orbit system */
.orbit-system {
  position: absolute;
  top: 50%;
  right: -8%;
  width: 640px;
  height: 640px;
  transform: translateY(-50%);
  opacity: 0.6;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(107, 147, 245, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 280px;
  height: 280px;
  animation: orbitSpin 24s linear infinite;
}
.ring-2 {
  width: 440px;
  height: 440px;
  animation: orbitSpin 40s linear infinite reverse;
  border-color: rgba(42, 157, 143, 0.2);
}
.ring-3 {
  width: 620px;
  height: 620px;
  animation: orbitSpin 60s linear infinite;
  border-color: rgba(124, 107, 196, 0.18);
}

.orbit-dot {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--azure-light);
  box-shadow:
    0 0 12px rgba(107, 147, 245, 0.9),
    0 0 28px rgba(107, 147, 245, 0.5);
}

.ring-2 .orbit-dot {
  background: #4fc3b5;
  box-shadow:
    0 0 12px rgba(79, 195, 181, 0.9),
    0 0 28px rgba(79, 195, 181, 0.5);
}
.ring-3 .orbit-dot {
  background: #a99df0;
  box-shadow:
    0 0 12px rgba(169, 157, 240, 0.9),
    0 0 28px rgba(169, 157, 240, 0.5);
}

@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 35% 35%,
    rgba(107, 147, 245, 0.9),
    rgba(61, 108, 231, 0.4) 60%,
    transparent
  );
  box-shadow:
    0 0 60px rgba(61, 108, 231, 0.5),
    0 0 120px rgba(61, 108, 231, 0.25);
  animation: corePulse 5s ease-in-out infinite;
}

@keyframes corePulse {
  0%,
  100% {
    box-shadow:
      0 0 60px rgba(61, 108, 231, 0.5),
      0 0 120px rgba(61, 108, 231, 0.25);
  }
  50% {
    box-shadow:
      0 0 80px rgba(61, 108, 231, 0.7),
      0 0 160px rgba(61, 108, 231, 0.35);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(91, 120, 245, 0.35) 0%,
    transparent 70%
  );
  top: -10%;
  right: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(42, 157, 143, 0.28) 0%,
    transparent 70%
  );
  bottom: -10%;
  left: 5%;
  animation-delay: -7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(
    circle,
    rgba(124, 107, 196, 0.25) 0%,
    transparent 70%
  );
  top: 30%;
  left: 40%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -40px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(40px, 10px) scale(1.02);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 12px;
  background: rgba(61, 108, 231, 0.06);
  border: 1px solid rgba(61, 108, 231, 0.12);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--azure);
  margin-bottom: 28px;
  font-family: "Outfit", sans-serif;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--azure);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(61, 108, 231, 0.4);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 0 6px rgba(61, 108, 231, 0);
  }
}

.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.08;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(10, 15, 34, 0.4);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--azure-light) 0%, #4fc3b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--azure-light);
}

.hero-sub {
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.75;
}

/* Hero variants for dark bg */
.hero .hero-badge {
  background: rgba(107, 147, 245, 0.12);
  border-color: rgba(107, 147, 245, 0.3);
  color: #9db8f8;
}

.hero .badge-dot {
  background: #9db8f8;
}

.hero .btn-primary {
  background: linear-gradient(135deg, var(--azure) 0%, #2d54c7 100%);
  box-shadow:
    0 4px 24px rgba(61, 108, 231, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.hero .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero .btn-secondary:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Dashboard Mock — Premium */
.dashboard-mock {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 41, 0.06);
  transition:
    transform 0.6s var(--ease-out-expo),
    box-shadow 0.6s var(--ease-out-expo);
}

.dashboard-mock:hover {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.mock-header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.mock-dots {
  display: flex;
  gap: 7px;
}

.mock-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: transform 0.3s var(--ease-out-back);
}

.mock-dots span:first-child {
  background: #ff6b6b;
}
.mock-dots span:nth-child(2) {
  background: #ffc93c;
}
.mock-dots span:last-child {
  background: #6bcb77;
}

.dashboard-mock:hover .mock-dots span {
  transform: scale(1.15);
}

.mock-title {
  color: rgba(255, 255, 255, 0.6);
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.mock-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px;
}

.mock-card {
  padding: 20px;
  border-radius: var(--radius);
  transition:
    transform 0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.mock-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}

.mock-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow);
}

.mc-social {
  background: linear-gradient(135deg, #eef3ff 0%, #e8effe 100%);
}
.mc-email {
  background: linear-gradient(135deg, #edf7f5 0%, #e2f3ef 100%);
}
.mc-crm {
  background: linear-gradient(135deg, #fef6ed 0%, #fceedd 100%);
}
.mc-analytics {
  background: linear-gradient(135deg, #f3f0fa 0%, #ebe6f8 100%);
}

.mock-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  filter: grayscale(0.2);
}

.mock-label {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.mock-stat {
  font-size: 0.78rem;
  color: var(--text-soft);
  font-weight: 500;
}

/* ============================================
   Empathy Section
   ============================================ */

.empathy {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.empathy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 41, 0.06),
    transparent
  );
}

.empathy h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 28px;
}

.empathy p {
  font-size: 1.12rem;
  margin-bottom: 18px;
  line-height: 1.85;
}

.empathy-highlight {
  margin-top: 32px;
  padding: 28px 32px;
  background: linear-gradient(
    135deg,
    rgba(61, 108, 231, 0.04) 0%,
    rgba(42, 157, 143, 0.04) 100%
  );
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  gap: 20px;
  align-items: center;
}

.highlight-bar {
  width: 4px;
  align-self: stretch;
  background: linear-gradient(180deg, var(--azure) 0%, var(--teal) 100%);
  border-radius: 4px;
  flex-shrink: 0;
}

.empathy-highlight p {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  margin-bottom: 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

/* ============================================
   Product Section
   ============================================ */

.product {
  padding: 120px 0;
  background: var(--parchment);
  position: relative;
}

.product .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.product-text h2 {
  margin-bottom: 24px;
}

.product-text p {
  margin-bottom: 18px;
  line-height: 1.85;
}

.product-features {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.product-features li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  font-size: 1.05rem;
  color: var(--text-mid);
}

.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azure) 0%, var(--teal) 100%);
  box-shadow: 0 0 12px rgba(61, 108, 231, 0.3);
}

/* Agent Cards — Premium */
.agent-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 100px;
}

.agent-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 41, 0.04);
  transition: all 0.5s var(--ease-out-expo);
  cursor: default;
}

.agent-card:hover {
  transform: translateX(6px) translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61, 108, 231, 0.1);
}

.agent-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--azure);
  flex-shrink: 0;
  animation: agentPulse 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(61, 108, 231, 0.4);
}

.pulse-teal {
  background: var(--teal);
  animation-delay: 0.5s;
  box-shadow: 0 0 8px rgba(42, 157, 143, 0.4);
}
.pulse-amber {
  background: var(--amber);
  animation-delay: 1s;
  box-shadow: 0 0 8px rgba(224, 159, 62, 0.4);
}
.pulse-green {
  background: var(--green);
  animation-delay: 1.5s;
  box-shadow: 0 0 8px rgba(76, 175, 130, 0.4);
}
.pulse-rose {
  background: var(--rose);
  animation-delay: 2s;
  box-shadow: 0 0 8px rgba(199, 92, 138, 0.4);
}
.pulse-violet {
  background: var(--violet);
  animation-delay: 2.5s;
  box-shadow: 0 0 8px rgba(124, 107, 196, 0.4);
}
.pulse-custom {
  background: var(--amber);
  animation-delay: 3s;
  box-shadow: 0 0 8px rgba(224, 159, 62, 0.4);
}

@keyframes agentPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

.agent-info {
  flex: 1;
  min-width: 0;
}

.agent-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: nowrap;
}

.agent-desc {
  font-size: 0.82rem;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agent-status {
  font-family: "Outfit", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  flex-shrink: 0;
}

.agent-status.active {
  background: rgba(61, 108, 231, 0.08);
  color: var(--azure);
}
.agent-status.done {
  background: rgba(76, 175, 130, 0.08);
  color: var(--green);
}
.agent-status.ready {
  background: rgba(224, 159, 62, 0.08);
  color: var(--amber);
}
.agent-status.alert {
  background: rgba(199, 92, 138, 0.08);
  color: var(--rose);
}
.agent-status.custom {
  background: rgba(124, 107, 196, 0.08);
  color: var(--violet);
}

.agent-card-custom {
  background: linear-gradient(
    135deg,
    rgba(61, 108, 231, 0.03) 0%,
    rgba(124, 107, 196, 0.03) 100%
  );
  border: 1px dashed rgba(124, 107, 196, 0.2);
}

.product-flywheel {
  margin-top: 24px;
  padding: 24px 28px;
  background: linear-gradient(
    135deg,
    rgba(61, 108, 231, 0.05) 0%,
    rgba(42, 157, 143, 0.05) 100%
  );
  border-radius: var(--radius-lg);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(61, 108, 231, 0.08);
}

.flywheel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--azure-glow);
  color: var(--azure);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: flywheelSpin 8s linear infinite;
}

@keyframes flywheelSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.product-flywheel p {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   Services
   ============================================ */

.services {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 41, 0.06),
    transparent
  );
}

.services h2,
.services .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.service-card {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid transparent;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(61, 108, 231, 0.04) 0%,
    rgba(42, 157, 143, 0.02) 100%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
  border-radius: inherit;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61, 108, 231, 0.1);
}

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

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(61, 108, 231, 0.08) 0%,
    rgba(61, 108, 231, 0.04) 100%
  );
  color: var(--azure);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: all 0.5s var(--ease-out-expo);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--azure) 0%, var(--azure-light) 100%);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61, 108, 231, 0.3);
  transform: scale(1.05);
}

.service-card h3 {
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Process / How It Works
   ============================================ */

.process {
  padding: 120px 0;
  background: linear-gradient(
    135deg,
    var(--ink) 0%,
    #162040 50%,
    var(--ink-mid) 100%
  );
  position: relative;
  overflow: hidden;
}

.process::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 30% 50%,
      rgba(61, 108, 231, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 70% 80%,
      rgba(42, 157, 143, 0.05) 0%,
      transparent 50%
    );
}

.process > .container {
  position: relative;
  z-index: 1;
}

.process h2 {
  color: var(--white);
  text-align: center;
}

.process .section-sub {
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.steps-track {
  position: relative;
  margin-top: 20px;
}

.steps-line {
  position: absolute;
  top: 12px;
  left: 60px;
  right: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 0;
}

.steps-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--azure), var(--teal));
  border-radius: 2px;
  transition: width 1.5s var(--ease-out-expo);
}

.steps-line-fill.animate {
  width: 100%;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

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

.step {
  text-align: center;
  padding: 32px 20px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--azure-light);
  font-family: "Outfit", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border: 2px solid rgba(61, 108, 231, 0.25);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
}

.step:hover .step-number {
  background: rgba(61, 108, 231, 0.12);
  border-color: var(--azure);
  box-shadow: 0 0 24px rgba(61, 108, 231, 0.2);
  transform: scale(1.1);
}

.step h3 {
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.step p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ============================================
   About / Why Xrai
   ============================================ */

.about {
  padding: 120px 0;
  background: var(--parchment);
}

.about h2 {
  text-align: center;
  margin-bottom: 56px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-item {
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 41, 0.04);
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.about-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--teal));
  opacity: 0;
  transition: opacity 0.5s var(--ease-out-expo);
}

.about-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-item:hover::after {
  opacity: 1;
}

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(61, 108, 231, 0.06) 0%,
    rgba(42, 157, 143, 0.06) 100%
  );
  color: var(--azure);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.about-item h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.about-item p {
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ============================================
   Consultation Section
   ============================================ */

.consultation {
  padding: 120px 0;
  background: var(--white);
  position: relative;
}

.consultation::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 41, 0.06),
    transparent
  );
}

.consultation h2,
.consultation .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   Free Guide Section
   ============================================ */

.guide {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(61, 108, 231, 0.04) 0%,
    rgba(42, 157, 143, 0.04) 100%
  );
  position: relative;
}

.guide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.guide-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.guide-text p {
  line-height: 1.75;
}

.guide-text em {
  font-style: italic;
  color: var(--ink);
  font-weight: 600;
}

/* ============================================
   Placeholder Forms
   ============================================ */

.placeholder-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.placeholder-form input {
  padding: 16px 20px;
  border: 1px solid rgba(15, 23, 41, 0.1);
  border-radius: 12px;
  font-size: 0.98rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--white);
  color: var(--text);
  transition: all 0.4s var(--ease-out-expo);
}

.placeholder-form input:focus {
  outline: none;
  border-color: var(--azure);
  box-shadow: 0 0 0 3px rgba(61, 108, 231, 0.08);
}

.placeholder-form input::placeholder {
  color: var(--text-faint);
}

.placeholder-small {
  font-size: 0.78rem;
  color: var(--text-faint);
  text-align: center;
  margin-top: 10px;
}

.placeholder-note {
  font-size: 0.82rem;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 18px;
  padding: 12px;
  background: var(--parchment);
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 72px 0 36px;
  background: var(--ink);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(61, 108, 231, 0.2),
    transparent
  );
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.footer-logo .logo-xr {
  color: #ff4d4d;
}
.footer-logo .logo-ai {
  color: #5b9bff;
}
.footer-logo .logo-studio {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
}

.footer-contact {
  text-align: right;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.footer-contact a {
  color: var(--azure-light);
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 28px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 968px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    max-width: 520px;
  }

  .product .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .agent-cards {
    position: static;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps-line {
    display: none;
  }

  .guide-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 28px;
    gap: 20px;
    border-bottom: 1px solid rgba(15, 23, 41, 0.06);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 130px 0 70px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-contact {
    text-align: left;
  }

  .cursor-glow {
    display: none;
  }

  .orb {
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* ============================================
   Audience Strip (Designed For)
   ============================================ */

.audience {
  padding: 44px 0;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.audience-label {
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.audience-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 22px;
}

.audience-strip span:not(.audience-dot) {
  font-family: "Outfit", sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.audience-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--azure-light);
  opacity: 0.6;
}

/* ============================================
   Stats Bar
   ============================================ */

.stats {
  padding: 72px 0;
  background: linear-gradient(
    135deg,
    var(--ink) 0%,
    #162040 60%,
    var(--ink-mid) 100%
  );
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 120%,
    rgba(61, 108, 231, 0.15) 0%,
    transparent 60%
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
}

.stat-num {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--azure-light) 0%, #4fc3b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: "Outfit", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Deep Feature Rows
   ============================================ */

.features-deep {
  padding: 120px 0;
  background: var(--parchment);
  position: relative;
}

.features-deep h2,
.features-deep .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 44px 0;
}

.feature-row.row-flip .feature-copy {
  order: 2;
}
.feature-row.row-flip .feature-visual {
  order: 1;
}

.feature-eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--azure);
  margin-bottom: 12px;
}

.feature-copy h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-copy p {
  line-height: 1.8;
}

.feature-visual {
  transition: transform 0.5s var(--ease-out-expo);
}

.fv-window {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 23, 41, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.fv-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
}

.fv-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.fv-bar span:first-child {
  background: #ff6b6b;
}
.fv-bar span:nth-child(2) {
  background: #ffc93c;
}
.fv-bar span:last-child {
  background: #6bcb77;
}

.fv-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fv-line {
  height: 10px;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 41, 0.1),
    rgba(15, 23, 41, 0.05)
  );
}

.fv-w80 {
  width: 80%;
}
.fv-w70 {
  width: 70%;
}
.fv-w60 {
  width: 60%;
}
.fv-w50 {
  width: 50%;
}

.fv-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.fv-chip {
  font-family: "Outfit", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 100px;
}

.fc-blue {
  background: rgba(61, 108, 231, 0.1);
  color: var(--azure);
}
.fc-teal {
  background: rgba(42, 157, 143, 0.1);
  color: var(--teal);
}
.fc-violet {
  background: rgba(124, 107, 196, 0.1);
  color: var(--violet);
}
.fc-amber {
  background: rgba(224, 159, 62, 0.12);
  color: #a86f1c;
}

.fv-mailrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fv-mailrow .fv-line {
  flex: 1;
}

.fv-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fd-green {
  background: var(--green);
  box-shadow: 0 0 8px rgba(76, 175, 130, 0.4);
}
.fd-amber {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(224, 159, 62, 0.4);
}

.fv-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(61, 108, 231, 0.12);
  color: var(--azure);
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av-teal {
  background: rgba(42, 157, 143, 0.12);
  color: var(--teal);
}
.av-amber {
  background: rgba(224, 159, 62, 0.14);
  color: #a86f1c;
}

.fv-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 90px;
  padding: 0 6px;
}

.fv-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--azure-light) 0%, var(--azure) 100%);
  opacity: 0.85;
}

.fv-bars span:nth-child(odd) {
  background: linear-gradient(180deg, #4fc3b5 0%, var(--teal) 100%);
}

/* ============================================
   Testimonials
   ============================================ */

.testimonials {
  padding: 120px 0;
  background: var(--parchment);
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 41, 0.06),
    transparent
  );
}

.testimonials h2,
.testimonials .section-sub {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

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

.testimonial {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 23, 41, 0.05);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: all 0.5s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(61, 108, 231, 0.12);
}

.t-quote {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-mid);
  flex: 1;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(61, 108, 231, 0.12);
  color: var(--azure);
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.t-name {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.t-role {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ============================================
   Glass touches on existing cards
   ============================================ */

.agent-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-card {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(15, 23, 41, 0.05);
}

/* ============================================
   Responsive — new sections
   ============================================ */

@media (max-width: 968px) {
  .orbit-system {
    opacity: 0.3;
    right: -30%;
  }

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

  .feature-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 0;
  }

  .feature-row.row-flip .feature-copy {
    order: 1;
  }
  .feature-row.row-flip .feature-visual {
    order: 2;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    background: rgba(15, 23, 41, 0.97);
  }

  .nav:not(.scrolled) .nav-links a,
  .nav .nav-links a {
    color: rgba(255, 255, 255, 0.85);
  }

  .nav.scrolled .nav-links {
    background: rgba(250, 248, 245, 0.98);
  }

  .nav.scrolled .nav-links a {
    color: var(--text-soft);
  }

  .audience-strip {
    gap: 12px 16px;
  }

  .audience-strip span:not(.audience-dot) {
    font-size: 0.9rem;
  }

  .stats-grid {
    gap: 24px;
  }
}
