/* ─── CUSTOMER INTELLIGENCE ───────────────────────────────────────────────── */
/* Dark premium theme matching the rest of the Innovators League site. */

.customers-hero {
  padding: 56px 24px 32px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.customers-hero .hero-eyebrow {
  color: #FF6B2C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.customers-hero h1 {
  font-size: 44px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: #f0f0fa;
}

.customers-hero p {
  font-size: 17px;
  color: rgba(240, 240, 250, 0.65);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ─── FILTERS ─────────────────────────────────────────────────────────────── */
.customers-filters-wrap {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.customers-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.customers-filters-secondary {
  margin-top: 12px;
}

.customers-filter {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.customers-filter:hover {
  background: rgba(255, 107, 44, 0.08);
  border-color: rgba(255, 107, 44, 0.25);
  color: rgba(255, 255, 255, 0.88);
}

.customers-filter.active {
  background: rgba(255, 107, 44, 0.15);
  border-color: rgba(255, 107, 44, 0.55);
  color: #FF6B2C;
}

.customers-select {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 240, 250, 0.88);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  min-width: 200px;
}

.customers-select:hover {
  border-color: rgba(255, 107, 44, 0.4);
}

.customers-select:focus {
  outline: none;
  border-color: #FF6B2C;
  background: rgba(255, 107, 44, 0.05);
}

/* ─── MAIN ────────────────────────────────────────────────────────────────── */
.customers-main {
  max-width: 1200px;
  margin: 28px auto 72px;
  padding: 0 24px;
}

/* ─── STATS BAR ───────────────────────────────────────────────────────────── */
.customers-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 22px 24px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, rgba(255, 107, 44, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.customers-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px 2px;
}

.customers-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #f0f0fa;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.customers-stat-label {
  font-size: 10.5px;
  color: rgba(240, 240, 250, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

/* ─── GRID ────────────────────────────────────────────────────────────────── */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 20px;
}

.customer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px 24px;
  transition: all 0.25s ease;
}

.customer-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 107, 44, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

/* ─── CARD HEADER ─────────────────────────────────────────────────────────── */
.customer-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}

.customer-card-title {
  flex: 1;
  min-width: 0;
}

.customer-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.customer-card h3 a {
  color: #f0f0fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.customer-card h3 a:hover {
  color: #FF6B2C;
}

.customer-sector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.customer-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}

.customer-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  background: rgba(255, 107, 44, 0.08);
  border: 1px solid rgba(255, 107, 44, 0.3);
  border-radius: 10px;
  color: #FF6B2C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.customer-badge-value {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

/* ─── AGENCIES ────────────────────────────────────────────────────────────── */
.customer-agencies {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.agencies-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(240, 240, 250, 0.45);
}

.agency-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
}

.agency-name {
  font-size: 13px;
  color: rgba(240, 240, 250, 0.85);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agency-dod-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  border-radius: 6px;
  letter-spacing: 0.05em;
}

.agency-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.agency-count {
  font-size: 11.5px;
  color: rgba(240, 240, 250, 0.55);
  font-family: 'SF Mono', Menlo, monospace;
}

.agency-pct {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #f0f0fa;
  min-width: 36px;
  text-align: right;
}

.agency-bar {
  grid-column: 1 / -1;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 2px;
}

.agency-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.5), #FF6B2C);
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.agency-more {
  font-size: 11px;
  color: rgba(240, 240, 250, 0.45);
  text-align: center;
  padding-top: 6px;
  font-style: italic;
  font-family: 'SF Mono', Menlo, monospace;
}

/* ─── EMPTY STATES ────────────────────────────────────────────────────────── */
.customer-empty,
.empty-state {
  text-align: center;
  padding: 72px 24px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.customer-empty-icon {
  font-size: 52px;
  margin-bottom: 16px;
  opacity: 0.65;
}

.customer-empty h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: rgba(240, 240, 250, 0.82);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.customer-empty p {
  max-width: 460px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240, 240, 250, 0.5);
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .customers-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
  .customers-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .customers-hero {
    padding: 36px 16px 24px;
  }
  .customers-hero h1 {
    font-size: 30px;
  }
  .customers-hero p {
    font-size: 15px;
  }
  .customers-filters-wrap {
    padding: 0 16px 16px;
  }
  .customers-filters {
    gap: 6px;
  }
  .customers-filter {
    padding: 7px 13px;
    font-size: 12px;
  }
  .customers-select {
    min-width: 160px;
    font-size: 12px;
  }
  .customers-main {
    padding: 0 16px;
    margin-bottom: 48px;
  }
  .customers-stats-bar {
    padding: 18px 18px;
    gap: 12px;
  }
  .customers-stat-value {
    font-size: 22px;
  }
  .customers-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .customer-card {
    padding: 18px 18px;
  }
  .customer-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .customer-badges {
    flex-direction: row;
    align-items: flex-start;
  }
  .customer-card h3 {
    font-size: 17px;
  }
  .agency-name {
    font-size: 12.5px;
  }
}

@media (max-width: 480px) {
  .customers-stats-bar {
    grid-template-columns: 1fr;
  }
  .customers-hero h1 {
    font-size: 26px;
  }
}
