/* ------------------------------
   Base & Typography
------------------------------ */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f5f5;
}

main {
  min-height: 60vh;
}

.section-title {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Utility */
.bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.08);
}

/* ------------------------------
   Navbar
------------------------------ */

.navbar {
  font-size: 0.95rem;
}

.navbar-brand {
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-brand span {
  font-weight: 800;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #ffffff;
}

.cart-link {
  font-weight: 500;
}

/* ------------------------------
   Hero Section
------------------------------ */

.hero-section {
  background: radial-gradient(circle at top left, #198754 0, #020617 55%);
  color: #f8fafc;
}

.hero-title {
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
}

.hero-subtitle {
  font-size: 1.03rem;
  max-width: 34rem;
  color: #e5e7eb;
}

.hero-right-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-main-card {
  background: linear-gradient(145deg, #050816, #020617);
  border-radius: 1.5rem;
  color: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.hero-main-card .badge {
  font-weight: 500;
}

.hero-mini-stats {
  margin-top: 0.25rem;
}

/* Stats under hero */
.stat-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 0.9rem;
  padding: 0.6rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  min-width: 110px;
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f9fafb;
}

.stat-note {
  color: #9ca3af;
}

/* ------------------------------
   Product Cards & Listings
------------------------------ */

.product-card {
  border-radius: 1.2rem;
  overflow: hidden;
}

.product-card .product-image {
  object-fit: cover;
}

.product-card .card-body {
  padding: 0.9rem 1rem 1rem;
}

.price-text {
  font-weight: 700;
  color: #0f5132;
  font-size: 1.05rem;
}

/* Small spec text inside cards */
.product-card .small.text-muted {
  line-height: 1.35;
}

/* ------------------------------
   Feature Cards / Why Us
------------------------------ */

.feature-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e5e7eb;
}

.feature-card h5 {
  margin-bottom: 0.4rem;
}

/* ------------------------------
   Step Cards (How it works)
------------------------------ */

.step-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid #e5e7eb;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0f5132;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

/* ------------------------------
   Dark / Hosting Section
------------------------------ */

.bg-dark {
  background-color: #020617 !important;
}

.bg-dark .section-title {
  color: #f9fafb;
}

.bg-dark .step-card {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.3);
}

.bg-dark .step-card h5 {
  color: #f9fafb;
}

.bg-dark .step-card p {
  color: #9ca3af !important;
}

/* card used inside dark section */
.hero-card.bg-gradient {
  background: radial-gradient(circle at top left, #111827, #020617);
  border-radius: 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #e5e7eb;
}

/* ------------------------------
   Contact / Enquiry Card
------------------------------ */

#contact .card {
  border-radius: 1.2rem;
}

#contact .card-title {
  font-size: 1.05rem;
}

/* ------------------------------
   Cart & Checkout
------------------------------ */

.cart-summary-card {
  border-radius: 1rem;
}

.cart-totals {
  font-weight: 600;
}

/* ------------------------------
   Comparison Table
------------------------------ */

.comparison-table th {
  background-color: #f8f9fa;
}

.comparison-table th:first-child {
  width: 180px;
  white-space: nowrap;
}

/* ------------------------------
   Footer
------------------------------ */

.footer {
  font-size: 0.85rem;
  background-color: #ffffff;
}

/* ------------------------------
   Forms & Buttons tweaks
------------------------------ */

.form-control,
.form-select {
  border-radius: 0.55rem;
}

.btn {
  border-radius: 999px;
}

/* Slightly stronger shadow for important CTAs */
.btn-success {
  box-shadow: 0 10px 18px rgba(25, 135, 84, 0.25);
}

/* ------------------------------
   Responsive tweaks
------------------------------ */

@media (max-width: 991.98px) {
  .hero-section {
    text-align: left;
  }

  .hero-right-wrap {
    margin-top: 0.5rem;
  }

  .hero-main-card {
    padding: 1.2rem 1.1rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .stat-card {
    min-width: 45%;
  }
}
