/* ============================================================
   DRIVURA — INSIGHTS & RESOURCES PAGE STYLES (BRIGHT PREMIUM THEME)
   ============================================================ */

.drivura-insights-page {
  background-color: var(--surface-body);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

/* Scoped Header for Insights Page */
.drivura-insights-page .nav {
  background: rgba(14, 18, 27, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.drivura-insights-page .nav--scrolled {
  background: rgba(14, 18, 27, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.drivura-insights-page .nav__link {
  color: var(--text-secondary);
  font-weight: 600;
}

.drivura-insights-page .nav__link:hover,
.drivura-insights-page .nav__link--active {
  color: var(--brand-primary);
}

.drivura-insights-page .nav__mobile-toggle span {
  background-color: var(--text-primary);
}

.drivura-insights-page .nav__mobile-menu {
  background: var(--surface-body);
}

.drivura-insights-page .nav__mobile-link {
  color: var(--text-primary);
}

.drivura-insights-page .nav__mobile-link--active {
  color: var(--brand-primary);
}

/* Container Utility */
.insights-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   1. HERO SECTION (FULL RACECAR BG)
   ============================================================ */
.insights-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4.5rem;
  background: linear-gradient(90deg, #0E121B 0%, rgba(14, 18, 27, 0.96) 45%, rgba(14, 18, 27, 0.5) 75%, transparent 100%), url('../images/insights/hero-racecar.jpg') center right / cover no-repeat;
  overflow: hidden;
  border-bottom: var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.insights-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.insights-hero__content {
  max-width: 620px;
  background: transparent;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.insights-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--brand-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.insights-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 8px var(--brand-primary-glow);
}

.insights-hero__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.6rem, 4.8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.02;
  font-style: italic;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.insights-hero__title-white {
  color: var(--text-primary);
  display: block;
}

.insights-hero__title-blue {
  color: var(--brand-primary);
  display: block;
}

.insights-hero__subtitle {
  font-family: 'Outfit', sans-serif;
  color: var(--brand-secondary);
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 1.25rem;
}

.insights-hero__desc {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
}


/* ============================================================
   SECTION HEADINGS & DIVIDERS
   ============================================================ */
.insights-section {
  padding: 5rem 0;
  position: relative;
}

.insights-section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.insights-section-heading::before,
.insights-section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.4), transparent);
  max-width: 260px;
}

.insights-section-heading__text {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.insights-section-heading__num {
  color: var(--brand-secondary);
  margin-right: 0.4rem;
}

.insights-section-heading__highlight {
  color: var(--brand-primary);
}


/* ============================================================
   SECTION SHOWCASE BANNERS
   ============================================================ */
.insights-section-banner {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(0, 144, 201, 0.2);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.insights-section-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease;
}

.insights-section-banner:hover .insights-section-banner__img {
  transform: scale(1.04);
}

.insights-section-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 50%, rgba(15, 23, 42, 0.35) 100%);
}

.insights-section-banner__content {
  position: absolute;
  inset: 0;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 750px;
  z-index: 2;
}

.insights-section-banner__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.insights-section-banner__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}


/* ============================================================
   2. SECTION 1: LUBRICATION KNOWLEDGE GRID (7 COLUMNS)
   ============================================================ */
.insights-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
}

/* Dark Card Styling */
.insights-card {
  background: var(--surface-card);
  border: var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.insights-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-primary);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
  background: var(--surface-card);
}

.insights-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--surface-card);
}

.insights-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.insights-card:hover .insights-card__img {
  transform: scale(1.08);
  filter: brightness(1.03);
}

.insights-card__body {
  padding: 1.2rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insights-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.insights-card__title-highlight {
  color: var(--brand-primary);
}

.insights-card__desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.insights-card__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
}

.insights-card__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #00AEEF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.35);
}

.insights-card:hover .insights-card__btn {
  background: #0090C9;
  transform: translateX(4px) scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 144, 201, 0.5);
}

.insights-card__btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}


/* ============================================================
   3. SECTION 2: TECHNICAL INSIGHTS GRID (5 COLUMNS + FEATURED)
   ============================================================ */
.insights-tech-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.insights-tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* Wide Featured Card for 3. Additive Technology */
.insights-featured-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(0, 174, 239, 0.35);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  transition: all 0.35s ease;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
}

.insights-featured-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 174, 239, 0.6);
  box-shadow: 0 24px 50px rgba(0, 174, 239, 0.25);
  background: linear-gradient(135deg, #0F172A 0%, #111C2E 100%);
}

.insights-featured-card__img-wrap {
  width: 100%;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  position: relative;
  background: #0B1120;
}

.insights-featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.insights-featured-card:hover .insights-featured-card__img {
  transform: scale(1.08);
}

.insights-featured-card__body {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
}

.insights-featured-card__badge {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: 0.4rem;
}

.insights-featured-card__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.insights-featured-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 700px;
}


/* ============================================================
   4. SECTION 3: FREQUENTLY ASKED QUESTIONS
   ============================================================ */
.insights-faq-list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.insights-faq-item {
  background: var(--surface-card);
  border: var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.insights-faq-item.active {
  border-color: var(--brand-primary);
  background: var(--surface-card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow-cyan);
}

.insights-faq-header {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  gap: 1.25rem;
  user-select: none;
}

.insights-faq-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
}

.insights-faq-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.insights-faq-question {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  flex: 1;
  letter-spacing: 0.01em;
}

.insights-faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--brand-primary);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.insights-faq-item.active .insights-faq-chevron {
  transform: rotate(180deg);
}

.insights-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 1.5rem 0 5.25rem;
}

.insights-faq-item.active .insights-faq-body {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 5.25rem;
}

.insights-faq-answer {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}


/* ============================================================
   5. DOWNLOADS CTA BANNER
   ============================================================ */
.insights-download-cta {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(0, 174, 239, 0.3);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.insights-download-cta::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 30%;
  background: radial-gradient(circle at center, rgba(229, 169, 60, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.insights-download-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.insights-download-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(0, 174, 239, 0.15);
  border: 1.5px solid rgba(0, 174, 239, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 174, 239, 0.25);
}

.insights-download-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.insights-download-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--brand-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 15px rgba(0, 174, 239, 0.3);
}

.insights-download-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin: 0;
}

.insights-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 2.2rem;
  border-radius: 10px;
  border: 1.5px solid var(--brand-secondary);
  color: var(--brand-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 15px rgba(229, 169, 60, 0.15);
}

.insights-download-btn:hover {
  background: var(--brand-secondary);
  color: var(--text-inverse);
  box-shadow: 0 0 30px rgba(229, 169, 60, 0.5);
  transform: translateY(-3px);
}

.insights-download-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.insights-download-btn:hover svg {
  transform: translateY(2px);
}


/* ============================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================ */
@media (max-width: 1280px) {
  .insights-knowledge-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .insights-tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .insights-hero {
    background: linear-gradient(180deg, #0E121B 0%, rgba(14, 18, 27, 0.95) 100%), url('../images/insights/hero-racecar.jpg') center center / cover no-repeat;
    padding: 7rem 0 4rem;
  }
  .insights-hero__grid {
    grid-template-columns: 1fr;
  }
  .insights-knowledge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .insights-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insights-featured-card {
    grid-template-columns: 1fr;
  }
  .insights-download-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .insights-download-left {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .insights-knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .insights-tech-grid {
    grid-template-columns: 1fr;
  }
  .insights-section-banner {
    height: 180px;
  }
  .insights-section-banner__content {
    padding: 1.5rem;
  }
  .insights-faq-header {
    padding: 1rem;
    gap: 0.85rem;
  }
  .insights-faq-icon {
    width: 36px;
    height: 36px;
  }
  .insights-faq-body {
    padding: 0 1rem 0 3.8rem;
  }
  .insights-faq-item.active .insights-faq-body {
    padding: 0 1rem 1rem 3.8rem;
  }
}
