/* ─────────────────────────────────────────────────────────────────────────────
   RhinoAgents — Voice AI Agents Master Stylesheet
   Canonical styling matching accounting-firms.html 1:1
───────────────────────────────────────────────────────────────────────────── */

/* CSS Variables */
:root {
  --brand-50: #f5f3ff;
  --brand-100: #ede9fe;
  --brand-200: #ddd6fe;
  --brand-300: #c4b5fd;
  --brand-400: #a78bfa;
  --brand-500: #8b5cf6;
  --brand-600: #7c3aed;
  --brand-700: #6d28d9;
  --brand-800: #5b21b6;
  --brand-900: #4c1d95;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #334155 40%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Background grid */
.enterprise-grid-bg {
  background-image: linear-gradient(to right, rgba(226, 232, 240, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.55) 1px, transparent 1px);
  background-size: 3.5rem 3.5rem;
}

/* Scenario Pills */
.scenario-pill {
  transition: all 0.18s ease;
}

.scenario-pill.active {
  background-color: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}

.scenario-pill.active i {
  color: #a78bfa !important;
}

/* Enterprise Cards */
.enterprise-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.enterprise-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.08);
}

/* Equalizer Bars & Speaking Animations */
@keyframes eqPulse {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.eq-bar {
  width: 2.5px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transform: scaleY(0.45);
  transition: transform 0.2s ease;
}

.is-speaking .eq-bar {
  animation: eqPulse 0.65s ease-in-out infinite;
}

.is-speaking .eq-bar:nth-child(2) { animation-delay: 0.15s; }
.is-speaking .eq-bar:nth-child(3) { animation-delay: 0.3s; }
.is-speaking .eq-bar:nth-child(4) { animation-delay: 0.1s; }

/* Pulse Ring Animation */
@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.7; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.pulse-ring {
  animation: pulseRing 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

/* Range Sliders for ROI Estimators */
input[type=range] {
  accent-color: #7c3aed;
  cursor: pointer;
}
