/* ─── AI EMPLOYEES COMPREHENSIVE STYLE SHEET — SYNCED TO INDEX.HTML DESIGN SYSTEM ─── */
:root {
  --bg: #ffffff;
  --bg2: #f8f8fa;
  --bg3: #f1f1f5;
  --border: rgba(0, 0, 0, 0.08);
  --border2: rgba(0, 0, 0, 0.14);
  --border-h: #6c47ff;
  --text: #0f0f12;
  --muted: rgba(15, 15, 18, 0.65);
  --faint: rgba(15, 15, 18, 0.35);
  --white: #ffffff;
  --black: #000000;
  
  /* Primary Theme Accent */
  --accent: #6c47ff;
  --accent-dim: rgba(108, 71, 255, 0.08);
  --violet: #6c47ff;
  --violet-dim: rgba(108, 71, 255, 0.08);
  
  /* Palette Colors for Badges and Statuses */
  --sky: #0284c7;
  --sky-dim: rgba(2, 132, 199, 0.08);
  --mint: #0d9488;
  --mint-dim: rgba(13, 148, 136, 0.08);
  --coral: #dc2626;
  --coral-dim: rgba(220, 38, 38, 0.08);
  --gold: #d97706;
  --gold-dim: rgba(217, 119, 6, 0.08);
  --pink: #db2777;
  --pink-dim: rgba(219, 39, 119, 0.08);

  /* Font Families */
  --font-display: 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Legacy variable maps for compatibility */
  --w80: rgba(15, 15, 18, 0.80);
  --w60: rgba(15, 15, 18, 0.65);
  --w40: rgba(15, 15, 18, 0.40);
  --w15: rgba(0, 0, 0, 0.06);
  --w08: rgba(0, 0, 0, 0.04);
}

/* ─── BASE RESET & STRUCTURE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.2;
}

/* Grid overlay background to match index.html */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 71, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 71, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.section { padding: 6rem 0; position: relative; }
.section-sm { padding: 4rem 0; position: relative; }

/* ─── BREADCRUMB ─── */
.breadcrumb-bar {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin-top: 70px;
}
.breadcrumb-bar ol { display: flex; align-items: center; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumb-bar li { display: flex; align-items: center; gap: 8px; }
.breadcrumb-bar a { font-size: 0.78rem; color: var(--faint); text-decoration: none; transition: color 0.2s; }
.breadcrumb-bar a:hover { color: var(--accent); }
.breadcrumb-bar .bc-sep { color: var(--faint); font-size: 0.6rem; }
.breadcrumb-bar .bc-current { font-size: 0.78rem; color: var(--text); font-weight: 600; }

/* ─── PILLS & LABELS ─── */
.pill-label, .section-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.pill-accent, .pill-violet, .section-title { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(108, 71, 255, 0.2); }
.pill-sky { background: var(--sky-dim); color: var(--sky); border: 1px solid rgba(2, 132, 199, 0.2); }
.pill-mint { background: var(--mint-dim); color: var(--mint); border: 1px solid rgba(13, 148, 136, 0.2); }
.pill-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(217, 119, 6, 0.2); }
.pill-pink { background: var(--pink-dim); color: var(--pink); border: 1px solid rgba(219, 39, 119, 0.2); }
.pill-coral { background: var(--coral-dim); color: var(--coral); border: 1px solid rgba(220, 38, 38, 0.2); }

/* ─── SECTION HEADERS ─── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-top: 1rem; letter-spacing: -0.03em; color: var(--text); }
.section-header p { color: var(--muted); max-width: 620px; margin: 1rem auto 0; font-size: 1.05rem; }

/* ─── BUTTONS ─── */
.btn-primary, .button-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(108, 71, 255, 0.2);
  white-space: nowrap;
}
.btn-primary:hover, .button-primary:hover {
  background: #5b3fe5;
  border-color: #5b3fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 63, 229, 0.3);
}

.btn-secondary, .button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-secondary:hover, .button-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

/* ─── HERO ─── */
#hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-orb { display: none; } /* Replaced with grid pattern */

.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero-inner h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 1.2rem 0 1.5rem;
  line-height: 1.1;
  color: var(--text);
}
.hero-inner h1 .highlight {
  background: linear-gradient(100deg, #a78bfa 0%, #2dd4bf 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-tagline { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 2.5rem; font-weight: 400; line-height: 1.7; }

/* ─── LIVE FEED / DEMO COMPONENT ─── */
.live-feed-demo {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  max-width: 580px;
  margin: 2.5rem auto 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}
.feed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.feed-status { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
.feed-platform { font-size: 0.75rem; color: var(--faint); }

.feed-line { font-size: 0.82rem; margin-bottom: 0.8rem; display: flex; gap: 8px; align-items: flex-start; color: var(--text); }
.feed-line.queued { color: var(--muted); }
.feed-line.posted { color: var(--text); }
.feed-line .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-top: 2px;
}
.tag-qualify, .tag-a { background: var(--accent-dim); color: var(--accent); }
.tag-booked, .tag-b, .tag-posted { background: var(--mint-dim); color: var(--mint); }
.tag-follow, .tag-c, .tag-reply { background: var(--sky-dim); color: var(--sky); }
.tag-pending, .tag-queued { background: var(--w15); color: var(--muted); }

.typing-cursor { display: inline-block; width: 2px; height: 13px; background: var(--accent); animation: blink 1s step-end infinite; vertical-align: middle; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* ─── TRUST BAR ─── */
.trust-bar { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.5rem; font-size: 0.82rem; color: var(--muted); }
.trust-bar span { display: flex; align-items: center; gap: 6px; }
.trust-bar i { color: var(--accent); font-size: 0.75rem; }

/* ─── STATS ROW ─── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin: 4rem auto 0;
  max-width: 720px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
}
.stat-cell { background: var(--bg2); padding: 1.5rem; text-align: center; }
.stat-cell .num { font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--accent); font-family: var(--font-display); }
.stat-cell .lbl { font-size: 0.75rem; color: var(--muted); margin-top: 4px; }

/* ─── CAPABILITIES GRID ─── */
.caps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.cap-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
}
.cap-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.cap-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 1.2rem; }
.cap-icon.accent, .cap-icon.violet { background: var(--accent-dim); color: var(--accent); }
.cap-icon.sky { background: var(--sky-dim); color: var(--sky); }
.cap-icon.mint { background: var(--mint-dim); color: var(--mint); }
.cap-icon.gold { background: var(--gold-dim); color: var(--gold); }
.cap-icon.pink { background: var(--pink-dim); color: var(--pink); }
.cap-icon.coral { background: var(--coral-dim); color: var(--coral); }
.cap-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--text); }
.cap-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.cap-card ul { list-style: none; }
.cap-card ul li { font-size: 0.82rem; color: var(--muted); padding: 6px 0; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.cap-card ul li:last-child { border: none; }
.cap-card ul li i { color: var(--accent); font-size: 0.68rem; flex-shrink: 0; }

/* ─── SETUP WIZARD ─── */
.setup-wrapper {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}
.setup-header-steps { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; position: relative; }
.setup-nav-item { display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2; position: relative; }
.setup-nav-circle {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--faint);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700;
  transition: all 0.3s;
}
.setup-nav-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--faint); transition: all 0.3s; }
.setup-nav-item.active .setup-nav-circle {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(108, 71, 255, 0.3);
}
.setup-nav-item.active .setup-nav-title { color: var(--text); }
.setup-nav-item.completed .setup-nav-circle { background: var(--mint-dim); border-color: var(--mint); color: var(--mint); }
.setup-nav-line { flex: 1; height: 2px; background: var(--border); margin: 0 15px; transform: translateY(-12px); z-index: 1; transition: background 0.4s; }
.setup-nav-line.completed { background: var(--accent); }

.setup-panel { display: none; animation: fadeIn 0.4s ease-out forwards; }
.setup-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.channel-connect-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; }
.channel-connect-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.channel-connect-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.channel-connect-card.connected { border-color: var(--mint); background: rgba(13, 148, 136, 0.02); }
.channel-icon { font-size: 2.2rem; margin-bottom: 4px; }
.icon-form { color: var(--accent); }
.icon-li { color: #0077b5; }
.icon-sf { color: #00a1e0; }
.icon-hs { color: #ff7a59; }
.icon-ig { color: var(--pink); }
.icon-tt { color: #00f2fe; }
.icon-x { color: var(--text); }

.channel-connect-btn {
  width: 100%;
  background: var(--w08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.channel-connect-card.connected .channel-connect-btn { background: var(--mint-dim); border-color: rgba(13, 148, 136, 0.2); color: var(--mint); }

.brand-voice-textarea {
  width: 100%; height: 100px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.82rem;
  padding: 12px;
  resize: none; outline: none;
  transition: border-color 0.2s;
}
.brand-voice-textarea:focus { border-color: var(--accent); }

.upload-drop-zone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,0.01);
  padding: 1.8rem;
  text-align: center;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: all 0.2s;
}
.upload-drop-zone:hover { border-color: var(--accent); background: var(--accent-dim); }

.setup-actions-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }

.slider-container, .pacing-slider-wrap { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 10px; }
.frequency-slider { width: 100%; accent-color: var(--accent); cursor: pointer; }
.slider-labels { display: flex; justify-content: space-between; font-size: 0.72rem; color: var(--faint); }
.slider-labels span.active { color: var(--accent); font-weight: 700; }

.pacing-mode-wrap { display: flex; background: var(--bg3); border: 1px solid var(--border); padding: 4px; border-radius: 10px; gap: 4px; }
.pacing-btn { flex: 1; padding: 10px 15px; border-radius: 7px; border: none; font-size: 0.8rem; font-weight: 700; color: var(--muted); background: transparent; cursor: pointer; transition: all 0.2s; }
.pacing-btn.active { background: var(--bg); color: var(--text); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.qual-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  font-size: 0.82rem; cursor: pointer; transition: all 0.2s;
}
.qual-chip:hover, .qual-chip.active { border-color: var(--accent); background: var(--accent-dim); }
.qual-chip .qicon { width: 32px; height: 32px; border-radius: 8px; background: var(--accent-dim); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.qual-chip span { flex: 1; font-weight: 600; }
.qual-chip .qbadge { font-size: 0.68rem; background: var(--w15); color: var(--muted); padding: 2px 8px; border-radius: 100px; }

/* ─── WORKSPACE INTERACTION PANEL ─── */
.workspace-wrapper {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}
.workspace-nav { display: flex; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0.5rem; gap: 0.5rem; flex-wrap: wrap; }
.workspace-tab-btn {
  flex: 1; min-width: 150px;
  padding: 12px 20px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s;
}
.workspace-tab-btn:hover { color: var(--text); background: var(--w08); }
.workspace-tab-btn.active { background: var(--bg); border-color: var(--border); color: var(--accent); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }

.workspace-content { padding: 2rem; min-height: 520px; position: relative; }
.workspace-panel { display: none; animation: fadeIn 0.4s ease-out forwards; }
.workspace-panel.active { display: block; }

/* Lead Queue / Planner */
.prompt-container { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 1.25rem; margin-bottom: 2rem; }
.prompt-input-wrap { display: flex; gap: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 6px; align-items: center; }
.prompt-input-wrap input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); padding: 8px 12px; font-size: 0.9rem; }
.prompt-input-wrap input::placeholder { color: var(--faint); }
.prompt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.prompt-chip { font-size: 0.75rem; background: var(--w08); border: 1px solid var(--border); color: var(--muted); padding: 5px 12px; border-radius: 100px; cursor: pointer; transition: all 0.2s; }
.prompt-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }

.planner-list { display: flex; flex-direction: column; gap: 12px; }
.planner-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  cursor: pointer;
  display: grid;
  grid-template-columns: 2.2fr 1.4fr 0.9fr 1fr;
  align-items: center;
  gap: 15px;
  transition: all 0.2s;
}
.planner-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 4px 15px rgba(108, 71, 255, 0.06); }

.score-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.75rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.score-hot { background: var(--coral-dim); color: var(--coral); }
.score-warm { background: var(--gold-dim); color: var(--gold); }
.score-cold { background: var(--sky-dim); color: var(--sky); }

.status-chip { font-size: 9px; font-weight: 800; letter-spacing: 0.05em; padding: 3px 8px; border-radius: 100px; text-transform: uppercase; text-align: center; }
.chip-pending { background: var(--w15); color: var(--muted); }
.chip-sent, .chip-active { background: var(--sky-dim); color: var(--sky); }
.chip-booked, .chip-completed { background: var(--mint-dim); color: var(--mint); }

/* Detail Drawer */
.drawer-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.1); backdrop-filter: blur(4px); z-index: 10; display: none; }
.drawer-container {
  position: absolute; top: 0; right: -450px; bottom: 0;
  width: 430px; background: var(--bg); border-left: 1px solid var(--border);
  z-index: 11; padding: 1.75rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}
.drawer-container.open { right: 0; }
.drawer-close { position: absolute; top: 1.25rem; right: 1.25rem; color: var(--faint); cursor: pointer; font-size: 1.2rem; transition: color 0.2s; }
.drawer-close:hover { color: var(--text); }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--muted); }
.check-item.pass i { color: var(--mint); }
.check-item.warn i { color: var(--gold); }
.check-item.fail i { color: var(--coral); }

/* Conversation / Inbox Tab */
.convo-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 20px; }
.convo-sidebar { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 1rem; display: flex; flex-direction: column; gap: 10px; }
.convo-card { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 12px; cursor: pointer; transition: all 0.2s; }
.convo-card:hover, .convo-card.active { border-color: var(--accent); background: var(--accent-dim); }
.priority-badge { font-size: 0.6rem; font-weight: 800; padding: 1px 6px; border-radius: 4px; text-transform: uppercase; }
.p-hot { background: var(--coral-dim); color: var(--coral); }
.p-warm { background: var(--gold-dim); color: var(--gold); }
.p-cold { background: var(--sky-dim); color: var(--sky); }
.convo-view { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; min-height: 400px; display: flex; flex-direction: column; gap: 15px; }

/* Analytics Tab */
.chart-container { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 1.5rem; margin-bottom: 2rem; }
.chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 10px; }
.chart-title { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.chart-filters { display: flex; gap: 6px; background: var(--bg3); border: 1px solid var(--border); padding: 3px; border-radius: 8px; }
.chart-filter-btn { padding: 5px 12px; font-size: 0.75rem; font-weight: 700; color: var(--muted); background: transparent; border: none; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.chart-filter-btn:hover { color: var(--text); }
.chart-filter-btn.active { background: var(--bg); color: var(--text); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
.chart-svg-wrap { position: relative; width: 100%; height: 220px; }
.chart-tooltip { position: absolute; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 0.75rem; pointer-events: none; opacity: 0; transition: opacity 0.2s; z-index: 5; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.chart-tooltip strong { display: block; color: var(--accent); margin-bottom: 2px; }
.table-wrapper { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; overflow-x: auto; }
.analytics-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.82rem; }
.analytics-table th { background: rgba(0, 0, 0, 0.01); border-bottom: 1px solid var(--border); padding: 12px 16px; color: var(--faint); font-weight: 700; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.05em; }
.analytics-table td { border-bottom: 1px solid var(--border); padding: 12px 16px; color: var(--text); }
.analytics-table tr:last-child td { border: none; }

/* Loading overlay */
.loading-overlay { position: absolute; inset: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(5px); z-index: 20; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; border-radius: 24px; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--accent-dim); border-radius: 50%; border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-steps { display: flex; flex-direction: column; gap: 8px; text-align: left; width: 260px; }
.loading-step-item { font-size: 0.82rem; color: var(--faint); display: flex; align-items: center; gap: 8px; }
.loading-step-item.active { color: var(--text); font-weight: 600; }
.loading-step-item.completed, .loading-step-item.done { color: var(--mint); }

/* ─── RAG / DATA FLOW GRAPHICS ─── */
.rag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.rag-visual { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; position: relative; overflow: hidden; }
.rag-flow { display: flex; flex-direction: column; gap: 1rem; }
.rag-node { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.2rem; border-radius: 12px; border: 1px solid var(--border); background: var(--bg); }
.rag-node-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; background: var(--accent-dim); color: var(--accent); }
.rag-node h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.rag-node p { font-size: 0.72rem; color: var(--muted); }
.rag-arrow { text-align: center; color: var(--faint); font-size: 0.75rem; display: flex; align-items: center; justify-content: center; gap: 8px; }
.rag-arrow::before, .rag-arrow::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.rag-content h3 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 1rem; color: var(--text); }
.rag-content p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.2rem; line-height: 1.7; }
.rag-bullets { list-style: none; }
.rag-bullets li { font-size: 0.86rem; color: var(--muted); padding: 8px 0; display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--border); }
.rag-bullets li:last-child { border: none; }
.rag-bullets li i { color: var(--accent); flex-shrink: 0; margin-top: 3px; font-size: 0.72rem; }

.integration-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.int-tag { display: flex; align-items: center; gap: 6px; padding: 6px 14px; background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; font-size: 0.78rem; color: var(--muted); transition: all 0.2s; }
.int-tag:hover { border-color: var(--accent); color: var(--accent); }
.int-tag i { color: var(--accent); font-size: 0.72rem; }

/* ─── CASE STUDIES / TESTIMONIALS ─── */
.case-study { background: var(--bg2); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; margin-bottom: 2rem; transition: border-color 0.3s; }
.case-study:hover { border-color: var(--border2); }
.case-study-inner { display: grid; grid-template-columns: 2fr 3fr; }
.case-left { background: var(--bg3); padding: 2.5rem 2rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--border); }
.case-left h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.3; color: var(--text); }
.case-metrics { display: flex; gap: 2rem; }
.case-metric .big { font-size: 1.8rem; font-weight: 800; line-height: 1; color: var(--accent); }
.case-metric .sm { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }
.case-right { padding: 2.5rem 2rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.5rem; }
.case-tag { font-size: 0.72rem; padding: 3px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 100px; color: var(--muted); }
.case-right p { font-size: 0.88rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.7; }
.case-right p strong { color: var(--text); font-weight: 600; }
.case-quote { border-left: 3px solid var(--accent); padding-left: 1rem; margin: 1.2rem 0; }
.case-quote p { font-size: 0.83rem; color: var(--muted); font-style: italic; margin: 0; }
.case-quote cite { font-size: 0.78rem; color: var(--faint); font-style: normal; margin-top: 6px; display: block; }
.case-impact { display: flex; align-items: center; gap: 0.8rem; padding-top: 1.2rem; border-top: 1px solid var(--border); margin-top: 1.2rem; }
.case-impact i { color: var(--accent); font-size: 0.85rem; flex-shrink: 0; }
.case-impact p { font-size: 0.82rem; color: var(--muted); margin: 0; }
.case-impact p strong { color: var(--text); }

/* ─── WHY SECTION / GRID ─── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; max-width: 960px; margin: 0 auto; }
.why-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; display: flex; gap: 1.2rem; transition: border-color 0.3s, transform 0.25s; }
.why-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.why-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; background: var(--accent-dim); color: var(--accent); }
.why-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.why-card p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; }

/* ─── PRICING SECTION ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.pricing-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 18px; padding: 2.2rem 2rem; position: relative; transition: all 0.25s; }
.pricing-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 10px 30px rgba(108, 71, 255, 0.05); }
.featured-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #ffffff; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; padding: 4px 14px; border-radius: 100px; white-space: nowrap; }
.pricing-name { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.4rem; font-weight: 800; line-height: 1; margin: 0.5rem 0 0.3rem; color: var(--text); }
.pricing-price sup { font-size: 1.2rem; vertical-align: top; margin-top: 6px; }
.pricing-price sub { font-size: 0.85rem; color: var(--muted); vertical-align: baseline; }
.pricing-sub { font-size: 0.8rem; color: var(--faint); margin-bottom: 1.5rem; }
.pricing-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.pricing-feat { font-size: 0.83rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.pricing-list { list-style: none; margin-bottom: 1.8rem; }
.pricing-list li { font-size: 0.85rem; color: var(--muted); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.pricing-list li i { color: var(--accent); font-size: 0.7rem; flex-shrink: 0; }
.pricing-note { font-size: 0.75rem; color: var(--faint); text-align: center; margin-top: 1rem; }

/* ─── FAQ ACCORDIONS ─── */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-btn { width: 100%; background: none; border: none; cursor: pointer; padding: 1.4rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; color: var(--text); }
.faq-btn h3 { font-size: 0.98rem; font-weight: 600; font-family: var(--font-body); }
.faq-btn i { color: var(--accent); font-size: 0.85rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-btn i { transform: rotate(180deg); }
.faq-item.open .faq-btn h3 { color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { font-size: 0.88rem; color: var(--muted); padding-bottom: 1.4rem; line-height: 1.7; }

/* ─── CTA CONTAINER ─── */
.cta-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.cta-box h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; margin: 1rem 0 1rem; color: var(--text); }
.cta-box p { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.trust-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.trust-badge { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); padding: 6px 14px; border-radius: 100px; font-size: 0.78rem; color: var(--muted); }
.trust-badge i { color: var(--accent); font-size: 0.72rem; }

/* ─── TECH SPECS ─── */
.spec-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.spec-details { display: flex; flex-direction: column; gap: 1.5rem; }
.spec-item { display: flex; gap: 1rem; }
.spec-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--accent); flex-shrink: 0; }
.spec-text h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.spec-text p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* Accordion variation for specifications */
.spec-accordion-wrap { display: flex; flex-direction: column; gap: 12px; }
.spec-accordion-item { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.spec-accordion-btn { width: 100%; background: none; border: none; padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; }
.spec-accordion-btn h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.spec-accordion-btn i.arrow-icon { color: var(--accent); font-size: 0.8rem; transition: transform 0.3s; }
.spec-accordion-item.open .spec-accordion-btn i.arrow-icon { transform: rotate(180deg); }
.spec-accordion-item.open .spec-accordion-btn h3 { color: var(--accent); }
.spec-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.spec-accordion-item.open .spec-accordion-content { max-height: 500px; }
.spec-accordion-body { padding: 0 1.5rem 1.5rem; font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* Dynamic post drawer visual mockup forcing dark screen style */
#drawer-visual-mockup, .visual-mockup {
  background: #0f0f12 !important;
  color: #ffffff !important;
}
#drawer-visual-mockup h4, .visual-mockup h4 {
  color: #ffffff !important;
}
#drawer-visual-mockup p, .visual-mockup p {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* ─── LEGACY GLASS / GRADIENT UTILITIES ─── */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ─── ANIMATIONS & RESPONSIVE BREAKPOINTS ─── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.35s; }
.fade-up-4 { animation-delay: 0.5s; }

@media(max-width: 768px) {
  .section { padding: 4rem 0; }
  .cta-box { padding: 2.5rem 1.5rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .rag-grid, .spec-grid, .case-study-inner, .convo-grid { grid-template-columns: 1fr; }
  .case-left { border-right: none; border-bottom: 1px solid var(--border); }
  .drawer-container { width: 100%; right: -100%; }
}

/* ─── AI RECEPTIONIST EXCLUSIVE COMPONENTS ─── */
.live-call-demo {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  max-width: 560px;
  margin: 2.5rem auto 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.live-call-demo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0% 0%, rgba(13, 148, 136, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.call-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.call-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.call-industry {
  font-size: 0.75rem;
  color: var(--w40);
}
.call-wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
  margin-bottom: 1rem;
}
.call-wave span {
  width: 3px;
  background: var(--mint);
  border-radius: 2px;
  opacity: 0.7;
  animation: wave 1.2s ease-in-out infinite;
}
.call-wave span:nth-child(1) { animation-delay: 0s; height: 40%; }
.call-wave span:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.call-wave span:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.call-wave span:nth-child(4) { animation-delay: 0.3s; height: 60%; }
.call-wave span:nth-child(5) { animation-delay: 0.4s; height: 85%; }
.call-wave span:nth-child(6) { animation-delay: 0.5s; height: 45%; }
.call-wave span:nth-child(7) { animation-delay: 0.6s; height: 100%; }
.call-wave span:nth-child(8) { animation-delay: 0.7s; height: 70%; }
.call-wave span:nth-child(9) { animation-delay: 0.8s; height: 55%; }
.call-wave span:nth-child(10) { animation-delay: 0.9s; height: 80%; }
.call-wave span:nth-child(11) { animation-delay: 1.0s; height: 40%; }
.call-wave span:nth-child(12) { animation-delay: 0.5s; height: 65%; }

@keyframes wave {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}
.call-line {
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 8px;
}
.call-line.caller {
  color: var(--muted);
}
.call-line.agent {
  color: var(--text);
}
.call-line .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-top: 2px;
  height: fit-content;
}
.tag-caller {
  background: var(--w08);
  color: var(--muted);
}
.tag-agent {
  background: var(--gold-dim);
  color: var(--gold);
}
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 13px;
  background: var(--gold);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ─── INBOUND / OUTBOUND GRID ─── */
.io-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media(max-width: 640px) {
  .io-grid {
    grid-template-columns: 1fr;
  }
}
.io-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.25s;
}
.io-card:hover {
  transform: translateY(-3px);
}
.io-card.inbound {
  border-color: rgba(13, 148, 136, 0.2);
}
.io-card.outbound {
  border-color: rgba(108, 71, 255, 0.2);
}
.io-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  opacity: 0.15;
}
.io-card.inbound::before {
  background: var(--mint);
}
.io-card.outbound::before {
  background: var(--violet);
}
.io-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.io-badge.in {
  background: var(--mint-dim);
  color: var(--mint);
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.io-badge.out {
  background: var(--violet-dim);
  color: var(--violet);
  border: 1px solid rgba(108, 71, 255, 0.2);
}
.io-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.io-card > p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.io-list {
  list-style: none;
}
.io-list li {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.io-list li:last-child {
  border: none;
}
.io-list li i.in {
  color: var(--mint);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.io-list li i.out {
  color: var(--violet);
  font-size: 0.8rem;
  flex-shrink: 0;
}
