/* ==========================================================================
   CivicAI Hero Section
   ========================================================================== */

.hero-section {
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--color-brand-blue-light) 0%, var(--color-emerald-50) 100%);
  border: 1px solid var(--color-brand-blue-border);
  font-size: 0.8125rem;
  font-weight: var(--fw-semibold);
  color: var(--color-brand-blue);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-emerald-600);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* Main Heading */
.hero-title {
  font-size: 3.5rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  color: var(--color-primary-950);
  margin-bottom: 1.25rem;
  letter-spacing: -0.035em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--color-brand-blue) 0%, #1e3a8a 60%, var(--color-emerald-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtitle */
.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
}

/* Quick Metrics Bar */
.hero-metrics-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.metric-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-blue);
  box-shadow: var(--shadow-xs);
}

.metric-text {
  display: flex;
  flex-direction: column;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--color-primary-950);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0 2.5rem 0;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  .hero-metrics-bar {
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    padding-left: 1rem;
  }
}
/* =====================================================
   Dark Mode — Hero Section
   ===================================================== */

[data-theme="dark"] .hero-section {
  background: #0b1120 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .hero-section::before,
[data-theme="dark"] .hero-section::after {
  opacity: 0.15;
}

[data-theme="dark"] .hero-title {
  color: #f8fafc !important;
}

[data-theme="dark"] .hero-description {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .search-input-card {
  background: #111827 !important;
  border-color: #334155 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .search-input-field {
  background: transparent !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .search-input-field::placeholder {
  color: #64748b !important;
}

[data-theme="dark"] .sample-prompts-header {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .sample-prompt-chip {
  background: #111827 !important;
  border-color: #334155 !important;
  color: #cbd5e1 !important;
}

[data-theme="dark"] .sample-prompt-chip:hover {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #ffffff !important;
}

[data-theme="dark"] .hero-metrics-bar {
  background: #111827 !important;
  border-color: #263449 !important;
}

[data-theme="dark"] .metric-number {
  color: #f8fafc !important;
}

[data-theme="dark"] .metric-label {
  color: #94a3b8 !important;
}
/* =====================================================
   Dark Mode — Hero Badge
   ===================================================== */

[data-theme="dark"] .hero-pill-badge {
  background: rgba(14, 165, 233, 0.10) !important;
  border-color: rgba(14, 165, 233, 0.30) !important;
  color: #7dd3fc !important;
}

[data-theme="dark"] .hero-pill-badge span {
  color: #7dd3fc !important;
}

[data-theme="dark"] .hero-pill-dot {
  background: #38bdf8 !important;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
}
