/* ==========================================================================
   FRONTIER PUMPS — SECTION 06: FEATURED PRODUCTS & TECHNICAL DATASHEETS
   Apple-Inspired Technology Product Showcase & Interactive Tabbed Catalogue
   ========================================================================== */

:root {
  --fp-red: #E3262E;
  --fp-red-hover: #C51B22;
  --fp-black: #111111;
  --fp-charcoal: #25282B;
  --fp-white: #FFFFFF;
  --fp-bg-soft: #F6F7F9;
  --fp-border-light: rgba(0, 0, 0, 0.08);
  --fp-text-main: #111111;
  --fp-text-muted: #5A5E66;
  --fp-font-head: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --fp-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Section Wrapper */
.fp-feat-section {
  position: relative;
  width: 100%;
  background-color: var(--fp-bg-soft);
  padding: 120px 0 110px 0;
  box-sizing: border-box;
}

.fp-feat-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   01. SECTION HEADER
   -------------------------------------------------------------------------- */
.fp-feat-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fp-feat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 38, 46, 0.08);
  border: 1px solid rgba(227, 38, 46, 0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-family: var(--fp-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fp-red);
  margin-bottom: 20px;
}

.fp-feat-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--fp-red);
  border-radius: 50%;
}

.fp-feat-heading {
  font-family: var(--fp-font-head);
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fp-text-main);
  margin: 0 0 16px 0;
}

.fp-feat-description {
  font-family: var(--fp-font-body);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.6;
  color: var(--fp-text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   02. INTERACTIVE CATEGORY TABS DOCK
   -------------------------------------------------------------------------- */
.fp-feat-tabs-dock-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 45px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.fp-feat-tabs-dock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--fp-border-light);
  border-radius: 50px;
  padding: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.fp-feat-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--fp-font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: #555A62;
  padding: 10px 22px;
  border-radius: 40px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--fp-ease);
}

.fp-feat-tab-btn:hover {
  color: var(--fp-black);
  background: rgba(0, 0, 0, 0.04);
}

.fp-feat-tab-btn.is-active {
  background: var(--fp-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(227, 38, 46, 0.35);
}

/* --------------------------------------------------------------------------
   03. PRODUCT SHOWCASE GRID & PANES
   -------------------------------------------------------------------------- */
.fp-feat-tab-pane {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
  animation: fpFadeIn 0.4s var(--fp-ease);
}

.fp-feat-tab-pane.is-active {
  display: grid;
}

@keyframes fpFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Card */
.fp-feat-card {
  background: #FFFFFF;
  border: 1px solid var(--fp-border-light);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.35s var(--fp-ease);
}

.fp-feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 38, 46, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Image Container */
.fp-feat-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #F3F5F7;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-feat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--fp-ease);
}

.fp-feat-card:hover .fp-feat-media img {
  transform: scale(1.04);
}

/* Meta Pill Badge */
.fp-feat-meta-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--fp-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Product Info */
.fp-feat-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.fp-feat-card-title {
  font-family: var(--fp-font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--fp-black);
  margin: 0 0 10px 0;
}

.fp-feat-card-spec {
  font-family: var(--fp-font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fp-text-muted);
  margin: 0 0 20px 0;
  flex-grow: 1;
}

/* Card Bottom Action Bar */
.fp-feat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.fp-feat-datasheet-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fp-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--fp-red);
  text-decoration: none;
  background: rgba(227, 38, 46, 0.06);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(227, 38, 46, 0.18);
  transition: all 0.25s var(--fp-ease);
}

.fp-feat-datasheet-btn:hover {
  background: var(--fp-red);
  color: #FFFFFF;
  border-color: var(--fp-red);
  box-shadow: 0 4px 12px rgba(227, 38, 46, 0.3);
}

.fp-feat-datasheet-btn svg {
  transition: transform 0.25s ease;
}

.fp-feat-datasheet-btn:hover svg {
  transform: translateY(2px);
}

.fp-feat-submittal-pill {
  font-family: var(--fp-font-head);
  font-size: 12px;
  font-weight: 600;
  color: #7B8089;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* --------------------------------------------------------------------------
   04. FULL CATALOGUE 144-PAGE DOWNLOAD CTA PANEL
   -------------------------------------------------------------------------- */
.fp-feat-catalogue-panel {
  background: var(--fp-black);
  color: #FFFFFF;
  border-radius: 28px;
  padding: 48px 56px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.fp-feat-catalogue-panel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
  background: radial-gradient(circle at 80% 50%, rgba(227, 38, 46, 0.18) 0%, rgba(227, 38, 46, 0) 70%);
  pointer-events: none;
}

.fp-feat-cat-info {
  flex: 0 0 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.fp-feat-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 4px 12px;
  font-family: var(--fp-font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.fp-feat-cat-title {
  font-family: var(--fp-font-head);
  font-size: clamp(26px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px 0;
  color: #FFFFFF;
}

.fp-feat-cat-text {
  font-family: var(--fp-font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: #A3A8B1;
  margin: 0 0 24px 0;
}

.fp-feat-cat-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.fp-btn-range-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fp-red);
  color: #FFFFFF;
  font-family: var(--fp-font-head);
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(227, 38, 46, 0.35);
  transition: all 0.3s var(--fp-ease);
}

.fp-btn-range-red:hover {
  background: var(--fp-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(227, 38, 46, 0.5);
}

.fp-feat-cat-link {
  font-family: var(--fp-font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.fp-feat-cat-link:hover {
  color: var(--fp-red);
}

/* Quick Download Form (Name, Company, Email) */
.fp-feat-cat-form {
  flex: 0 0 45%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.fp-feat-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.fp-feat-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--fp-font-body);
  font-size: 14px;
  color: #FFFFFF;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.fp-feat-input::placeholder {
  color: #8C929C;
}

.fp-feat-input:focus {
  border-color: var(--fp-red);
  background: rgba(255, 255, 255, 0.12);
}

.fp-feat-btn-submit {
  width: 100%;
  background: #FFFFFF;
  color: var(--fp-black);
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: var(--fp-font-head);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.25s var(--fp-ease);
}

.fp-feat-btn-submit:hover {
  background: var(--fp-red);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   05. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .fp-feat-tab-pane {
    grid-template-columns: repeat(2, 1fr);
  }
  .fp-feat-catalogue-panel {
    flex-direction: column;
    padding: 36px 30px;
    gap: 32px;
  }
  .fp-feat-cat-info,
  .fp-feat-cat-form {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .fp-feat-section {
    padding: 80px 0 70px 0;
  }
  .fp-feat-container {
    padding: 0 20px;
  }
  .fp-feat-tab-pane {
    grid-template-columns: 1fr;
  }
  .fp-feat-form-row {
    grid-template-columns: 1fr;
  }
}
