/* =========================================
   SharpFleet Home Page – Layout Overrides
   Scope: home page only
   Purpose: 6 cards aligned + pricing full width
========================================= */

.sf-home-features-wrap {
  width: 100%;
}

/* Force a real grid for the top 6 cards (independent of global .grid rules) */
.sf-home-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.sf-home-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sf-home-card-link .sf-home-card-link-cta {
  display: inline-block;
  margin-top: 0.6rem;
  color: #0A2A4D;
  font-weight: 600;
}

.sf-home-card-link:hover .sf-home-card-link-cta {
  color: #2CBFAE;
}

/* Full-width pricing row */
.sf-home-pricing-row {
  margin-top: 1.25rem;
}

.sf-home-pricing-card {
  width: 100%;
}

.sf-home-pricing-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.sf-home-pricing-tier {
  border: 1px solid rgba(44, 191, 174, 0.25);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  background: rgba(44, 191, 174, 0.06);
}

.sf-home-pricing-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.1;
}

.sf-home-pricing-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

.sf-home-pricing-label {
  margin-top: 0.3rem;
  font-weight: 600;
}

.sf-home-pricing-custom {
  margin-top: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.sf-home-pricing-custom strong {
  font-size: 1.05rem;
}

.sf-home-pricing-checks {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
}

.sf-home-pricing-checks li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.4rem;
}

.sf-home-pricing-checks li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2CBFAE;
  font-weight: 700;
}

/* Keep the pricing note style consistent and not weirdly greyed out */
.sf-home-pricing-note {
  font-size: 0.9rem;
  margin-top: 12px;
  opacity: 0.9;
}

/* =========================================================
   SharpFleet Marketing CTA Button (Glassmorphic)
   Used ONLY for onboarding / conversion actions
========================================================= */

.sf-cta {
  display: inline-block;
  padding: 0.9rem 2.2rem;

  /* Glass base */
  background: rgba(44, 191, 174, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 12px;

  /* Glass edge */
  border-block-color: #2cbfae;

  /* Depth */
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

/* Hover */
.sf-cta:hover {
  background: rgba(44, 191, 174, 0.14);
  transform: translateY(-1px);
  border-block-color: #2cbfae;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(44, 191, 174, 0.45),
    0 0 14px rgba(44, 191, 174, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Active */
.sf-cta:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* =========================================================
   Mobile Optimisation
   Applies ONLY to SharpFleet home page
========================================================= */

@media (max-width: 768px) {

  /* Stack features vertically */
  .sf-home-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Reduce card padding so they don’t feel huge */
  .sf-home-features-grid .card {
    padding: 1rem;
  }

  .sf-home-features-grid .card-header h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }

  .sf-home-features-grid .card p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  /* Pricing card spacing */
  .sf-home-pricing-row {
    margin-top: 1rem;
  }

  .sf-home-pricing-card .card-body p {
    margin-bottom: 0.75rem;
  }

  .sf-home-pricing-note {
    font-size: 0.85rem;
  }

  /* CTA button: full width feels better on mobile */
  .hero .sf-cta {
  width: 80%;
  text-align: center;
  padding: 0.85rem 1.25rem;
}

  /* Keep CTAs inside cards nicely sized */
  .sf-home-features-grid .sf-cta,
  .sf-home-pricing-card .sf-cta {
    width: auto;
  }

}

  /* =========================================================
    SharpFleet Home – Subtle Teal Feature Card Glow
    Intentionally VERY light (premium, not flashy)
  ========================================================= */

  .sf-home-features-grid .card {
    border: 1px solid rgba(44, 191, 174, 0.18); /* faint teal edge */

    box-shadow:
      0 0 0 1px rgba(44, 191, 174, 0.08),   /* soft outline glow */
      0 8px 18px rgba(10, 42, 77, 0.10);   /* depth against navy */

    transition:
      border-color 0.18s ease,
      box-shadow 0.18s ease,
      transform 0.18s ease;
  }

  /* Optional hover – still restrained */
  .sf-home-features-grid .card:hover {
    border-color: rgba(44, 191, 174, 0.32);

    box-shadow:
      0 0 0 2px rgba(44, 191, 174, 0.12),
      0 12px 26px rgba(10, 42, 77, 0.16);

    transform: translateY(-2px);
  }
