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

:root {
  --font-primary: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Colors */
  --bg-dark: #0B1020;
  --bg-dark-card: rgba(255, 255, 255, 0.03);
  --bg-dark-border: rgba(255, 255, 255, 0.08);
  
  --bg-light: #F8FAFC;
  --bg-light-card: #FFFFFF;
  --border-light: #E5E7EB;

  --accent-primary: #635BFF;
  --accent-primary-hover: #4F46E5;
  --accent-secondary: #2DD4BF;
  --accent-secondary-hover: #14B8A6;

  --text-dark: #F9FAFB;
  --text-dark-muted: #9CA3AF;
  
  --text-light: #111827;
  --text-light-muted: #6B7280;

  --trust-green: #16A34A;
  --policy-amber: #F59E0B;
  --danger-red: #EF4444;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 25px rgba(99, 91, 255, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(45, 212, 191, 0.25);

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-light);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dark mode utility for hero sections */
.theme-dark {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-size: 3rem; /* 48px */
}
@media (min-width: 1024px) {
  h1 { font-size: 4rem; /* 64px */ }
}

h2 {
  font-size: 2.25rem; /* 36px */
}
@media (max-width: 768px) {
  h2 { font-size: 1.75rem; }
}

p {
  color: var(--text-light-muted);
}
.theme-dark p {
  color: var(--text-dark-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  height: 70px;
  box-shadow: var(--shadow-md);
}

.theme-dark .navbar {
  border-bottom: 1px solid var(--bg-dark-border);
  background: rgba(11, 16, 32, 0.8);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
}

.logo-text span {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light-muted);
}

.theme-dark .nav-links a {
  color: var(--text-dark-muted);
}

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

.theme-dark .nav-links a:hover {
  color: var(--accent-secondary);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: inherit;
}
.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--transition-fast);
}
@media (max-width: 900px) {
  .mobile-nav-toggle { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 8px;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.4);
}
.btn-primary:hover {
  background: var(--accent-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 91, 255, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid var(--bg-dark-border);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}
.btn-outline:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent-secondary);
  color: var(--bg-dark);
  box-shadow: 0 4px 14px rgba(45, 212, 191, 0.4);
}
.btn-accent:hover {
  background: var(--accent-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 212, 191, 0.6);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 96px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(99, 91, 255, 0.15), transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(45, 212, 191, 0.1), transparent 40%),
              #0B1020;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-badge {
  background: rgba(99, 91, 255, 0.15);
  border: 1px solid rgba(99, 91, 255, 0.3);
  color: #8F8AFF;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-badge.success {
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.3);
  color: #4ADE80;
}

.hero-badge.cyan {
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.3);
  color: #2DD4BF;
}

.hero h1 {
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FFFFFF 50%, #A5B4FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}

.trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.trust-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark-muted);
}

.trust-bullets li svg {
  color: var(--accent-secondary);
  flex-shrink: 0;
}

/* Sections */
section {
  padding: 96px 0;
  position: relative;
}

section.bg-gray {
  background-color: var(--bg-light);
}

section.bg-white {
  background-color: var(--bg-light-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

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

.section-header h2 {
  margin-bottom: 16px;
  color: var(--text-light);
}

.theme-dark-section {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

.theme-dark-section .section-header h2 {
  color: var(--text-dark);
}

/* Cards */
.card {
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.theme-dark .card, .theme-dark-section .card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  box-shadow: none;
}

.theme-dark .card:hover, .theme-dark-section .card:hover {
  border-color: rgba(99, 91, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(99, 91, 255, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.theme-dark-section .card-icon {
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-secondary);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

/* Portal Audience Cards (Home Page) */
.portal-grid {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.portal-card {
  padding: 48px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-normal);
}

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

.portal-card.advertiser-portal::before {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.15) 0%, transparent 60%);
}

.portal-card:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 91, 255, 0.4);
  box-shadow: var(--shadow-glow);
}

.portal-card.advertiser-portal:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: var(--shadow-glow-cyan);
}

.portal-card h3 {
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.portal-card p {
  font-size: 1.1rem;
  color: var(--text-dark-muted);
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.portal-card .btn {
  align-self: flex-start;
  position: relative;
  z-index: 2;
}

/* Workflow Chat Mockup */
.mockup-container {
  position: relative;
  background: #11182E;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.mockup-header {
  height: 48px;
  background: #080B18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

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

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #EF4444;
}

.mockup-dot:nth-child(2) { background: #F59E0B; }
.mockup-dot:nth-child(3) { background: #10B981; }

.mockup-title {
  color: #A5B4FC;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  margin-left: 12px;
  letter-spacing: 0.05em;
}

.mockup-tabs {
  display: flex;
  background: #080B18;
  padding: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
}

.mockup-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-dark-muted);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.mockup-tab-btn:hover {
  color: white;
}

.mockup-tab-btn.active {
  background: rgba(99, 91, 255, 0.2);
  border: 1px solid rgba(99, 91, 255, 0.45);
  color: white;
  box-shadow: 0 0 10px rgba(99, 91, 255, 0.35);
}

.mockup-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 0.95rem;
}

.mockup-bubble {
  max-width: 85%;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  position: relative;
}

.mockup-bubble.user {
  background: rgba(99, 91, 255, 0.16);
  border: 1px solid rgba(99, 91, 255, 0.35);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #EEF2FF;
  box-shadow: 0 4px 15px rgba(99, 91, 255, 0.08);
}

.mockup-bubble.agent {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: #F3F4F6;
}

.mockup-bubble-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dark-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mockup-bubble.user .mockup-bubble-label {
  color: #A5B4FC;
}

/* Sponsored Offer Card Component */
.sponsored-card-wrapper {
  margin-top: 12px;
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sponsored-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}

.sponsored-card-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-secondary);
  background: rgba(45, 212, 191, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.sponsored-card-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-dark-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.sponsored-card {
  background: linear-gradient(135deg, rgba(99, 91, 255, 0.06) 0%, rgba(45, 212, 191, 0.06) 100%);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), var(--shadow-glow-cyan);
  transition: var(--transition-normal);
}

.sponsored-card:hover {
  border-color: rgba(45, 212, 191, 0.6);
  box-shadow: 0 12px 35px rgba(45, 212, 191, 0.25), var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

.sponsored-card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.sponsored-card-advertiser {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.sponsored-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-top: 2px;
}

.sponsored-card-desc {
  font-size: 0.85rem;
  color: var(--text-dark-muted);
  line-height: 1.5;
}

.sponsored-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}

.sponsored-card-btn {
  background: var(--accent-secondary);
  color: var(--bg-dark);
  border: none;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.sponsored-card-btn:hover {
  background: var(--accent-secondary-hover);
  transform: translateY(-1px);
}

.sponsored-card-policy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--trust-green);
}

.sponsored-card-policy svg {
  width: 14px;
  height: 14px;
}

/* Timeline Flow (How it works) */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32px;
  width: 2px;
  background: var(--border-light);
}

.theme-dark-section .timeline::before {
  background: var(--bg-dark-border);
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 48px;
}

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

.timeline-badge {
  position: absolute;
  left: 18px;
  top: 4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-light-card);
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-primary);
  z-index: 2;
}

.theme-dark-section .timeline-badge {
  background: var(--bg-dark);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
}

/* Interactive Forms */
.form-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-wrapper h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  text-align: center;
}

.form-intro {
  text-align: center;
  color: var(--text-light-muted);
  margin-bottom: 40px;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 24px;
  min-width: 0;
}

.form-row {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

label.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  background-color: var(--bg-light);
  color: var(--text-light);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.1);
}

.form-checkbox-group {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 10px;
}

@media (min-width: 480px) {
  .form-checkbox-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-checkbox-label, .form-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-light-muted);
}

.form-checkbox-label input, .form-radio-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-primary);
}

.radio-cards-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}

@media (min-width: 480px) {
  .radio-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.radio-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-card:hover {
  background: var(--bg-light);
}

.radio-card input {
  display: none;
}

.radio-card.active {
  border-color: var(--accent-primary);
  background: rgba(99, 91, 255, 0.05);
  font-weight: 600;
  color: var(--accent-primary);
}

/* Lead Scorer Result Modal / Panel */
.lead-scorer-result {
  display: none;
  margin-top: 32px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #FFF;
  border: 1px solid var(--border-light);
  animation: fadeIn 0.4s ease;
}

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

.lead-scorer-result.active {
  display: block;
}

.score-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.score-gauge {
  position: relative;
  width: 80px;
  height: 80px;
}

.score-circle-svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.score-circle-bg {
  fill: none;
  stroke: var(--border-light);
  stroke-width: 8;
}

.score-circle-fill {
  fill: none;
  stroke: var(--accent-primary);
  stroke-width: 8;
  stroke-dasharray: 226;
  stroke-dashoffset: 226;
  transition: stroke-dashoffset 1s ease-out;
}

.score-text-val {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.15rem;
  font-weight: 800;
}

.lead-badge {
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-block;
}

.lead-badge.high {
  background: rgba(22, 163, 74, 0.1);
  color: var(--trust-green);
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.lead-badge.medium {
  background: rgba(99, 91, 255, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(99, 91, 255, 0.2);
}

.lead-badge.nurture {
  background: rgba(245, 158, 11, 0.1);
  color: var(--policy-amber);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.lead-badge.low {
  background: rgba(107, 114, 128, 0.1);
  color: var(--text-light-muted);
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.lead-feedback-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.lead-feedback-desc {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.lead-score-breakdown {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.breakdown-row strong {
  color: var(--text-light);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-light);
  background: var(--bg-light-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.theme-dark-section .faq-item {
  border-color: var(--bg-dark-border);
  background: var(--bg-dark-card);
}

.faq-trigger {
  width: 100%;
  padding: 24px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.theme-dark-section .faq-trigger {
  color: var(--text-dark);
}

.faq-icon {
  transition: var(--transition-normal);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height var(--transition-normal) ease, padding var(--transition-normal) ease;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content p {
  font-size: 0.95rem;
}

/* Dashboard Visuals */
.dashboard-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 1024px) {
  .dashboard-grid {
    grid-template-columns: 240px 1fr;
  }
}

.dashboard-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-tab-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-light-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: var(--transition-fast);
}

.dashboard-tab-btn:hover {
  background: var(--border-light);
  color: var(--text-light);
}

.dashboard-tab-btn.active {
  background: var(--accent-primary);
  color: white;
}

.dashboard-content-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.dashboard-content-panel.active {
  display: block;
}

.stats-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.stat-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.stat-card-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.2;
}

.stat-card-change {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 4px;
}

.stat-card-change.up { color: var(--trust-green); }
.stat-card-change.down { color: var(--danger-red); }

/* SVG Simple Chart */
.chart-container {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

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

.chart-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.chart-legend {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light-muted);
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-color.purple { background-color: var(--accent-primary); }
.legend-color.cyan { background-color: var(--accent-secondary); }

.svg-chart {
  width: 100%;
  height: 240px;
}

/* Matching Table */
.matching-table-wrapper {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.matching-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.matching-table th {
  background: var(--bg-light);
  padding: 16px 24px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-light);
}

.matching-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

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

.overlap-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.overlap-bar-bg {
  flex-grow: 1;
  height: 8px;
  background: var(--bg-light);
  border-radius: 100px;
  overflow: hidden;
  max-width: 120px;
}

.overlap-bar-fill {
  height: 100%;
  border-radius: 100px;
}

.overlap-bar-fill.high { background: var(--trust-green); }
.overlap-bar-fill.medium { background: var(--accent-primary); }
.overlap-bar-fill.low { background: var(--policy-amber); }

/* Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--text-dark-muted);
  padding: 80px 0 48px 0;
  border-top: 1px solid var(--bg-dark-border);
}

.footer-grid {
  display: grid;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr repeat(3, 1fr);
  }
}

.footer-brand h3 {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-links h4 {
  color: white;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

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

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse-badge {
  animation: pulse 2s infinite;
}

/* Dashboard Form Submissions Area */
.sub-leads-list {
  margin-top: 32px;
}

.sub-lead-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-lead-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sub-lead-name {
  font-weight: 700;
  font-size: 1rem;
}

.sub-lead-details {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

/* Custom Multi-select Dropdown styling */
.custom-multiselect {
  position: relative;
  width: 100%;
  min-width: 0;
}

.multiselect-select-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-light);
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.multiselect-selected-options {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-light-muted);
  min-width: 0;
  flex-grow: 1;
  margin-right: 8px;
}

.multiselect-arrow {
  font-size: 0.8rem;
  color: var(--text-light-muted);
  transition: transform var(--transition-fast);
}

.multiselect-dropdown-list {
  display: none;
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
}

.multiselect-dropdown-list.active {
  display: block;
}

.multiselect-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-light);
}

.multiselect-option-label:hover {
  background-color: var(--bg-light);
}

.multiselect-option-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-primary);
}

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: calc(100% - 48px);
  max-width: 580px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  z-index: 99999;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 91, 255, 0.15);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  opacity: 0;
  pointer-events: none;
}

#cookie-consent-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-text {
  color: #E2E8F0;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Off-screen deceptive honeypot confirm-field wrapper */
.confirm-field-wrapper {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

