/**
 * Genpro — Home page below-the-fold (Phase 4A)
 * Scoped to body.genpro-futuristic on index.php only.
 * Overrides legacy white sections from main.css / enhancements_v2.1.css
 */

/* ─── Shared section rhythm ─── */
body.genpro-futuristic .services-section.services-enhanced,
body.genpro-futuristic .products-section.products-enhanced,
body.genpro-futuristic .brands-section.brands-enhanced,
body.genpro-futuristic .about-section.about-enhanced,
body.genpro-futuristic .vision-section.vision-enhanced,
body.genpro-futuristic .contact-section.contact-enhanced {
  padding: var(--fx-section-y) 0 !important;
  background: transparent !important;
  position: relative;
}

body.genpro-futuristic .section-badge-enhanced,
body.genpro-futuristic .about-badge-enhanced {
  display: inline-block;
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--fx-radius-pill);
  font-size: var(--fx-text-xs) !important;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fx-accent-bright) !important;
  background: rgba(255, 102, 0, 0.1) !important;
  border: 1px solid rgba(255, 102, 0, 0.25);
}

body.genpro-futuristic .section-title-enhanced,
body.genpro-futuristic .products-title-enhanced,
body.genpro-futuristic .brands-title-enhanced,
body.genpro-futuristic .about-title-enhanced,
body.genpro-futuristic .vision-title-enhanced,
body.genpro-futuristic .contact-title-enhanced {
  color: var(--fx-text) !important;
  -webkit-text-fill-color: var(--fx-text) !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.genpro-futuristic .products-subtitle-enhanced,
body.genpro-futuristic .brands-subtitle-enhanced,
body.genpro-futuristic .about-description-enhanced,
body.genpro-futuristic .contact-description-enhanced,
body.genpro-futuristic .service-description-enhanced,
body.genpro-futuristic .product-description-enhanced {
  color: var(--fx-text-muted) !important;
}

/* ─── Services ─── */
body.genpro-futuristic .services-visual-enhanced {
  margin: 2rem 0;
}

body.genpro-futuristic .service-highlight-card-enhanced {
  background: var(--fx-bg-glass) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  box-shadow: var(--fx-shadow-glass);
  padding: 1rem !important;
}

body.genpro-futuristic .service-highlight-title-enhanced {
  color: var(--fx-text) !important;
  font-size: 1rem !important;
}

body.genpro-futuristic .service-highlight-description-enhanced {
  color: var(--fx-text-muted) !important;
}

body.genpro-futuristic .services-grid-enhanced {
  border-top-color: rgba(255, 102, 0, 0.15) !important;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)) !important;
}

body.genpro-futuristic .service-card-inner-enhanced {
  background: var(--fx-bg-glass) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid var(--fx-border) !important;
  box-shadow: var(--fx-shadow-glass) !important;
  border-radius: var(--fx-radius-md) !important;
}

body.genpro-futuristic .service-card-enhanced:hover .service-card-inner-enhanced {
  transform: translateY(-4px) !important;
  border-color: var(--fx-border-accent) !important;
  box-shadow: var(--fx-shadow-glass), var(--fx-shadow-neon) !important;
}

body.genpro-futuristic .service-title-enhanced {
  color: var(--fx-text) !important;
}

body.genpro-futuristic .service-icon-enhanced {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
}

body.genpro-futuristic .service-link-btn-enhanced {
  background: rgba(255, 102, 0, 0.15) !important;
  border: 1px solid var(--fx-border-accent);
  color: var(--fx-accent-bright) !important;
  min-width: 44px;
  min-height: 44px;
}

body.genpro-futuristic .cta-link-enhanced {
  color: var(--fx-accent-bright) !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* ─── Products ─── */
body.genpro-futuristic .products-grid-enhanced {
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important;
  gap: var(--fx-gap) !important;
}

body.genpro-futuristic .product-card-enhanced {
  background: var(--fx-bg-glass) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  box-shadow: var(--fx-shadow-glass) !important;
}

body.genpro-futuristic .product-card-enhanced:hover {
  transform: translateY(-6px) !important;
  border-color: var(--fx-border-accent) !important;
  box-shadow: var(--fx-shadow-glass), var(--fx-shadow-neon) !important;
}

body.genpro-futuristic .product-image-wrapper-enhanced {
  background: rgba(0, 0, 0, 0.25) !important;
}

body.genpro-futuristic .product-title-enhanced {
  color: var(--fx-text) !important;
}

body.genpro-futuristic .product-features-enhanced li {
  color: var(--fx-text-muted) !important;
}

body.genpro-futuristic .product-features-enhanced i {
  color: var(--fx-accent-bright) !important;
}

body.genpro-futuristic .product-btn-enhanced {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
  color: #fff !important;
  border-radius: var(--fx-radius-pill) !important;
  min-height: 44px;
}

body.genpro-futuristic .products-view-all-btn-enhanced {
  background: transparent !important;
  color: var(--fx-text) !important;
  border: 1px solid var(--fx-border-accent) !important;
  border-radius: var(--fx-radius-pill) !important;
  min-height: 48px;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.12);
}

body.genpro-futuristic .products-view-all-btn-enhanced:hover {
  background: rgba(255, 102, 0, 0.12) !important;
  box-shadow: var(--fx-shadow-neon) !important;
}

/* ─── Brands ─── */
body.genpro-futuristic .brands-grid-enhanced {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)) !important;
  gap: var(--fx-gap) !important;
}

body.genpro-futuristic .brand-card-inner-enhanced {
  background: var(--fx-bg-glass) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  box-shadow: var(--fx-shadow-glass);
  padding: 1.25rem !important;
  transition:
    transform var(--fx-duration-base) var(--fx-ease-out),
    border-color var(--fx-duration-base),
    box-shadow var(--fx-duration-base);
}

body.genpro-futuristic .brand-card-enhanced:hover .brand-card-inner-enhanced {
  transform: translateY(-4px);
  border-color: var(--fx-border-accent) !important;
  box-shadow: var(--fx-shadow-glass), 0 0 24px rgba(255, 102, 0, 0.15);
}

body.genpro-futuristic .brand-logo-wrapper-enhanced {
  background: rgba(255, 255, 255, 0.06) !important;
  border-radius: var(--fx-radius-sm);
  padding: 0.75rem;
}

body.genpro-futuristic .brand-name-enhanced {
  color: var(--fx-text) !important;
}

body.genpro-futuristic .brand-spec-item-enhanced,
body.genpro-futuristic .brand-description-enhanced {
  color: var(--fx-text-muted) !important;
}

body.genpro-futuristic .brands-slider-controls-enhanced button {
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  color: var(--fx-text);
}

/* ─── About ─── */
body.genpro-futuristic .about-wrapper-enhanced {
  gap: var(--fx-gap) !important;
}

body.genpro-futuristic .about-visual-placeholder-enhanced {
  height: auto !important;
  min-height: 280px;
  background: var(--fx-bg-glass) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-lg) !important;
  box-shadow: var(--fx-shadow-glass);
}

body.genpro-futuristic .about-visual-placeholder-enhanced::before {
  display: none !important;
}

body.genpro-futuristic .about-visual-icon-enhanced {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
  border-radius: var(--fx-radius-md) !important;
  box-shadow: var(--fx-shadow-neon) !important;
}

body.genpro-futuristic .about-feature-item-enhanced {
  background: var(--fx-surface);
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  padding: 0.85rem 1rem;
}

body.genpro-futuristic .about-feature-item-enhanced i {
  color: var(--fx-accent-bright) !important;
}

body.genpro-futuristic .about-feature-item-enhanced h4 {
  color: var(--fx-text) !important;
}

body.genpro-futuristic .about-feature-item-enhanced p {
  color: var(--fx-text-muted) !important;
}

body.genpro-futuristic .about-explore-btn-enhanced {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
  color: #fff !important;
  border-radius: var(--fx-radius-pill) !important;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0 1.5rem;
}

/* ─── Vision / Mission ─── */
body.genpro-futuristic .vision-block-enhanced {
  background: var(--fx-bg-glass) !important;
  border: 1px solid var(--fx-border) !important;
  border-radius: var(--fx-radius-md) !important;
  padding: 1.25rem !important;
  box-shadow: var(--fx-shadow-glass);
}

body.genpro-futuristic .vision-block-icon-enhanced {
  background: rgba(255, 102, 0, 0.15) !important;
  color: var(--fx-accent-bright) !important;
  border: 1px solid var(--fx-border-accent);
}

body.genpro-futuristic .vision-block-title-enhanced {
  color: var(--fx-text) !important;
}

body.genpro-futuristic .vision-block-description-enhanced {
  color: var(--fx-text-muted) !important;
}

body.genpro-futuristic .vision-diamond-enhanced {
  background: var(--fx-accent) !important;
}

body.genpro-futuristic .vision-image-cluster-enhanced {
  opacity: 0.85;
}

body.genpro-futuristic .vision-image-placeholder-enhanced {
  border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius-md);
  overflow: hidden;
  box-shadow: var(--fx-shadow-glass);
}

/* ─── Contact CTA band ─── */
body.genpro-futuristic .contact-section.contact-enhanced {
  padding-bottom: calc(var(--fx-section-y) + 1rem) !important;
}

body.genpro-futuristic .contact-hero-enhanced {
  position: relative;
  padding: 2rem 0;
}

body.genpro-futuristic .contact-generators-enhanced {
  opacity: 0.15;
  pointer-events: none;
}

body.genpro-futuristic .contact-card-enhanced {
  background: var(--fx-bg-glass-strong) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--fx-border-accent) !important;
  border-radius: var(--fx-radius-lg) !important;
  box-shadow: var(--fx-shadow-glass), 0 0 40px rgba(255, 102, 0, 0.08) !important;
  text-align: center !important;
  padding: clamp(1.75rem, 4vw, 2.5rem) !important;
}

body.genpro-futuristic .contact-card-enhanced:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--fx-shadow-glass), var(--fx-shadow-neon) !important;
}

body.genpro-futuristic .contact-cta-btn-enhanced {
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-bright)) !important;
  color: #fff !important;
  border-radius: var(--fx-radius-pill) !important;
  min-height: 48px;
  box-shadow: var(--fx-shadow-neon) !important;
}

/* ─── Mobile — 2-column micro grids ─── */
@media (max-width: 767px) {
  body.genpro-futuristic .services-grid-enhanced,
  body.genpro-futuristic .products-grid-enhanced {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  body.genpro-futuristic .brands-grid-enhanced {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  body.genpro-futuristic .about-wrapper-enhanced,
  body.genpro-futuristic .vision-wrapper-enhanced {
    grid-template-columns: 1fr !important;
  }

  body.genpro-futuristic .vision-images-enhanced {
    order: -1;
    max-height: 220px;
    overflow: hidden;
    margin-bottom: 1rem;
  }

  body.genpro-futuristic .vision-image-cluster-enhanced {
    transform: scale(0.85);
    transform-origin: center top;
  }

  body.genpro-futuristic .service-highlights-enhanced {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  body.genpro-futuristic .service-highlight-card-enhanced {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  body.genpro-futuristic .generator-visual-enhanced {
    max-width: 220px;
    margin: 0 auto 1rem;
  }

  body.genpro-futuristic .contact-generators-enhanced {
    display: none !important;
  }
}

@media (min-width: 768px) {
  body.genpro-futuristic .brands-slider-wrapper-enhanced {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.genpro-futuristic .service-card-enhanced:hover .service-card-inner-enhanced,
  body.genpro-futuristic .product-card-enhanced:hover,
  body.genpro-futuristic .brand-card-enhanced:hover .brand-card-inner-enhanced,
  body.genpro-futuristic .contact-card-enhanced:hover {
    transform: none !important;
  }
}
