/* ==========================================================
   Industries — Shared Design System
   /public/assets/css/industries.css

   Used by all /industries/:industry pages.
   Namespace: .ind-  (industry)
   ========================================================== */

:root {
  --ind-navy:        #0a0f2e;   /* hero and CTA dark background */
  --ind-blue:        #0033a0;   /* brand blue — primary CTA strip */
  --ind-yellow:      #fdc100;   /* accent — proof numbers, icons, badges */
  --ind-yellow-dk:   #e6ae00;
  --ind-charcoal:    #404040;
  --ind-text:        #333333;
  --ind-muted:       #666666;
  --ind-border:      rgba(0, 0, 0, 0.08);
  --ind-bg-light:    #f8f9fa;
  --ind-card-radius: 12px;
  --ind-before-bg:   #f0f1f3;   /* desaturated - the old world */
  --ind-after-bg:    #0a0f2e;   /* dark navy - the new world */
}

/* llm-summary hidden globally via custom.css */

/* ----------------------------------------------------------
   Page wrapper
   ---------------------------------------------------------- */
.ind-page section {
  padding-top: 72px;
  padding-bottom: 72px;
}

/* ----------------------------------------------------------
   Shared typography helpers
   ---------------------------------------------------------- */
.ind-section-label {
  display: inline-block;
  background: rgba(253, 193, 0, 0.15);
  color: #7a5a00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.ind-section-intro {
  max-width: 680px;
  margin: 0 auto 52px;
}

.ind-section-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--ind-charcoal);
  margin-bottom: 16px;
  line-height: 1.25;
}

.ind-section-intro .lead {
  color: var(--ind-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ----------------------------------------------------------
   HERO — photo background with dark tint
   ---------------------------------------------------------- */
.ind-hero {
  background:
    linear-gradient(
      to right,
      rgba(10, 15, 46, 0.88) 0%,
      rgba(10, 15, 46, 0.70) 55%,
      rgba(10, 15, 46, 0.55) 100%
    ),
    url('/assets/images/stock/cargo-bg-min.jpg') center center / cover no-repeat;
  padding-top: 96px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.ind-hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ind-industry-badge {
  display: inline-block;
  background: rgba(253, 193, 0, 0.15);
  color: var(--ind-yellow);
  border: 1px solid rgba(253, 193, 0, 0.3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.ind-hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.ind-hero-content .lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}

.ind-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ind-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.ind-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

/* Hero visual card */
.ind-hero-visual {
  display: flex;
  justify-content: center;
}

.ind-hero-card {
  background: rgba(10, 15, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 24px 28px;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ind-hero-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.ind-hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ind-dot-green  { background: #30d158; }
.ind-dot-yellow { background: #ffd60a; }
.ind-dot-red    { background: #ff453a; }

.ind-hero-card-title {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-left: 4px;
}

.ind-hero-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ind-hero-stat-row:last-of-type {
  border-bottom: none;
}

.ind-hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.ind-hero-stat-val {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.ind-val-green { color: #30d158; }

.ind-hero-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 16px 0 12px;
}

.ind-hero-notif {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.ind-notif-icon {
  color: #30d158;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   BUSINESS MODELS — who we serve
   ---------------------------------------------------------- */
.ind-models-section {
  background: var(--ind-bg-light);
  padding-top: 48px;
  padding-bottom: 48px;
}

.ind-models-section .ind-section-intro {
  margin-bottom: 32px;
}

.ind-models-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ind-model-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--ind-border);
  border-radius: 50px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ind-charcoal);
  white-space: nowrap;
}

.ind-model-pill i {
  color: var(--ind-yellow-dk);
  font-size: 13px;
}

/* ----------------------------------------------------------
   CHALLENGE SECTION
   ---------------------------------------------------------- */
/* 6 cards — clean 3×2 grid, no special nth-child needed */
.ind-challenge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ind-challenge-card {
  background: #ffffff;
  border: 1px solid var(--ind-border);
  border-radius: var(--ind-card-radius);
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.ind-challenge-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.ind-challenge-icon {
  font-size: 26px;
  color: var(--ind-yellow-dk);
  margin-bottom: 16px;
}

.ind-challenge-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ind-charcoal);
  margin: 0 0 10px;
  line-height: 1.35;
}

.ind-challenge-body {
  font-size: 13.5px;
  color: var(--ind-muted);
  line-height: 1.65;
  margin: 0;
}

/* ----------------------------------------------------------
   PROOF STATS — sharp, modern, after challenge
   ---------------------------------------------------------- */
.ind-proof-bar {
  background: #ffffff;
  border-top: 1px solid var(--ind-border);
  border-bottom: 1px solid var(--ind-border);
  padding-top: 56px;
  padding-bottom: 56px;
}

.ind-proof-intro {
  margin-bottom: 40px;
}

.ind-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
}

.ind-proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 32px;
  border-right: 1px solid var(--ind-border);
}

.ind-proof-item:first-child {
  padding-left: 0;
}

.ind-proof-item:last-child {
  border-right: none;
  padding-right: 0;
}

/* Yellow accent rule above each number */
.ind-proof-accent {
  width: 32px;
  height: 3px;
  background: var(--ind-yellow);
  border-radius: 2px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.ind-proof-num {
  font-size: 3.75rem;
  font-weight: 200;
  color: var(--ind-navy);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.ind-proof-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--ind-muted);
  line-height: 1.55;
  max-width: 200px;
}

/* ----------------------------------------------------------
   BEFORE / AFTER
   ---------------------------------------------------------- */
.ind-ba-section {
  background: #ffffff;
}

.ind-ba-section .ind-section-intro h2 {
  font-size: 2rem;
}

.ind-ba-layout {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  gap: 0;
  align-items: stretch;
}

/* BEFORE panel */
.ind-ba-panel {
  border-radius: var(--ind-card-radius);
  padding: 40px 36px;
}

.ind-ba-before {
  background: var(--ind-before-bg);
}

.ind-ba-after {
  background: var(--ind-navy);
}

.ind-ba-panel-header {
  margin-bottom: 28px;
}

.ind-ba-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.ind-ba-before .ind-ba-label {
  background: rgba(0,0,0,0.08);
  color: #555;
}

.ind-ba-after .ind-ba-label {
  background: rgba(253,193,0,0.15);
  color: var(--ind-yellow);
  border: 1px solid rgba(253,193,0,0.25);
}

.ind-ba-sub {
  font-size: 13px;
  margin: 0;
}

.ind-ba-before .ind-ba-sub { color: #888; }
.ind-ba-after  .ind-ba-sub { color: rgba(255,255,255,0.45); }

.ind-ba-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ind-ba-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.ind-ba-before .ind-ba-list li { color: #555; }
.ind-ba-after  .ind-ba-list li { color: rgba(255,255,255,0.8); }

.ind-ba-icon-x {
  color: #cc3333;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 15px;
}

.ind-ba-icon-check {
  color: #30d158;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 15px;
}

/* Arrow divider */
.ind-ba-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.ind-ba-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ind-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ind-navy);
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(253,193,0,0.4);
}

/* Mid-page CTA below before/after */
.ind-ba-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.ind-ba-cta-text {
  font-size: 15px;
  color: var(--ind-muted);
  margin: 0;
}

.ind-ba-cta-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ind-blue);
  text-decoration: none;
}

.ind-ba-cta-link:hover {
  color: var(--ind-navy);
  text-decoration: underline;
}

/* ----------------------------------------------------------
   PLATFORM FIT
   ---------------------------------------------------------- */
.ind-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ind-platform-card {
  background: #ffffff;
  border: 1px solid var(--ind-border);
  border-radius: var(--ind-card-radius);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.ind-platform-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.ind-platform-product-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.ind-platform-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ind-border);
  border-radius: 10px;
  padding: 6px;
  background: #fff;
  flex-shrink: 0;
}

.ind-platform-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ind-charcoal);
  margin: 0 0 2px;
}

.ind-platform-category {
  font-size: 12px;
  color: var(--ind-muted);
  margin: 0;
}

.ind-platform-body {
  font-size: 13px;
  color: var(--ind-muted);
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

.ind-platform-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ind-blue);
  text-decoration: none;
  margin-top: auto;
}

.ind-platform-link:hover {
  color: var(--ind-blue);
  text-decoration: underline;
}

/* Platform section inline CTA */
.ind-platform-cta {
  margin-top: 48px;
}

.ind-platform-cta-text {
  font-size: 15px;
  color: var(--ind-muted);
  margin-bottom: 16px;
}

/* ----------------------------------------------------------
   QUICK WINS
   ---------------------------------------------------------- */
.ind-qw-section {
  background: var(--ind-bg-light);
}

.ind-qw-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
}

.ind-qw-left h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ind-charcoal);
  margin-bottom: 16px;
  line-height: 1.25;
}

.ind-qw-left p {
  font-size: 15px;
  color: var(--ind-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.ind-qw-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ind-qw-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.ind-qw-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--ind-yellow);
  line-height: 1;
  flex-shrink: 0;
  min-width: 36px;
  margin-top: 2px;
}

.ind-qw-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ind-charcoal);
  margin: 0 0 6px;
}

.ind-qw-body {
  font-size: 13.5px;
  color: var(--ind-muted);
  line-height: 1.65;
  margin: 0;
}

/* ----------------------------------------------------------
   CTA SECTION
   ---------------------------------------------------------- */
.ind-cta-section {
  background: var(--ind-blue);
  padding-top: 80px;
  padding-bottom: 80px;
}

.ind-cta-headline {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.ind-cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.ind-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ind-btn-cta-primary {
  background: var(--ind-yellow);
  border-color: var(--ind-yellow);
  color: #ffffff !important;
  font-weight: 700;
}

.ind-btn-cta-primary:hover {
  background: var(--ind-yellow-dk);
  border-color: var(--ind-yellow-dk);
  color: #ffffff !important;
}

.ind-btn-cta-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 14px;
  transition: background 0.2s;
}

.ind-btn-cta-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

/* Tablet */
@media (max-width: 992px) {
  .ind-hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ind-hero-visual {
    display: none;
  }
  .ind-hero-content h1 {
    font-size: 2rem;
  }
  .ind-proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .ind-proof-item {
    padding: 24px 24px;
    border-right: none;
    border-bottom: 1px solid var(--ind-border);
  }
  .ind-proof-item:nth-child(odd) {
    border-right: 1px solid var(--ind-border);
  }
  .ind-proof-item:last-child,
  .ind-proof-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }
  .ind-challenge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-ba-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ind-ba-divider {
    display: none;
  }
  .ind-ba-before {
    border-radius: var(--ind-card-radius) var(--ind-card-radius) 0 0;
    padding-bottom: 28px;
  }
  .ind-ba-after {
    border-radius: 0 0 var(--ind-card-radius) var(--ind-card-radius);
    padding-top: 28px;
  }
  .ind-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-qw-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .ind-models-pills {
    gap: 8px;
  }
  .ind-model-pill {
    font-size: 13px;
    padding: 8px 16px;
  }
  .ind-page section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .ind-hero {
    padding-top: 64px;
    padding-bottom: 56px;
  }
  .ind-hero-content h1 {
    font-size: 1.7rem;
  }
  .ind-proof-grid {
    grid-template-columns: 1fr;
  }
  .ind-proof-item {
    padding: 20px 0;
    border-right: none !important;
    border-bottom: 1px solid var(--ind-border);
  }
  .ind-proof-item:last-child {
    border-bottom: none;
  }
  .ind-proof-num {
    font-size: 2.75rem;
  }
  .ind-challenge-grid {
    grid-template-columns: 1fr;
  }
  .ind-platform-grid {
    grid-template-columns: 1fr;
  }
  .ind-ba-panel {
    padding: 28px 20px;
  }

  .ind-section-intro h2 {
    font-size: 1.6rem;
  }
  .ind-cta-headline {
    font-size: 1.6rem;
  }
}
