/* ==========================================================================
   MOISES HUAMAN - WHATSAPP CRM DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  /* Color Palette */
  --primary: #10b981;
  --primary-hover: #059669;
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  --whatsapp-dark: #128c7e;
  --whatsapp-bg: #075e54;
  
  --bg-main: #0f172a;
  --bg-surface: #1e293b;
  --bg-surface-hover: #283548;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-glass: rgba(15, 23, 42, 0.85);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-active: rgba(37, 211, 102, 0.3);
  
  --accent-blue: #38bdf8;
  --accent-purple: #818cf8;
  --badge-bg: rgba(37, 211, 102, 0.12);
  --badge-text: #4ade80;
  
  /* Fonts & Shadows */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 25px rgba(37, 211, 102, 0.25);
  
  /* Layout */
  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background Atmosphere Gradients */
.bg-glow-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, rgba(15, 23, 42, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-2 {
  position: absolute;
  top: 40%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, rgba(15, 23, 42, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #25d366 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-alt {
  background: linear-gradient(135deg, #38bdf8 0%, #25d366 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  color: white;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--whatsapp);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--whatsapp);
  color: #064e3b;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-primary:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #022c22;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--badge-bg);
  border: 1px solid var(--border-active);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--whatsapp);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
}

.hero p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

/* CRM Mockup Showcase */
.crm-preview-wrapper {
  max-width: 1020px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.crm-preview {
  background: #0b1120;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: left;
}

.crm-window-header {
  background: #0f172a;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-status {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--whatsapp);
  border-radius: 50%;
}

/* CRM Mock Interface Grid */
.crm-grid {
  display: grid;
  grid-template-columns: 240px 320px 1fr;
  height: 420px;
  background: #0b1120;
}

.crm-sidebar {
  border-right: 1px solid var(--border);
  background: #090e1a;
  padding: 1rem 0.75rem;
}

.crm-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.crm-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.crm-menu-item.active {
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp);
}

.crm-chat-list {
  border-right: 1px solid var(--border);
  background: #0d1424;
  overflow-y: auto;
}

.chat-list-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.chat-item {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  gap: 0.75rem;
  align-items: center;
  transition: var(--transition);
}

.chat-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
  color: #fff;
}

.avatar.av-1 { background: #0284c7; }
.avatar.av-2 { background: #7c3aed; }
.avatar.av-3 { background: #059669; }

.chat-info {
  flex: 1;
  min-width: 0;
}

.chat-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.chat-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.chat-snippet {
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crm-chat-body {
  display: flex;
  flex-direction: column;
  background: #0b1120;
}

.chat-body-header {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-body-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.chat-tag {
  font-size: 0.7rem;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.chat-messages {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow-y: auto;
}

.msg-bubble {
  max-width: 75%;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.4;
  position: relative;
}

.msg-received {
  align-self: flex-start;
  background: #1e293b;
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
}

.msg-sent {
  align-self: flex-end;
  background: #075e54;
  color: #fff;
  border-bottom-right-radius: 2px;
}

.msg-stamp {
  font-size: 0.65rem;
  opacity: 0.7;
  display: block;
  text-align: right;
  margin-top: 4px;
}

.chat-input-bar {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #0e1626;
}

.fake-input {
  flex: 1;
  background: #1e293b;
  border: 1px solid var(--border);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fake-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #064e3b;
  font-size: 0.85rem;
}

/* Stats Counter */
.stats-banner {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

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

.stat-item h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--whatsapp);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Features Section */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-tag {
  color: var(--whatsapp);
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-active);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--whatsapp);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Architecture / Meta Verified Section */
.meta-verified-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(30, 41, 59, 0.4) 50%, rgba(15, 23, 42, 0) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meta-box {
  background: var(--bg-surface);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.meta-box h3 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.meta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.meta-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.meta-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.meta-checklist li svg {
  color: var(--whatsapp);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Legal Business Verification Card (Exact SUNAT Data) */
.legal-card {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.legal-card-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.legal-details {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.88rem;
}

.legal-row {
  display: flex;
  flex-direction: column;
}

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

.legal-val {
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-word;
}

/* Contact / CTA Section */
.cta-banner {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #a7f3d0;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

/* Footer */
.footer {
  background: #090e1a;
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}

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

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--whatsapp);
  padding-left: 3px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: var(--text-secondary);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-contact-list svg {
  color: var(--whatsapp);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal-badges {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-badges a {
  color: var(--text-muted);
}

.footer-legal-badges a:hover {
  color: var(--whatsapp);
}

/* ==========================================================================
   LEGAL PAGES STYLES (Privacidad, Términos, Eliminación de datos)
   ========================================================================== */
.legal-page-header {
  padding-top: 130px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.5);
}

.legal-page-header h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  padding: 50px 0 80px 0;
  max-width: 860px;
}

.legal-article {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.legal-article h2 {
  color: var(--text-primary);
  font-size: 1.45rem;
  font-weight: 700;
  margin-top: 2.2rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.4rem;
}

.legal-article h2:first-child {
  margin-top: 0;
}

.legal-article h3 {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-article p {
  margin-bottom: 1.2rem;
}

.legal-article ul, .legal-article ol {
  margin-left: 1.5rem;
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-article strong {
  color: var(--text-primary);
}

.alert-box {
  background: rgba(37, 211, 102, 0.08);
  border-left: 4px solid var(--whatsapp);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.alert-box p {
  margin: 0;
  color: #e2e8f0;
}

.meta-step-card {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.meta-step-card h4 {
  color: var(--whatsapp);
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .crm-grid {
    grid-template-columns: 200px 1fr;
  }
  .crm-sidebar {
    display: none;
  }
  .meta-box {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  
  /* Mobile drawer */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0f172a;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .crm-grid {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .crm-chat-list {
    display: none;
  }
  
  .crm-chat-body {
    height: 380px;
  }
  
  .legal-article {
    padding: 1.75rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
