/* ==========================================================================
   First American Entitlement Services - GLOBAL STYLES
   Design System Tokens, Resets, Typography, Shared Components & Animations
   ========================================================================== */

:root {
  --font-sans: 'DM Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-headline: 'Epilogue', 'Merriweather', Georgia, serif;
  --font-letter: 'Lora', 'Merriweather', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, monospace;

  /* Brand Colors */
  --brand-navy: #204669;
  --brand-dark-navy: #0b3558;
  --brand-crimson: #da2c46;
  --brand-red-hover: #b81b21;
  --brand-gold: #D4AF37;
  --brand-light-bg: #e6e9ed;
  --brand-cream-bg: #FCFAF5;
  --brand-slate-text: #2C3E50;
  --brand-muted-text: #666666;
  --brand-blue-accent: #1782dc;
  --brand-border-light: #cbd5e0;

  /* HSL Tailored Palette */
  --bg-main: hsl(210, 20%, 98%);
  --bg-card: hsl(0, 0%, 100%);
  --bg-card-muted: hsl(210, 20%, 95%);
  --bg-dark-block: hsl(220, 24%, 12%);
  --border-color: hsl(215, 20%, 88%);
  --border-subtle: hsl(215, 20%, 93%);

  --text-primary: hsl(215, 30%, 15%);
  --text-secondary: hsl(215, 15%, 45%);
  --text-muted: hsl(215, 12%, 60%);
  --text-inverse: hsl(0, 0%, 100%);

  --brand-primary: hsl(212, 100%, 42%);
  --brand-primary-hover: hsl(212, 100%, 36%);
  --brand-primary-light: hsl(212, 100%, 95%);

  --color-success: hsl(152, 65%, 40%);
  --color-success-bg: hsl(152, 65%, 94%);
  --color-warning: hsl(38, 92%, 46%);
  --color-warning-bg: hsl(38, 92%, 94%);
  --color-danger: hsl(355, 75%, 52%);
  --color-danger-bg: hsl(355, 75%, 95%);
  --color-info: hsl(198, 88%, 44%);
  --color-info-bg: hsl(198, 88%, 94%);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.09);

  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.25s ease-in-out;
}

/* ==========================================================================
   CSS Resets & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Sleek Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  font-size: 1.3rem;
  color: var(--brand-primary);
}

.env-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--brand-primary);
  background-color: var(--bg-card-muted);
}

.nav-link.active {
  color: var(--brand-primary);
  background-color: var(--brand-primary-light);
  font-weight: 600;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: var(--color-success-bg);
  border-radius: 50px;
  text-decoration: none;
  color: var(--color-success);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-content {
  flex: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 24px 60px;
}

/* Hero Section */
.hero-section {
  padding: 36px 0 28px;
}

.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 780px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-muted);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-outline:hover {
  background-color: var(--brand-primary-light);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.btn-icon {
  background: none;
  border: 1px solid var(--border-color);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background-color: var(--bg-card-muted);
  color: var(--text-primary);
}

/* ==========================================================================
   Metrics Grid
   ========================================================================== */
.metrics-section {
  margin-bottom: 32px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.metric-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.metric-value {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.metric-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.metric-trend {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Status colors */
.text-success { color: var(--color-success); }
.text-muted { color: var(--text-muted); }
.text-info { color: var(--color-info); }
.text-danger { color: var(--color-danger); }

/* ==========================================================================
   Cards & Layout Columns
   ========================================================================== */
.content-columns {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: start;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   Data Table
   ========================================================================== */
.table-wrapper {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  padding: 12px 14px;
  background-color: var(--bg-card-muted);
  color: var(--text-secondary);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.data-table tr:hover td {
  background-color: hsl(210, 20%, 99%);
}

.item-title-cell {
  display: flex;
  flex-direction: column;
}

.item-title {
  font-weight: 600;
  color: var(--text-primary);
}

.item-id {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.timestamp {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.empty-state {
  text-align: center;
  padding: 32px !important;
  color: var(--text-secondary);
}

.action-buttons {
  display: flex;
  gap: 6px;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-category {
  background-color: hsl(215, 20%, 93%);
  color: var(--text-primary);
}

.badge-status {
  text-transform: capitalize;
}

.badge-active {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.badge-pending {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
}

.badge-completed {
  background-color: var(--color-info-bg);
  color: var(--color-info);
}

.badge-archived {
  background-color: hsl(215, 15%, 90%);
  color: var(--text-secondary);
}

/* Method Tags */
.method-tag {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.method-get {
  background-color: hsl(152, 65%, 90%);
  color: hsl(152, 65%, 30%);
}

.method-post {
  background-color: hsl(212, 100%, 92%);
  color: hsl(212, 100%, 35%);
}

.method-put {
  background-color: hsl(38, 92%, 90%);
  color: hsl(38, 92%, 35%);
}

.method-delete {
  background-color: hsl(355, 75%, 92%);
  color: hsl(355, 75%, 40%);
}

/* Quick API Box */
.quick-api-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.btn-api-trigger {
  background-color: var(--bg-card-muted);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-api-trigger:hover {
  border-color: var(--brand-primary);
  background-color: var(--brand-primary-light);
}

.api-output-container {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.api-output-header {
  background-color: var(--bg-card-muted);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pill {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 50px;
  background-color: var(--border-color);
  color: var(--text-secondary);
}

.status-pill.success {
  background-color: var(--color-success-bg);
  color: var(--color-success);
}

.json-code-block {
  background-color: var(--bg-dark-block);
  color: hsl(210, 25%, 88%);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  line-height: 1.5;
  overflow-x: auto;
  max-height: 380px;
}

/* ==========================================================================
   API Explorer Page
   ========================================================================== */
.page-header {
  margin-bottom: 28px;
}

.header-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.header-breadcrumb a {
  color: var(--brand-primary);
  text-decoration: none;
}

.page-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

.explorer-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;
}

.explorer-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
}

.sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.endpoint-group {
  margin-bottom: 20px;
}

.group-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.endpoint-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.endpoint-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all var(--transition-fast);
}

.endpoint-item:hover {
  background-color: var(--bg-card-muted);
}

.endpoint-item.active {
  background-color: var(--brand-primary-light);
  border-color: hsl(212, 100%, 80%);
}

.endpoint-path {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Request Bar */
.request-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.method-badge-display {
  padding: 10px 16px;
  background-color: hsl(152, 65%, 90%);
  color: hsl(152, 65%, 30%);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
}

.url-input-container {
  display: flex;
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--bg-card);
}

.url-prefix {
  background-color: var(--bg-card-muted);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.url-input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  outline: none;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.code-textarea {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background-color: hsl(210, 20%, 99%);
}

.response-inspector {
  margin-top: 20px;
}

.response-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: var(--bg-card-muted);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.response-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.latency-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Docs / About Grid
   ========================================================================== */
.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.doc-card {
  display: flex;
  flex-direction: column;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.feature-item {
  display: flex;
  gap: 12px;
}

.feature-bullet {
  width: 24px;
  height: 24px;
  background-color: var(--brand-primary-light);
  color: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.feature-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.code-tree {
  background-color: var(--bg-dark-block);
  color: hsl(210, 25%, 88%);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.825rem;
  line-height: 1.45;
  overflow-x: auto;
  margin-top: 14px;
}

/* ==========================================================================
   Forms & Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  background-color: var(--bg-card);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-light);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tech-badge {
  font-size: 0.75rem;
  padding: 3px 8px;
  background-color: var(--bg-card-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Error Page
   ========================================================================== */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.error-card {
  text-align: center;
  max-width: 500px;
  padding: 40px;
}

.error-code {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.error-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.error-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   Keyframe Animations & Interactive Utilities
   ========================================================================== */
.pulse-subtle {
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Hero Headline Block Smooth SlideUp / SlideDown Animations */
#heroHeadlineBlock {
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              margin 0.4s ease,
              padding 0.4s ease;
  will-change: max-height, opacity, transform;
  overflow: hidden;
}

#heroHeadlineBlock.slide-expanded {
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#heroHeadlineBlock.slide-collapsed {
  max-height: 0 !important;
  opacity: 0 !important;
  transform: translateY(-30px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none;
}

/* ==========================================================================
   Executive LeadConnector / GoHighLevel Live Chat Styling
   ========================================================================== */
#floatingChatWindow .lc_text-widget--box {
  font-family: 'DM Sans', sans-serif !important;
  border-radius: 1.5rem !important;
  overflow: hidden !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #ffffff !important;
  height: 100% !important;
  width: 100% !important;
}

#floatingChatWindow .lc_text-widget--embedded-live-chat-header {
  background: linear-gradient(135deg, #204669 0%, #0b3558 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 20px 24px 20px 20px !important;
}

#floatingChatWindow .lc_text-widget--embedded-live-chat-header-heading {
  font-family: 'Epilogue', serif !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  font-size: 1.15rem !important;
}

#floatingChatWindow .lc_text-widget--embedded-live-chat-header-subheading {
  color: #E2E8F0 !important;
  font-size: 0.8rem !important;
}

#floatingChatWindow chat-pane {
  border-radius: 0 !important;
  background: #ffffff !important;
  height: calc(100% - 70px) !important;
}

.lc_text-widget--embedded-live-chat-footer {
  background: #F8FAFC !important;
  border-top: 1px solid #E2E8F0 !important;
  padding: 8px 12px !important;
  font-size: 11px !important;
  color: #64748B !important;
}

.lc_text-widget--agency-branding-inner {
  color: #64748B !important;
}

.live-chat-send-button {
  background-color: #da2c46 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.live-chat-send-button:hover {
  background-color: #b81b21 !important;
  transform: scale(1.05) !important;
}

/* ==========================================================================
   DYNAMIC SCROLL-TRIGGERED ENTRANCE ANIMATIONS & SKELETON LOADERS
   ========================================================================== */

/* Base hidden state for animated elements before entering viewport */
.reveal-init {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Revealed active state */
.reveal-init.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Variation: Subtle Scale Entrance */
.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(14px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1 !important;
  transform: scale(1) translateY(0) !important;
}

/* Variation: Slide from Left */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Variation: Slide from Right */
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.is-revealed {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

/* Staggered Child Delays for Grids */
.stagger-container > *:nth-child(1) { transition-delay: 60ms; }
.stagger-container > *:nth-child(2) { transition-delay: 140ms; }
.stagger-container > *:nth-child(3) { transition-delay: 220ms; }
.stagger-container > *:nth-child(4) { transition-delay: 300ms; }
.stagger-container > *:nth-child(5) { transition-delay: 380ms; }
.stagger-container > *:nth-child(6) { transition-delay: 460ms; }
.stagger-container > *:nth-child(7) { transition-delay: 540ms; }
.stagger-container > *:nth-child(8) { transition-delay: 620ms; }

/* Dynamic Skeleton Loading Shimmer */
@keyframes dynamicShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-loading {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: dynamicShimmer 1.8s infinite ease-in-out;
}

.skeleton-loading-dark {
  background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
  background-size: 200% 100%;
  animation: dynamicShimmer 1.8s infinite ease-in-out;
}

/* Glass Card Interactive Micro-Animations */
.glass-card-interactive {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.glass-card-interactive:hover {
  transform: translateY(-5px);
}

/* Smooth Tab Fade Transition */
.tab-fade-enter {
  animation: tabFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal-init,
  .reveal-scale,
  .reveal-left,
  .reveal-right,
  .tab-fade-enter {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}
