/**
 * Afritalk public homepage (index.php) — marketing layout & utilities.
 * Do not use the dashboard bundle (styles.css) here; it does not define these classes.
 */
:root {
  --fe-navy: #0f172a;
  --fe-navy-2: #1e293b;
  --fe-accent: #4f46e5;
  --fe-accent-2: #6366f1;
  --fe-coral: #f97357;
  --fe-warm: #faf8f5;
  --fe-muted: #64748b;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--fe-navy);
}

.heading-font {
  font-family: "Outfit", "Inter", system-ui, sans-serif;
}

.text-navy {
  color: var(--fe-navy) !important;
}

.text-accent {
  color: var(--fe-accent) !important;
}

.bg-light-warm {
  background-color: var(--fe-warm) !important;
}

.bg-navy {
  background-color: var(--fe-navy) !important;
}

.bg-navy-soft {
  background: rgba(15, 23, 42, 0.08) !important;
}

.bg-accent-soft {
  background: linear-gradient(
    135deg,
    rgba(79, 70, 229, 0.12) 0%,
    rgba(99, 102, 241, 0.08) 50%,
    rgba(249, 115, 87, 0.08) 100%
  ) !important;
}

.bg-accent-soft .text-navy.text-opacity-75 {
  color: rgba(15, 23, 42, 0.75) !important;
}

.min-vh-75 {
  min-height: 75vh;
}

.z-index-1 {
  z-index: 1;
}

.max-w-700 {
  max-width: 700px;
}

.section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.shadow-sm-soft {
  box-shadow: 0 4px 24px -6px rgba(15, 23, 42, 0.08) !important;
}

.shadow-soft {
  box-shadow: 0 12px 40px -12px rgba(79, 70, 229, 0.25) !important;
}

.navbar.shadow-sm-soft {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
}

.navbar.nav-scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -14px rgba(15, 23, 42, 0.18) !important;
}

/* Logo */
.alc-fe-logo {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.alc-fe-logo--footer {
  height: 44px;
  max-width: 200px;
  opacity: 0.98;
}

.navbar .brand-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(249, 115, 87, 0.12));
  color: var(--fe-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.footer-brand-wrap .brand-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero decorative shapes */
.hero {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}

.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.shape-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -80px;
}

.shape-2 {
  width: 280px;
  height: 280px;
  bottom: 10%;
  left: -100px;
}

.underline-scribble {
  position: relative;
  display: inline;
}

.underline-scribble::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.35em;
  background: linear-gradient(
    90deg,
    rgba(79, 70, 229, 0.35),
    rgba(249, 115, 87, 0.35)
  );
  border-radius: 2px;
  z-index: -1;
}

.rounded-blob {
  border-radius: 42% 58% 62% 38% / 42% 38% 62% 58%;
}

.hero-image-container {
  min-height: 320px;
}

@media (min-width: 992px) {
  .hero-image-container {
    min-height: 440px;
  }
}

.floating-chat-bubble {
  bottom: 12%;
  left: 0;
  max-width: min(300px, 92%);
  z-index: 2;
  animation: fe-float 5s ease-in-out infinite;
}

.floating-reaction {
  top: 8%;
  right: 4%;
  z-index: 2;
  animation: fe-float 6s ease-in-out infinite 0.5s;
}

@keyframes fe-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.rounded-bottom-left-0 {
  border-bottom-left-radius: 0 !important;
}

.avatar-sm {
  width: 36px;
  height: 36px;
  object-fit: cover;
}

.avatar-group .avatar-sm {
  margin-left: -10px;
}

.avatar-group .avatar-sm:first-child {
  margin-left: 0;
}

.ms-n2 {
  margin-left: -0.5rem !important;
}

/* Buttons */
.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--fe-accent);
  --bs-btn-border-color: var(--fe-accent);
  --bs-btn-hover-bg: #4338ca;
  --bs-btn-hover-border-color: #4338ca;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #3730a3;
  --bs-btn-active-border-color: #3730a3;
}

.btn-navy {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--fe-navy);
  --bs-btn-border-color: var(--fe-navy);
  --bs-btn-hover-bg: var(--fe-navy-2);
  --bs-btn-hover-border-color: var(--fe-navy-2);
  --bs-btn-hover-color: #fff;
}

.btn-outline-navy {
  --bs-btn-color: var(--fe-navy);
  --bs-btn-border-color: var(--fe-navy);
  --bs-btn-hover-bg: var(--fe-navy);
  --bs-btn-hover-color: #fff;
}

.btn-pill {
  border-radius: 999px !important;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

/* Footer */
.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.15s ease, transform 0.15s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.tracking-tight {
  letter-spacing: -0.02em;
}

/* Footer polish */
.alc-footer-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.alc-footer-desc {
  color: rgba(226, 232, 240, 0.74);
}

.alc-footer-meta a {
  color: rgba(226, 232, 240, 0.75);
  text-decoration: none;
}

.alc-footer-meta a:hover {
  color: #fff;
  text-decoration: underline;
}

.alc-footer-meta .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.4);
  margin: 0 10px;
  vertical-align: middle;
}

.alc-store-badges {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.alc-store-badges img {
  height: 44px;
  width: auto;
  border-radius: 10px;
}

@media (max-width: 767.98px) {
  .alc-store-badges {
    justify-content: flex-start;
    margin-top: 14px;
  }
}

/* Footer polish */
.alc-footer-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.alc-footer-desc {
  color: rgba(226, 232, 240, 0.72);
}

.alc-footer-meta a {
  color: rgba(226, 232, 240, 0.7);
  text-decoration: none;
}

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

.alc-footer-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  display: inline-block;
  background: rgba(226, 232, 240, 0.35);
  margin: 0 10px;
  transform: translateY(-2px);
}

/* ----- Inner marketing pages (features, pricing, how-it-works, contact) ----- */
.page-header {
  padding-top: 7rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .page-header {
    padding-top: 8.5rem;
  }
}

.min-vh-50 {
  min-height: 50vh;
}

.tracking-wide {
  letter-spacing: 0.08em;
}

.feature-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 8px 28px -18px rgba(15, 23, 42, 0.2);
}

/* Pricing cards */
.alc-pricing-grid {
  align-items: stretch;
}

.pricing-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 48px -22px rgba(15, 23, 42, 0.28) !important;
}

.pricing-card .card-body ul li {
  line-height: 1.35;
}

.pricing-card-featured {
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.pricing-card-featured .badge.bg-accent {
  box-shadow: 0 18px 40px -18px rgba(79, 70, 229, 0.55);
}

.shadow-accent {
  box-shadow: 0 16px 34px -18px rgba(79, 70, 229, 0.55) !important;
}

.icon-box-friendly {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

.bg-warning-soft {
  background: rgba(245, 158, 11, 0.14) !important;
}

.bg-success-soft {
  background: rgba(16, 185, 129, 0.12) !important;
}

.bg-info-soft {
  background: rgba(6, 182, 212, 0.12) !important;
}

.bg-purple-soft {
  background: rgba(124, 58, 237, 0.12) !important;
}

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

.bg-danger-soft {
  background: rgba(239, 68, 68, 0.1) !important;
}

.btn-white {
  background: #fff !important;
  color: var(--fe-navy) !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

.btn-white:hover {
  background: #f8fafc !important;
  color: var(--fe-navy) !important;
}

.timeline .timeline-item {
  position: relative;
}

.border-accent.border-top-3 {
  border-top: 3px solid var(--fe-accent) !important;
}

/* AI assistant marketing showcase (partials/marketing-ai-assistant-showcase.php) */
.alc-fe-ai-showcase-list {
  font-size: 0.95rem;
  color: var(--fe-navy);
}

.alc-fe-ai-showcase-mock {
  max-width: 380px;
}

.alc-fe-ai-showcase-mock-inner {
  background: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);
}

.alc-fe-ai-showcase-mock-head {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
}

.alc-fe-ai-showcase-ava {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1.15rem;
}

.alc-fe-ai-showcase-mock-body {
  min-height: 200px;
}

.alc-fe-ai-showcase-bubble {
  max-width: 92%;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.alc-fe-ai-showcase-bubble--bot {
  background: #fff;
  color: var(--fe-navy);
  border: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 1px 3px rgba(30, 58, 138, 0.06);
}

.alc-fe-ai-showcase-bubble--user {
  background: linear-gradient(145deg, #dbeafe, #bfdbfe);
  color: var(--fe-navy);
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-left: auto;
}

.alc-fe-ai-showcase-mock-foot {
  background: #f8fafc;
  border-color: rgba(37, 99, 235, 0.12) !important;
}

.alc-fe-ai-showcase-fake-input {
  background: #fff;
  border: 1px solid #e2e8f0;
}

.alc-fe-ai-showcase-pill {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  background: linear-gradient(145deg, #0ea5e9, #0284c7);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

.alc-fe-ai-showcase-pill--chat {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}
