/* =========================================================
   Modern Homepage Overrides (Dark Theme + #3d22b3 Accent)
   Used by themes/regular/views/index.php
   ========================================================= */

/* GLOBAL */

body.dark-mode {
  background: #050509;
  color: #ffffff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.homepage-wrapper {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(61,34,179,0.32), transparent 55%),
    radial-gradient(circle at bottom right, rgba(61,34,179,0.24), transparent 55%),
    #050509;
}

a {
  text-decoration: none;
}

/* NAVBAR */

.main-navbar {
  background: rgba(5,5,9,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.main-navbar .navbar-brand img {
  max-height: 40px;
}

.main-navbar .nav-link {
  color: #b4b7c9 !important;
  font-size: 0.92rem;
  font-weight: 500;
  margin-right: 0.75rem;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
  color: #ffffff !important;
}

/* BUTTONS */

.btn-smm-primary {
  background: #3d22b3;
  border-radius: 999px;
  color: #ffffff !important;
  padding: 0.55rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  box-shadow: 0 10px 30px rgba(61,34,179,0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.btn-smm-primary:hover {
  background: #5431f0;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(61,34,179,0.65);
}

.btn-smm-ghost {
  border-radius: 999px;
  padding: 0.55rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(180,183,201,0.4);
  color: #e3e5f0;
  background: transparent;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-smm-ghost:hover {
  background: rgba(180,183,201,0.08);
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* HERO SECTION */

.hero-section {
  padding-top: 120px;
  padding-bottom: 90px;
}

@media (min-width: 992px) {
  .hero-section {
    padding-top: 140px;
    padding-bottom: 110px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  background: rgba(61,34,179,0.16);
  color: #c9c3ff;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-eyebrow .badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #18c58b;
}

.hero-title {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffffff, #c7c1ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: #b4b7c9;
  font-size: 0.97rem;
  max-width: 460px;
  margin-bottom: 1.4rem;
}

.hero-micro {
  color: #777b91;
  font-size: 0.8rem;
  margin-top: 0.75rem;
}

.hero-micro i {
  color: #18c58b;
  margin-right: 0.25rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-stats {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-stat-label {
  color: #777b91;
}

.hero-stat-value {
  font-weight: 600;
  color: #e3e5f0;
}

/* HERO DASHBOARD CARD */

.hero-panel-card {
  background:
    radial-gradient(circle at top left, rgba(61,34,179,0.35), transparent 55%),
    #0c0f1a;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 30px 80px rgba(0,0,0,0.75);
  padding: 1.4rem 1.4rem 1.1rem;
  position: relative;
  overflow: hidden;
}

.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-panel-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e3e5f0;
}

.hero-status-pill {
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  background: rgba(24,197,139,0.12);
  color: #9cefcd;
  font-size: 0.72rem;
  font-weight: 500;
}

.hero-balance {
  font-size: 0.8rem;
  color: #b4b7c9;
}

.hero-balance strong {
  color: #ffffff;
}

.hero-services-mini {
  margin-top: 0.7rem;
  border-radius: 16px;
  background: rgba(5,5,9,0.85);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0.8rem;
}

.hero-services-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.hero-service-pill {
  border-radius: 12px;
  padding: 0.5rem 0.6rem;
  background: rgba(61,34,179,0.12);
  font-size: 0.76rem;
  color: #d4d6ff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-service-pill .price {
  color: #9cf6c7;
  font-weight: 600;
}

.hero-footer-tags {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #7f849d;
}

.hero-footer-tags .badge-soft {
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(180,183,201,0.4);
}

@media (max-width: 767.98px) {
  .hero-panel-card {
    margin-top: 2rem;
  }
}

/* SECTIONS GLOBAL */

.section {
  padding: 60px 0;
}

@media (min-width: 992px) {
  .section {
    padding: 80px 0;
  }
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #777b91;
  font-weight: 600;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.section-subtitle {
  font-size: 0.93rem;
  color: #b4b7c9;
  max-width: 520px;
}

/* FEATURE CARDS */

.feature-card {
  background: #0c0f1a;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.3rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.65);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(61,34,179,0.6);
  box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}

.feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  background: rgba(61,34,179,0.22);
  color: #e3d9ff;
  margin-bottom: 0.3rem;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
}

.feature-text {
  font-size: 0.86rem;
  color: #b4b7c9;
}

/* WHY CHOOSE US */

.why-box {
  background: linear-gradient(135deg, rgba(61,34,179,0.35), rgba(6,7,16,0.95));
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.85);
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #e3e5f0;
  margin-bottom: 0.5rem;
}

.why-list li i {
  color: #18c58b;
  margin-top: 0.1rem;
}

.why-stat-card {
  background: #0c0f1a;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 1.3rem;
}

.why-stat-label {
  font-size: 0.82rem;
  color: #777b91;
}

.why-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

/* SERVICES PREVIEW */

.section-services .platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
  margin-bottom: 1.1rem;
}

.platform-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(180,183,201,0.4);
  font-size: 0.8rem;
  color: #b4b7c9;
  cursor: default;
}

.platform-pill.active {
  background: #3d22b3;
  border-color: #3d22b3;
  color: #ffffff;
}

.service-preview-card {
  background: #0c0f1a;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.2rem;
  height: 100%;
}

.service-preview-title {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.service-preview-meta {
  font-size: 0.78rem;
  color: #9aa0ba;
}

.service-preview-price {
  font-size: 0.82rem;
  color: #9cf6c7;
  font-weight: 600;
}

.service-preview-footer {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #b4b7c9;
}

/* HOW IT WORKS */

.step-card {
  background: #0c0f1a;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.3rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.step-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(61,34,179,0.22);
  color: #e3d9ff;
  font-size: 0.8rem;
  font-weight: 600;
}

.step-title {
  font-size: 0.96rem;
  font-weight: 600;
}

.step-text {
  font-size: 0.84rem;
  color: #b4b7c9;
}

/* PRICING TEASER */

.pricing-teaser-card {
  background: linear-gradient(135deg, rgba(61,34,179,0.4), rgba(5,5,9,0.95));
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.8rem 1.6rem;
  box-shadow: 0 24px 65px rgba(0,0,0,0.9);
}

.pricing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.pricing-badge {
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: rgba(5,5,9,0.75);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 0.78rem;
  color: #e3e5f0;
}

/* TESTIMONIALS */

.testimonial-card {
  background: #0c0f1a;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1.3rem 1.2rem;
  height: 100%;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: #d7d8e8;
  margin-bottom: 0.6rem;
}

.testimonial-name {
  font-size: 0.86rem;
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.78rem;
  color: #9aa0ba;
}

/* FAQ */

.section-faq .faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0.9rem 0;
}

.faq-question {
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  font-size: 0.84rem;
  color: #b4b7c9;
  margin-top: 0.4rem;
}

.faq-toggle {
  font-size: 1.1rem;
  color: #777b91;
  margin-left: 0.75rem;
}

/* FINAL CTA + FOOTER */

.final-cta-strip {
  background:
    radial-gradient(circle at top left, rgba(61,34,179,0.4), transparent 55%),
    #050509;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.8rem 1.6rem;
}

.final-cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.final-cta-text {
  font-size: 0.9rem;
  color: #b4b7c9;
}

.footer {
  padding: 40px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #050509;
}

.footer-text {
  font-size: 0.8rem;
  color: #9aa0ba;
}

.footer-links a {
  font-size: 0.8rem;
  color: #b4b7c9;
  margin-right: 1rem;
}

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