/* =============================================
   NexaVoice – Light & Casual Design System
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Nunito:wght@300;400;500;600;700;800&display=swap');

/* ─── CSS Custom Properties ─────────────────── */
:root {
  --navy:        #F8F9FC;
  --navy-light:  #F1F3F8;
  --navy-mid:    #E8EBF2;
  --violet:      #6C5CE7;
  --violet-dark: #5A4BD1;
  --violet-glow: rgba(108, 92, 231, 0.2);
  --cyan:        #00B894;
  --cyan-glow:   rgba(0, 184, 148, 0.15);
  --coral:       #FF6B6B;
  --coral-light: rgba(255, 107, 107, 0.1);
  --amber:       #FDCB6E;
  --white:       #2D3436;
  --off-white:   #404040;
  --muted:       #7F8C8D;
  --border:      rgba(108, 92, 231, 0.2);
  --border-light:rgba(0,0,0,0.07);
  --card-bg:     #FFFFFF;
  --glass:       rgba(108, 92, 231, 0.04);
  --gradient-hero: linear-gradient(135deg, #F8F9FC 0%, #EDE7F6 50%, #E8F5E9 100%);
  --gradient-violet: linear-gradient(135deg, #6C5CE7, #00B894);
  --gradient-card: linear-gradient(135deg, rgba(108,92,231,0.05), rgba(0,184,148,0.03));
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Nunito', sans-serif;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --shadow-glow: 0 4px 24px rgba(108,92,231,0.12);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.06);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* ─── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ─── Scrollbar ──────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* ─── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: #2D3436; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--muted); line-height: 1.8; }
.text-gradient {
  background: var(--gradient-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-white  { color: var(--white) !important; }
.text-muted  { color: var(--muted); }
.text-cyan   { color: var(--cyan); }
.text-violet { color: var(--violet); }
.text-center { text-align: center; }
.font-heading { font-family: var(--font-heading); }

/* ─── Layout ─────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-sm  { gap: 12px; }
.gap-md  { gap: 24px; }
.gap-lg  { gap: 40px; }
.mt-sm   { margin-top: 12px; }
.mt-md   { margin-top: 24px; }
.mt-lg   { margin-top: 40px; }
.mb-sm   { margin-bottom: 12px; }
.mb-md   { margin-bottom: 24px; }

/* ─── Navigation ─────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: var(--transition);
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800; font-size: 1.4rem;
}
.logo-icon {
  width: 160px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.footer-brand .logo-icon {
  width: 180px; height: 54px;
}
.logo span { color: var(--white); }
.logo span em { color: var(--cyan); font-style: normal; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--off-white);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--violet);
  background: rgba(108,92,231,0.06);
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 200px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: all; visibility: visible;
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--off-white);
}
.nav-dropdown-menu a:hover {
  background: rgba(108,92,231,0.06);
  color: var(--violet);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; border-radius: 8px;
  transition: var(--transition);
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  padding: 32px 24px;
  flex-direction: column; gap: 8px;
  z-index: 999; overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 1rem; font-weight: 600;
  color: var(--off-white);
  border: 1px solid transparent;
  transition: var(--transition);
}
.mobile-menu a:hover {
  background: rgba(108,92,231,0.06);
  border-color: var(--border-light);
  color: var(--violet);
}
.mobile-menu .btn { width: 100%; text-align: center; margin-top: 16px; }
.mobile-divider {
  height: 1px; background: var(--border-light);
  margin: 8px 0;
}
.mobile-label {
  font-size: 0.75rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.1em; padding: 8px 20px 4px;
}

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700; font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--gradient-violet);
  color: #fff;
  box-shadow: 0 4px 16px var(--violet-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(108,92,231,0.3);
}
.btn-outline {
  border: 2px solid var(--violet);
  color: var(--violet);
  background: transparent;
}
.btn-outline:hover {
  background: var(--violet);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--violet-glow);
}
.btn-ghost {
  color: var(--cyan);
  padding: 10px 0;
  font-weight: 700;
}
.btn-ghost:hover { gap: 12px; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }

/* ─── Badges / Tags ──────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-violet {
  background: rgba(108,92,231,0.1);
  color: var(--violet);
  border: 1px solid rgba(108,92,231,0.2);
}
.badge-cyan {
  background: rgba(0,184,148,0.08);
  color: var(--cyan);
  border: 1px solid rgba(0,184,148,0.2);
}
.badge-green {
  background: rgba(0,184,148,0.08);
  color: #00B894;
  border: 1px solid rgba(0,184,148,0.2);
}

/* ─── Section Headers ────────────────────────── */
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header .badge { margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; max-width: 640px; }
.section-header.center p { margin: 0 auto; }

/* ─── Cards ──────────────────────────────────── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: var(--transition);
}
.card:hover { border-color: rgba(108,92,231,0.2); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p  { font-size: 0.9rem; }

/* ─── Glass Card Variant ─────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

/* ─── Feature List ───────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(108,92,231,0.04);
  border: 1px solid var(--border-light);
}
.feature-item .fi-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(108,92,231,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.feature-item .fi-text p { font-size: 0.85rem; margin-top: 3px; }

/* ─── Hero Section ───────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--gradient-hero);
  padding-top: 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.25;
}
.orb-1 { width: 600px; height: 600px; background: #D4C4FF; top: -200px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: #B2DFDB; bottom: -100px; left: -100px; opacity: 0.3; }
.orb-3 { width: 300px; height: 300px; background: #FFCCBC; top: 30%; left: 40%; opacity: 0.2; }
.hero-content { position: relative; z-index: 1; }
.hero-badge { margin-bottom: 24px; }
.hero h1 { margin-bottom: 24px; }
.hero p   { font-size: 1.15rem; max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem; font-weight: 800;
  background: var(--gradient-violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

/* ─── Floating Demo Card ─────────────────────── */
.hero-visual { position: relative; }
.demo-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.demo-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}
.demo-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient-violet);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.demo-status { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #00B894; margin-top: 3px; }
.demo-status::before { content:''; width:7px; height:7px; border-radius:50%; background:#00B894; animation: pulse 2s infinite; }
.chat-bubbles { display: flex; flex-direction: column; gap: 10px; }
.bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 85%;
}
.bubble-ai {
  background: rgba(108,92,231,0.1);
  border: 1px solid rgba(108,92,231,0.15);
  border-bottom-left-radius: 4px;
  color: var(--off-white);
  align-self: flex-start;
}
.bubble-user {
  background: rgba(0,184,148,0.08);
  border: 1px solid rgba(0,184,148,0.15);
  border-bottom-right-radius: 4px;
  color: var(--off-white);
  align-self: flex-end;
}
.typing-indicator { display: flex; gap: 4px; align-items: center; padding: 12px 16px; }
.typing-dot { width:7px; height:7px; border-radius:50%; background:var(--violet); animation:typingDot 1.4s infinite; }
.typing-dot:nth-child(2) { animation-delay:0.2s; }
.typing-dot:nth-child(3) { animation-delay:0.4s; }

/* ─── Pricing ────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--violet);
  background: linear-gradient(145deg, rgba(108,92,231,0.06), #fff);
  box-shadow: var(--shadow-glow);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-violet);
  color: white; padding: 5px 18px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-heading);
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 16px;
}
.pricing-price { margin-bottom: 8px; }
.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 800; color: var(--white);
}
.pricing-price .period { color: var(--muted); font-size: 0.9rem; }
.pricing-original {
  font-size: 0.9rem; color: var(--muted);
  text-decoration: line-through; margin-bottom: 4px;
}
.pricing-desc { font-size: 0.875rem; color: var(--muted); margin-bottom: 28px; }
.pricing-features {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
}
.pricing-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--off-white);
}
.pricing-feature .check {
  width: 20px; height: 20px; flex-shrink: 0;
  background: rgba(108,92,231,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; color: var(--violet);
}
.pricing-feature .check.cyan { background: rgba(0,184,148,0.1); color: var(--cyan); }

/* ─── FAQ (Accordion) ────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(108,92,231,0.2); box-shadow: 0 2px 12px rgba(108,92,231,0.06); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  font-weight: 700; font-size: 0.95rem;
  color: var(--white); text-align: left;
  transition: var(--transition);
  background: transparent;
}
.faq-question:hover { color: var(--violet); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; border-radius: 50%; background: rgba(108,92,231,0.08); border: 1px solid var(--border-light); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transition: var(--transition); color: var(--violet); }
.faq-item.open .faq-icon { background: rgba(108,92,231,0.15); border-color: var(--violet); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 0.9rem; color: var(--muted); }

/* ─── Demo Widget (Industry Pages) ───────────── */
.demo-widget {
  background: var(--card-bg);
  border: 1px solid rgba(108,92,231,0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(108,92,231,0.08);
}
.demo-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
}
.demo-tab {
  flex: 1; padding: 16px 24px;
  font-weight: 700; font-size: 0.9rem;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.demo-tab.active { color: var(--violet); border-bottom-color: var(--violet); background: rgba(108,92,231,0.04); }
.demo-tab:hover:not(.active) { color: var(--off-white); background: rgba(108,92,231,0.02); }
.demo-pane { display: none; padding: 28px; }
.demo-pane.active { display: block; }

/* Voice Demo */
.voice-transcript {
  background: var(--navy-light);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 260px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 20px;
}
.transcript-line { display: flex; gap: 10px; }
.transcript-line .speaker {
  font-size: 0.72rem; font-weight: 700;
  color: var(--violet); white-space: nowrap;
  padding-top: 2px; min-width: 60px;
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.transcript-line .speaker.caller { color: var(--cyan); }
.transcript-line .text {
  font-size: 0.875rem; color: var(--off-white);
  line-height: 1.55;
}
.voice-controls {
  display: flex; align-items: center; gap: 16px;
}
.play-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--gradient-violet);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: white; flex-shrink: 0;
  box-shadow: 0 4px 16px var(--violet-glow);
  transition: var(--transition);
}
.play-btn:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(108,92,231,0.3); }
.voice-progress { flex: 1; }
.progress-bar {
  height: 4px; background: var(--border-light);
  border-radius: 2px; overflow: hidden; margin-bottom: 6px;
}
.progress-fill {
  height: 100%; background: var(--gradient-violet);
  border-radius: 2px; width: 0%; transition: width 0.3s ease;
}
.progress-labels {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted);
}
.wave-bars {
  display: flex; gap: 3px; align-items: center; height: 30px;
}
.wave-bar {
  width: 3px; border-radius: 1.5px;
  background: var(--violet);
  animation: wave 1.4s ease-in-out infinite;
}
.wave-bar:nth-child(2) { animation-delay:0.1s; }
.wave-bar:nth-child(3) { animation-delay:0.2s; }
.wave-bar:nth-child(4) { animation-delay:0.3s; }
.wave-bar:nth-child(5) { animation-delay:0.4s; }
.wave-bar:nth-child(6) { animation-delay:0.3s; }
.wave-bar:nth-child(7) { animation-delay:0.2s; }
.wave-bar:nth-child(8) { animation-delay:0.1s; }
.voice-demo.paused .wave-bar { animation: none; height: 8px; }

/* ─── Chat System (Unified) ───────────────────── */
.chat-messages, .cwp-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  overflow-y: auto;
  scroll-behavior: smooth;
  background: var(--navy-light);
  border-radius: var(--radius-md);
}

.chat-messages { height: 320px; margin-bottom: 16px; }
.cwp-messages { height: 260px; }

.msg {
  display: flex;
  gap: 12px;
  max-width: 90%;
  animation: fadeInUp 0.3s ease forwards;
}

.msg.ai {
  align-self: flex-start;
  flex-direction: row;
}

.msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background: #fff;
}

.msg.ai .msg-avatar {
  background: var(--gradient-violet);
  color: white;
}

.msg.user .msg-avatar {
  background: var(--cyan);
  color: white;
}

.msg-bubble {
  padding: 12px 18px;
  border-radius: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.msg.ai .msg-bubble {
  background: white;
  color: var(--off-white);
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(108,92,231,0.1);
}

.msg.user .msg-bubble {
  background: var(--gradient-violet);
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(108,92,231,0.2);
}

/* Suggestions & Inputs */
.chat-suggestions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.suggestion-btn {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: white;
  color: var(--violet);
  border: 1.5px solid var(--violet);
}

.suggestion-btn:hover {
  background: var(--violet);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--violet-glow);
}

.chat-input-bar, .cwp-input-area {
  display: flex;
  gap: 10px;
  padding: 12px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.chat-input, .cwp-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.9rem;
  color: var(--white);
  padding: 8px;
  resize: none;
  overflow-y: auto;
  font-family: inherit;
  line-height: 1.5;
  min-height: 24px;
}

.chat-send, .cwp-send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--gradient-violet);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send:hover, .cwp-send:hover {
  transform: scale(1.05) rotate(-5deg);
  box-shadow: 0 4px 12px var(--violet-glow);
}

/* ─── Industry Problems / Solutions ──────────── */
.problem-solution-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.problem-card {
  background: rgba(255,107,107,0.05);
  border: 1px solid rgba(255,107,107,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.problem-card h4 { color: var(--coral); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.solution-card {
  background: rgba(0,184,148,0.05);
  border: 1px solid rgba(0,184,148,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.solution-card h4 { color: #00B894; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ps-list { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.ps-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; }
.ps-icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }

/* ─── Contact Form ───────────────────────────── */
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--off-white); margin-bottom: 8px; }
.form-input {
  width: 100%; padding: 13px 16px;
  background: var(--navy-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--white); font-size: 0.9rem;
  transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--violet); background: rgba(108,92,231,0.04); box-shadow: 0 0 0 3px rgba(108,92,231,0.08); }
.form-input::placeholder { color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
select.form-input option { background: var(--card-bg); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* ─── Industry Hero Variants ─────────────────── */
.industry-hero {
  padding: 140px 0 90px;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.industry-hero .badge { margin-bottom: 20px; }
.industry-hero h1 { max-width: 700px; margin-bottom: 20px; }
.industry-hero p { max-width: 560px; font-size: 1.05rem; margin-bottom: 32px; }

/* ─── Testimonials ───────────────────────────── */
.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(108,92,231,0.15); box-shadow: var(--shadow-card); }
.testimonial-stars { color: #F9A825; font-size: 0.9rem; margin-bottom: 16px; }
.testimonial-text { font-size: 0.9rem; color: var(--off-white); margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gradient-violet);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: #fff;
}
.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--muted); }

/* ─── CTA Section ────────────────────────────── */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(108,92,231,0.08) 0%, rgba(0,184,148,0.05) 100%);
  border: 1px solid rgba(108,92,231,0.12);
  border-radius: var(--radius-xl);
  padding: 70px 40px;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108,92,231,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { max-width: 560px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────── */
.footer {
  background: #fff;
  border-top: 1px solid var(--border-light);
  padding: 70px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; max-width: 280px; }
.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--off-white); margin-bottom: 18px;
}
.footer-col a {
  display: block; margin-bottom: 10px;
  font-size: 0.875rem; color: var(--muted);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--violet); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px; border-top: 1px solid var(--border-light);
  font-size: 0.82rem; color: var(--muted);
  flex-wrap: wrap; gap: 12px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(108,92,231,0.06); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: var(--transition);
}
.social-link:hover { background: rgba(108,92,231,0.12); border-color: var(--violet); color: var(--violet); }

/* ─── Floating Chat Widget ───────────────────── */
.chat-widget-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--gradient-violet);
  box-shadow: 0 4px 20px var(--violet-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white;
  transition: var(--transition);
  animation: floatBtnPulse 3s ease-in-out infinite;
}
.chat-widget-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(108,92,231,0.35); }
.chat-widget-popup {
  position: fixed; bottom: 100px; right: 28px; z-index: 900;
  width: 350px; max-width: calc(100vw - 56px);
  background: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  display: none;
  animation: slideUp 0.3s ease;
}
.chat-widget-popup.open { display: block; }
.cwp-header {
  background: var(--gradient-violet);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 12px;
}
.cwp-header-info h4 { font-size: 0.95rem; color: white; margin: 0; }
.cwp-header-info span { font-size: 0.78rem; color: rgba(255,255,255,0.8); }
.cwp-close { margin-left: auto; color: rgba(255,255,255,0.8); font-size: 1.1rem; transition: var(--transition); }
.cwp-close:hover { color: white; }
.cwp-messages {
  padding: 20px;
  height: 260px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
}
.cwp-input-area {
  padding: 14px 16px;
  border-top: 1px solid var(--border-light);
  display: flex; gap: 10px;
}
.cwp-input {
  flex: 1; background: var(--navy-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--white); font-size: 0.85rem;
}
.cwp-input:focus { outline: none; border-color: var(--violet); }
.cwp-input::placeholder { color: var(--muted); }
.cwp-send {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--gradient-violet); color: white;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
}
.cwp-send:hover { transform: scale(1.05); }

/* ─── Animations ─────────────────────────────── */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
@keyframes typingDot { 0%,80%,100%{transform:scale(0.6);opacity:0.4} 40%{transform:scale(1);opacity:1} }
@keyframes wave { 0%,100%{height:6px} 50%{height:26px} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
@keyframes slideUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes floatBtnPulse { 0%,100%{box-shadow:0 4px 20px var(--violet-glow)} 50%{box-shadow:0 4px 32px rgba(108,92,231,0.35)} }

/* AOS-like scroll animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.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; }

/* ─── Trust Logos / Partner Bar ──────────────── */
.trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-bar-item {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1rem;
  color: var(--muted); letter-spacing: 0.05em;
  opacity: 0.5; transition: var(--transition);
}
.trust-bar-item:hover { opacity: 1; color: var(--violet); }

/* ─── Steps / How it works ───────────────────── */
.steps { display: flex; gap: 0; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(50% / 3); right: calc(50% / 3);
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  z-index: 0;
}
.step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 20px; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--gradient-violet);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: #fff;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(108,92,231,0.08), 0 4px 20px var(--violet-glow);
}
.step h4 { margin-bottom: 10px; }
.step p { font-size: 0.875rem; }

/* ─── Utility ────────────────────────────────── */
.divider { height: 1px; background: var(--border-light); margin: 48px 0; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ─── Responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .btn:not(.btn-primary) { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .problem-solution-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; gap: 32px; }
  .steps::before { display: none; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta-section { padding: 50px 24px; }
  .demo-widget { border-radius: var(--radius-lg); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .pricing-grid { max-width: 100%; }
  .contact-form-card { padding: 24px; }
}
