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

:root {
  /* Colors — Light premium palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f4f6;
  --bg-input: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.8);

  --border-color: rgba(0, 0, 0, 0.1);
  --border-hover: rgba(0, 0, 0, 0.15);

  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;

  /* Accent colors */
  --accent-primary: #B91C1C;
  --accent-primary-hover: #991B1B;
  --accent-gradient: linear-gradient(135deg, #B91C1C, #991B1B);
  --accent-glow: rgba(185, 28, 28, 0.15);

  --success: #00d68f;
  --success-bg: rgba(0, 214, 143, 0.1);
  --warning: #ffa726;
  --warning-bg: rgba(255, 167, 38, 0.1);
  --danger: #f44336;
  --danger-bg: rgba(244, 67, 54, 0.1);
  --info: #42a5f5;
  --info-bg: rgba(66, 165, 245, 0.1);

  /* Score colors */
  --score-hot: #ff4757;
  --score-warm: #ffa502;
  --score-cool: #2ed573;
  --score-cold: #5a5a6a;

  /* Spacing */
  --sidebar-width: 260px;
  --header-height: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.15);
}

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

html,
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-primary-hover);
}

/* ============================================ */
/* Layout */
/* ============================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  transition: transform 0.3s ease;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 28px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.sidebar-logo h1 {
  font-size: 24px;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.sidebar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-glow);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  width: 100%;
}

.sidebar-link:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.sidebar-link.active {
  background: var(--accent-glow);
  color: var(--accent-primary);
  font-weight: 600;
}

.sidebar-link .icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  padding: 32px 40px;
  min-height: 100vh;
}

/* ============================================ */
/* Page Header */
/* ============================================ */
.page-header {
  margin-bottom: 32px;
}

.page-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* ============================================ */
/* Stats Cards */
/* ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card .stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.stat-card .stat-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-icon.purple {
  background: var(--accent-glow);
  color: var(--accent-primary);
}

.stat-icon.green {
  background: var(--success-bg);
  color: var(--success);
}

.stat-icon.orange {
  background: var(--warning-bg);
  color: var(--warning);
}

.stat-icon.blue {
  background: var(--info-bg);
  color: var(--info);
}

.stat-icon.red {
  background: var(--danger-bg);
  color: var(--danger);
}

/* ============================================ */
/* Cards / Tables */
/* ============================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
}

.card-body {
  padding: 24px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

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

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg-card-hover);
}

/* ============================================ */
/* Buttons */
/* ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 40px rgba(108, 92, 231, 0.25);
}

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

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

.btn-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(244, 67, 54, 0.2);
}

.btn-danger:hover {
  background: rgba(244, 67, 54, 0.15);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

/* ============================================ */
/* Forms */
/* ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

/* ============================================ */
/* Score Badge */
/* ============================================ */
.score-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.score-badge.hot {
  background: rgba(255, 71, 87, 0.12);
  color: var(--score-hot);
}

.score-badge.warm {
  background: rgba(255, 165, 2, 0.12);
  color: var(--score-warm);
}

.score-badge.cool {
  background: rgba(46, 213, 115, 0.12);
  color: var(--score-cool);
}

.score-badge.cold {
  background: rgba(90, 90, 106, 0.12);
  color: var(--score-cold);
}

/* ============================================ */
/* Status Badge */
/* ============================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

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

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

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

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

.status-badge.closed {
  background: rgba(90, 90, 106, 0.12);
  color: var(--text-muted);
}

.status-badge.cancelled {
  background: var(--danger-bg);
  color: var(--danger);
}

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

/* ============================================ */
/* Empty State */
/* ============================================ */
.empty-state {
  text-align: center;
  padding: 60px 40px;
  color: var(--text-secondary);
}

.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  max-width: 400px;
  margin: 0 auto 20px;
}

/* ============================================ */
/* Modal / Dialog */
/* ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

.modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 0 24px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ============================================ */
/* Conversation View */
/* ============================================ */
.conversation-view {
  max-height: 400px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-bubble {
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.message-bubble.user {
  align-self: flex-end;
  background: var(--accent-glow);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.message-bubble.assistant {
  align-self: flex-start;
  background: var(--bg-input);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

.message-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================ */
/* Loading */
/* ============================================ */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

/* ============================================ */
/* Toast */
/* ============================================ */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  z-index: 2000;
  animation: slideUp 0.3s ease;
}

.toast.success {
  border-left: 3px solid var(--success);
}

.toast.error {
  border-left: 3px solid var(--danger);
}

/* ============================================ */
/* Animations */
/* ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================ */
/* Responsive */
/* ============================================ */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    padding: 20px 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .form-row {
    flex-direction: column;
  }

  .data-table {
    font-size: 13px;
  }
}

/* ============================================ */
/* ============================================ */
/* Landing Page (Modern Dark Premium) */
/* ============================================ */
.landing-body {
  background-color: #ffffff;
  color: #111827;
  font-family: 'Montserrat', 'Inter', sans-serif;
  overflow-x: hidden;
  position: relative;
}

/* Background Grid Effect */
.landing-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

.landing-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.landing-nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 800;
  color: #B91C1C;
  letter-spacing: 1px;
}

.landing-nav-logo .logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #cda07a, #e8cab0);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030712;
  font-size: 14px;
  font-weight: 800;
}

.landing-nav-links {
  display: flex;
  gap: 32px;
}

.landing-nav-links a {
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
  cursor: pointer;
}

.landing-nav-links a:hover {
  color: #B91C1C;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.landing-btn-ghost {
  color: #111827;
  background: transparent;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.landing-btn-ghost:hover {
  background: rgba(185, 28, 28, 0.05);
  color: #B91C1C;
}

.landing-btn-gold {
  background: #B91C1C;
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}

.landing-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
  background: #991B1B;
}

/* Sections */
.landing-section {
  padding: 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero */
.hero-section {
  text-align: center;
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.05) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}

.gold-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(185, 28, 28, 0.1);
  color: #B91C1C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 24px;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: #111827;
}

.hero-subtitle {
  font-size: 20px;
  color: #4b5563;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-val {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}

.stat-lbl {
  font-size: 14px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* WhatsApp Mockup */
.wa-mockup {
  max-width: 420px;
  margin: 80px auto 0;
  background: #111b21;
  border: 8px solid #20283c;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  text-align: left;
}

.wa-header {
  background: #202c33;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #cda07a, #e8cab0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030712;
  font-weight: bold;
}

.wa-title {
  font-size: 16px;
  font-weight: 600;
  color: #e9edef;
  margin-bottom: 2px;
}

.wa-subtitle {
  font-size: 12px;
  color: #8696a0;
}

.wa-body {
  padding: 24px;
  background: #0b141a;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 320px;
}

.msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.msg-in {
  background: #202c33;
  color: #e9edef;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.msg-out {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-top-right-radius: 0;
}

/* Dashboard Mockup Section */
.dashboard-preview-section {
  padding-top: 60px;
  text-align: center;
}

.dashboard-mockup {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.db-mockup-header {
  background: #f9fafb;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.db-dots {
  display: flex;
  gap: 6px;
  margin-right: 20px;
}

.db-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #374151;
}

.db-dots span:nth-child(1) {
  background: #ff5f56;
}

.db-dots span:nth-child(2) {
  background: #ffbd2e;
}

.db-dots span:nth-child(3) {
  background: #27c93f;
}

.db-url {
  background: #ffffff;
  padding: 6px 24px;
  border-radius: 6px;
  font-size: 12px;
  color: #6b7280;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.db-mockup-body {
  display: flex;
  height: 500px;
}

.db-sidebar {
  width: 200px;
  background: #f9fafb;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-sidebar-item {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #4b5563;
  font-weight: 500;
}

.db-sidebar-item.active {
  background: rgba(185, 28, 28, 0.1);
  color: #B91C1C;
}

.db-main {
  flex: 1;
  padding: 32px;
  background: #ffffff;
}

.db-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.db-main-header h3 {
  font-size: 18px;
  color: #111827;
  font-weight: 600;
}

.db-btn {
  background: #B91C1C;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}

.db-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.db-stat {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.db-stat-lbl {
  font-size: 12px;
  color: #4b5563;
}

.db-stat-val {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.db-table-mock {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

.db-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 13px;
  color: #111827;
  align-items: center;
}

.db-table-row:last-child {
  border-bottom: none;
}

.db-table-row.header {
  background: #f9fafb;
  color: #6b7280;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.db-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.db-badge.hot {
  background: rgba(255, 71, 87, 0.15);
  color: #ff4757;
}

.db-badge.booked {
  background: rgba(46, 213, 115, 0.15);
  color: #2ed573;
}

.db-badge.warm {
  background: rgba(255, 165, 2, 0.15);
  color: #ffa502;
}

/* Features */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: #4b5563;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 32px;
  text-align: left;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(185, 28, 28, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(185, 28, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: #B91C1C;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.feature-desc {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

/* How It Works - Zig Zag */
.hiw-title-gold {
  color: #B91C1C;
  display: block;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 80px auto 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-icon {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B91C1C;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.timeline-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.timeline-step {
  font-size: 12px;
  font-weight: 700;
  color: #B91C1C;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.timeline-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.timeline-card-desc {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

.timeline-empty {
  min-height: 1px;
}

/* CTA */
.cta-section {
  text-align: center;
  padding: 120px 24px;
  position: relative;
}

.cta-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 32px;
  padding: 80px 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.cta-glow {
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(185, 28, 28, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: 48px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.cta-subtitle {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.landing-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 36px 48px;
  color: #6b7280;
  font-size: 14px;
  background: #f9fafb;
}

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

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

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: #B91C1C;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  color: #6b7280;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #B91C1C;
}

/* ============================================ */
/* Legal Pages (Terms & Privacy) */
/* ============================================ */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}


.legal-header {
  text-align: center;
  margin-bottom: 60px;
}

.legal-title {
  font-size: 48px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.legal-date {
  color: #6b7280;
  font-size: 14px;
}

.legal-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 40px;
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
}

.legal-section p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section ul li {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '•';
  color: #B91C1C;
  position: absolute;
  left: 0;
}

.legal-section a {
  color: #B91C1C;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-section a:hover {
  color: #991B1B;
}

.legal-section strong {
  color: #111827;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .landing-navbar {
    padding: 16px 20px;
  }

  .landing-nav-links {
    display: none;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .timeline-empty {
    display: none;
  }

  .timeline-icon {
    margin: 0 auto;
  }

  .timeline-line {
    display: none;
  }

  .cta-title {
    font-size: 32px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .legal-title {
    font-size: 32px;
  }
}