/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(83, 145, 233, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(83, 145, 233, 0.2);
  border: 1px solid rgba(83, 145, 233, 0.4);
  color: #90c1f9;
  border-radius: 2rem;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(90deg, #5391e9, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  max-width: 520px;
}

.hero-phone {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(10px);
}

.mock-event {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
}

.mock-event:last-child {
  margin-bottom: 0;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Stats strip ── */
.stats-strip {
  background: #f8f9ff;
  border-top: 1px solid #e8ecf5;
  border-bottom: 1px solid #e8ecf5;
  padding: 1.75rem 0;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

/* ── Features ── */
.feature-card {
  border: 1px solid #e8ecf5;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(83, 145, 233, 0.12);
  transform: translateY(-2px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

/* ── Steps ── */
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5391e9, #a78bfa);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #5391e9, #a78bfa);
  margin: 0 0.5rem;
  align-self: center;
}

/* ── Roles ── */
.role-card {
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}

.role-card .role-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

/* ── Footer ── */
.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem 0;
  font-size: 0.875rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* ── Theme toggle ── */
#theme-toggle {
  border: none;
  font-size: 1.1rem;
  line-height: 1;
}

/* ══════════════════════════════════════════
   Dark-mode overrides (Bootstrap 5.3)
   Bootstrap handles cards, tables, forms,
   badges, alerts, etc. automatically via
   data-bs-theme="dark". Below we only
   override custom-styled components.
   ══════════════════════════════════════════ */

[data-bs-theme="dark"] .stats-strip {
  background: #1a1d23;
  border-top-color: #2d3139;
  border-bottom-color: #2d3139;
}

[data-bs-theme="dark"] .stat-item .stat-num {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .stat-item .stat-label {
  color: #9ca3af;
}

[data-bs-theme="dark"] .feature-card {
  background: var(--bs-body-bg);
  border-color: #2d3139;
}

[data-bs-theme="dark"] .feature-card:hover {
  box-shadow: 0 8px 32px rgba(83, 145, 233, 0.2);
}

[data-bs-theme="dark"] .feature-icon {
  opacity: 0.85;
}

[data-bs-theme="dark"] .role-card {
  border-color: #2d3139 !important;
}

[data-bs-theme="dark"] .role-card[style*="background:#f0f9ff"] {
  background: #172032 !important;
  border-color: #1e3a5f !important;
}

[data-bs-theme="dark"] .role-card[style*="background:#fdf4ff"] {
  background: #231730 !important;
  border-color: #3b2260 !important;
}

[data-bs-theme="dark"] .role-card[style*="background:#f0fdf4"] {
  background: #14261a !important;
  border-color: #1e4d2e !important;
}

[data-bs-theme="dark"] .alert-debug {
  color: #e2e8f0;
  background-color: #1a1d23;
  border-color: #2d3139;
}

[data-bs-theme="dark"] .alert-error {
  color: #f87171;
  background-color: #2d1b1b;
  border-color: #4c2020;
}

/* ── Navbar sticky positioning ── */
.navbar-sticky {
  background: rgba(15, 20, 40, 0.95);
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(8px);
}

/* ── Hero phone text spacing ── */
.hero-phone-label {
  letter-spacing: 0.06em;
}

/* ── Mock activity statuses (dot colors) ── */
.mock-dot-green {
  background: #4ade80;
}

.mock-dot-blue {
  background: #60a5fa;
}

.mock-dot-purple {
  background: #a78bfa;
}

.mock-dot-orange {
  background: #fb923c;
}

/* ── Mock event divider ── */
.mock-event-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Feature icon containers ── */
.feature-icon-blue {
  background: #eff6ff;
}

.feature-icon-green {
  background: #f0fdf4;
}

.feature-icon-purple {
  background: #fdf4ff;
}

.feature-icon-orange {
  background: #fff7ed;
}

.feature-icon-cyan {
  background: #f0f9ff;
}

.feature-icon-yellow {
  background: #fefce8;
}

/* ── Feature icon text colors ── */
.text-icon-purple {
  color: #a21caf;
}

.text-icon-orange {
  color: #ea580c;
}

.text-icon-amber {
  color: #ca8a04;
}

/* ── Section padding helpers ── */
.section-padding-lg {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-top-lg {
  padding-top: 5rem;
}

/* ── Selfie image styling ── */
.selfie-image {
  max-height: 400px;
  object-fit: cover;
}

/* ── Description text width constraint ── */
.description-constrained {
  max-width: 520px;
}

/* ── Step number icons ── */
.step-number {
  width: 36px;
  height: 36px;
}

/* ── Role section padding ── */
.roles-section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ── Role cards with background colors ── */
.role-card-blue {
  background: #f0f9ff;
}

.role-card-purple {
  background: #fdf4ff;
}

.role-card-green {
  background: #f0fdf4;
}

/* ── Role icon text colors ── */
.text-role-blue {
  color: #0284c7;
}

.text-role-purple {
  color: #7c3aed;
}

.text-role-green {
  color: #16a34a;
}

/* ── Section text opacity ── */
.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-white-80 {
  color: rgba(255, 255, 255, 0.8);
}

/* ── Step badge styling ── */
.step-number {
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 1rem;
}

/* ── Amber text color ── */
.text-role-amber {
  color: #b45309;
}

/* ── CTA section paragraph ── */
.cta-description {
  font-size: 1.1rem;
  max-width: 480px;
  margin-inline: auto;
}

/* ── Role card borders ── */
.role-card-blue {
  border: 1px solid #bae6fd;
}

.role-card-purple {
  border: 1px solid #e9d5ff;
}

.role-card-green {
  border: 1px solid #bbf7d0;
}
