/* ========================================
   RELAYO LANDING PAGE STYLES
   ======================================== */

/* === CSS VARIABLES === */
:root {
  /* Colors */
  --color-primary-from: #2563EB;
  --color-primary-to: #1E40AF;
  --color-accent: #60A5FA;
  --color-text: #0F172A;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F7FAFC;
  --color-border: #E2E8F0;
  --color-muted: #64748B;

  /* Typography */
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'EB Garamond', Georgia, serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  --spacing-4xl: 8rem;

  /* Layout */
  --container-width: 1280px;
  --container-padding: 1.5rem;
  --border-radius-sm: 0.5rem;
  --border-radius-md: 0.75rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Cursor glow */
  --cursor-x: 50%;
  --cursor-y: 50%;
  
  /* Industry block spacing */
  --industry-block-offset: 8px;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 90%; /* Scale entire site to 90% */
}

/* Conduit-style utility classes */
.padding-global {
  padding-left: 2.5%;
  padding-right: 2.5%;
}

.container-large {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

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

.z-index-2 {
  z-index: 2;
  position: relative;
}

.padding-section-medium {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (max-width: 991px) {
  .padding-section-medium {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 767px) {
  .padding-section-medium {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.margin-bottom {
  margin-top: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.margin-xxlarge {
  margin-bottom: 4rem !important;
}

.margin-custom1 {
  margin-bottom: 1.5rem !important;
}

.align-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.max-width-custom2 {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.text-weight-light {
  font-weight: 300;
}

.heading-style-h3 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #1f2937;
}

@media (max-width: 991px) {
  .heading-style-h3 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767px) {
  .heading-style-h3 {
    font-size: 2rem;
  }
}

.text-size-large {
  font-size: 1.25rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .text-size-large {
    font-size: 1.125rem;
  }
}

.text-color-secondary {
  color: #6b7280;
}

.section-home-steps {
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-ui);
  color: var(--color-text);
  background-color: var(--color-surface);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Cursor glow effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    600px circle at var(--cursor-x) var(--cursor-y),
    rgba(37, 99, 235, 0.08),
    transparent 40%
  );
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

body.cursor-active::before {
  opacity: 1;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: inherit;
}

.font-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}

/* === LAYOUT === */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 2;
}

.section {
  padding: var(--spacing-3xl) 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.section.hero {
  padding-top: 0; /* Remove top padding for hero section */
  padding-bottom: var(--spacing-3xl);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 76px); /* Full viewport height minus header */
}

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

.section--alt {
  background-color: var(--color-surface-alt);
}

/* === HEADER / NAVIGATION === */

/* Base header styles */
.header {
  width: 100%;
}

.header__container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
  background: white;
  padding: 18px clamp(1.5rem, 4vw, 3rem);
  height: 76px;
  width: 100%;
}

/* Static header (top of page) - flat style */
.header--static {
  padding-top: var(--spacing-md);
}

.header--static .header__container {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Floating header (appears on scroll) - pill style */
.header--floating {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
  padding: 0 12px;
}

.header--floating .header__container {
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.is-stuck .header--floating {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Header elements */
.header__logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.header__link {
  color: #0F172A;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.header__link:hover,
.header__link:focus {
  color: #1E40AF;
}

.header__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
}

.header__cta {
  white-space: nowrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn--ghost:hover {
  background: var(--color-surface-alt);
  border-color: var(--color-primary-from);
  color: var(--color-primary-from);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* CSS Custom Property for smooth angle animation */
@property --angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

/* Animated pill button with border-tracing glow */
.btn--animated-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 10px 10px 10px 48px;
  background: #1F1F1F;
  border: 3px solid var(--color-primary-from);
  border-radius: 100px;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  overflow: visible;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 400ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  font-family: var(--font-ui);
  letter-spacing: -0.01em;
  isolation: isolate;
  z-index: 1;
}

/* Hover fill effect - slides in from left */
.btn--animated-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.btn--animated-pill:hover::before,
.btn--animated-pill:focus::before {
  transform: scaleX(1);
}

/* Border-tracing glow - clockwise rotation */
.btn--animated-pill::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 100px;
  padding: 3px;
  background: conic-gradient(
    from var(--angle),
    rgba(255, 255, 255, 1) 0%,
    rgba(147, 197, 253, 0.95) 10%,
    rgba(96, 165, 250, 0.9) 15%,
    rgba(147, 197, 253, 0.7) 25%,
    transparent 40%,
    transparent 55%,
    rgba(147, 197, 253, 0.7) 70%,
    rgba(96, 165, 250, 0.9) 80%,
    rgba(147, 197, 253, 0.95) 85%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-mask: 
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  filter: blur(3px) brightness(1.1);
  animation: spin-border-glow 6s linear infinite;
  z-index: -1;
}

/* Fallback for browsers without @property support */
@supports not (background: conic-gradient(from var(--angle), red, blue)) {
  .btn--animated-pill::after {
    background: conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(147, 197, 253, 0.95) 10%,
      rgba(96, 165, 250, 0.9) 15%,
      rgba(147, 197, 253, 0.7) 25%,
      transparent 40%,
      transparent 55%,
      rgba(147, 197, 253, 0.7) 70%,
      rgba(96, 165, 250, 0.9) 80%,
      rgba(147, 197, 253, 0.95) 85%,
      rgba(255, 255, 255, 1) 100%
    );
    animation: spin-border-glow-fallback 6s linear infinite;
  }
}

/* Smooth angle animation using @property */
@keyframes spin-border-glow {
  to {
    --angle: 360deg;
  }
}

/* Fallback animation using transform */
@keyframes spin-border-glow-fallback {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hover/focus: speed up and brighten */
.btn--animated-pill:hover::after,
.btn--animated-pill:focus::after {
  animation-duration: 3s;
  filter: blur(4px) brightness(1.3);
  background: conic-gradient(
    from var(--angle),
    rgba(255, 255, 255, 1) 0%,
    rgba(147, 197, 253, 1) 10%,
    rgba(96, 165, 250, 1) 15%,
    rgba(147, 197, 253, 0.9) 25%,
    transparent 40%,
    transparent 55%,
    rgba(147, 197, 253, 0.9) 70%,
    rgba(96, 165, 250, 1) 80%,
    rgba(147, 197, 253, 1) 85%,
    rgba(255, 255, 255, 1) 100%
  );
}

@supports not (background: conic-gradient(from var(--angle), red, blue)) {
  .btn--animated-pill:hover::after,
  .btn--animated-pill:focus::after {
    background: conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(147, 197, 253, 1) 10%,
      rgba(96, 165, 250, 1) 15%,
      rgba(147, 197, 253, 0.9) 25%,
      transparent 40%,
      transparent 55%,
      rgba(147, 197, 253, 0.9) 70%,
      rgba(96, 165, 250, 1) 80%,
      rgba(147, 197, 253, 1) 85%,
      rgba(255, 255, 255, 1) 100%
    );
  }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .btn--animated-pill::after {
    animation: none;
    background: conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(96, 165, 250, 0.4) 50%,
      rgba(255, 255, 255, 0.5) 100%
    );
    filter: blur(2px);
  }
  
  .btn--animated-pill:hover::after,
  .btn--animated-pill:focus::after {
    animation: none;
  }
}

/* Button hover lift */
.btn--animated-pill:hover,
.btn--animated-pill:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.btn--animated-pill:hover .btn__circle,
.btn--animated-pill:focus .btn__circle {
  background: rgba(255, 255, 255, 0.2);
}

.btn__text {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.btn__circle {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: #2563EB;
  border-radius: 50%;
  margin-left: 24px;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn--animated-pill:hover .btn__circle {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn__circle svg {
  width: 32px;
  height: 32px;
}

/* === INDUSTRY SELECTOR (TOP) === */
.industry-selector-top {
  margin-bottom: var(--spacing-3xl);
  padding-top: 0;
  margin-top: 32px;
}

.industry-selector-top__label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.pills--top {
  margin-top: 0;
}

/* Modern monospace pills - Clean design matching image 2 */
.pills--top .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 9999px;
  color: var(--color-text);
  font-family: 'JetBrains Mono', 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
}

/* Hover state - subtle border change */
.pills--top .pill:hover:not(.active) {
  background: #FFFFFF;
  border-color: #C0C0C0;
  color: var(--color-text);
}

/* Active/Selected state - light blue-green background like image 2 */
.pills--top .pill.active {
  background: #D0E0FF;
  border-color: #A0C0FF;
  color: var(--color-text);
  box-shadow: 0 2px 4px rgba(160, 192, 255, 0.2);
}

/* Focus visible for accessibility */
.pills--top .pill:focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 3px;
  border-radius: 9999px;
}

/* === PILLS === */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

/* General pill hover - only applies to pills NOT in .pills--top */
.pill:hover,
.pill.active {
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  color: white;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}


.pill:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* === RELAYO WALKTHROUGH (Podium-style) === */
#relayo-walkthrough {
  padding: var(--spacing-3xl) 0 var(--spacing-4xl);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 249, 0.65), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(170, 206, 255, 0.5), transparent 55%),
    radial-gradient(circle at 60% 85%, rgba(232, 244, 255, 0.55), transparent 60%),
    linear-gradient(120deg, #fefefe 0%, #f9fbff 40%, #fdf1ee 100%);
}

/* Conduit-style centered hero title */
.section-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  margin-bottom: var(--spacing-md);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.walkthrough__subtitle {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  line-height: 1.6;
  font-weight: 400;
  color: #64748B;
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

/* Cartesia-inspired two-column layout with clean aesthetic */
.walkthrough__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
  width: 100%;
  max-width: 1280px;
  height: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 2.5rem;
  background: #2660e3;
  border-radius: 32px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow:
    0 0 64px rgba(59, 130, 246, 0.4),
    0 0 96px rgba(96, 165, 250, 0.32),
    0 10px 32px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(59, 130, 246, 0.08);
  position: relative;
  overflow: visible;
  isolation: isolate;
}

/* Rotating border glow effect - 50% opacity */
.walkthrough__grid::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 32px;
  padding: 4px;
  background: conic-gradient(
    from var(--angle),
    rgba(255, 255, 255, 1) 0%,
    rgba(147, 197, 253, 0.95) 10%,
    rgba(96, 165, 250, 0.9) 15%,
    rgba(147, 197, 253, 0.7) 25%,
    transparent 40%,
    transparent 55%,
    rgba(147, 197, 253, 0.7) 70%,
    rgba(96, 165, 250, 0.9) 80%,
    rgba(147, 197, 253, 0.95) 85%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  filter: blur(4px) brightness(1.2);
  animation: spin-border-glow 6s linear infinite;
  z-index: -1;
  opacity: 0.5;
}

/* Fallback for browsers without @property support */
@supports not (background: conic-gradient(from var(--angle), red, blue)) {
  .walkthrough__grid::before {
    background: conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(147, 197, 253, 0.95) 10%,
      rgba(96, 165, 250, 0.9) 15%,
      rgba(147, 197, 253, 0.7) 25%,
      transparent 40%,
      transparent 55%,
      rgba(147, 197, 253, 0.7) 70%,
      rgba(96, 165, 250, 0.9) 80%,
      rgba(147, 197, 253, 0.95) 85%,
      rgba(255, 255, 255, 1) 100%
    );
    animation: spin-border-glow-fallback 6s linear infinite;
  }
}

/* Soft glow effect around the card - INCREASED intensity */
.walkthrough__grid::after {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(ellipse at center, rgba(59, 130, 246, 0.7), rgba(96, 165, 250, 0.5) 50%, transparent 75%),
    radial-gradient(ellipse at 30% 30%, rgba(139, 192, 253, 0.6), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.6), transparent 60%);
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .walkthrough__grid {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-2xl);
    padding: var(--spacing-2xl) var(--spacing-lg);
    width: 100%;
    max-width: 768px;
    height: auto;
    min-height: 600px;
  }
}

@media (max-width: 640px) {
  .walkthrough__grid {
    padding: 1.5rem;
    gap: var(--spacing-lg);
    height: auto;
    min-height: 500px;
  }
}

/* Left Column: Visual - Conduit style */
.walkthrough-visual {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.walkthrough-visual__step {
  animation: fadeInSlide 240ms ease-out;
  opacity: 0;
  transform: translateX(-10px) translateZ(0);
  transition: opacity 180ms ease-out, transform 240ms ease-out;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.walkthrough-visual__step[style*="display: block"] {
  display: block !important;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(-10px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

/* Cartesia-inspired clean cards with subtle shadows and moving effects */
.inbox-preview {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatCard 6s ease-in-out infinite;
  position: relative;
}

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

.inbox-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 24px 64px rgba(0, 0, 0, 0.12);
}

.inbox-preview__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.inbox-preview__icon {
  font-size: 1.5rem;
}

.inbox-preview__badge {
  background: var(--color-primary-from);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

.inbox-preview__items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* Cartesia-style inbox items with clean borders */
.inbox-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #FAFBFC;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInLeft 0.5s ease-out forwards;
}

.inbox-item:hover {
  background: #F8FAFC;
  border-color: rgba(37, 99, 235, 0.2);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.inbox-item:nth-child(1) {
  animation-delay: 0.2s;
}

.inbox-item:nth-child(2) {
  animation-delay: 0.4s;
}

.inbox-item:nth-child(3) {
  animation-delay: 0.6s;
}

.inbox-item:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.inbox-item__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: white;
}

/* Cartesia-style icon backgrounds with borders */
.inbox-item__icon--call {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

.inbox-item__icon--sms {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.2);
}

.inbox-item__icon--chat {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}

.inbox-item__icon--form {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.2);
}

.inbox-item__content {
  flex: 1;
  min-width: 0;
}

.inbox-item__source {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.inbox-item__message {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cartesia-inspired chat conversation with clean shadows and floating effect */
.chat-conversation {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  background: white;
  border-radius: 16px;
  padding: var(--spacing-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatCard 6s ease-in-out infinite;
  position: relative;
}

.chat-conversation:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 24px 64px rgba(0, 0, 0, 0.12);
}

.chat-conversation .chat-bubble {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  animation: chatBubblePop 0.5s ease-out forwards;
}

.chat-conversation .chat-bubble:nth-child(1) {
  animation-delay: 0.3s;
}

.chat-conversation .chat-bubble:nth-child(2) {
  animation-delay: 0.7s;
}

@keyframes chatBubblePop {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }
  70% {
    transform: translateY(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-bubble {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 80%;
  align-items: flex-start;
}

.chat-bubble--incoming {
  align-self: flex-start;
}

.chat-bubble--outgoing {
  align-self: flex-end;
  flex-direction: row-reverse;
}

/* Cartesia-style avatars with clean borders */
.chat-bubble__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 2px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.chat-bubble__avatar--image {
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: white;
}

.chat-bubble__content {
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  transition: all 0.2s ease;
}

.chat-bubble__content:hover {
  transform: scale(1.02);
}

/* Cartesia-style chat bubbles with clean borders */
.chat-bubble--incoming .chat-bubble__content {
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #0F172A;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.chat-bubble--outgoing .chat-bubble__content {
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  color: white;
  border: 1px solid rgba(37, 99, 235, 0.3);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.chat-bubble__ai-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
  background: white;
}

/* Cartesia-style workflow preview with floating effect */
.workflow-preview {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 16px;
  padding: var(--spacing-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  gap: var(--spacing-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatCard 6s ease-in-out infinite 0.2s;
  position: relative;
}

.workflow-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 24px 64px rgba(0, 0, 0, 0.12);
}

/* Cartesia-style workflow cards with clean borders */
.workflow-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: workflowCardAppear 0.6s ease-out forwards;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.workflow-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.workflow-card:nth-child(1) {
  animation-delay: 0.2s;
}

.workflow-card:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes workflowCardAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  60% {
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.workflow-response-bubble {
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  animation: chatBubblePop 0.5s ease-out forwards;
  animation-delay: 0.9s;
}

.workflow-card__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.workflow-card__title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.workflow-card__time {
  margin-left: auto;
  font-size: 0.875rem;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Cartesia-style review card with floating effect */
.review-card {
  background: white;
  border-radius: 16px;
  padding: var(--spacing-xl);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(30px);
  animation: reviewCardSlideIn 0.7s ease-out forwards, floatCard 6s ease-in-out infinite 0.4s;
  animation-delay: 0.2s;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 24px 64px rgba(0, 0, 0, 0.12);
}

@keyframes reviewCardSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-card__header {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Cartesia-style avatar with clean border */
.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.review-card__info {
  flex: 1;
}

.review-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.review-card__stars {
  color: #FBBF24;
  font-size: 0.875rem;
  letter-spacing: 0.125rem;
}

.review-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.review-card__reply {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(10px);
  animation: replyFadeIn 0.5s ease-out forwards;
  animation-delay: 0.9s;
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: #FAFBFC;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

@keyframes replyFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-card__reply-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  font-size: 0.875rem;
}

.review-card__reply-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-primary-from);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.review-card__reply-name {
  font-weight: 600;
  color: var(--color-text);
}

.review-card__reply-time {
  color: var(--color-muted);
}

.review-card__reply-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
  padding-left: 28px;
}

/* Right Column: Accordion */
/* Cartesia-inspired accordion with clean shadows and floating effects */
.walkthrough-accordion {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  justify-content: center;
}

.walkthrough-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: white;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04), 0 16px 48px rgba(0, 0, 0, 0.06);
  position: relative;
}

.walkthrough-item:nth-child(1) {
  animation: floatCard 6s ease-in-out infinite 0.1s;
}

.walkthrough-item:nth-child(2) {
  animation: floatCard 6s ease-in-out infinite 0.2s;
}

.walkthrough-item:nth-child(3) {
  animation: floatCard 6s ease-in-out infinite 0.3s;
}

.walkthrough-item:nth-child(4) {
  animation: floatCard 6s ease-in-out infinite 0.4s;
}

.walkthrough-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 24px 64px rgba(0, 0, 0, 0.12);
  border-color: rgba(37, 99, 235, 0.2);
}

.walkthrough-item.active {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15), 0 24px 64px rgba(0, 0, 0, 0.1);
  background: linear-gradient(to bottom, white 0%, #FAFBFC 100%);
}

.walkthrough-item__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}

.walkthrough-item__header:hover {
  background: rgba(248, 250, 252, 0.5);
}

.walkthrough-item__header:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -2px;
  border-radius: 12px;
}

.walkthrough-item:hover:not(.active) {
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

/* Cartesia-style icon with clean border */
.walkthrough-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: white;
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--color-primary-from);
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
}

.walkthrough-item__title {
  flex: 1;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0F172A;
  line-height: 1.4;
}

.walkthrough-item__caret {
  flex-shrink: 0;
  transition: transform var(--transition-base);
  color: var(--color-muted);
}

.walkthrough-item.active .walkthrough-item__caret {
  transform: rotate(180deg);
}

.walkthrough-item__content {
  padding: 0 24px 24px 24px;
  padding-left: calc(24px + 36px + var(--spacing-md));
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.walkthrough-item__description {
  font-size: 1rem;
  line-height: 1.6;
  color: #64748B;
  margin-bottom: var(--spacing-md);
}

/* Progress Bar */
.progress {
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  border-radius: 2px;
  will-change: width;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* CTA */
/* Conduit-style CTA button centered */
.walkthrough__cta {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-3xl);
  padding-top: var(--spacing-2xl);
}

/* Conduit-style smooth scroll animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#relayo-walkthrough.visible .section-title,
#relayo-walkthrough.visible .walkthrough__subtitle {
  animation: fadeInUp 0.6s ease-out;
}

#relayo-walkthrough.visible .walkthrough__grid {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Responsive */
@media (min-width: 1024px) {
  .walkthrough__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  .walkthrough-visual__step {
    animation: none;
  }

  .progress__bar {
    transition: none;
  }

  /* Disable demo card animations */
  .hero__demo-card {
    animation: none !important;
  }

  .hero__demo-card::before {
    animation: none !important;
    display: none;
  }

  .hero__demo-content {
    animation: none !important;
  }

  .hero__demo-content::after {
    animation: none !important;
    display: none;
  }

  .chat-bubble-wrapper {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Disable walkthrough section animations */
  .inbox-item,
  .workflow-card,
  .review-card,
  .review-card__reply,
  .workflow-response-bubble,
  .chat-conversation .chat-bubble {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.hero__headline {
  margin-bottom: var(--spacing-md);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 200ms ease-in-out;
}

.hero__subheadline {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto var(--spacing-xl);
  transition: opacity 200ms ease-in-out;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-xl);
}

.hero__demo-card {
  margin-top: var(--spacing-2xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--border-radius-xl);
  overflow: visible;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  padding: 3rem;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.4), 0 0 80px rgba(37, 99, 235, 0.2);
  position: relative;
  animation: floatCard 6s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
  isolation: isolate;
}

/* Rotating border glow effect - 50% opacity */
.hero__demo-card::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--border-radius-xl);
  padding: 4px;
  background: conic-gradient(
    from var(--angle),
    rgba(255, 255, 255, 1) 0%,
    rgba(147, 197, 253, 0.95) 10%,
    rgba(96, 165, 250, 0.9) 15%,
    rgba(147, 197, 253, 0.7) 25%,
    transparent 40%,
    transparent 55%,
    rgba(147, 197, 253, 0.7) 70%,
    rgba(96, 165, 250, 0.9) 80%,
    rgba(147, 197, 253, 0.95) 85%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  filter: blur(4px) brightness(1.2);
  animation: spin-border-glow 6s linear infinite;
  z-index: -1;
  opacity: 0.5;
}

/* Fallback for browsers without @property support */
@supports not (background: conic-gradient(from var(--angle), red, blue)) {
  .hero__demo-card::before {
    background: conic-gradient(
      from 0deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(147, 197, 253, 0.95) 10%,
      rgba(96, 165, 250, 0.9) 15%,
      rgba(147, 197, 253, 0.7) 25%,
      transparent 40%,
      transparent 55%,
      rgba(147, 197, 253, 0.7) 70%,
      rgba(96, 165, 250, 0.9) 80%,
      rgba(147, 197, 253, 0.95) 85%,
      rgba(255, 255, 255, 1) 100%
    );
    animation: spin-border-glow-fallback 6s linear infinite;
  }
}

/* Outer soft glow effect */
.hero__demo-card::after {
  content: '';
  position: absolute;
  inset: -80px;
  background:
    radial-gradient(ellipse at center, rgba(59, 130, 246, 0.7), rgba(96, 165, 250, 0.5) 50%, transparent 75%),
    radial-gradient(ellipse at 30% 30%, rgba(139, 192, 253, 0.6), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.6), transparent 60%);
  z-index: -1;
  filter: blur(80px);
  pointer-events: none;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.4), 0 0 80px rgba(37, 99, 235, 0.2);
  }
  50% {
    box-shadow: 0 25px 70px rgba(37, 99, 235, 0.5), 0 0 100px rgba(37, 99, 235, 0.3);
  }
}

@keyframes gradientBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero__demo-content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  max-width: 600px;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: contentFadeIn 0.8s ease-out;
}

/* Shimmer effect on demo content */
.hero__demo-content::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.chat-preview {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* Chat bubble wrapper for avatar + bubble */
.chat-bubble-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: bubbleAppear 0.6s ease-out forwards;
}

.chat-bubble-wrapper--incoming {
  align-self: flex-start;
  flex-direction: row;
}

.chat-bubble-wrapper--outgoing {
  align-self: flex-end;
  flex-direction: row-reverse;
}

/* Chat avatars */
.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chat-avatar--customer {
  border: 2px solid white;
}

.chat-avatar--ai {
  border: 2px solid var(--color-primary-from);
  background: white;
  padding: 2px;
}

.chat-bubble {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-md);
  max-width: 70%;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* Sequential delay for each bubble wrapper */
.chat-bubble-wrapper:nth-child(1) {
  animation-delay: 0.3s;
}

.chat-bubble-wrapper:nth-child(2) {
  animation-delay: 0.8s;
}

.chat-bubble-wrapper:nth-child(3) {
  animation-delay: 1.3s;
}

.chat-bubble-wrapper:nth-child(4) {
  animation-delay: 1.8s;
}

@keyframes bubbleAppear {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  60% {
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.chat-bubble--incoming {
  background: var(--color-surface-alt);
  color: var(--color-text);
  align-self: flex-start;
}

.chat-bubble--outgoing {
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  color: white;
  align-self: flex-end;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* === ANIMATED LOGOS CAROUSEL === */
.logos-carousel {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(to bottom, #FFFFFF 0%, #F7FAFC 100%);
  overflow: hidden;
}

.logos-carousel__header {
  text-align: center;
  margin-bottom: 1.1rem;
}

.logos-carousel__count {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin-bottom: var(--spacing-xs);
}

.logos-carousel__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.3;
}

.logos-carousel__title-highlight {
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logos-carousel__track-container {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-lg) 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.logos-carousel__track {
  display: flex;
  gap: 0;
  animation: scroll-logos 50s linear infinite;
  will-change: transform;
  width: max-content;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0px));
  }
}

.logos-carousel__slide {
  flex-shrink: 0;
  width: 220px;
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.logos-carousel__slide img {
  width: 100%;
  max-width: 100%;
  max-height: 83px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.4);
  transition: all var(--transition-slow);
}

.logos-carousel__slide:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* Tooltip on hover */
.logos-carousel__slide::after {
  content: "Switched from " attr(data-switched-from);
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logos-carousel__slide:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logos-carousel {
    padding: var(--spacing-2xl) 0;
  }

  .logos-carousel__slide {
    width: 150px;
    height: 75px;
    padding: 0;
  }

  .logos-carousel__slide img {
    max-width: 100%;
    max-height: 60px;
  }

  .logos-carousel__track {
    animation-duration: 30s;
  }
}

/* === FEATURES === */
.features {
  text-align: center;
}

.features__title {
  margin-bottom: var(--spacing-2xl);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.feature-card {
  padding: var(--spacing-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  text-align: left;
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.15);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
}

.feature-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.feature-card__description {
  font-size: 1rem;
  color: var(--color-muted);
}

/* Stats bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  padding: var(--spacing-xl);
  background: var(--color-surface-alt);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border);
}

.stat {
  text-align: center;
}

.stat__value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stat__label {
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 500;
}

/* === HOW IT WORKS === */
.how-it-works {
  background: var(--color-surface-alt);
}

.how-it-works__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

@media (min-width: 1024px) {
  .how-it-works__content {
    grid-template-columns: 1fr 1fr;
  }
}

.how-it-works__text {
  order: 1;
}

.how-it-works__visual {
  order: 2;
}

.how-it-works__title {
  margin-bottom: var(--spacing-lg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.step {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.step__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.875rem;
}

.step__content h4 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xs);
}

.step__content p {
  font-size: 1rem;
  color: var(--color-muted);
}

.screenshot-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-style: italic;
}

/* === AGENTS GRID === */
.agents__title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.agents__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.agent-tile {
  padding: var(--spacing-xl);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
}

.agent-tile:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

.agent-tile__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  border-radius: var(--border-radius-md);
  color: white;
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.agent-tile__title {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.agent-tile__description {
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* === INTEGRATIONS === */
.integrations {
  text-align: center;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.integrations::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, var(--color-surface-alt) 0%, var(--color-surface) 100%);
  z-index: 0;
}

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

.integrations__header {
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
}

.integrations__title {
  margin-bottom: var(--spacing-md);
  font-size: clamp(2rem, 4vw, 2.5rem);
}

.integrations__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto;
}



/* === TESTIMONIALS === */
.testimonials__title {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.testimonial {
  padding: var(--spacing-xl);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.testimonial__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.6;
  flex-grow: 1;
}

.testimonial__author {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary-from);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial__info {
  display: flex;
  flex-direction: column;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.testimonial__role {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.testimonial__kpi {
  margin-top: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--color-surface-alt);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary-from);
  text-align: center;
}

/* === CTA BAND === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  color: white;
  text-align: center;
  padding: var(--spacing-3xl) var(--container-padding);
}

.cta-band__title {
  color: white;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn--primary {
  background: white;
  color: var(--color-primary-from);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-band .btn--primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* === FOOTER === */
.footer {
  background: var(--color-text);
  color: white;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  padding: var(--spacing-3xl) 0 0;
  min-height: 85vh;
}

/* Decorative backdrop */
.footer-brand-backdrop {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(30%);
  width: calc(100% - 4rem);
  max-width: 100%;
  text-align: center;
  font-size: clamp(10rem, 28vw, 44rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
  cursor: default;
  padding: 0 2rem;
  box-sizing: border-box;
  overflow: visible;
}

/* Individual letter styling for per-letter lift */
.footer-brand-letter {
  display: inline-block;
  transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
              letter-spacing 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
              text-shadow 400ms cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  pointer-events: auto;
  transform-origin: bottom center;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  text-shadow: 0 0 0 transparent;
}

/* Circular glow effect per letter */
.footer-brand-letter::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, rgba(96, 165, 250, 0.1) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transition: opacity 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Footer content wrapper */
.footer__wrapper {
  position: relative;
  z-index: 2;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding) var(--spacing-3xl);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer__section h5 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-md);
  color: var(--color-accent);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  position: relative;
}

/* Footer link hover glow */
.footer__link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: white;
  transform: scale(1.03);
}

.footer__link:hover::before,
.footer__link:focus-visible::before {
  opacity: 1;
}

.footer__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
}

.footer__bottom {
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.footer__bottom p {
  color: white;
  font-size: 0.875rem;
  margin: 0;
}

.footer__socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer__social {
  color: rgba(255, 255, 255, 0.8);
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Circular glow effect for social icons */
.footer__social::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}

.footer__social:hover,
.footer__social:focus-visible {
  color: white;
  transform: translateY(-6px);
}

.footer__social:hover::before,
.footer__social:focus-visible::before {
  opacity: 1;
}

.footer__social:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: var(--border-radius-sm);
}

/* Glow effect based on data attribute */
.footer-brand-letter[data-glow]::before {
  opacity: 1;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .footer__link,
  .footer__link::before,
  .footer-brand-letter,
  .footer-brand-letter::before,
  .footer__social,
  .footer__social::before {
    transition: none !important;
  }

  .footer__link:hover,
  .footer__link:focus-visible {
    transform: none !important;
  }

  .footer__link:hover::before,
  .footer__link:focus-visible::before {
    opacity: 0 !important;
  }

  .footer-brand-letter {
    transform: none !important;
  }

  .footer-brand-letter::before {
    opacity: 0 !important;
  }

  .footer__social:hover,
  .footer__social:focus-visible {
    transform: none !important;
  }

  .footer__social:hover::before,
  .footer__social:focus-visible::before {
    opacity: 0 !important;
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
    --spacing-3xl: 3rem;
  }

  /* Header responsive */
  .header--static {
    padding-top: var(--spacing-sm);
  }

  .header__nav {
    gap: var(--spacing-sm);
    font-size: 0.875rem;
  }

  .header__logo {
    font-size: 1.25rem;
  }

  .header__container {
    padding: 14px clamp(1rem, 4vw, 1.5rem);
    height: 68px;
  }

  .header--floating {
    padding: 0 8px;
  }

  /* Footer backdrop responsive */
  .footer-brand-backdrop {
    font-size: clamp(8rem, 24vw, 36rem);
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-md);
  }

  .hero__ctas {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .btn--animated-pill {
    padding: 8px 8px 8px 32px;
    font-size: 1.125rem;
  }

  .btn__circle {
    width: 64px;
    height: 64px;
    margin-left: 16px;
  }

  .industry-selector-top {
    margin-bottom: var(--spacing-lg);
    padding-top: 0;
    margin-top: 20px;
  }

  .pills--top .pill {
    height: 38px;
    padding: 0 18px;
    font-size: 0.8125rem;
  }
  
  .pills {
    gap: 12px;
  }

  .hero__demo-card {
    padding: 1.5rem;
  }

  .features__grid,
  .agents__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  
}

/* === UTILITIES === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

/* === STICKY OVERLAPPING SECTIONS (Conduit AI style) === */
/* Disabled sticky effect - was causing scroll issues */
/*
#relayo-walkthrough,
#ai-solution,
#customer-journey {
  position: sticky;
  --overlap-progress: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  top: 0;
  z-index: 1;
  will-change: transform, opacity, filter;
  transition: filter 0.1s ease-out, opacity 0.1s ease-out, transform 0.1s ease-out;
  transform: translateZ(0);
  backface-visibility: hidden;

  filter: blur(calc(var(--overlap-progress) * 2px));
  opacity: calc(1 - var(--overlap-progress) * 0.25);
}
*/

/* Incoming section slides up and fades in */
/*
#relayo-walkthrough[data-overlap-next],
#ai-solution[data-overlap-next],
#customer-journey[data-overlap-next] {
  z-index: 2;
  transform: translateY(calc((1 - var(--overlap-progress)) * 6vh));
  opacity: calc(0.75 + var(--overlap-progress) * 0.25);
}
*/

/* Optional soft shadow on incoming section during last 20% */
/*
#relayo-walkthrough[data-overlap-next]::after,
#ai-solution[data-overlap-next]::after,
#customer-journey[data-overlap-next]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  pointer-events: none;
  opacity: calc(max(0, (var(--overlap-progress) - 0.8) * 5));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.03), transparent);
  z-index: 1;
}
*/

/* Mobile - disable sticky effect */
/*
@media (max-width: 767px) {
  #relayo-walkthrough,
  #ai-solution,
  #customer-journey {
    position: relative;
    min-height: auto;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
    display: block;
  }

  #relayo-walkthrough[data-overlap-next],
  #ai-solution[data-overlap-next],
  #customer-journey[data-overlap-next] {
    transform: none !important;
    opacity: 1 !important;
    z-index: 1;
  }

  #relayo-walkthrough[data-overlap-next]::after,
  #ai-solution[data-overlap-next]::after,
  #customer-journey[data-overlap-next]::after {
    display: none;
  }
}
*/

/* Reduced motion fallback */
/*
@media (prefers-reduced-motion: reduce) {
  #relayo-walkthrough,
  #ai-solution,
  #customer-journey {
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
    transition: none;
    position: relative;
    min-height: auto;
    display: block;
  }

  #relayo-walkthrough[data-overlap-next],
  #ai-solution[data-overlap-next],
  #customer-journey[data-overlap-next] {
    transform: none !important;
    opacity: 1 !important;
    z-index: 1;
  }

  #relayo-walkthrough[data-overlap-next]::after,
  #ai-solution[data-overlap-next]::after,
  #customer-journey[data-overlap-next]::after {
    display: none;
  }
}
*/

/* === AI SOLUTION FEATURES (Podium-style) === */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.feature-card {
  padding: var(--spacing-xl);
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.feature-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  line-height: 1;
}

.feature-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  font-family: var(--font-ui);
  letter-spacing: -0.01em;
}

.feature-card__description {
  font-size: 0.9375rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

/* === CUSTOMER JOURNEY (Podium-style) === */
.journey-step {
  padding: var(--spacing-xl) 0;
}

.journey-step__header {
  display: flex;
  align-items: baseline;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.journey-step__number {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-ui);
}

.journey-step__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  font-family: var(--font-ui);
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .feature-card {
    padding: var(--spacing-lg);
  }

  .journey-step__content {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
  }

  .journey-step__content > div:last-child {
    text-align: left !important;
  }

  .journey-step__content > div:last-child > div:first-child {
    margin-left: 0 !important;
  }
}

/* === RELAYO AI REVEAL EFFECT SECTIONS === */

/* reveal: Base section styles with smooth page-overlay transition */
.reveal-section {
  position: relative;
  --reveal: 0; /* Progress from 0→1 as next section covers this one */
}

/* reveal: Inner container with sticky positioning */
.reveal-inner {
  position: sticky;
  top: 0;
  padding: var(--spacing-3xl) 0;
  will-change: transform, opacity, filter;
  transition: filter 0.1s ease-out, opacity 0.1s ease-out;
  transform: translateZ(0);
  backface-visibility: hidden;

  /* reveal: Apply blur and fade based on scroll progress */
  filter: blur(calc(var(--reveal) * 2px));
  opacity: calc(1 - var(--reveal) * 0.25);
}

/* reveal: Section sizing - Hero is shorter */
.reveal-section--hero .reveal-inner {
  min-height: 28vh;
  display: flex;
  align-items: center;
}

/* reveal: Other sections get more room (80vh) */
.reveal-section:not(.reveal-section--hero) .reveal-inner {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* reveal: Incoming section slides up and fades in */
.reveal-section[data-reveal-next] .reveal-inner {
  transform: translateY(calc((1 - var(--reveal)) * 6vh));
  opacity: calc(0.75 + var(--reveal) * 0.25);
}

/* reveal: Optional soft shadow on incoming section during last 20% */
.reveal-section[data-reveal-next] .reveal-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(max(0, (var(--reveal) - 0.8) * 5)); /* Fade in from 80% to 100% */
  box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.08);
  z-index: -1;
}

/* reveal: Tablet sizing (768-1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .reveal-section--hero .reveal-inner {
    min-height: 32vh;
  }
}

/* reveal: Mobile - no sticky, simple fade transition */
@media (max-width: 767px) {
  .reveal-inner {
    position: relative;
    min-height: auto !important;
    padding: var(--spacing-2xl) 0;
  }

  .reveal-section[data-reveal-next] .reveal-inner {
    transform: none;
  }

  .reveal-section[data-reveal-next] .reveal-inner::before {
    display: none;
  }
}

/* reveal: Reduced motion fallback - disable animations */
@media (prefers-reduced-motion: reduce) {
  .reveal-inner {
    position: relative !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto;
    transition: none;
  }

  .reveal-section[data-reveal-next] .reveal-inner {
    transform: none !important;
    opacity: 1 !important;
  }

  .reveal-section[data-reveal-next] .reveal-inner::before {
    display: none;
  }
}

.conduit-section__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  position: relative;
}

@media (min-width: 1024px) {
  .conduit-section__content {
    grid-template-columns: 35% 1fr;
    gap: calc(var(--spacing-3xl) + 48px);
  }

  .conduit-section__content--reverse {
    grid-template-columns: 1fr 35%;
    gap: calc(var(--spacing-3xl) + 48px);
  }

  .conduit-section__content--reverse .conduit-section__text {
    order: 2;
  }

  .conduit-section__content--reverse .conduit-section__visual {
    order: 1;
  }
}

.conduit-section__text {
  position: relative;
  z-index: 2;
}

.conduit-section__tag {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #EA4B71;
  margin-bottom: var(--spacing-md);
  font-family: var(--font-ui);
}

.conduit-section__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.conduit-section__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 500px;
}

.conduit-section__visual {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Conduit Hero Box - Clean text-only section for "Handle customer service end-to-end" */
.conduit-hero-box {
  max-width: 960px;
  margin: 0 auto;
  padding: calc(var(--spacing-4xl) * 0.4) calc(var(--spacing-3xl) * 0.4);
}

.conduit-hero-box__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.conduit-hero-box__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.conduit-hero-box__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 100%;
  margin: 0 auto;
}

/* Clean white background for hero section */
#hero-service {
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
}

#hero-service .reveal-inner {
  position: relative;
  z-index: 1;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gradientFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(3%, 3%) scale(1.05) rotate(2deg);
  }
  66% {
    transform: translate(-3%, -3%) scale(0.95) rotate(-2deg);
  }
}

@media (max-width: 768px) {
  .conduit-hero-box {
    padding: calc(var(--spacing-2xl) * 0.4) calc(var(--spacing-xl) * 0.4);
  }

  .conduit-hero-box__title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .conduit-hero-box__description {
    font-size: 1rem;
  }
}


/* Conduit-style grid lines for feature sections */
.conduit-style-section {
  position: relative;
  z-index: 10;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* First conduit section - overlap effect with previous white section */
.conduit-style-section:first-of-type {
  margin-top: -64px;
  padding-top: 128px;
}

.conduit-style-section .container {
  position: relative;
  padding-left: calc(var(--container-padding) + 48px);
  background: #f0eef6;
}

@media (max-width: 1024px) {
  .conduit-style-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .conduit-style-section:first-of-type {
    margin-top: -48px;
    padding-top: 96px;
  }

  .conduit-style-section .container {
    padding-left: var(--container-padding);
  }
}

@media (max-width: 640px) {
  .conduit-style-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .conduit-style-section:first-of-type {
    margin-top: -32px;
    padding-top: 64px;
  }
}

/* Vertical solid line on the left - more visible */
.conduit-style-section .container::before {
  content: '';
  position: absolute;
  left: var(--container-padding);
  top: -80px;
  bottom: -80px;
  width: 1px;
  background: #cbd5e1;
  pointer-events: none;
  z-index: 1;
}

/* Horizontal dashed line at the top - more visible */
.conduit-style-section .container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 0;
  border-top: 1px dashed #cbd5e1;
  pointer-events: none;
  z-index: 1;
}

/* Enhanced card styling for visual elements in Conduit sections */
.conduit-style-section .conduit-section__visual > div {
  border-radius: 16px;
  border: 1px solid rgba(209, 213, 219, 0.7);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 70px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(4px);
}

@media (max-width: 1024px) {
  .conduit-style-section .container::before,
  .conduit-style-section .container::after {
    display: none;
  }
}

/* Workflow Builder Styles - Enhanced Conduit borders */
.workflow-builder {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.7);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 70px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(4px);
}

.workflow-builder__header {
  padding: 20px 24px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  background: #FAFBFC;
}

.workflow-builder__tabs {
  display: flex;
  gap: 8px;
}

.workflow-builder__tab {
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.workflow-builder__tab--active {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.workflow-builder__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text);
}

.workflow-builder__badge {
  padding: 4px 8px;
  background: #D1FAE5;
  color: #065F46;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.workflow-builder__canvas {
  padding: var(--spacing-xl);
  background: #F9FAFB;
  min-height: 400px;
}

/* Conduit-style workflow nodes with clean borders */
.workflow-node {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.workflow-node::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #60A5FA, #3B82F6);
  border-radius: 12px 0 0 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.workflow-node:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: #D1D5DB;
}

.workflow-node:hover::before {
  opacity: 1;
}

.workflow-node__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.workflow-node__content {
  flex: 1;
}

.workflow-node__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.workflow-node__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.workflow-node__subtitle {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Clean dividing aesthetic border lines for workflow connectors */
.workflow-connector {
  width: 2px;
  height: 20px;
  background: linear-gradient(to bottom, #E5E7EB, #D1D5DB);
  margin: 0 auto 16px;
  position: relative;
  left: 20px;
  border-radius: 1px;
}

/* Analytics Dashboard Styles - Conduit borders */
.analytics-dashboard {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.7);
  border-radius: 16px;
  padding: var(--spacing-xl);
  box-shadow: 0 18px 70px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(4px);
}

.analytics-dashboard__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid #E5E7EB;
}

.analytics-dashboard__select {
  padding: 8px 12px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--color-text);
  background: white;
  cursor: pointer;
}

.analytics-dashboard__text {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.analytics-dashboard__metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
  .analytics-dashboard__metrics {
    grid-template-columns: 2fr 1fr;
  }
}

/* Conduit-style analytics metrics with clean borders */
.analytics-metric {
  padding: var(--spacing-lg);
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.analytics-metric__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.analytics-metric__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}

.analytics-metric__change {
  font-size: 0.875rem;
  font-weight: 600;
  color: #EF4444;
}

.analytics-metric__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.analytics-metric__comparison {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: var(--spacing-sm);
}

.analytics-metric__chart {
  width: 100%;
  height: 80px;
  margin-top: var(--spacing-sm);
}

.analytics-metric__chart svg {
  width: 100%;
  height: 100%;
}

.analytics-dashboard__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.escalation-bar {
  display: flex;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.escalation-bar__segment {
  height: 100%;
}

.escalation-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.escalation-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.escalation-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.escalation-item__label {
  flex: 1;
  color: var(--color-text);
}

.escalation-item__value {
  color: var(--color-muted);
}

/* Unified Inbox Styles */
/* Conduit-style unified inbox with clean borders */
.unified-inbox {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(209, 213, 219, 0.7);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 70px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(4px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 1024px) {
  .unified-inbox {
    grid-template-columns: 2fr 1fr;
  }
}

.unified-inbox__header {
  padding: 20px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  grid-column: 1 / -1;
}

.unified-inbox__user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.unified-inbox__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.unified-inbox__user-info {
  flex: 1;
}

.unified-inbox__user-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.unified-inbox__notes {
  display: flex;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.unified-inbox__actions {
  display: flex;
  gap: 8px;
}

.unified-inbox__action {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.unified-inbox__action:hover {
  background: var(--color-surface-alt);
}

.unified-inbox__timeline {
  padding: 20px;
  border-right: 1px solid #E5E7EB;
}

.unified-inbox__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: var(--spacing-md) 0;
}

.unified-inbox__message {
  display: flex;
  gap: 12px;
  margin-bottom: var(--spacing-md);
}

.unified-inbox__message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.unified-inbox__message-content {
  flex: 1;
}

.unified-inbox__message-header {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.unified-inbox__message-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.unified-inbox__message-time {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.unified-inbox__message-label {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.unified-inbox__message-text {
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
}

.unified-inbox__status {
  padding: var(--spacing-md);
  background: var(--color-surface-alt);
  border-radius: 8px;
  margin-bottom: var(--spacing-md);
}

.unified-inbox__status-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: #059669;
  margin-bottom: 8px;
}

.unified-inbox__status-details {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.unified-inbox__sidebar {
  padding: 20px;
  background: #F9FAFB;
}

.unified-inbox__sidebar-section {
  margin-bottom: var(--spacing-lg);
}

.unified-inbox__sidebar-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.unified-inbox__stat {
  margin-bottom: var(--spacing-md);
}

.unified-inbox__stat-label {
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: 4px;
  display: block;
}

.unified-inbox__stat-timeline {
  display: flex;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.unified-inbox__status-message {
  padding: var(--spacing-sm);
  background: white;
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.unified-inbox__status-detail {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.unified-inbox__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.unified-inbox__tag {
  padding: 4px 8px;
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--color-text);
}

.unified-inbox__booking {
  padding: var(--spacing-sm);
  background: white;
  border-radius: 6px;
}

.unified-inbox__booking-image {
  width: 100%;
  height: 80px;
  background: var(--color-surface-alt);
  border-radius: 4px;
  margin-bottom: 8px;
}

.unified-inbox__booking-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.unified-inbox__booking-date {
  font-size: 0.75rem;
  color: var(--color-muted);
}

/* Agents Showcase Styles */
.agents__header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.agents__subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 800px;
  margin: var(--spacing-md) auto 0;
}

.agents__showcase {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.agent-showcase-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

@media (min-width: 768px) {
  .agent-showcase-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .agent-showcase-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.agent-showcase-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: var(--spacing-xl);
  transition: all var(--transition-base);
}

.agent-showcase-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.agent-showcase-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--spacing-md);
}

.agent-showcase-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  border-radius: 8px;
  font-size: 1.25rem;
}

.agent-showcase-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.agent-showcase-card__description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-muted);
  margin-bottom: var(--spacing-md);
}

.agent-showcase-card__example {
  margin-top: var(--spacing-md);
}

/* Agent Feature Card (Large) */
.agent-feature-card {
  background: white;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: var(--spacing-xl);
  grid-column: 1 / -1;
}

.agent-feature-card__header {
  margin-bottom: var(--spacing-xl);
}

.agent-feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-from), var(--color-primary-to));
  border-radius: 8px;
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.agent-feature-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.agent-feature-card__description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.agent-feature-card__demo {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
}

/* Voice Call Preview */
.voice-call-preview {
  background: var(--color-surface-alt);
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: var(--spacing-lg);
}

.voice-call-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.voice-call-preview__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.voice-call-preview__time {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.voice-call-preview__audio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: var(--spacing-md);
  background: white;
  border-radius: 8px;
  margin-bottom: var(--spacing-md);
}

.voice-call-preview__play {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-from);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.voice-call-preview__waveform {
  flex: 1;
  height: 32px;
  background: linear-gradient(90deg, #60A5FA 0%, #3B82F6 50%, #60A5FA 100%);
  border-radius: 4px;
  opacity: 0.3;
}

.voice-call-preview__duration {
  font-size: 0.875rem;
  color: var(--color-muted);
  white-space: nowrap;
}

.voice-call-preview__summary h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.voice-call-preview__summary p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}

/* Evaluation Result */
.evaluation-result {
  padding: var(--spacing-md);
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  margin-bottom: var(--spacing-sm);
}

.evaluation-result--pass {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.evaluation-result__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.evaluation-result__icon {
  font-size: 0.875rem;
  font-weight: 600;
  color: #DC2626;
}

.evaluation-result__icon--pass {
  color: #16A34A;
}

.evaluation-result__date {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.evaluation-result h5 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin: var(--spacing-sm) 0 4px;
}

.evaluation-result__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text);
}

.evaluation-result__reasoning {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-muted);
}

/* Tool Execution */
.tool-execution {
  padding: var(--spacing-md);
  background: var(--color-surface-alt);
  border: 1px solid #E5E7EB;
  border-radius: 8px;
}

.tool-execution__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid #E5E7EB;
}

.tool-execution__icon {
  font-size: 1rem;
}

.tool-execution__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.tool-execution__result {
  background: white;
  border-radius: 6px;
  padding: var(--spacing-md);
}

.tool-execution__success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #D1FAE5;
  border-radius: 6px;
  margin-bottom: var(--spacing-sm);
}

.tool-execution__check {
  font-size: 1rem;
}

.tool-execution__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #065F46;
}

.tool-execution__details {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text);
}

.tool-execution__details p {
  margin: 4px 0;
  color: var(--color-text);
}

/* Responsive for Conduit Sections */
@media (max-width: 768px) {
  .conduit-section__content {
    grid-template-columns: 1fr;
  }

  .conduit-section__content--reverse .conduit-section__text {
    order: 1;
  }

  .conduit-section__content--reverse .conduit-section__visual {
    order: 2;
  }

  .unified-inbox {
    grid-template-columns: 1fr;
  }

  .unified-inbox__timeline {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }

  .agent-showcase-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   CONDUIT-STYLE GRID LINE SYSTEM
   ========================================= */

/* Service list wrapper */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

/* Individual service item */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  position: relative;
  border-top: 1px solid rgba(17, 16, 15, 0.1);
}

.service-item:first-child {
  border-top: none;
}

/* Service text section */
.services-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Tag wrapper with icon */
.tag-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-embed-xxsmall {
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-embed-xxsmall svg {
  width: 100%;
  height: 100%;
}

/* Grid line decorative system */
.service-item-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.line-h {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(17, 16, 15, 0.06);
  left: 0;
}

.line-h-overlay {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(17, 16, 15, 0.1) 50%, transparent 100%);
  left: 0;
}

/* Vertical grid lines */
.line-v {
  position: absolute;
  width: 1px;
  height: 100%;
  background: rgba(17, 16, 15, 0.06);
  top: 0;
}

/* Section wrapper styles */
.section-home-steps {
  position: relative;
  overflow: hidden;
}

.padding-section-medium {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Responsive for service grid */
@media (max-width: 991px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }

  .padding-section-medium {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 767px) {
  .service-item {
    padding: 2rem 0;
  }

  .padding-section-medium {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

/* ==========================================
   CUSTOMER SERVICE SECTION - CONDUIT STYLE
   Sticky scroll effects & grid overlay
   ========================================== */

/* Main Container */
.customer-service-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

/* CS Hero Section */
.cs-hero-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    padding: 80px 40px;
    z-index: 5;
    opacity: 1 !important;
}

.cs-hero-content {
    text-align: center;
    max-width: 800px;
    opacity: 1 !important;
}

.cs-hero-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #0F172A !important;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    opacity: 1 !important;
}

.cs-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B !important;
    font-weight: 300;
    margin: 0;
    opacity: 1 !important;
}

/* Feature Sections - Sticky Scroll Effect */
.cs-feature-section {
    position: sticky;
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 0;
    overflow: hidden;
}

/* Each section sticks at different positions to create "eating" effect */
.cs-workflows-section {
    top: 0;
    z-index: 10;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.cs-reporting-section {
    top: 0;
    z-index: 20;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 6px 12px -2px rgba(0, 0, 0, 0.08);
}

.cs-inbox-section {
    top: 0;
    z-index: 30;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

/* Section Wrapper with Grid Overlay */
.cs-section-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    
    /* Grid overlay effect */
    background-image: 
        linear-gradient(to right, #E2E8F0 1px, transparent 1px),
        linear-gradient(to bottom, #E2E8F0 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: -1px -1px;
}

/* Subtle grid fade at edges */
.cs-section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0) 10%,
        rgba(255, 255, 255, 0) 90%,
        rgba(255, 255, 255, 0.8) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Section Content Layout */
.cs-section-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 120px;
    align-items: center;
}

/* Left Column */
.cs-section-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #FF6B35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cs-section-label svg {
    width: 16px;
    height: 16px;
}

.cs-section-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    color: #0F172A;
    letter-spacing: -0.02em;
}

.cs-section-description {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B;
}

/* Right Column - Interactive Components */
.cs-section-right {
    position: relative;
}

/* Workflow Builder Styles */
.cs-workflow-builder {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.cs-workflow-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #E2E8F0;
    background: #FAFBFC;
}

.cs-back-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-workflow-tabs {
    display: flex;
    gap: 8px;
}

.cs-tab {
    padding: 6px 12px;
    font-size: 14px;
    color: #64748B;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
}

.cs-tab.active {
    background: #FFFFFF;
    color: #0F172A;
    font-weight: 500;
}

.cs-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
    cursor: pointer;
    margin-left: auto;
}

.cs-badge {
    padding: 2px 8px;
    background: #10B981;
    color: #FFFFFF;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Workflow Canvas */
.cs-workflow-canvas {
    padding: 40px 60px;
    background: #FAFBFC;
    min-height: 600px;
    position: relative;
    
    /* Grid overlay for canvas */
    background-image: 
        linear-gradient(to right, #F0F3F7 1px, transparent 1px),
        linear-gradient(to bottom, #F0F3F7 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Workflow Nodes */
.cs-workflow-node {
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 12px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.cs-workflow-node:hover {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cs-node-badge {
    position: absolute;
    top: -10px;
    left: 16px;
    padding: 4px 10px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.cs-trigger-node .cs-node-badge {
    background: #DBEAFE;
    color: #2563EB;
}

.cs-branch-node .cs-node-badge {
    background: #FEF3C7;
    color: #D97706;
}

.cs-call-node .cs-node-badge {
    background: #DBEAFE;
    color: #2563EB;
}

.cs-node-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-node-content svg {
    flex-shrink: 0;
}

.cs-node-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-node-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
}

.cs-node-text span {
    font-size: 13px;
    color: #64748B;
}

/* Workflow Connectors */
.cs-workflow-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, #CBD5E1, #E2E8F0);
    margin: 0 auto;
    position: relative;
}

.cs-workflow-connector::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #CBD5E1;
}

/* Branch Split */
.cs-workflow-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 20px 0;
}

.cs-split-label {
    display: inline-flex;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cs-split-label.true {
    background: #D1FAE5;
    color: #059669;
}

.cs-split-label.false {
    background: #FEE2E2;
    color: #DC2626;
}

.cs-workflow-connector-branch {
    width: 2px;
    height: 30px;
    background: #CBD5E1;
    margin: 0 auto;
}

/* Bottom Nodes */
.cs-workflow-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

/* Analytics Dashboard Styles */
.cs-analytics-dashboard {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.cs-dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid #E2E8F0;
    background: #FAFBFC;
}

.cs-date-selector,
.cs-date-range {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 14px;
    color: #0F172A;
    cursor: pointer;
}

.cs-comparison-text {
    font-size: 14px;
    color: #64748B;
}

/* Metrics Grid */
.cs-metrics-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1px;
    background: #E2E8F0;
}

.cs-metric-card {
    background: #FFFFFF;
    padding: 24px;
    position: relative;
}

.cs-metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cs-metric-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748B;
    font-weight: 500;
}

.cs-metric-change {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.cs-metric-change.negative {
    background: #FEE2E2;
    color: #DC2626;
}

.cs-metric-value {
    font-size: 36px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 4px;
}

.cs-metric-comparison {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 8px;
}

.cs-metric-note {
    font-size: 11px;
    color: #94A3B8;
    margin-bottom: 20px;
}

/* Chart Styles */
.cs-metric-chart {
    width: 100%;
    height: 120px;
    margin: 20px 0 12px 0;
}

.cs-chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #94A3B8;
    margin-bottom: 4px;
}

.cs-chart-axis {
    font-size: 11px;
    color: #94A3B8;
    text-align: left;
}

/* Simple Bar Chart */
.cs-simple-bar-chart {
    height: 120px;
    display: flex;
    align-items: flex-end;
    margin-top: 20px;
}

.cs-bar-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
}

.cs-bar {
    width: 100%;
    border-radius: 4px 4px 0 0;
}

/* Escalations Section */
.cs-escalations-section {
    padding: 24px;
    border-top: 1px solid #E2E8F0;
    background: #FAFBFC;
}

.cs-escalations-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.cs-escalations-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
}

.cs-escalations-btn {
    padding: 4px 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cs-escalations-link {
    font-size: 12px;
    color: #64748B;
    margin-left: auto;
}

.cs-escalations-secondary {
    font-size: 12px;
    color: #94A3B8;
}

/* Escalation Bars */
.cs-escalation-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-escalation-bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    height: 48px;
}

.cs-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 8px 0 0 8px;
    opacity: 0.15;
}

.cs-bar-fill.yellow {
    background: #FCD34D;
}

.cs-bar-fill.orange {
    background: #FB923C;
}

.cs-bar-fill.red {
    background: #F87171;
}

.cs-bar-icon {
    flex-shrink: 0;
    font-size: 16px;
    z-index: 1;
}

.cs-bar-label {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #0F172A;
    z-index: 1;
}

.cs-bar-count {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    z-index: 1;
}

.cs-bar-percent {
    font-size: 12px;
    color: #64748B;
    z-index: 1;
}

.cs-bar-segment {
    font-size: 11px;
    color: #94A3B8;
    z-index: 1;
}

/* Inbox Interface Styles */
.cs-inbox-interface {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    min-height: 700px;
}

/* Inbox Header */
.cs-inbox-header {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #E2E8F0;
    background: #FAFBFC;
}

.cs-contact-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-contact-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #E2E8F0;
}

.cs-contact-name {
    font-size: 16px;
    font-weight: 600;
    color: #0F172A;
}

.cs-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-action-icon-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.cs-action-icon-btn:hover {
    background: #F1F5F9;
}

.cs-glance-text {
    font-size: 14px;
    color: #64748B;
    margin-left: 12px;
}

/* Inbox Toolbar */
.cs-inbox-toolbar {
    grid-column: 1 / 2;
    display: flex;
    gap: 8px;
    padding: 12px 24px;
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.cs-toolbar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 13px;
    color: #0F172A;
    cursor: pointer;
    transition: all 0.2s;
}

.cs-toolbar-btn:hover {
    border-color: #CBD5E1;
    background: #F8FAFC;
}

/* Conversation Timeline */
.cs-conversation-timeline {
    grid-column: 1 / 2;
    padding: 24px;
    overflow-y: auto;
    max-height: 600px;
    background: #FAFBFC;
}

.cs-timeline-date {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 20px 0;
}

/* Message Groups */
.cs-message-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.cs-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-message-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-message-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-message-sender {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
}

.cs-message-time {
    font-size: 12px;
    color: #94A3B8;
}

.cs-message-label {
    display: inline-block;
    padding: 4px 10px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    width: fit-content;
}

.cs-message-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #FEF3C7;
    color: #D97706;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    width: fit-content;
}

.cs-message-text {
    font-size: 14px;
    line-height: 1.6;
    color: #0F172A;
}

/* AI Response Card */
.cs-ai-response-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 16px;
}

.cs-ai-response-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.cs-ai-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #0F172A;
}

.cs-ai-sent {
    font-size: 11px;
    color: #64748B;
}

.cs-ai-time {
    font-size: 11px;
    color: #94A3B8;
    margin-left: auto;
}

.cs-ai-message {
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}

/* Property Card */
.cs-property-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
}

.cs-property-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #DBEAFE;
    border-radius: 6px;
}

.cs-property-info {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
    color: #1E40AF;
}

.cs-property-info strong {
    font-weight: 600;
}

.cs-property-details {
    margin-top: 8px;
    font-size: 12px;
}

.cs-property-status {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10B981;
    color: #FFFFFF;
    border-radius: 50%;
    font-size: 12px;
}

/* Inbox Sidebar */
.cs-inbox-sidebar {
    grid-column: 2 / 3;
    grid-row: 1 / -1;
    border-left: 1px solid #E2E8F0;
    background: #FFFFFF;
    padding: 24px;
    overflow-y: auto;
}

.cs-sidebar-section {
    margin-bottom: 24px;
}

.cs-sidebar-title {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 12px;
}

.cs-timeline-bars {
    display: flex;
    gap: 8px;
}

.cs-timeline-bar {
    flex: 1;
    height: 6px;
    background: #E2E8F0;
    border-radius: 3px;
}

.cs-timeline-bar.active {
    background: #3B82F6;
}

.cs-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #D1FAE5;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #065F46;
}

.cs-status-badge.positive svg circle {
    fill: #10B981;
}

.cs-status-description {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
}

.cs-subsection-title {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 8px;
}

.cs-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cs-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 12px;
    color: #475569;
}

.cs-conversation-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cs-preview-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
}

.cs-preview-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.cs-preview-image {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.cs-preview-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cs-preview-info strong {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
}

.cs-preview-info span {
    font-size: 12px;
    color: #64748B;
}

/* Responsive Design for CS Section */
@media (max-width: 1200px) {
    .cs-section-content {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 40px;
    }
    
    .cs-hero-title {
        font-size: 56px;
    }
    
    .cs-section-title {
        font-size: 48px;
    }
    
    .cs-inbox-interface {
        grid-template-columns: 1fr;
    }
    
    .cs-inbox-sidebar {
        grid-column: 1 / 2;
        grid-row: auto;
        border-left: none;
        border-top: 1px solid #E2E8F0;
    }
}

@media (max-width: 768px) {
    .cs-hero-title {
        font-size: 40px;
    }
    
    .cs-section-title {
        font-size: 36px;
    }
    
    .cs-metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .cs-workflow-bottom {
        grid-template-columns: 1fr;
    }
    
    .cs-section-wrapper {
        padding: 60px 0;
    }
}

/* Scroll Animation Enhancement */
@keyframes csFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-feature-section {
    animation: csFadeInUp 0.6s ease-out;
}
/* Production-Ready Agents Section Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Section */
.production-agents-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
    padding: 120px 40px;
    position: relative;
}

/* Section Container */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Feature Card */
.feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Card Visual */
.card-visual {
    padding: 32px 32px 24px 32px;
    background: #FAFBFC;
    border-bottom: 1px solid #E2E8F0;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Content */
.card-content {
    padding: 28px 32px 32px 32px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748B;
}

/* ========================================
   KNOWLEDGE BASE CARD
   ======================================== */
.knowledge-card {
    width: 100%;
    max-width: 520px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hotel-header {
    padding: 0;
}

.hotel-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.hotel-info {
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.hotel-name {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}

.hotel-address {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

/* Info Section */
.info-section {
    padding: 16px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
    color: #D97706;
}

.fill-btn {
    margin-left: auto;
    padding: 6px 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #0F172A;
    cursor: pointer;
    transition: all 0.2s;
}

.fill-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* Sources Section */
.sources-section {
    padding: 16px 24px;
}

.sources-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    display: block;
    margin-bottom: 12px;
}

.source-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.source-badge:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.source-badge.dim {
    color: #94A3B8;
}

.add-source-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 16px;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
}

.add-source-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* ========================================
   CONTEXT CARD (EMAIL COMPOSER)
   ======================================== */
.context-card {
    width: 100%;
    max-width: 540px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.email-compose {
    padding: 0;
}

.email-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
}

.recipient-field {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.field-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
}

.recipient {
    flex: 1;
    font-size: 14px;
    color: #0F172A;
    padding: 6px 10px;
    background: #F8FAFC;
    border-radius: 6px;
}

.close-btn {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    font-size: 20px;
    color: #94A3B8;
    cursor: pointer;
    line-height: 1;
}

.subject-field {
    margin-bottom: 8px;
}

.subject-input {
    width: 100%;
    padding: 8px 10px;
    border: none;
    font-size: 14px;
    color: #0F172A;
    background: transparent;
    outline: none;
}

.subject-input::placeholder {
    color: #CBD5E1;
}

.tip-field {
    margin-top: 4px;
}

.tip-text {
    font-size: 12px;
    color: #94A3B8;
}

/* Channel Selector */
.channel-selector {
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.channel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.channel-btn:first-child {
    background: #ECFDF5;
    border-color: #6EE7B7;
    color: #047857;
}

.channel-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* Compose Actions */
.compose-actions {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FAFBFC;
}

.action-icons {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.compose-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.via-email-btn {
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.via-email-btn:hover {
    background: #F8FAFC;
}

.send-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #0F172A;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
}

.send-btn:hover {
    background: #1E293B;
}

/* ========================================
   VOICE AI CARD
   ======================================== */
.voice-card {
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
}

.call-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.call-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border-radius: 8px;
}

.call-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
}

.call-time {
    font-size: 13px;
    color: #64748B;
}

/* Call Player */
.call-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #FAFBFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin-bottom: 20px;
}

.play-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF7ED;
    border: 1px solid #FDBA74;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.play-btn:hover {
    background: #FFEDD5;
}

.waveform {
    flex: 1;
    height: 32px;
    background: #E2E8F0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.waveform-progress {
    height: 100%;
    background: linear-gradient(90deg, #FB923C 0%, #F97316 100%);
    transition: width 0.1s linear;
}

.duration {
    font-size: 12px;
    color: #64748B;
    white-space: nowrap;
}

.speed-btn {
    padding: 4px 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}

.download-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.download-btn:hover {
    background: #F8FAFC;
}

/* Call Summary */
.call-summary-section {
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

.summary-title {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 10px;
}

.summary-text {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* ========================================
   POLICY COMPLIANT CARD
   ======================================== */
.policy-card {
    width: 100%;
    max-width: 520px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.check-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-title {
    font-size: 16px;
    font-weight: 600;
    color: #0F172A;
}

.check-condition {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

.check-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #FAFBFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.action-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.action-text {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

/* ========================================
   CUSTOM TOOLS CARD
   ======================================== */
.tools-card {
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

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

.loading-text {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.tool-result {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    border-radius: 10px;
}

.result-icon {
    flex-shrink: 0;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-title {
    font-size: 14px;
    font-weight: 600;
    color: #065F46;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item {
    font-size: 12px;
    line-height: 1.5;
    color: #047857;
}

.detail-item strong {
    font-weight: 600;
}

.result-check {
    flex-shrink: 0;
}

/* ========================================
   STRESS TEST CARD
   ======================================== */
.stress-test-card {
    width: 100%;
    max-width: 540px;
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.test-result {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.test-result.failed {
    border-color: #FCA5A5;
    background: #FEF2F2;
}

.test-result.passed {
    border-color: #86EFAC;
    background: #F0FDF4;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.test-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.test-result.failed .test-status {
    background: #FEE2E2;
    color: #DC2626;
}

.test-result.passed .test-status.success {
    background: #D1FAE5;
    color: #059669;
}

.test-date {
    font-size: 11px;
    color: #94A3B8;
}

.test-title {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}

.test-text {
    font-size: 12px;
    line-height: 1.5;
    color: #64748B;
    margin: 0 0 10px 0;
}

.eval-title {
    font-size: 12px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.eval-text {
    font-size: 11px;
    line-height: 1.5;
    color: #64748B;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .production-agents-section {
        padding: 80px 24px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .card-visual {
        padding: 24px;
        min-height: 280px;
    }
    
    .test-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-description {
        font-size: 14px;
    }
}
/* Main Section */
.integrations-section {
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 140px 40px 160px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.integrations-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.integrations-header {
    text-align: center;
    margin-bottom: 100px;
}

.integrations-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.integrations-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* Logo Grid Wrapper */
.logo-grid-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    position: relative;
}

/* Logo Card */
.logo-card {
    aspect-ratio: 1;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #CBD5E1;
}

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

/* Highlight Card (Relayo) */
.logo-card.highlight {
    background: linear-gradient(135deg, #3B5BFF 0%, #2A4BEF 100%);
    border: none;
    box-shadow:
        0 4px 12px rgba(59, 91, 255, 0.25),
        0 10px 30px rgba(59, 91, 255, 0.15);
}

.logo-card.highlight:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 8px 20px rgba(59, 91, 255, 0.35),
        0 20px 50px rgba(59, 91, 255, 0.25);
}

/* Logo Icon */
.logo-icon {
    width: 60%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Relayo Logo Special Styling */
.relayo-logo {
    width: 100%;
    height: 100%;
}

.relayo-logo svg {
    width: 100%;
    height: 100%;
}

/* Individual Logo Adjustments */
.slack svg {
    width: 80%;
    height: 80%;
}

.notion svg {
    width: 70%;
    height: 70%;
}

.salesforce svg {
    width: 75%;
    height: 75%;
}

.google-drive svg {
    width: 75%;
    height: 75%;
}

.gmail svg {
    width: 75%;
    height: 75%;
}

.twilio svg {
    width: 85%;
    height: 85%;
}

.calendly svg {
    width: 85%;
    height: 85%;
}

.gcal svg {
    width: 75%;
    height: 75%;
}

.whatsapp svg {
    width: 85%;
    height: 85%;
}

.n8n svg {
    width: 75%;
    height: 75%;
}

.zapier svg {
    width: 75%;
    height: 75%;
}

.shopify svg {
    width: 70%;
    height: 70%;
}

.stripe svg {
    width: 70%;
    height: 70%;
}

.hubspot svg {
    width: 85%;
    height: 85%;
}

/* Staggered Animation on Load */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-card {
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

/* Staggered delays for each card */
.logo-card:nth-child(1) { animation-delay: 0.05s; }
.logo-card:nth-child(2) { animation-delay: 0.10s; }
.logo-card:nth-child(3) { animation-delay: 0.15s; }
.logo-card:nth-child(4) { animation-delay: 0.20s; }
.logo-card:nth-child(5) { animation-delay: 0.25s; }
.logo-card:nth-child(6) { animation-delay: 0.30s; }
.logo-card:nth-child(7) { animation-delay: 0.35s; }
.logo-card:nth-child(8) { animation-delay: 0.40s; }
.logo-card:nth-child(9) { animation-delay: 0.45s; }
.logo-card:nth-child(10) { animation-delay: 0.50s; }
.logo-card:nth-child(11) { animation-delay: 0.55s; }
.logo-card:nth-child(12) { animation-delay: 0.60s; }
.logo-card:nth-child(13) { animation-delay: 0.65s; }
.logo-card:nth-child(14) { animation-delay: 0.70s; }

/* Hover Effects for Group */
.logo-grid:hover .logo-card:not(:hover) {
    opacity: 0.6;
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logo-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 18px;
    }
    
    .integrations-title {
        font-size: 56px;
    }
}

@media (max-width: 1024px) {
    .logo-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    
    .integrations-title {
        font-size: 48px;
    }
    
    .integrations-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .integrations-section {
        padding: 100px 24px 120px 24px;
    }
    
    .integrations-header {
        margin-bottom: 70px;
    }
    
    .integrations-title {
        font-size: 40px;
    }
    
    .integrations-subtitle {
        font-size: 16px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .integrations-section {
        padding: 80px 20px 100px 20px;
    }
    
    .integrations-title {
        font-size: 32px;
    }
    
    .integrations-subtitle {
        font-size: 15px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .logo-card {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .integrations-title {
        font-size: 28px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    .integrations-section {
        padding: 40px 20px;
    }
    
    .logo-card {
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-card {
        animation: none;
        transition: none;
    }
    
    .logo-card:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .logo-card {
        border-width: 2px;
        border-color: #000;
    }
    
    .logo-card:hover {
        border-color: #0066FF;
    }
}

/* Dark Mode Support */
/* Dark Mode Disabled - Keep White Background */
@media (prefers-color-scheme: dark) {
    .integrations-section {
        background: #FFFFFF;
    }

    .integrations-title {
        color: #0F172A;
    }

    .integrations-subtitle {
        color: #64748B;
    }

    .logo-card {
        background: #F8F9FA;
        border-color: #E8EAED;
    }

    .logo-card:hover {
        background: #FFFFFF;
        border-color: #D1D5DB;
    }
}

/* Loading State */
.logo-grid.loading .logo-card {
    background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Focus Styles for Accessibility */
.logo-card:focus-visible {
    outline: 3px solid #0066FF;
    outline-offset: 4px;
}

/* Tooltip on Hover (Optional Enhancement) */
.logo-card[data-name]::after {
    content: attr(data-name);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.logo-card[data-name]:hover::after {
    opacity: 1;
}


/* Main Section */
.integrations-section {
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 140px 40px 160px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.integrations-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.integrations-header {
    text-align: center;
    margin-bottom: 100px;
}

.integrations-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.integrations-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* Logo Grid Wrapper */
.logo-grid-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 20px;
    position: relative;
}

/* Logo Card */
.logo-card {
    aspect-ratio: 1;
    background: #F8F9FA;
    border: 1px solid #E8EAED;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    box-shadow: none;
}

.logo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #D1D5DB;
    background: #FFFFFF;
}

.logo-card:hover::before {
    opacity: 0;
}

/* Highlight Card (Relayo) */
.logo-card.highlight {
    background: linear-gradient(135deg, #3B5BFF 0%, #2A4BEF 100%);
    border: none;
    box-shadow:
        0 4px 12px rgba(59, 91, 255, 0.25),
        0 10px 30px rgba(59, 91, 255, 0.15);
}

.logo-card.highlight:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 8px 20px rgba(59, 91, 255, 0.35),
        0 20px 50px rgba(59, 91, 255, 0.25);
}

/* Logo Icon */
.logo-icon {
    width: 60%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.25s ease;
}

.logo-card:hover .logo-icon svg {
    filter: grayscale(100%);
    opacity: 0.7;
}

/* Remove grayscale from Relayo logo */
.logo-card.highlight .logo-icon svg {
    filter: none;
    opacity: 1;
}

/* Relayo Logo Special Styling */
.relayo-logo {
    width: 100%;
    height: 100%;
}

.relayo-logo svg {
    width: 100%;
    height: 100%;
}

/* Individual Logo Adjustments */
.slack svg {
    width: 80%;
    height: 80%;
}

.notion svg {
    width: 70%;
    height: 70%;
}

.salesforce svg {
    width: 75%;
    height: 75%;
}

.google-drive svg {
    width: 75%;
    height: 75%;
}

.gmail svg {
    width: 75%;
    height: 75%;
}

.twilio svg {
    width: 85%;
    height: 85%;
}

.calendly svg {
    width: 85%;
    height: 85%;
}

.gcal svg {
    width: 75%;
    height: 75%;
}

.whatsapp svg {
    width: 85%;
    height: 85%;
}

.n8n svg {
    width: 75%;
    height: 75%;
}

.zapier svg {
    width: 75%;
    height: 75%;
}

.shopify svg {
    width: 70%;
    height: 70%;
}

.stripe svg {
    width: 70%;
    height: 70%;
}

.hubspot svg {
    width: 85%;
    height: 85%;
}

/* Staggered Animation on Load */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.logo-card {
    animation: fadeInScale 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

/* Staggered delays for each card */
.logo-card:nth-child(1) { animation-delay: 0.05s; }
.logo-card:nth-child(2) { animation-delay: 0.10s; }
.logo-card:nth-child(3) { animation-delay: 0.15s; }
.logo-card:nth-child(4) { animation-delay: 0.20s; }
.logo-card:nth-child(5) { animation-delay: 0.25s; }
.logo-card:nth-child(6) { animation-delay: 0.30s; }
.logo-card:nth-child(7) { animation-delay: 0.35s; }
.logo-card:nth-child(8) { animation-delay: 0.40s; }
.logo-card:nth-child(9) { animation-delay: 0.45s; }
.logo-card:nth-child(10) { animation-delay: 0.50s; }
.logo-card:nth-child(11) { animation-delay: 0.55s; }
.logo-card:nth-child(12) { animation-delay: 0.60s; }
.logo-card:nth-child(13) { animation-delay: 0.65s; }
.logo-card:nth-child(14) { animation-delay: 0.70s; }

/* Hover Effects for Group */
.logo-grid:hover .logo-card:not(:hover) {
    opacity: 0.6;
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logo-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 18px;
    }
    
    .integrations-title {
        font-size: 56px;
    }
}

@media (max-width: 1024px) {
    .logo-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
    
    .integrations-title {
        font-size: 48px;
    }
    
    .integrations-subtitle {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .integrations-section {
        padding: 100px 24px 120px 24px;
    }
    
    .integrations-header {
        margin-bottom: 70px;
    }
    
    .integrations-title {
        font-size: 40px;
    }
    
    .integrations-subtitle {
        font-size: 16px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .integrations-section {
        padding: 80px 20px 100px 20px;
    }
    
    .integrations-title {
        font-size: 32px;
    }
    
    .integrations-subtitle {
        font-size: 15px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .logo-card {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .integrations-title {
        font-size: 28px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Print Styles */
@media print {
    .integrations-section {
        padding: 40px 20px;
    }
    
    .logo-card {
        break-inside: avoid;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-card {
        animation: none;
        transition: none;
    }
    
    .logo-card:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .logo-card {
        border-width: 2px;
        border-color: #000;
    }
    
    .logo-card:hover {
        border-color: #0066FF;
    }
}

/* Dark Mode Support */
/* Dark Mode Disabled - Keep White Background */
@media (prefers-color-scheme: dark) {
    .integrations-section {
        background: #FFFFFF;
    }

    .integrations-title {
        color: #0F172A;
    }

    .integrations-subtitle {
        color: #64748B;
    }

    .logo-card {
        background: #F8F9FA;
        border-color: #E8EAED;
    }

    .logo-card:hover {
        background: #FFFFFF;
        border-color: #D1D5DB;
    }
}

/* Loading State */
.logo-grid.loading .logo-card {
    background: linear-gradient(90deg, #F1F5F9 0%, #E2E8F0 50%, #F1F5F9 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Focus Styles for Accessibility */
.logo-card:focus-visible {
    outline: 3px solid #0066FF;
    outline-offset: 4px;
}

/* Tooltip on Hover (Optional Enhancement) */
.logo-card[data-name]::after {
    content: attr(data-name);
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: #0F172A;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.logo-card[data-name]:hover::after {
    opacity: 1;
}


@keyframes csFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-feature-section {
    animation: csFadeInUp 0.6s ease-out;
}
/* Main Section */
.integrations-section {
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 140px 40px 160px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.integrations-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.integrations-header {
    text-align: center;
    margin-bottom: 100px;
}

.integrations-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.integrations-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* Logo Grid Wrapper */
.logo-grid-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Logo Grid - 8 Column Layout like Conduit */
.logo-grid-conduit {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

/* Regular Logo Card */
.logo-card {
    aspect-ratio: 1;
    background: #F7F8F9;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.logo-card:hover {
    background: #FFFFFF;
    border-color: #D1D5DB;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Logo Images - Grayscale by default */
.logo-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.logo-card:hover .logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CENTER BIG LOGO - Spans 2x2 */
.logo-card-center {
    grid-column: 4 / 6;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #3B5BFF 0%, #2A4BEF 100%);
    border: none;
    box-shadow: 
        0 4px 16px rgba(59, 91, 255, 0.2),
        0 12px 32px rgba(59, 91, 255, 0.15);
    padding: 0;
}

.logo-card-center:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(59, 91, 255, 0.25),
        0 16px 48px rgba(59, 91, 255, 0.2);
}

/* Relayo Big Logo Text */
.relayo-logo-big {
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: -0.02em;
}

/* Tooltip on Hover */
.logo-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: #1F2937;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.logo-card:hover::after {
    opacity: 1;
}

/* Remove tooltip from center logo or keep it */
.logo-card-center::after {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logo-grid-conduit {
        grid-template-columns: repeat(7, 1fr);
        gap: 18px;
    }
    
    .integrations-title {
        font-size: 56px;
    }
}

@media (max-width: 1024px) {
    .logo-grid-conduit {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
    
    .logo-card-center {
        grid-column: 3 / 5;
    }
    
    .integrations-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .integrations-section {
        padding: 100px 24px 120px 24px;
    }
    
    .integrations-header {
        margin-bottom: 70px;
    }
    
    .integrations-title {
        font-size: 40px;
    }
    
    .logo-grid-conduit {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    
    .logo-card-center {
        grid-column: 2 / 4;
        grid-row: 1 / 3;
    }
    
    .relayo-logo-big {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .integrations-section {
        padding: 80px 20px 100px 20px;
    }
    
    .integrations-title {
        font-size: 32px;
    }
    
    .logo-grid-conduit {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .logo-card-center {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    
    .relayo-logo-big {
        font-size: 28px;
    }
}

/* Dark Mode Override - Keep White */
@media (prefers-color-scheme: dark) {
    .integrations-section {
        background: #FFFFFF;
    }
    
    .integrations-title {
        color: #0F172A;
    }
    
    .integrations-subtitle {
        color: #64748B;
    }
    
    .logo-card {
        background: #F7F8F9;
        border-color: #E5E7EB;
    }
    
    .logo-card:hover {
        background: #FFFFFF;
        border-color: #D1D5DB;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-card,
    .logo-img {
        transition: none;
    }
    
    .logo-card:hover {
        transform: none;
    }
}

/* Force Relayo Logo to Display */
.logo-card-center .relayo-logo-big {
    display: block !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    letter-spacing: -0.02em !important;
}

.logo-grid-conduit .logo-card-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


@keyframes csFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cs-feature-section {
    animation: csFadeInUp 0.6s ease-out;
}
/* ===================================
   INTEGRATIONS SECTION - CONDUIT STYLE
   =================================== */

/* Main Section */
.integrations-section {
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 140px 40px 160px 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container */
.integrations-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.integrations-header {
    text-align: center;
    margin-bottom: 100px;
}

.integrations-title {
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.integrations-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* Logo Grid Wrapper */
.logo-grid-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Logo Grid - 8 Column Layout like Conduit */
.logo-grid-conduit {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

/* Regular Logo Card */
.logo-card {
    aspect-ratio: 1;
    background: #F7F8F9;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.logo-card:hover {
    background: #FFFFFF;
    border-color: #D1D5DB;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Logo Images - Grayscale by default */
.logo-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.logo-card:hover .logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CENTER BIG LOGO - Spans 2x2 */
.logo-card-center {
    grid-column: 4 / 6;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #3B5BFF 0%, #2A4BEF 100%);
    border: none;
    box-shadow: 
        0 4px 16px rgba(59, 91, 255, 0.2),
        0 12px 32px rgba(59, 91, 255, 0.15);
    padding: 0;
}

.logo-card-center:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(59, 91, 255, 0.25),
        0 16px 48px rgba(59, 91, 255, 0.2);
}

/* Relayo Big Logo Text */
.relayo-logo-big {
    font-size: 56px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: system-ui, -apple-system, sans-serif;
    letter-spacing: -0.02em;
}

/* Tooltip on Hover */
.logo-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: #1F2937;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.logo-card:hover::after {
    opacity: 1;
}

/* Remove tooltip from center logo or keep it */
.logo-card-center::after {
    display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .logo-grid-conduit {
        grid-template-columns: repeat(7, 1fr);
        gap: 18px;
    }
    
    .integrations-title {
        font-size: 56px;
    }
}

@media (max-width: 1024px) {
    .logo-grid-conduit {
        grid-template-columns: repeat(6, 1fr);
        gap: 16px;
    }
    
    .logo-card-center {
        grid-column: 3 / 5;
    }
    
    .integrations-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .integrations-section {
        padding: 100px 24px 120px 24px;
    }
    
    .integrations-header {
        margin-bottom: 70px;
    }
    
    .integrations-title {
        font-size: 40px;
    }
    
    .logo-grid-conduit {
        grid-template-columns: repeat(4, 1fr);
        gap: 14px;
    }
    
    .logo-card-center {
        grid-column: 2 / 4;
        grid-row: 1 / 3;
    }
    
    .relayo-logo-big {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .integrations-section {
        padding: 80px 20px 100px 20px;
    }
    
    .integrations-title {
        font-size: 32px;
    }
    
    .logo-grid-conduit {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .logo-card-center {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
    
    .relayo-logo-big {
        font-size: 28px;
    }
}

/* Dark Mode Override - Keep White */
@media (prefers-color-scheme: dark) {
    .integrations-section {
        background: #FFFFFF;
    }
    
    .integrations-title {
        color: #0F172A;
    }
    
    .integrations-subtitle {
        color: #64748B;
    }
    
    .logo-card {
        background: #F7F8F9;
        border-color: #E5E7EB;
    }
    
    .logo-card:hover {
        background: #FFFFFF;
        border-color: #D1D5DB;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-card,
    .logo-img {
        transition: none;
    }
    
    .logo-card:hover {
        transform: none;
    }
}

/* Force Relayo Logo to Display */
.logo-card-center .relayo-logo-big {
    display: block !important;
    font-size: 56px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    font-family: system-ui, -apple-system, sans-serif !important;
    letter-spacing: -0.02em !important;
}

.logo-grid-conduit .logo-card-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Production-Ready Agents Section Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Section */
.production-agents-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
    padding: 120px 40px;
    position: relative;
}

/* Section Container */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.1;
    color: #0F172A;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

/* Feature Card */
.feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Card Visual */
.card-visual {
    padding: 32px 32px 24px 32px;
    background: #FAFBFC;
    border-bottom: 1px solid #E2E8F0;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Content */
.card-content {
    padding: 28px 32px 32px 32px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748B;
}

/* ========================================
   KNOWLEDGE BASE CARD
   ======================================== */
.knowledge-card {
    width: 100%;
    max-width: 520px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hotel-header {
    padding: 0;
}

.hotel-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.hotel-info {
    padding: 20px 24px 16px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.hotel-name {
    font-size: 18px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}

.hotel-address {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

/* Info Section */
.info-section {
    padding: 16px 24px;
    border-bottom: 1px solid #E2E8F0;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
}

.progress-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.progress-text {
    font-size: 12px;
    font-weight: 600;
    color: #D97706;
}

.fill-btn {
    margin-left: auto;
    padding: 6px 12px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #0F172A;
    cursor: pointer;
    transition: all 0.2s;
}

.fill-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* Sources Section */
.sources-section {
    padding: 16px 24px;
}

.sources-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    display: block;
    margin-bottom: 12px;
}

.source-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    transition: all 0.2s;
}

.source-badge:hover {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.source-badge.dim {
    color: #94A3B8;
}

.add-source-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    font-size: 16px;
    color: #64748B;
    cursor: pointer;
    transition: all 0.2s;
}

.add-source-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* ========================================
   CONTEXT CARD (EMAIL COMPOSER)
   ======================================== */
.context-card {
    width: 100%;
    max-width: 540px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.email-compose {
    padding: 0;
}

.email-header {
    padding: 16px 20px;
    border-bottom: 1px solid #E2E8F0;
}

.recipient-field {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.field-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
}

.recipient {
    flex: 1;
    font-size: 14px;
    color: #0F172A;
    padding: 6px 10px;
    background: #F8FAFC;
    border-radius: 6px;
}

.close-btn {
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    font-size: 20px;
    color: #94A3B8;
    cursor: pointer;
    line-height: 1;
}

.subject-field {
    margin-bottom: 8px;
}

.subject-input {
    width: 100%;
    padding: 8px 10px;
    border: none;
    font-size: 14px;
    color: #0F172A;
    background: transparent;
    outline: none;
}

.subject-input::placeholder {
    color: #CBD5E1;
}

.tip-field {
    margin-top: 4px;
}

.tip-text {
    font-size: 12px;
    color: #94A3B8;
}

/* Channel Selector */
.channel-selector {
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #E2E8F0;
}

.channel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.channel-btn:first-child {
    background: #ECFDF5;
    border-color: #6EE7B7;
    color: #047857;
}

.channel-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

/* Compose Actions */
.compose-actions {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FAFBFC;
}

.action-icons {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.compose-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.via-email-btn {
    padding: 8px 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.via-email-btn:hover {
    background: #F8FAFC;
}

.send-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #0F172A;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
}

.send-btn:hover {
    background: #1E293B;
}

/* ========================================
   VOICE AI CARD
   ======================================== */
.voice-card {
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
}

.call-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.call-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8FAFC;
    border-radius: 8px;
}

.call-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
}

.call-time {
    font-size: 13px;
    color: #64748B;
}

/* Call Player */
.call-player {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #FAFBFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    margin-bottom: 20px;
}

.play-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF7ED;
    border: 1px solid #FDBA74;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.play-btn:hover {
    background: #FFEDD5;
}

.waveform {
    flex: 1;
    height: 32px;
    background: #E2E8F0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.waveform-progress {
    height: 100%;
    background: linear-gradient(90deg, #FB923C 0%, #F97316 100%);
    transition: width 0.1s linear;
}

.duration {
    font-size: 12px;
    color: #64748B;
    white-space: nowrap;
}

.speed-btn {
    padding: 4px 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}

.download-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.download-btn:hover {
    background: #F8FAFC;
}

/* Call Summary */
.call-summary-section {
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

.summary-title {
    font-size: 14px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 10px;
}

.summary-text {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

/* ========================================
   POLICY COMPLIANT CARD
   ======================================== */
.policy-card {
    width: 100%;
    max-width: 520px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.check-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-title {
    font-size: 16px;
    font-weight: 600;
    color: #0F172A;
}

.check-condition {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    margin: 0;
}

.check-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: #FAFBFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.action-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.action-text {
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

/* ========================================
   CUSTOM TOOLS CARD
   ======================================== */
.tools-card {
    width: 100%;
    max-width: 500px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tool-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

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

.loading-text {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.tool-result {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: #F0FDF4;
    border: 1px solid #86EFAC;
    border-radius: 10px;
}

.result-icon {
    flex-shrink: 0;
}

.result-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.result-title {
    font-size: 14px;
    font-weight: 600;
    color: #065F46;
}

.result-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-item {
    font-size: 12px;
    line-height: 1.5;
    color: #047857;
}

.detail-item strong {
    font-weight: 600;
}

.result-check {
    flex-shrink: 0;
}

/* ========================================
   STRESS TEST CARD
   ======================================== */
.stress-test-card {
    width: 100%;
    max-width: 540px;
}

.test-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.test-result {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.test-result.failed {
    border-color: #FCA5A5;
    background: #FEF2F2;
}

.test-result.passed {
    border-color: #86EFAC;
    background: #F0FDF4;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.test-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.test-result.failed .test-status {
    background: #FEE2E2;
    color: #DC2626;
}

.test-result.passed .test-status.success {
    background: #D1FAE5;
    color: #059669;
}

.test-date {
    font-size: 11px;
    color: #94A3B8;
}

.test-title {
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 6px;
}

.test-text {
    font-size: 12px;
    line-height: 1.5;
    color: #64748B;
    margin: 0 0 10px 0;
}

.eval-title {
    font-size: 12px;
    font-weight: 600;
    color: #0F172A;
    margin-bottom: 4px;
}

.eval-text {
    font-size: 11px;
    line-height: 1.5;
    color: #64748B;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .production-agents-section {
        padding: 80px 24px;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .card-visual {
        padding: 24px;
        min-height: 280px;
    }
    
    .test-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-description {
        font-size: 14px;
    }
}
