/*
 * NEXTAI — Benchmarks directory page (/benchmarks/) styles.
 * Loaded only on page-benchmarks.php; split out of style.css to keep the
 * main editorial stylesheet focused. Source order: after style.css.
 */

/* =============================================================================
   2. BENCHMARKS DIRECTORY PAGE (/benchmarks/)
   ============================================================================= */.benchmarks-page-main{
  background-color: #FFFFFF;
  min-height: 80vh;
  padding-bottom: 80px;
}.benchmarks-hero{
  background: radial-gradient(circle at 50% -10%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
              linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 100%);
  border-bottom: 1px solid rgba(24, 34, 52, 0.08);
  padding: 36px 20px 28px;
  text-align: center;
}.benchmarks-hero-wrap{
  max-width: 900px;
  margin: 0 auto;
}.benchmarks-badge-wrap{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}.benchmarks-pulse-dot{
  width: 8px;
  height: 8px;
  background: var(--brand-neon);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.benchmarks-live-tag{
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-neon);
  letter-spacing: 0.06em;
}.benchmarks-sync-tag{
  font-size: 0.78rem;
  color: #616B7C;
  border-right: 1px solid rgba(24, 34, 52, 0.2);
  padding-right: 10px;
  margin-right: 2px;
}.benchmarks-hero-title{ font-size: var(--fs-h1); font-weight: 700;
  font-weight: 700;
  color: #182234;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0 0 12px 0;
}.highlight-cyan{
  background: linear-gradient(90deg, var(--brand-neon), #4FACFE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}.benchmarks-hero-desc{
  font-size: 1rem;
  color: #616B7C;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 24px;
}.benchmarks-stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}.stat-pill-card{
  background: rgba(247, 248, 252, 0.96);
  border: 1px solid rgba(24, 34, 52, 0.08);
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}.stat-pill-card .stat-num{
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-neon);
}.stat-pill-card .stat-label{
  font-size: 0.72rem;
  color: #616B7C;
}

/* CONTROLS BAR (TABS + SEARCH) */.benchmarks-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
}.benchmarks-controls-bar{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}.benchmarks-tabs-nav{
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  min-width: 0;
}.benchmark-tab-btn{
  background: rgba(24, 34, 52, 0.04);
  border: 1px solid rgba(24, 34, 52, 0.08);
  color: #616B7C;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}.benchmark-tab-btn:hover{
  color: #182234;
  background: rgba(24, 34, 52, 0.08);
}.benchmark-tab-btn.active{
  background: var(--brand-neon);
  color: #182234;
  border-color: var(--brand-neon);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.benchmark-tab-btn .tab-count{
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1px 7px;
  border-radius: 10px;
}.benchmark-tab-btn.active .tab-count{
  background: rgba(247, 248, 252, 0.96);
  color: #182234;
}.benchmarks-search-wrap{
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(247, 248, 252, 0.96);
  border: 1px solid rgba(24, 34, 52, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  width: 260px;
  max-width: 100%;
  color: #616B7C;
}.benchmarks-search-wrap:focus-within{
  border-color: var(--brand-neon);
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.benchmarks-search-wrap input{
  background: transparent;
  border: none;
  outline: none;
  color: #182234;
  font-size: 0.82rem;
  width: 100%;
  font-family: inherit;
}

/* BENCHMARK QUICK FILTER CHIPS */.benchmarks-filter-chips{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 10px;
}.filter-chips-label{
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 600;
}.bench-filter-chip{
  background: rgba(24, 34, 52, 0.04);
  border: 1px solid rgba(24, 34, 52, 0.09);
  color: #616B7C;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  font-family: inherit;
}.bench-filter-chip:hover{
  color: #182234;
  background: rgba(24, 34, 52, 0.08);
  border-color: rgba(24, 34, 52, 0.18);
}.bench-filter-chip.active{
  background: var(--brand-neon);
  color: #182234;
  border-color: var(--brand-neon);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}

/* BENCHMARK PANELS */.benchmark-panel{
  display: none;
}.benchmark-panel.active{
  display: block;
}

/* PODIUM SECTION */.benchmarks-podium-section{
  margin-bottom: 42px;
}.podium-header{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}.podium-title{
  font-size: 1.35rem;
  font-weight: 700;
  color: #182234;
  margin: 0;
}.podium-meta{
  font-size: 0.85rem;
  color: var(--text-secondary);
}.podium-cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}.podium-card{
  background: #FFFFFF;
  border-radius: 14px;
  padding: 18px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}.podium-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.podium-card.podium-gold{
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, #FFFFFF 100%);
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.podium-card.podium-silver{
  border-color: rgba(226, 232, 240, 0.4);
  background: linear-gradient(180deg, rgba(226, 232, 240, 0.08) 0%, #FFFFFF 100%);
}.podium-card.podium-bronze{
  border-color: rgba(217, 119, 6, 0.35);
  background: linear-gradient(180deg, rgba(217, 119, 6, 0.08) 0%, #FFFFFF 100%);
}.podium-badge-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}.podium-rank-tag{
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}.podium-rank-tag.rank-gold{
  background: #F59E0B;
  color: #182234;
}.podium-rank-tag.rank-silver{
  background: #E2E8F0;
  color: #182234;
}.podium-rank-tag.rank-bronze{
  background: #E8A33D;
  color: #1F130A;
}.weight-tag{
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}.weight-tag.open-weight{
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}.weight-tag.proprietary{
  background: rgba(148, 163, 184, 0.12);
  color: #616B7C;
  border: 1px solid rgba(148, 163, 184, 0.2);
}.podium-tests-tag{
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-neon);
  border: 1px solid rgba(99, 102, 241, 0.25);
  white-space: nowrap;
}.podium-model-name{
  font-size: 1.15rem;
  font-weight: 700;
  color: #182234;
  margin: 0 0 6px 0;
  line-height: 1.2;
}.podium-org-row{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}.org-indicator-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
}.podium-org-name{
  font-size: 0.9rem;
  color: #616B7C;
  font-weight: 500;
}.podium-price-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(24, 34, 52, 0.03);
  border: 1px solid rgba(24, 34, 52, 0.06);
}.podium-price-label{
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
}.podium-price-val{
  font-size: 0.88rem;
  font-weight: 700;
  color: #182234;
}.podium-price-val.is-budget{
  color: #10B981;
}.podium-score-box{
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(24, 34, 52, 0.05);
}.score-label-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}.score-label{
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}.score-val{
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-neon);
}.podium-progress-track{
  width: 100%;
  height: 6px;
  background: rgba(24, 34, 52, 0.08);
  border-radius: 3px;
  overflow: hidden;
}.podium-progress-fill{
  height: 100%;
  border-radius: 3px;
}.podium-progress-fill.fill-gold{
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
}.podium-progress-fill.fill-silver{
  background: linear-gradient(90deg, #94A3B8, #E2E8F0);
}.podium-progress-fill.fill-bronze{
  background: linear-gradient(90deg, #B45309, #D97706);
}

/* LEADERBOARD TABLE */.benchmarks-table-wrap{
  background: #FFFFFF;
  border: 1px solid rgba(24, 34, 52, 0.08);
  border-radius: 16px;
  overflow-x: auto;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(24,34,52,.05);
}.benchmarks-table{
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 0.86rem;
}.benchmarks-table thead{
  background: rgba(247, 248, 252, 0.96);
  border-bottom: 1px solid var(--border-subtle);
}.benchmarks-table th{
  padding: 12px 14px;
  color: #616B7C;
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}.benchmarks-table tbody tr{
  border-bottom: 1px solid rgba(24, 34, 52, 0.05);
  transition: background-color 0.15s ease;
}.benchmarks-table tbody tr:hover{
  background: rgba(24, 34, 52, 0.03);
}.benchmarks-table td{
  padding: 12px 14px;
  color: #182234;
  vertical-align: middle;
}.col-rank{
  width: 60px;
  text-align: center;
}.rank-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(24, 34, 52, 0.06);
  color: #616B7C;
}.rank-badge.rank-gold{
  background: #F59E0B;
  color: #182234;
}.rank-badge.rank-silver{
  background: #E2E8F0;
  color: #182234;
}.rank-badge.rank-bronze{
  background: #B45309;
  color: #FFF;
}.model-primary-name{
  font-weight: 700;
  color: #182234;
  font-size: 1rem;
}.org-pill-tag{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #182234;
}.org-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}.rating-cell-wrap{
  display: flex;
  align-items: center;
  gap: 12px;
}.rating-number{
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-neon);
  min-width: 42px;
}.rating-mini-bar{
  flex: 1;
  max-width: 120px;
  height: 5px;
  background: rgba(24, 34, 52, 0.08);
  border-radius: 3px;
  overflow: hidden;
}.rating-mini-fill{
  height: 100%;
  background: linear-gradient(90deg, var(--brand-neon), #4FACFE);
  border-radius: 3px;
}

/* PRICE & TESTS COLUMNS */.col-price{
  white-space: nowrap;
}.price-chip{
  display: inline-block;
  font-weight: 700;
  font-size: 0.88rem;
  color: #182234;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(24, 34, 52, 0.04);
  border: 1px solid rgba(24, 34, 52, 0.08);
}.price-chip.chip-budget{
  color: #10B981;
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
}.col-tests{
  white-space: nowrap;
}.tests-chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #616B7C;
  background: rgba(24, 34, 52, 0.03);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(24, 34, 52, 0.06);
}.tests-chip svg{
  color: var(--brand-neon);
  flex-shrink: 0;
}.license-badge{
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}.license-badge.open{
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}.license-badge.closed{
  background: rgba(148, 163, 184, 0.1);
  color: #616B7C;
  border: 1px solid rgba(148, 163, 184, 0.2);
}.score-text{
  color: #616B7C;
  font-size: 0.88rem;
}.no-data-cell{
  text-align: center;
  padding: 36px !important;
  color: #616B7C;
}

/* METHODOLOGY SECTION */.benchmarks-methodology-section{
  background: #FFFFFF;
  border: 1px solid rgba(24, 34, 52, 0.08);
  border-radius: 14px;
  padding: 28px;
}.methodology-header{
  margin-bottom: 30px;
  max-width: 780px;
}.methodology-chip{
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-neon);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 8px;
}.methodology-title{
  font-size: 1.3rem;
  font-weight: 700;
  color: #182234;
  margin: 0 0 8px 0;
}.methodology-desc{
  font-size: 0.95rem;
  color: #616B7C;
  line-height: 1.6;
  margin: 0;
}.benchmark-suites-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}.suite-card{
  background: #FFFFFF;
  border: 1px solid rgba(24, 34, 52, 0.06);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}.suite-icon-wrap{
  font-size: 1.3rem;
  margin-bottom: 8px;
}.suite-name{
  font-size: 0.95rem;
  font-weight: 700;
  color: #182234;
  margin: 0 0 6px 0;
}.suite-desc{
  font-size: 0.8rem;
  color: #616B7C;
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex: 1;
}.suite-category{
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-neon);
  background: rgba(99, 102, 241, 0.08);
  padding: 3px 8px;
  border-radius: 4px;
  align-self: flex-start;
}.methodology-footer-note{
  border-top: 1px solid rgba(24, 34, 52, 0.06);
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}.methodology-footer-note strong{
  color: #182234;
}

/* RESPONSIVE BREAKPOINTS */

/* Tablet: 5→3 columns, slightly tighter */@media (max-width: 1024px){.benchmarks-tabs-nav{
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding-bottom: 4px;
  }.bench-filter-chip{
    flex-shrink: 0;
  }
}@media (max-width: 1024px){.benchmarks-stats-grid{
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }.podium-cards-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }.benchmark-suites-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small tablet / large phone: controls stack */@media (max-width: 900px){.benchmarks-stats-grid{
    max-width: 400px;
  }.benchmarks-controls-bar{
    flex-direction: column;
    align-items: stretch;
  }.benchmarks-search-wrap{
    width: 100%;
  }.benchmarks-tabs-nav{
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding-bottom: 4px;
  }
}

/* Mobile: single column cards, compact everything */@media (max-width: 640px){.benchmarks-hero{
    padding: 24px 14px 18px;
  }.benchmarks-stats-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 360px;
  }.stat-pill-card{
    padding: 8px 6px;
  }.stat-pill-card .stat-num{
    font-size: 1.05rem;
  }.stat-pill-card .stat-label{
    font-size: 0.65rem;
  }.benchmarks-hero-title{ font-size: var(--fs-h1); font-weight: 700;
  }.benchmarks-hero-desc{
    font-size: 0.88rem;
    margin-bottom: 16px;
  }.benchmarks-container{
    padding: 18px 12px;
  }.podium-cards-grid{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* Hide less critical table columns on mobile */.benchmarks-table .hide-mobile{
    display: none;
  }.benchmarks-table th.hide-mobile,
.benchmarks-table td.hide-mobile{
    display: none;
  }.benchmark-suites-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }.benchmarks-methodology-section{
    padding: 18px 12px;
  }.methodology-title{
    font-size: 1.05rem;
  }.suite-desc{
    font-size: 0.74rem;
  }.benchmarks-controls-bar{
    flex-direction: column;
    align-items: stretch;
  }.benchmarks-search-wrap{
    width: 100%;
  }.benchmarks-filter-chips{
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 6px;
    border-radius: 12px;
    margin-bottom: 28px;
  }.benchmarks-tabs-nav{
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding-bottom: 4px;
  }.bench-filter-chip{
    flex-shrink: 0;
    font-size: 0.74rem;
    padding: 4px 10px;
  }.benchmarks-table-wrap{
    border-radius: 12px;
    margin-bottom: 28px;
  }
}

/* Small phone: 2→1 columns, ultra-compact */@media (max-width: 420px){.benchmarks-stats-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }.stat-pill-card .stat-num{
    font-size: 0.95rem;
  }.benchmark-tab-btn{
    padding: 5px 8px;
    font-size: 0.72rem;
    flex-shrink: 0;
  }.benchmark-suites-grid{
    grid-template-columns: 1fr;
  }.benchmarks-table{
    font-size: 0.78rem;
  }.benchmarks-table th,
.benchmarks-table td{
    padding: 10px 8px;
  }
}
