/* ============================================================
   Cloudspire.ai — Dark Glassmorphism Theme
   Navy + Purple + Blue palette | 2026 AI company aesthetic
   ============================================================ */

/* ----- 1. Custom Properties ----- */
:root {
  /* Core palette */
  --bg-deep:        #050510;
  --bg-primary:     #0a0a1a;
  --bg-surface:     #0f0f23;
  --bg-raised:      #161630;
  --bg-card:        rgba(15, 15, 35, 0.6);
  --border-subtle:  rgba(139, 92, 246, 0.15);
  --border-glow:    rgba(99, 102, 241, 0.3);

  /* Accent colors */
  --purple:         #7c3aed;
  --purple-light:   #a78bfa;
  --blue:           #2563eb;
  --blue-light:     #60a5fa;
  --cyan:           #06b6d4;
  --cyan-light:     #22d3ee;
  --brand-blue:     #0056b8;
  --green:          #94d60a;
  --color-problem:  #a78bfa;

  /* Gradients */
  --gradient-primary:   linear-gradient(135deg, #7c3aed 0%, #2563eb 50%, #06b6d4 100%);
  --gradient-hero:      linear-gradient(160deg, #0a0a1a 0%, #0f0525 30%, #0a0a1a 60%, #050a20 100%);
  --gradient-section:   linear-gradient(180deg, #0a0a1a 0%, #0f0f23 50%, #0a0a1a 100%);
  --gradient-cta:       linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --gradient-glow:      linear-gradient(135deg, rgba(124,58,237,0.4) 0%, rgba(37,99,235,0.4) 100%);

  /* Text */
  --text-primary:   #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;

  /* Typography */
  --font-primary:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-pad:    6rem 0;
  --container-max:  1200px;
  --container-wide: 1400px;
  --gap:            2rem;
  --radius:         16px;
  --radius-sm:      10px;
  --radius-pill:    100px;

  /* Transitions */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --transition:     0.3s var(--ease-out);
}


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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cyan-light);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--purple-light);
}

ul, ol { list-style: none; }

::selection {
  background: rgba(124, 58, 237, 0.4);
  color: var(--text-primary);
}


/* ----- SVG Icons (Lucide) ----- */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}


/* ----- 3. Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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: clamp(1.25rem, 2vw, 1.5rem); }

p {
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 65ch;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-pill);
}


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

.container--wide {
  max-width: var(--container-wide);
}

section {
  padding: var(--section-pad);
  position: relative;
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

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

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}


/* ----- 5. Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(5, 5, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text-primary);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

.nav__cta {
  flex-shrink: 0;
}

/* Mobile menu */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__toggle { display: block; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(5, 5, 16, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 1px solid var(--border-subtle);
    transition: right var(--transition);
    padding: 2rem;
  }

  .nav__links.open {
    right: 0;
  }

  .nav__links a {
    font-size: 1.1rem;
  }

  .nav__cta--desktop { display: none; }
}

@media (min-width: 769px) {
  .nav__cta--mobile { display: none; }
}


/* ----- 6. Buttons & CTAs ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--gradient-cta);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--purple-light);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn svg,
.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover svg,
.btn:hover .arrow {
  transform: translateX(3px);
}


/* ----- 7. Hero Section ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(
    135deg,
    #0c0018 0%,
    #102250 20%,
    #0c0c35 40%,
    #1a0830 60%,
    #081d40 80%,
    #0c0018 100%
  );
  background-size: 400% 400%;
  animation: heroGradient 20s ease infinite;
  overflow: hidden;
  padding-top: 80px;
}

@keyframes heroGradient {
  0%   { background-position: 0% 50%; }
  25%  { background-position: 100% 0%; }
  50%  { background-position: 100% 100%; }
  75%  { background-position: 0% 100%; }
  100% { background-position: 0% 50%; }
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 0 80px rgba(124, 58, 237, 0.25), 0 0 40px rgba(37, 99, 235, 0.12);
}

.hero h1 .rotating-text {
  display: inline-block;
  position: relative;
  text-align: center;
}

.hero h1 .rotating-text .word {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: absolute;
  left: 0;
  opacity: 0;
}

.hero h1 .rotating-text .word.active {
  opacity: 1;
  position: relative;
}

/* Roll-in per-character wrappers */
.hero h1 .rotating-text .word .char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.hero h1 .rotating-text .word .char {
  display: inline-block;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(110%);
  transition: transform 0.45s var(--ease-out);
}

.hero h1 .rotating-text .word .char.in {
  transform: translateY(0);
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Staggered entrance on page load */
.hero__content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s var(--ease-out) forwards;
}
.hero__content > *:nth-child(1) { animation-delay: 0.1s; }
.hero__content > *:nth-child(2) { animation-delay: 0.3s; }
.hero__content > *:nth-child(3) { animation-delay: 0.5s; }
.hero__content > *:nth-child(4) { animation-delay: 0.7s; }

@keyframes heroEntrance {
  to { opacity: 1; transform: translateY(0); }
}

/* Aurora glow — strong radial gradients */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  width: 1300px;
  height: 1000px;
  top: -15%;
  left: -10%;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.9) 0%,
    rgba(99, 102, 241, 0.5) 30%,
    rgba(37, 99, 235, 0.25) 50%,
    transparent 68%
  );
  animation: aurora1 18s ease-in-out infinite alternate;
}

.hero::after {
  width: 1200px;
  height: 900px;
  bottom: -10%;
  right: -10%;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 182, 212, 0.85) 0%,
    rgba(37, 99, 235, 0.45) 30%,
    rgba(6, 182, 212, 0.2) 50%,
    transparent 68%
  );
  animation: aurora2 22s ease-in-out infinite alternate;
}

@keyframes aurora1 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(100px, 60px) scale(1.2); }
  100% { transform: translate(-50px, -40px) scale(0.9); }
}

@keyframes aurora2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-80px, -50px) scale(1.15); }
  100% { transform: translate(60px, 40px) scale(0.95); }
}

/* Hero grid (disabled) */
.hero__grid {
  display: none;
}

/* Hero brand mark (oversized cloud icon) */
.hero__brand-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 520px;
  height: auto;
  aspect-ratio: 454 / 320;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  animation: brand-pulse 10s ease-in-out infinite;
  transition: translate 0.4s ease-out;
}

.hero__brand-mark svg {
  width: 100%;
  height: 100%;
}

@keyframes brand-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.15; }
  50%      { transform: translate(-50%, -50%) scale(1.06) rotate(2deg); opacity: 0.22; }
}

/* Sub-page orbs (reuse for non-home heroes) */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 12s ease-in-out infinite;
  pointer-events: none;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  bottom: -5%;
  left: -10%;
  animation-delay: -4s;
}

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

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


/* Sub-page hero (smaller) */
.hero--sub {
  min-height: 50vh;
  padding-top: 120px;
  padding-bottom: 4rem;
}

.hero--sub h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}


/* ----- 8. Logo Marquee ----- */
.marquee {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 15, 35, 0.3);
  overflow: hidden;
  position: relative;
}

/* Edge fade masks */
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(5, 5, 16, 1) 0%, transparent 100%);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(5, 5, 16, 1) 0%, transparent 100%);
}

.marquee__label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: none;
  position: relative;
  z-index: 3;
}

.marquee__track {
  display: flex;
  gap: 1.5rem;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.marquee__track:hover {
  animation-play-state: paused;
}

.marquee__track--reverse {
  animation: marquee-reverse 45s linear infinite;
  margin-top: 1rem;
}

.marquee__track--reverse:hover {
  animation-play-state: paused;
}

.marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 42px;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  background: rgba(124, 58, 237, 0.14);
  border: 1px solid rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Row 2 (capabilities) — cyan/blue tint */
.marquee__track--reverse .marquee__item {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.22);
}

.marquee__item .icon {
  width: 1.1em;
  height: 1.1em;
  opacity: 0.7;
}

.marquee__item:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.4);
  color: var(--text-primary);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.2);
}

.marquee__track--reverse .marquee__item:hover {
  background: rgba(6, 182, 212, 0.22);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 24px rgba(6, 182, 212, 0.2);
}

.marquee__item:hover .icon {
  opacity: 1;
}

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

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


/* ----- 9. Glassmorphism Cards ----- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, transparent 50%, rgba(6,182,212,0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(124, 58, 237, 0.1);
}

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

.glass-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(37,99,235,0.2) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  font-size: 1.5rem;
}

.glass-card__visual {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.06) 0%, rgba(37,99,235,0.04) 50%, rgba(6,182,212,0.03) 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  overflow: hidden;
}

.glass-card__illustration {
  width: 100%;
  height: 100%;
}

.glass-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.glass-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.glass-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cyan-light);
}

.glass-card__link .arrow {
  transition: transform var(--transition);
}

.glass-card:hover .glass-card__link .arrow {
  transform: translateX(4px);
}


/* ----- 10. Stats Section ----- */
.stats {
  background: var(--gradient-section);
  position: relative;
  overflow: hidden;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  padding: 2rem 1rem;
}

.stat__number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

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


/* ----- 11. Process / How It Works ----- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--cyan));
  opacity: 0.3;
}

.process__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  background: var(--gradient-cta);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.process__step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.process__step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-inline: auto;
  max-width: 300px;
}

@media (max-width: 768px) {
  .process__grid { grid-template-columns: 1fr; gap: 3rem; }
  .process__grid::before { display: none; }
}


/* ----- 12. Testimonials ----- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.testimonial-card__quote {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  position: relative;
  padding-top: 1rem;
}

.testimonial-card__quote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.testimonial-card__author {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.testimonial-card__role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

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


/* ----- 13. Industries ----- */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.industry-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.industry-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-inline: auto;
}

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

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


/* ----- 14. CTA Banner ----- */
.cta-banner {
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.15) 0%, rgba(37,99,235,0.15) 50%, rgba(6,182,212,0.15) 100%);
  pointer-events: none;
}

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

.cta-banner h2 {
  margin-bottom: 1rem;
}

.cta-banner p {
  margin-inline: auto;
  margin-bottom: 2rem;
}


/* ----- 15. Footer ----- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 300px;
}

.footer__brand img {
  height: 36px;
}

.footer__col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.footer__col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--text-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(100, 116, 139, 0.15);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.footer__social a svg {
  width: 20px;
  height: 20px;
}

.footer__social a:hover {
  color: var(--cyan-light);
}

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}


/* ----- 16. Solutions Page ----- */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.solution-block:nth-child(even) {
  direction: rtl;
}

.solution-block:nth-child(even) > * {
  direction: ltr;
}

.solution-block__content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.solution-block__content p {
  margin-bottom: 1.5rem;
}

.solution-block__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solution-block__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.solution-block__features li .check {
  color: var(--cyan-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-block__visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated visual elements for solution blocks */
.visual-anim {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.visual-anim__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.5;
  animation: float 8s ease-in-out infinite;
}

.visual-anim__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  z-index: 2;
}

.visual-anim__mockup {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.visual-anim__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.visual-anim__lines span {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0.3;
  animation: scanline 4s ease-in-out infinite;
}

@keyframes scanline {
  0%, 100% { transform: translateX(-100%); opacity: 0; }
  50% { transform: translateX(100%); opacity: 0.3; }
}

@media (max-width: 768px) {
  .solution-block,
  .solution-block:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }
}


/* ----- 17. Compliance Badges ----- */
.compliance__grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.compliance-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  min-width: 140px;
  transition: all var(--transition);
}

.compliance-badge:hover {
  border-color: var(--border-glow);
}

.compliance-badge__icon {
  font-size: 2rem;
}

.compliance-badge__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.compliance-badge__desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}


/* ----- 18. Integration Grid ----- */
.integration-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.integration-item:hover {
  border-color: var(--border-glow);
  color: var(--text-primary);
}

.integration-item__icon {
  font-size: 1.2rem;
}

.integration-item__logo {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}


/* ----- 19. About Page ----- */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: none;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

.value-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-inline: auto;
}

.offices__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.office-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.office-card h4 {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.office-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .values__grid { grid-template-columns: repeat(2, 1fr); }
  .offices__grid { grid-template-columns: 1fr; }
}

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


/* ----- 20. Contact Page ----- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 12px;
  padding-right: 2.5rem;
}

.form-group select option {
  background: var(--bg-surface);
  color: var(--text-primary);
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  display: none;
}

.form-status--success {
  display: block;
  background: rgba(148, 214, 10, 0.1);
  border: 1px solid rgba(148, 214, 10, 0.3);
  color: var(--green);
}

.form-status--error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.contact-info__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}

.contact-info__item:not(:last-child) {
  border-bottom: 1px solid rgba(100, 116, 139, 0.1);
}

.contact-info__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info__text p,
.contact-info__text a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info__text a:hover {
  color: var(--cyan-light);
}

.ai-chat-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(6,182,212,0.1) 100%);
  border: 1px dashed var(--border-glow);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ai-chat-badge__icon {
  font-size: 1.5rem;
}

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


/* ----- 21. Scroll Reveal Animations ----- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* ----- 22. Utility ----- */
.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;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  border: none;
  margin: 0;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }

/* Problem section accent */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.problem-item {
  text-align: center;
  padding: 1.5rem;
}

.problem-item__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.problem-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-problem);
}

.problem-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-inline: auto;
}

.solution-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.solution-intro h3 {
  color: var(--cyan-light);
  margin-bottom: 1rem;
}

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


/* ----- 23. Demo Pages ----- */

/* Demo gallery — card listing */
.demo-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.demo-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
}

.demo-card:hover {
  color: inherit;
}

.demo-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(37,99,235,0.2) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  font-size: 1.75rem;
  flex-shrink: 0;
}

.demo-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.demo-card__company {
  font-size: 0.85rem;
  color: var(--purple-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  max-width: none;
}

.demo-card__body > p:last-of-type {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: none;
}

.demo-card__channels {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.channel-badge--chat {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--cyan-light);
}

.channel-badge--sms {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--blue-light);
}

.channel-badge--voice {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--purple-light);
}

.channel-badge--muted {
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.2);
  color: var(--text-muted);
}

.demo-card__cta {
  flex-shrink: 0;
}

.demo-card--coming-soon {
  opacity: 0.7;
}

.demo-card--coming-soon:hover {
  transform: none;
}

@media (max-width: 768px) {
  .demo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .demo-card__icon {
    margin: 0 auto;
  }

  .demo-card__channels {
    justify-content: center;
  }

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


/* Voice demo recordings */
.voice-demos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.voice-demo {
  padding: 2rem;
}

.voice-demo__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.voice-demo__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.2) 0%, rgba(37,99,235,0.2) 100%);
  border: 1px solid rgba(124, 58, 237, 0.2);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.voice-demo__icon--blue {
  background: linear-gradient(135deg, rgba(37,99,235,0.2) 0%, rgba(6,182,212,0.2) 100%);
  border-color: rgba(37, 99, 235, 0.2);
}

.voice-demo__icon--cyan {
  background: linear-gradient(135deg, rgba(6,182,212,0.2) 0%, rgba(124,58,237,0.2) 100%);
  border-color: rgba(6, 182, 212, 0.2);
}

.voice-demo__info {
  flex: 1;
  min-width: 0;
}

.voice-demo__info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.voice-demo__company {
  font-size: 0.8rem;
  color: var(--purple-light);
  font-weight: 600;
}

.voice-demo__duration {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--purple-light);
  flex-shrink: 0;
  white-space: nowrap;
}

.voice-demo__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: none;
}

.voice-demo audio {
  width: 100%;
  height: 44px;
  border-radius: 22px;
  outline: none;
}

/* Style native audio for dark theme */
.voice-demo audio::-webkit-media-controls-panel {
  background: rgba(15, 15, 35, 0.8);
}

@media (max-width: 768px) {
  .voice-demo__header {
    flex-wrap: wrap;
  }

  .voice-demo__duration {
    margin-left: auto;
  }
}

/* Light mode overrides for voice demos */
[data-theme="light"] .voice-demo__icon {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(37,99,235,0.08));
  border-color: rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .voice-demo__icon--blue {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.08));
  border-color: rgba(37, 99, 235, 0.12);
}

[data-theme="light"] .voice-demo__icon--cyan {
  background: linear-gradient(135deg, rgba(6,182,212,0.08), rgba(124,58,237,0.08));
  border-color: rgba(6, 182, 212, 0.12);
}

[data-theme="light"] .voice-demo__duration {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.15);
}


/* Demo detail page — back link */
.demo-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.demo-back-link:hover {
  color: var(--text-primary);
}


/* Demo about section */
.demo-about {
  max-width: 900px;
  margin: 0 auto;
}

.demo-about__intro {
  margin-bottom: 3rem;
}

.demo-about__intro p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: none;
}

.demo-about__capabilities h4 {
  margin-bottom: 1rem;
}

.demo-capabilities-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-capabilities-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.demo-capabilities-list li .check {
  color: var(--cyan-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}


/* Demo channels — three connection method cards */
.demo-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.demo-channel {
  display: flex;
  flex-direction: column;
}

.demo-channel:hover {
  transform: none;
}

.demo-channel__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.demo-channel__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.demo-channel__icon--chat {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--cyan-light);
}

.demo-channel__icon--sms {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--blue-light);
}

.demo-channel__icon--voice {
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--purple-light);
}

.demo-channel__subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  max-width: none;
}

.demo-channel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.demo-channel__body > p:first-child {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  max-width: none;
}

.demo-channel__action {
  margin-top: auto;
}

.demo-channel__tip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: none;
}

.demo-channel__tip .icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--purple-light);
}


/* Phone number display */
.demo-phone-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(37,99,235,0.08) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  text-align: center;
}

.demo-phone-number {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.demo-phone-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}


/* Web chat active state */
.demo-webchat-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-sm);
  text-align: center;
  color: var(--text-body);
}

.demo-webchat-active .icon {
  color: #7c3aed;
}

.demo-webchat-active p {
  font-size: 0.85rem;
  max-width: none;
}

.demo-webchat-active p strong {
  color: #a78bfa;
}


/* Demo scenarios — what to ask */
.demo-scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.demo-scenario {
  display: flex;
  flex-direction: column;
}

.demo-scenario:hover {
  transform: none;
}

.demo-scenario__header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.demo-scenario__header h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.demo-scenario__header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: none;
}

.demo-scenario__questions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.demo-scenario__questions li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}

.demo-scenario__questions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gradient-primary);
}


/* Pro tips box */
.demo-tips {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.demo-tips h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.demo-tips ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-tips li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}

.demo-tips li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-light);
}


/* Property cards grid */
.demo-properties {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.demo-property {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.demo-property:hover {
  transform: none;
}

.demo-property__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.demo-property__header h4 {
  font-size: 1.15rem;
}

.demo-property__badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--blue-light);
  white-space: nowrap;
}

.demo-property__badge--now {
  background: rgba(148, 214, 10, 0.1);
  border-color: rgba(148, 214, 10, 0.3);
  color: var(--green);
}

.demo-property__address {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: none;
}

.demo-property__address .icon {
  flex-shrink: 0;
  font-size: 0.9em;
}

.demo-property__details {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.demo-property__price {
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1rem;
}

.demo-property__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: none;
}

.demo-property__tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.demo-property__tags span {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  color: var(--text-muted);
}


/* Leasing quick facts */
.demo-lease-facts {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.demo-lease-facts h4 {
  margin-bottom: 1.25rem;
  text-align: center;
}

.demo-lease-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.demo-lease-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.75rem;
}

.demo-lease-fact__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.demo-lease-fact__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}


@media (max-width: 1024px) {
  .demo-channels { grid-template-columns: 1fr; }
  .demo-scenarios { grid-template-columns: 1fr; }
  .demo-properties { grid-template-columns: 1fr; }
  .demo-lease-facts__grid { grid-template-columns: repeat(2, 1fr); }
}


/* Light mode overrides for demo pages */
[data-theme="light"] .demo-card__icon {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(37,99,235,0.08));
  border-color: rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .channel-badge--chat {
  background: rgba(6, 182, 212, 0.06);
  border-color: rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .channel-badge--sms {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .channel-badge--voice {
  background: rgba(124, 58, 237, 0.06);
  border-color: rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .demo-channel__icon--chat {
  background: rgba(6, 182, 212, 0.08);
  border-color: rgba(6, 182, 212, 0.15);
}

[data-theme="light"] .demo-channel__icon--sms {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .demo-channel__icon--voice {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.15);
}

[data-theme="light"] .demo-phone-display {
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(37,99,235,0.04));
  border-color: rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .demo-webchat-active {
  background: rgba(124, 58, 237, 0.05);
  border-color: rgba(124, 58, 237, 0.25);
}

[data-theme="light"] .demo-webchat-active p strong {
  color: #7c3aed;
}

[data-theme="light"] .demo-tips,
[data-theme="light"] .demo-lease-facts {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .demo-property__tags span {
  background: rgba(124, 58, 237, 0.05);
  border-color: rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .demo-property__badge {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .demo-property__badge--now {
  background: rgba(148, 214, 10, 0.06);
  border-color: rgba(148, 214, 10, 0.2);
}


/* ----- 24. Prefers Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Keep hero entrance visible with reduced motion */
  .hero__content > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  html { scroll-behavior: auto; }

  .hero { animation: none; }
  .hero::before, .hero::after { animation: none; }
  .hero__orb { animation: none; opacity: 0.2; }
  .hero__brand-mark { animation: none; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-left { opacity: 1; transform: none; }
  .reveal-right { opacity: 1; transform: none; }
}


/* ============================================================
   24. Light Mode Theme
   All overrides scoped to [data-theme="light"].
   Dark theme (:root) is completely untouched above.
   ============================================================ */

/* ----- 24a. Smooth theme transitions (only after JS sets data-theme) ----- */
html[data-theme] body,
html[data-theme] .nav,
html[data-theme] .glass-card,
html[data-theme] .testimonial-card,
html[data-theme] .industry-card,
html[data-theme] .value-card,
html[data-theme] .office-card,
html[data-theme] .compliance-badge,
html[data-theme] .integration-item,
html[data-theme] .contact-info__card,
html[data-theme] .footer,
html[data-theme] .section-label,
html[data-theme] .marquee,
html[data-theme] .form-group input,
html[data-theme] .form-group textarea,
html[data-theme] .form-group select {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ----- 24b. Variable overrides ----- */
[data-theme="light"] {
  --bg-deep:        #f8f9fc;
  --bg-primary:     #ffffff;
  --bg-surface:     #f1f5f9;
  --bg-raised:      #e8edf4;
  --bg-card:        rgba(255, 255, 255, 0.7);

  --border-subtle:  rgba(99, 102, 241, 0.12);
  --border-glow:    rgba(99, 102, 241, 0.25);

  --text-primary:   #0f172a;
  --text-secondary: #475569;
  --text-muted:     #64748b;

  --color-problem:  #7c3aed;

  --gradient-section: linear-gradient(180deg, #ffffff 0%, #f1f5f9 50%, #ffffff 100%);
  --gradient-hero:    linear-gradient(160deg, #f8f9fc 0%, #ede9fe 30%, #f8f9fc 60%, #e0f2fe 100%);
  --gradient-glow:    linear-gradient(135deg, rgba(124,58,237,0.08) 0%, rgba(37,99,235,0.08) 100%);
}

/* ----- 24c. Hero overrides ----- */
[data-theme="light"] .hero {
  background: linear-gradient(
    135deg,
    #ede9fe 0%,
    #dbeafe 20%,
    #f0f0ff 40%,
    #ede9fe 60%,
    #e0f2fe 80%,
    #ede9fe 100%
  );
  background-size: 400% 400%;
}

[data-theme="light"] .hero::before {
  width: 1400px;
  height: 1100px;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.55) 0%,
    rgba(99, 102, 241, 0.35) 30%,
    rgba(37, 99, 235, 0.15) 50%,
    transparent 68%
  );
}

[data-theme="light"] .hero::after {
  width: 1300px;
  height: 1000px;
  background: radial-gradient(
    ellipse at center,
    rgba(6, 182, 212, 0.5) 0%,
    rgba(37, 99, 235, 0.3) 30%,
    rgba(6, 182, 212, 0.12) 50%,
    transparent 68%
  );
}

[data-theme="light"] .hero h1 {
  text-shadow: none;
}

[data-theme="light"] .noise-overlay {
  opacity: 0.04;
}

[data-theme="light"] .hero__brand-mark {
  opacity: 0.08;
}

[data-theme="light"] .hero__orb--1 {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  opacity: 0.6;
}

[data-theme="light"] .hero__orb--2 {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  opacity: 0.6;
}

/* ----- 24d. Navigation overrides ----- */
[data-theme="light"] .nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

@media (max-width: 768px) {
  [data-theme="light"] .nav__links {
    background: rgba(255, 255, 255, 0.97);
    border-left: 1px solid rgba(99, 102, 241, 0.1);
  }
}

/* ----- 24e. Card / glassmorphism overrides ----- */
[data-theme="light"] .glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .glass-card::before {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), transparent 50%, rgba(6,182,212,0.08));
}

[data-theme="light"] .glass-card:hover {
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .glass-card__icon {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(37,99,235,0.08));
  border: 1px solid rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .glass-card__visual {
  background: linear-gradient(135deg, rgba(124,58,237,0.04) 0%, rgba(37,99,235,0.03) 50%, rgba(6,182,212,0.02) 100%);
  border: 1px solid rgba(99, 102, 241, 0.08);
}

[data-theme="light"] .testimonial-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .value-card,
[data-theme="light"] .office-card,
[data-theme="light"] .compliance-badge,
[data-theme="light"] .integration-item,
[data-theme="light"] .contact-info__card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(99, 102, 241, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .industry-card:hover,
[data-theme="light"] .value-card:hover,
[data-theme="light"] .testimonial-card:hover {
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
}

/* ----- 24f. Component overrides ----- */

/* Section label pill */
[data-theme="light"] .section-label {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

/* Marquee */
[data-theme="light"] .marquee {
  background: rgba(241, 245, 249, 0.5);
}

[data-theme="light"] .marquee::before {
  background: linear-gradient(90deg, rgba(248, 249, 252, 1) 0%, transparent 100%);
}

[data-theme="light"] .marquee::after {
  background: linear-gradient(270deg, rgba(248, 249, 252, 1) 0%, transparent 100%);
}

[data-theme="light"] .marquee__item {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.12);
}

[data-theme="light"] .marquee__track--reverse .marquee__item {
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.12);
}

[data-theme="light"] .marquee__item:hover {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.22);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .marquee__track--reverse .marquee__item:hover {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.22);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.08);
}

/* Buttons */
[data-theme="light"] .btn--primary {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.2);
}

[data-theme="light"] .btn--primary:hover {
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

[data-theme="light"] .btn--secondary:hover {
  background: rgba(99, 102, 241, 0.06);
}

/* Process */
[data-theme="light"] .process__number {
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

/* CTA banner */
[data-theme="light"] .cta-banner::before {
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(37,99,235,0.06) 50%, rgba(6,182,212,0.06));
}

/* Selection */
[data-theme="light"] ::selection {
  background: rgba(124, 58, 237, 0.2);
}

/* Links */
[data-theme="light"] a:hover {
  color: var(--purple);
}

[data-theme="light"] .glass-card__link {
  color: var(--blue);
}

[data-theme="light"] .solution-intro h3 {
  color: var(--blue);
}

/* Footer */
[data-theme="light"] .footer__bottom {
  border-top: 1px solid rgba(99, 102, 241, 0.1);
}

/* Contact item dividers */
[data-theme="light"] .contact-info__item:not(:last-child) {
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

/* Forms */
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 12px;
}

[data-theme="light"] .form-group select option {
  background: #ffffff;
  color: var(--text-primary);
}

/* AI chat badge */
[data-theme="light"] .ai-chat-badge {
  background: linear-gradient(135deg, rgba(124,58,237,0.04), rgba(6,182,212,0.04));
  border: 1px dashed rgba(99, 102, 241, 0.2);
}

/* Divider utility */
[data-theme="light"] .divider {
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.15), transparent);
}

/* Solution block visual */
[data-theme="light"] .solution-block__visual {
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

/* ----- 24g. Theme toggle button ----- */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.theme-toggle:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
  background: rgba(99, 102, 241, 0.1);
}

.theme-toggle__icon {
  pointer-events: none;
}

@media (max-width: 768px) {
  .theme-toggle {
    width: 34px;
    height: 34px;
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }

  .nav__logo img {
    height: 32px;
  }
}
