/* ========================================
   KFleet Product Page Stylesheet
   kfleet.kasernet.com
   ======================================== */

.nav-link.active { color: var(--green) !important; }

/* ========================================
   1. HERO
======================================== */
.kf-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(10,16,20,0.88) 0%, rgba(24,41,52,0.82) 60%, rgba(39,134,233,0.06) 100%),
    url('../images/Mileage.jpg') center/cover no-repeat;
}

.kf-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(39,134,233,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.kf-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--darker));
}

.kf-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.kf-hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.kf-hero h2 .accent { color: var(--blue); }

.kf-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.5rem;
  max-width: 600px;
  line-height: 1.7;
}

.kf-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ========================================
   2. KEY FEATURES
======================================== */
.kf-features {
  padding: 6rem 0;
  background: var(--dark);
}

.kf-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.kf-feature-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), border-color var(--transition);
}

.kf-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
}

.kf-feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.kf-feature-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.kf-feature-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* ========================================
   3. DASHBOARD
======================================== */
.kf-dashboard {
  padding: 5rem 0;
  background: var(--darker);
}

.kf-dashboard-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
}

.kf-dashboard-wrap img {
  width: 100%;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 768px) {
  .kf-features-grid { grid-template-columns: 1fr 1fr; }
  .kf-hero h2 { font-size: 2rem; }
}

@media (max-width: 425px) {
  .kf-features-grid { grid-template-columns: 1fr; }
  .kf-hero .hero-actions { flex-direction: column; }
}
