/* ===================================================
   ModelHub Engagement & Layout Enhancement Styles
   =================================================== */

/* ---------- 1. Enhanced Card Styles ---------- */
.card-lift {
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.card-lift::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 140, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(79, 140, 255, 0.08);
}
.card-lift:hover::before {
  opacity: 1;
}

/* Featured / Highlight card — unified style applied globally via .task-card */
/* .card-featured kept for backward compat; no special override needed */

/* ---------- 7. Section Dividers ---------- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.15), transparent);
  margin: 0 auto;
  max-width: 1200px;
}

/* ---------- 9. Related Content (Cross-linking) ---------- */
.related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.related-title {
  font-size: 20px;
  font-weight: 700;
  color: #eaf0ff;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.related-title svg {
  color: #4f8cff;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.related-card {
  padding: 20px;
  border-radius: 8px;
  background: rgba(19, 38, 65, 0.6);
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
}
.related-card:hover {
  border-color: rgba(79, 140, 255, 0.3);
  background: rgba(19, 38, 65, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #eaf0ff;
  margin-bottom: 6px;
}
.related-card-desc {
  font-size: 13px;
  color: #b3c4e6;
  line-height: 1.5;
}

/* ---------- 10. Pulse CTA Button ---------- */
.btn-pulse {
  animation: ctaPulse 2.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(79, 140, 255, 0.35); }
  50% { box-shadow: 0 4px 28px rgba(79, 140, 255, 0.6), 0 0 0 8px rgba(79, 140, 255, 0.1); }
}

/* ---------- 11. Content Chunking / Accordion for long pages ---------- */
.content-chunk {
  margin-bottom: 40px;
}
.chunk-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.chunk-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(79, 140, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4f8cff;
}
.chunk-title {
  font-size: 22px;
  font-weight: 700;
  color: #eaf0ff;
}
.chunk-subtitle {
  font-size: 14px;
  color: #b3c4e6;
}

/* ---------- 12. Empty State Enhancement ---------- */
.empty-state-enhanced {
  text-align: center;
  padding: 60px 24px;
}
.empty-state-enhanced .empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(79, 140, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.empty-state-enhanced .empty-icon svg {
  width: 28px;
  height: 28px;
  color: #4f8cff;
  opacity: 0.6;
}
.empty-state-enhanced h3 {
  font-size: 18px;
  color: #eaf0ff;
  margin-bottom: 8px;
}
.empty-state-enhanced p {
  color: #b3c4e6;
  font-size: 14px;
  margin-bottom: 24px;
}

/* ---------- 13. Enhanced Footer ---------- */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b3c4e6;
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background: rgba(79, 140, 255, 0.15);
  border-color: rgba(79, 140, 255, 0.3);
  color: #4f8cff;
  transform: translateY(-2px);
}
.footer-subscribe {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}
.footer-subscribe input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #eaf0ff;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease;
}
.footer-subscribe input:focus {
  border-color: #4f8cff;
}
.footer-subscribe input::placeholder {
  color: #64748b;
}
.footer-subscribe button {
  padding: 8px 16px;
  border-radius: 8px;
  background: #4f8cff;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.footer-subscribe button:hover {
  background: #6aa1ff;
}

/* ---------- 14. Tab Enhancement ---------- */
.tab-enhanced {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-enhanced::-webkit-scrollbar { display: none; }
.tab-enhanced .tab-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #b3c4e6;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}
.tab-enhanced .tab-btn:hover {
  color: #eaf0ff;
  background: rgba(255,255,255,0.04);
}
.tab-enhanced .tab-btn.active {
  background: rgba(79, 140, 255, 0.15);
  color: #4f8cff;
  font-weight: 600;
}

/* ---------- 15. Count Badge ---------- */
.count-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(79, 140, 255, 0.12);
  color: #4f8cff;
}

/* ---------- 16. Tooltip ---------- */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 6px;
  background: #1e293b;
  color: #eaf0ff;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 100;
  border: 1px solid rgba(255,255,255,0.1);
}
[data-tooltip]:hover::after {
  opacity: 1;
}

/* ---------- 17. Responsive Tweaks ---------- */
@media (max-width: 768px) {
  .footer-subscribe {
    flex-direction: column;
  }
}

/* ---------- 20. Global Color & Layout Normalizer ---------- */
/* Ensures visual consistency across all pages */

/* Fix any stray light-theme backgrounds */
.compare-table th,
.seo-content,
.template-detail,
.info-box {
  color: var(--text) !important;
}

/* Standardize error states */
.error,
.error-box {
  background: rgba(251,113,133,0.08) !important;
  border: 1px solid rgba(251,113,133,0.25) !important;
  color: var(--red) !important;
  border-radius: 10px !important;
}

/* Standardize success/winner highlights */
.winner-text,
.winner-highlight,
.final-rec .winner-name {
  color: var(--green) !important;
}

/* Normalize table headers */
.compare-table th {
  color: var(--text) !important;
}

/* Normalize code and output blocks */
.api-example,
.pg-output,
.code-block {
  background: rgba(0,0,0,0.25) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
  color: var(--text-secondary) !important;
}

/* Unify section padding */
section.section {
  padding: 36px 24px;
}

/* Unify card border-radius */
.card-lift,
.model-card,
.template-card,
.result-card,
.pick-card,
.latest-card,
.router-card {
  border-radius: 8px;
}

/* Unify text contrast for all paragraphs */
p, li, span.text-muted, .meta, .description, .output {
  color: var(--text-secondary);
}

/* Ensure headings use primary text */
h1, h2, h3, h4, h5, h6 {
  color: var(--text);
}

/* Source badge readability */
.source-badge,
.source-official,
.source-api,
.source-scraper,
.source-community,
.verified-chip {
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Container width consistency */
.container,
.page-container,
.nav-inner,
.hero,
.section-content,
.compare-intro,
.compare-hero-banner,
.compare-form {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Button consistency */
button, .btn, .nav-btn, .cta-button {
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}

/* Homepage nav parity across duplicated page templates */
nav {
  background: #ffffff !important;
}

nav .nav-inner {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  height: 60px !important;
  background: transparent !important;
}

nav .nav-logo-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

nav .nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #0F172A !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

nav .nav-logo:hover {
  color: #0F172A !important;
}

nav .nav-logo img {
  width: 32px !important;
  height: 32px !important;
}

nav .nav-links {
  gap: 4px !important;
  align-items: center !important;
}

nav .nav-links a {
  color: #3F4D63 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 5px 10px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

nav .nav-links a:hover {
  color: #0F172A !important;
  background: transparent !important;
}

nav .nav-links a.active {
  color: #2563EB !important;
  border-bottom: none !important;
}

nav .nav-links a.active::after {
  content: "" !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 10px !important;
  right: 10px !important;
  height: 2px !important;
  background: #2563EB !important;
  border-radius: 1px !important;
}

nav .nav-right {
  align-items: center !important;
  gap: 8px !important;
}

nav .nav-search-wrap {
  position: relative !important;
}

nav .nav-search {
  width: 190px !important;
  min-height: 38px !important;
  padding: 7px 12px 7px 34px !important;
  background: #FFFFFF !important;
  border: 1px solid #D8E1EB !important;
  border-radius: 6px !important;
  color: #0F172A !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

nav .nav-search::placeholder {
  color: #7B8BA1 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

nav .nav-search-icon {
  left: 10px !important;
  color: #7B8BA1 !important;
  font-size: 14px !important;
}

nav .nav-btn-text,
nav .nav-btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

nav .nav-btn-text {
  color: #3F4D63 !important;
  background: transparent !important;
  padding: 5px 8px !important;
  border: none !important;
}

nav .nav-btn-text:hover {
  color: #0F172A !important;
}

nav .nav-btn-primary {
  background: #2563EB !important;
  color: #fff !important;
  padding: 5px 14px !important;
  border: none !important;
  border-radius: 5px !important;
}

nav .nav-btn-primary:hover {
  background: #1D4ED8 !important;
  color: #fff !important;
}

nav .nav-hamburger {
  color: #0F172A !important;
}

nav .nav-mobile {
  background: #F8FAFC !important;
  border-top: 1px solid #D8E1EB !important;
}

nav .nav-mobile a {
  color: #3F4D63 !important;
  font-size: 14px !important;
}

nav .nav-mobile a:hover {
  color: #0F172A !important;
  background: rgba(37,99,235,0.06) !important;
}

/* Focus ring consistency */
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(79,140,255,0.5);
  outline-offset: 2px;
}

/* Model chip color mapping using CSS custom properties */
.model-chip, .provider-chip {
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
}

/* ---------- 21. Lucide Icon System ---------- */
/* Inline icons inside headings, buttons, labels, etc. */
.icon-inline {
  width: 1.2em;
  height: 1.2em;
  vertical-align: -0.18em;
  margin-right: 0.35em;
  stroke: currentColor;
  flex-shrink: 0;
}
.icon-inline.icon-xs {
  width: 1em;
  height: 1em;
  vertical-align: -0.12em;
  margin-right: 0.25em;
}
.icon-inline.icon-lg {
  width: 1.5em;
  height: 1.5em;
  vertical-align: -0.25em;
  margin-right: 0.4em;
}

/* Page header icons */
.page-header h1 .icon-inline,
.page-header h2 .icon-inline,
.hero h1 .icon-inline,
.hero h2 .icon-inline {
  width: 1.3em;
  height: 1.3em;
  vertical-align: -0.22em;
  color: var(--primary);
}

/* Heading icon colors */
h1 .icon-inline,
h2 .icon-inline,
h3 .icon-inline {
  color: var(--primary);
}

/* Button icons */
button .icon-inline,
.btn .icon-inline,
.nav-btn .icon-inline {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  margin-right: 0.3em;
}

/* Nav hamburger */
.nav-hamburger .icon-inline {
  margin-right: 0;
  width: 1.3em;
  height: 1.3em;
  color: var(--text);
}

/* Filter / label icons */
label .icon-inline,
.filter-option .icon-inline {
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.14em;
  margin-right: 0.3em;
}

/* Success / green icons */
.icon-green {
  color: var(--green) !important;
}

/* Warning / yellow icons */
.icon-yellow {
  color: var(--yellow) !important;
}

/* Error / red icons */
.icon-red {
  color: var(--red) !important;
}

/* Wizard / card large icons */
.opt-icon i,
.opt-icon svg,
.wizard-opt .opt-icon .icon-inline,
.tool-card .icon .icon-inline {
  width: 1.6em;
  height: 1.6em;
  vertical-align: middle;
  margin-right: 0;
}

/* Empty state icon */
.empty-icon svg {
  width: 2em;
  height: 2em;
  color: var(--text-muted);
  opacity: 0.5;
}

/* Works / How-it-works icons */
.works-icon svg,
.works-icon .icon-inline {
  width: 26px;
  height: 26px;
}

/* Tag / chip icons */
.tag .icon-inline {
  width: 0.85em;
  height: 0.85em;
  vertical-align: -0.12em;
  margin-right: 0.2em;
}

/* ---------- 20-B. Body Background Texture & Ambient Decor ---------- */
/* Subtle grid + gradient orbs to eliminate the "flat void" feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 25%, rgba(79,140,255,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 55%, rgba(52,211,153,0.04) 0%, transparent 55%),
    radial-gradient(circle at 45% 85%, rgba(167,139,250,0.04) 0%, transparent 55%),
    radial-gradient(circle, rgba(79,140,255,0.04) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 28px 28px;
}

/* ---------- 22. FAQ Accordion ---------- */
.faq-accordion {
  max-width: 760px;
  margin: 24px auto 0;
}
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item[open] {
  background: rgba(79,140,255,0.06);
  border-color: rgba(79,140,255,0.2);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #eaf0ff;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #4f8cff; }
.faq-chevron {
  flex-shrink: 0;
  margin-left: 12px;
  color: #b3c4e6;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: #4f8cff; }
.faq-answer {
  padding: 0 22px 20px;
  color: #b3c4e6;
  font-size: 14px;
  line-height: 1.7;
  animation: faqSlideIn 0.3s ease;
}
.faq-answer a { color: #4f8cff; text-decoration: underline; }
.faq-answer a:hover { color: #6aa1ff; }
@keyframes faqSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 23. AI Model Quiz Wizard ---------- */
.section-quiz {
  background: linear-gradient(180deg, rgba(79,140,255,0.03) 0%, transparent 40%);
}
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
}
.quiz-step {
  display: none;
  animation: quizFadeIn 0.4s ease;
}
.quiz-step.active { display: block; }
@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-progress {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin-bottom: 28px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4f8cff, #34d399);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.quiz-question {
  font-size: 20px;
  font-weight: 700;
  color: #eaf0ff;
  margin-bottom: 24px;
  text-align: center;
}
.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.quiz-options-budget {
  grid-template-columns: repeat(4, 1fr);
}
.quiz-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  color: #d3def6;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  font-family: inherit;
  min-height: 130px;
}
.quiz-opt:hover {
  background: rgba(79,140,255,0.08);
  border-color: rgba(79,140,255,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79,140,255,0.12);
}
.quiz-opt.selected {
  background: rgba(79,140,255,0.15);
  border-color: #4f8cff;
  color: #eaf0ff;
  box-shadow: 0 0 0 3px rgba(79,140,255,0.12);
}
.quiz-opt-icon { font-size: 32px; }
.quiz-opt-text { font-size: 14px; font-weight: 600; }
.quiz-opt-desc { font-size: 12px; color: #94a3b8; }
.quiz-opt.selected .quiz-opt-desc { color: #b3c4e6; }

/* Quiz Results */
.quiz-results {
  text-align: center;
  padding: 20px 0;
}
.quiz-result-card {
  background: linear-gradient(135deg, rgba(79,140,255,0.1), rgba(52,211,153,0.06));
  border: 1px solid rgba(79,140,255,0.25);
  border-radius: 16px;
  padding: 36px;
  margin-bottom: 20px;
}
.quiz-result-model {
  font-size: 26px;
  font-weight: 800;
  color: #4f8cff;
  margin-bottom: 8px;
}
.quiz-result-tagline {
  font-size: 14px;
  color: #b3c4e6;
  margin-bottom: 20px;
}
.quiz-result-reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}
.quiz-result-reason {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #d3def6;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}
.quiz-result-reason .reason-icon { font-size: 18px; flex-shrink: 0; }
.quiz-result-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.quiz-result-actions a {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.quiz-btn-primary {
  background: #4f8cff;
  color: #fff;
}
.quiz-btn-primary:hover { background: #6aa1ff; color: #fff; }
.quiz-btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #d3def6;
  border: 1px solid rgba(255,255,255,0.12);
}
.quiz-btn-secondary:hover { background: rgba(255,255,255,0.12); color: #eaf0ff; }
.quiz-retry-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #b3c4e6;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.2s;
  font-family: inherit;
}
.quiz-retry-btn:hover {
  border-color: #4f8cff;
  color: #4f8cff;
  background: rgba(79,140,255,0.06);
}

/* ---------- 25. Community Poll ---------- */
.section-poll {
  background: linear-gradient(180deg, transparent 0%, rgba(79,140,255,0.02) 100%);
}
.poll-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.poll-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px;
}
.poll-question {
  font-size: 15px;
  font-weight: 700;
  color: #eaf0ff;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.poll-choices { display: flex; flex-direction: column; gap: 10px; }
.poll-choice {
  display: grid;
  grid-template-columns: 120px 1fr 48px;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.poll-choice:hover {
  background: rgba(79,140,255,0.08);
  border-color: rgba(79,140,255,0.25);
}
.poll-choice.voted {
  background: rgba(79,140,255,0.12);
  border-color: rgba(79,140,255,0.35);
}
.poll-choice.voted .poll-choice-name { color: #4f8cff; font-weight: 700; }
.poll-choice.voted .poll-bar-fill { background: #4f8cff; }
.poll-choice-name { font-size: 13px; color: #d3def6; font-weight: 500; }
.poll-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.poll-bar-fill {
  height: 100%;
  background: rgba(79,140,255,0.5);
  border-radius: 3px;
  transition: width 0.6s ease, background 0.3s ease;
}
.poll-votes {
  font-size: 13px;
  font-weight: 700;
  color: #b3c4e6;
  text-align: right;
}
.poll-choice.voted .poll-votes { color: #4f8cff; }
.poll-total {
  margin-top: 14px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}
.poll-voted-msg {
  text-align: center;
  font-size: 13px;
  color: #34d399;
  margin-top: 8px;
  animation: pollMsgIn 0.3s ease;
}
@keyframes pollMsgIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive: Quiz & Poll ---------- */
@media (max-width: 768px) {
  .quiz-options {
    grid-template-columns: 1fr;
  }
  .quiz-options-budget {
    grid-template-columns: repeat(2, 1fr);
  }
  .quiz-opt {
    min-height: auto;
    padding: 16px 14px;
  }
  .quiz-question {
    font-size: 17px;
  }
  .quiz-result-reasons {
    grid-template-columns: 1fr;
  }
  .quiz-result-card {
    padding: 24px 20px;
  }
  .quiz-result-model {
    font-size: 22px;
  }
  .poll-grid {
    grid-template-columns: 1fr;
  }
  .poll-choice {
    grid-template-columns: 100px 1fr 42px;
    gap: 8px;
    padding: 8px 12px;
  }
  .poll-choice-name { font-size: 12px; }
  .faq-item summary {
    font-size: 14px;
    padding: 14px 16px;
  }
  .faq-answer {
    padding: 0 16px 16px;
    font-size: 13px;
  }
}

/* ===================================================
   26. Market Overview Dashboard
   =================================================== */
.section-market-overview {
  background: linear-gradient(180deg, rgba(56,189,248,0.03) 0%, transparent 100%);
}
.market-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px;
  color: #94a3b8;
  font-size: 14px;
}
.market-loading .spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(79,140,255,0.2);
  border-top-color: #4f8cff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.market-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.market-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.25s ease;
}
.market-stat-card:hover {
  border-color: rgba(79,140,255,0.25);
  background: rgba(79,140,255,0.04);
  transform: translateY(-2px);
}
.market-stat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.market-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: #eaf0ff;
  margin-bottom: 4px;
}
.market-stat-label {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Price Distribution & Category charts */
.market-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto 0;
}
.market-chart-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
}
.market-chart-title {
  font-size: 14px;
  font-weight: 700;
  color: #d3def6;
  margin-bottom: 16px;
}
.market-price-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.market-price-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.market-price-bar-label {
  width: 100px;
  font-size: 12px;
  color: #b3c4e6;
  text-align: right;
  flex-shrink: 0;
}
.market-price-bar-track {
  flex: 1;
  height: 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 9px;
  overflow: hidden;
}
.market-price-bar-fill {
  height: 100%;
  border-radius: 9px;
  background: linear-gradient(90deg, #34d399, #4f8cff);
  transition: width 0.8s ease;
}
.market-price-bar-count {
  width: 36px;
  font-size: 12px;
  font-weight: 700;
  color: #eaf0ff;
  text-align: left;
  flex-shrink: 0;
}

.market-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.market-cat-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
  font-size: 13px;
  color: #d3def6;
}
.market-cat-chip:hover {
  background: rgba(79,140,255,0.06);
  border-color: rgba(79,140,255,0.2);
  color: #eaf0ff;
}
.market-cat-count {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #4f8cff;
  background: rgba(79,140,255,0.12);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ===================================================
   27. Provider Ecosystem
   =================================================== */
.section-provider-ecosystem {
  background: linear-gradient(180deg, transparent 0%, rgba(79,140,255,0.03) 50%, transparent 100%);
}
.provider-leaderboard {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.provider-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.provider-row:hover {
  background: rgba(79,140,255,0.05);
  border-color: rgba(79,140,255,0.15);
  transform: translateX(4px);
}
.provider-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #94a3b8;
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
}
.provider-row:nth-child(1) .provider-rank { color: #fbbf24; background: rgba(251,191,36,0.12); }
.provider-row:nth-child(2) .provider-rank { color: #c0c0c0; background: rgba(192,192,192,0.10); }
.provider-row:nth-child(3) .provider-rank { color: #cd7f32; background: rgba(205,127,50,0.10); }
.provider-info {
  flex: 1;
  min-width: 0;
}
.provider-name {
  font-size: 15px;
  font-weight: 700;
  color: #eaf0ff;
  margin-bottom: 2px;
}
.provider-meta {
  font-size: 12px;
  color: #94a3b8;
}
.provider-bar-col {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.provider-bar-track {
  width: 120px;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.provider-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #4f8cff, #34d399);
  transition: width 0.6s ease;
}
.provider-free-badge {
  font-size: 10px;
  font-weight: 700;
  color: #34d399;
  background: rgba(52,211,153,0.10);
  padding: 2px 8px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ---------- Responsive: Market & Provider ---------- */
@media (max-width: 768px) {
  .market-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .market-charts-row {
    grid-template-columns: 1fr;
  }
  .market-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .market-price-bar-label {
    width: 70px;
    font-size: 11px;
  }
  .market-stat-value {
    font-size: 18px;
  }
  .provider-bar-col {
    display: none;
  }
  .provider-row {
    padding: 10px 12px;
    gap: 10px;
  }
}

/* ===================================================
   28. VPS GPU Comparison
   =================================================== */
.section-vps {
  background: linear-gradient(180deg, transparent 0%, rgba(52,211,153,0.025) 40%, transparent 100%);
}
.vps-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.vps-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vps-filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.vps-filter-group select {
  padding: 6px 32px 6px 10px;
  font-size: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  color: #d3def6;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.vps-filter-group select:focus {
  border-color: #4f8cff;
  outline: none;
  box-shadow: 0 0 0 2px rgba(79,140,255,0.15);
}
.vps-sort-group {
  margin-left: auto;
  display: flex;
  gap: 6px;
}
.vps-sort-btn {
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.vps-sort-btn:hover {
  background: rgba(79,140,255,0.08);
  border-color: rgba(79,140,255,0.2);
  color: #d3def6;
}
.vps-sort-btn.active {
  background: rgba(79,140,255,0.15);
  border-color: rgba(79,140,255,0.35);
  color: #4f8cff;
}
.vps-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.01);
}
.vps-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 800px;
}
.vps-table thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.vps-table th {
  padding: 12px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(15,23,42,0.95);
  border-bottom: 2px solid rgba(255,255,255,0.08);
  white-space: nowrap;
}
.vps-table td {
  padding: 11px 14px;
  color: #d3def6;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  white-space: nowrap;
}
.vps-table tbody tr {
  transition: background 0.15s;
}
.vps-table tbody tr:hover {
  background: rgba(79,140,255,0.04);
}
.vps-table tbody tr.vps-row-hidden {
  display: none;
}
.vps-provider-name {
  font-weight: 700;
  color: #eaf0ff;
}
.vps-provider-instance {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}
.vps-gpu-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(52,211,153,0.10);
  color: #34d399;
}
.vps-gpu-badge.h100 { background: rgba(251,191,36,0.12); color: #fbbf24; }
.vps-gpu-badge.a100 { background: rgba(244,114,182,0.12); color: #f472b6; }
.vps-gpu-badge.l40s { background: rgba(96,165,250,0.12); color: #60a5fa; }
.vps-gpu-badge.a6000 { background: rgba(167,139,250,0.12); color: #a78bfa; }
.vps-gpu-badge.a40 { background: rgba(251,146,60,0.12); color: #fb923c; }
.vps-gpu-badge.r4090 { background: rgba(74,222,128,0.12); color: #4ade80; }
.vps-gpu-badge.a10 { background: rgba(148,163,184,0.12); color: #94a3b8; }
.vps-price {
  font-weight: 700;
  color: #34d399;
}
.vps-price.moderate { color: #fbbf24; }
.vps-price.premium { color: #f472b6; }
.vps-monthly { font-size: 11px; color: #64748b; }
.vps-region { font-size: 11px; color: #94a3b8; }
.vps-action-btn {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(79,140,255,0.08);
  border: 1px solid rgba(79,140,255,0.2);
  color: #4f8cff;
  transition: all 0.2s;
  white-space: nowrap;
}
.vps-action-btn:hover {
  background: rgba(79,140,255,0.18);
  border-color: #4f8cff;
  color: #eaf0ff;
}
.vps-updated {
  text-align: right;
  margin-top: 8px;
  font-size: 11px;
  color: #64748b;
}
.vps-table tbody tr.vps-best-match {
  background: rgba(52,211,153,0.06);
  border-left: 3px solid #34d399;
}

/* ===================================================
   29. Intelligent Combination Engine
   =================================================== */
.section-combo {
  background: linear-gradient(180deg, transparent 0%, rgba(167,139,250,0.02) 50%, transparent 100%);
}
.combo-panel {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 20px;
  transition: border-color 0.2s;
}
.combo-panel:hover {
  border-color: rgba(167,139,250,0.15);
}
.combo-panel-header {
  margin-bottom: 20px;
}
.combo-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  background: rgba(167,139,250,0.12);
  color: #a78bfa;
  margin-bottom: 8px;
}
.combo-panel-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: #eaf0ff;
  margin: 0 0 4px;
}
.combo-panel-header p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

/* Mode 1: Model→Hardware Matcher */
.combo-matcher-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.combo-matcher-input {
  flex: 0 0 280px;
}
.combo-matcher-input label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
}
.combo-matcher-input select {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: #d3def6;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.combo-matcher-input select:focus {
  border-color: #a78bfa;
  outline: none;
  box-shadow: 0 0 0 2px rgba(167,139,250,0.15);
}
.combo-matcher-arrow {
  font-size: 24px;
  color: #a78bfa;
  padding-top: 30px;
  flex-shrink: 0;
}
.combo-matcher-result {
  flex: 1;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
}
.combo-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  width: 100%;
  border-radius: 10px;
  border: 1px dashed rgba(255,255,255,0.08);
  color: #64748b;
  font-size: 13px;
}
.combo-placeholder-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.combo-match-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  width: 100%;
}
.combo-match-card {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: all 0.2s;
  cursor: default;
}
.combo-match-card.best {
  border-color: rgba(52,211,153,0.3);
  background: rgba(52,211,153,0.05);
  position: relative;
}
.combo-match-card.best::before {
  content: '★ Best Value';
  position: absolute;
  top: -8px;
  right: 12px;
  padding: 2px 10px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 8px;
  background: #34d399;
  color: #000;
}
.combo-match-provider {
  font-size: 13px;
  font-weight: 700;
  color: #eaf0ff;
  margin-bottom: 4px;
}
.combo-match-gpu {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 8px;
}
.combo-match-specs {
  display: flex;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 11px;
}
.combo-match-specs span {
  color: #94a3b8;
}
.combo-match-specs strong {
  color: #d3def6;
}
.combo-match-price {
  font-size: 16px;
  font-weight: 700;
  color: #34d399;
}
.combo-match-price span {
  font-size: 11px;
  font-weight: 400;
  color: #64748b;
}

/* Mode 2: Orchestration */
.combo-orch-intro {
  margin-bottom: 16px;
}
.combo-orch-presets {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.combo-preset-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}
.combo-preset-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  color: #d3def6;
  cursor: pointer;
  transition: all 0.2s;
}
.combo-preset-btn:hover {
  background: rgba(167,139,250,0.10);
  border-color: rgba(167,139,250,0.25);
  color: #eaf0ff;
}
.combo-orch-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.combo-orch-tier {
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.combo-orch-tier.primary {
  border-color: rgba(79,140,255,0.2);
  background: rgba(79,140,255,0.04);
}
.combo-orch-tier.secondary {
  border-color: rgba(52,211,153,0.15);
  background: rgba(52,211,153,0.03);
}
.combo-orch-tier-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.combo-orch-tier-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.combo-orch-tier-icon.gpu { background: rgba(79,140,255,0.15); }
.combo-orch-tier-icon.cpu { background: rgba(52,211,153,0.15); }
.combo-orch-tier-name {
  font-size: 15px;
  font-weight: 700;
  color: #eaf0ff;
}
.combo-orch-tier-instance {
  font-size: 11px;
  color: #64748b;
}
.combo-orch-models {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.combo-orch-model-tag {
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  color: #d3def6;
}
.combo-orch-model-tag.load { background: rgba(79,140,255,0.10); color: #60a5fa; }
.combo-orch-model-tag.embed { background: rgba(52,211,153,0.10); color: #34d399; }
.combo-orch-model-tag.rerank { background: rgba(167,139,250,0.10); color: #a78bfa; }
.combo-orch-cost {
  font-size: 13px;
  font-weight: 700;
  color: #34d399;
}
.combo-orch-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.combo-orch-total {
  grid-column: 1 / -1;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(52,211,153,0.06);
  border: 1px solid rgba(52,211,153,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.combo-orch-total-label {
  font-size: 14px;
  font-weight: 700;
  color: #eaf0ff;
}
.combo-orch-total-value {
  font-size: 22px;
  font-weight: 800;
  color: #34d399;
}
.combo-orch-total-value small {
  font-size: 12px;
  font-weight: 400;
  color: #64748b;
}

/* Mode 3: Breakeven */
.combo-breakeven {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.combo-be-inputs {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.combo-be-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.combo-be-field select {
  width: 100%;
  padding: 10px 14px;
  font-size: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  color: #d3def6;
}
.combo-be-field input[type="range"] {
  width: 100%;
  accent-color: #a78bfa;
  margin-top: 4px;
}
.combo-be-slider-val {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  color: #a78bfa;
}
.combo-be-chart {
  flex: 1;
  min-width: 300px;
  min-height: 280px;
  position: relative;
}
.combo-be-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.combo-be-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.combo-be-bar-label {
  width: 110px;
  font-size: 12px;
  color: #94a3b8;
  text-align: right;
  flex-shrink: 0;
}
.combo-be-bar-track {
  flex: 1;
  height: 24px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.combo-be-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease;
  display: flex;
  align-items: center;
  padding-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  min-width: fit-content;
}
.combo-be-bar-fill.api { background: linear-gradient(90deg, #f472b6, #fb7185); }
.combo-be-bar-fill.self { background: linear-gradient(90deg, #34d399, #22c55e); }
.combo-be-insight {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(79,140,255,0.06);
  border: 1px solid rgba(79,140,255,0.15);
  font-size: 13px;
  color: #d3def6;
  line-height: 1.5;
}
.combo-be-insight strong { color: #4f8cff; }
.combo-be-insight .win { color: #34d399; font-weight: 700; }

/* Responsive: VPS + Combo */
@media (max-width: 900px) {
  .combo-matcher-row {
    flex-direction: column;
  }
  .combo-matcher-input {
    flex: auto;
    width: 100%;
  }
  .combo-matcher-arrow {
    padding-top: 0;
    transform: rotate(90deg);
    text-align: center;
  }
  .combo-match-cards {
    grid-template-columns: 1fr;
  }
  .combo-orch-plan {
    grid-template-columns: 1fr;
  }
  .combo-breakeven {
    flex-direction: column;
  }
  .combo-be-inputs {
    flex: auto;
    width: 100%;
  }
  .combo-be-chart {
    min-width: unset;
  }
  .vps-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .vps-sort-group {
    margin-left: 0;
  }
}
/* ==================================================
   30. VPS Example Recommendations
   ================================================== */
.section-vps-example {
  background: transparent;
}
.vps-example-title {
  font-size: 22px;
  font-weight: 700;
  color: #0F172A;
  text-align: center;
  margin-bottom: 15px;
}
.vps-example-sub {
  font-size: 14px;
  color: #94A3B8;
  text-align: center;
  margin-bottom: 20px;
}
.vps-example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.vps-example-card {
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.vps-example-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 12px 12px 0 0;
}
.vps-example-card.tier-economy::before { background: linear-gradient(90deg, #34d399, #4f8cff); }
.vps-example-card.tier-balance::before { background: linear-gradient(90deg, #4f8cff, #a78bfa); }
.vps-example-card.tier-performance::before { background: linear-gradient(90deg, #f472b6, #fb923c); }
.vps-example-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37,99,235,0.25);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.vps-example-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.vps-example-card.tier-economy .vps-example-badge { background: rgba(52,211,153,0.10); color: #059669; }
.vps-example-card.tier-balance .vps-example-badge { background: rgba(37,99,235,0.08); color: #2563EB; }
.vps-example-card.tier-performance .vps-example-badge { background: rgba(244,114,182,0.10); color: #DB2777; }
.vps-example-scenario {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 3px;
}
.vps-example-desc {
  font-size: 12px;
  color: #64748B;
  margin-bottom: 10px;
  line-height: 1.5;
}
.vps-example-specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.vps-example-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #334155;
}
.vps-example-spec .spec-icon {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(37,99,235,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563EB;
}
.vps-example-spec .spec-label {
  color: #94A3B8;
  min-width: 42px;
  font-size: 12px;
}
.vps-example-spec .spec-value {
  font-weight: 600;
  color: #0F172A;
}
.vps-example-provider {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #F8FAFC;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  margin-bottom: 10px;
}
.vps-example-provider-icon {
  font-size: 16px;
}
.vps-example-provider-name {
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.vps-example-provider-region {
  font-size: 11px;
  color: #94A3B8;
  margin-left: auto;
}
.vps-example-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.vps-example-price {
  font-size: 22px;
  font-weight: 800;
  color: #059669;
}
.vps-example-card.tier-performance .vps-example-price { color: #DB2777; }
.vps-example-price-unit {
  font-size: 12px;
  color: #94A3B8;
}
.vps-example-monthly {
  font-size: 11px;
  color: #94A3B8;
  margin-bottom: 8px;
}
.vps-example-btn {
  display: block;
  width: 100%;
  padding: 8px 0;
  border-radius: 8px;
  border: 1px solid rgba(37,99,235,0.20);
  background: rgba(37,99,235,0.04);
  color: #2563EB;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
}
.vps-example-btn:hover {
  background: #2563EB;
  border-color: #2563EB;
  color: #fff;
}
@media (max-width: 980px) {
  .vps-example-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .vps-example-grid { grid-template-columns: 1fr; }
  .vps-example-title { font-size: 18px; }
}
