/* =====================================================
   Quantum Logistics — Industries Page Stylesheet
   Full-width full-bleed hero video matching Screenshot 2
   ===================================================== */

/* Global text anti-aliasing */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Hero Chrome / Overlay Navigation ────────────── */
.industries-hero-sticky .hero-chrome {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
}

.industries-hero-sticky .hero-chrome * {
  pointer-events: auto;
}

.industries-hero-sticky .news-bar {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.industries-hero-sticky .navbar {
  background: transparent !important;
}

/* ─── Hero Scroll Container ────────────────────────── */
.industries-hero-scroll {
  position: relative;
  height: 350vh;
  background-color: #030303;
}

.industries-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #030303;
}

/* Full-width, full-bleed hero video (No black bars) */
.industries-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
}

/* Subtle overlay only at top header for contrast */
.industries-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* ─── Left Middle Title ("INDUSTRIES") ──────────────── */
.industries-left-title {
  position: absolute;
  top: 48%;
  left: clamp(2rem, 5vw, 5rem);
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.industries-title-text {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ─── Right Bottom Statement Box ────────────────────── */
.industries-right-content {
  position: absolute;
  bottom: clamp(3rem, 10vh, 6rem);
  right: clamp(2rem, 6vw, 6rem);
  width: clamp(280px, 32vw, 400px);
  z-index: 10;
  pointer-events: none;
}

.industries-statement {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.industries-statement.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.industries-statement-text {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

/* ─── Industries Grid Section ──────────────────────── */
.industries-grid-section {
  padding: 6rem 0 7rem;
  background-color: #050505;
  position: relative;
  z-index: 20;
}

.industries-section-header {
  margin-bottom: 3.5rem;
  max-width: 800px;
}

.industries-section-tag {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  color: #3a7bff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.industries-section-title {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  align-items: stretch;
}

.industry-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
}

.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(58, 123, 255, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(58, 123, 255, 0.15);
}

.industry-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #111;
}

.industry-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card:hover .industry-card-img {
  transform: scale(1.08);
}

.industry-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(18, 18, 18, 0.95) 100%);
}

.industry-card-tag {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.35rem 0.75rem;
  background: rgba(3, 3, 3, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(58, 123, 255, 0.4);
  border-radius: 4px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: #6fa8ff;
  text-transform: uppercase;
}

.industry-card-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.industry-card-title {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.industry-card:hover .industry-card-title {
  color: #6fa8ff;
}

.industry-card-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.75rem;
}

.industry-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.industry-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.industry-card-features li::before {
  content: '✓';
  color: #3a7bff;
  font-weight: bold;
  flex-shrink: 0;
}

.industry-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.industry-card-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.industry-card-btn:hover {
  background: #3a7bff;
  border-color: #3a7bff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(58, 123, 255, 0.4);
}

/* ─── Industry Impact Stats Section ───────────────── */
.industries-stats-section {
  padding: 5rem 0;
  background-color: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 20;
}

.industries-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.industry-stat-box {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  text-align: center;
  transition: border-color 0.3s ease;
}

.industry-stat-box:hover {
  border-color: rgba(58, 123, 255, 0.3);
}

.industry-stat-number {
  font-family: var(--font-heading, 'Syne', sans-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.industry-stat-number span {
  color: #3a7bff;
}

.industry-stat-label {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
