.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background-color: var(--bg);
}
.hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0.1) 0%, rgba(13,17,23,0.45) 70%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 620px; padding: 0 24px; }
.hero-text-panel {
  background: rgba(13, 17, 23, 0.78); backdrop-filter: blur(6px);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 32px; text-align: center;
}
.hero-overline {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 20px;
}
.hero-sub { font-size: 1rem; font-weight: 500; color: var(--text); margin-bottom: 14px; }
.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--text-bright);
  letter-spacing: -.02em; line-height: 1.2; margin-bottom: 18px;
}
.hero-kfc { color: var(--text-bright); font-weight: 700; }
.hero-how { color: var(--text); font-weight: 450; }
.hero-desc {
  font-size: .88rem; color: var(--text); line-height: 1.65; margin-bottom: 8px;
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.hero-desc a { color: var(--accent); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; z-index: 1; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--text-muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
}
.section { max-width: 1100px; margin: 0 auto; padding: 80px 32px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-head h2 { font-size: 1.75rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }
.section-sub { font-size: .9rem; color: var(--text-muted); }
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card {
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.card:hover { border-color: var(--accent); background: var(--surface-hover); }
.card-icon {
  width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); margin-bottom: 16px; overflow: hidden;
}
.card-icon img { width: 26px; height: 26px; object-fit: contain; }
.card-tag { font-size: .68rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.card h3 { font-size: 1rem; font-weight: 600; color: var(--text-heading); margin-bottom: 8px; }
.card p { font-size: .85rem; color: var(--text); line-height: 1.65; flex: 1; }
.card-link { display: inline-block; margin-top: 14px; font-size: .82rem; color: var(--accent); font-weight: 500; }
.card-full { grid-column: 1 / -1; }
/* LLM Value Leaderboard podium — T8 (plan shared/plans/2026-08-06-llm-value-leaderboard.md) */
.llm-podium {
  --gold: #f5c542; --silver: #c9d1d9; --bronze: #cd7f32;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px;
  max-width: 960px; margin: 0 auto;
}
.podium-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  background: var(--surface-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px 20px 20px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.podium-card:hover { border-color: var(--border-strong); }
.podium-place-1:hover { border-color: var(--gold); }
.podium-place-1 { border-color: var(--gold); box-shadow: 0 0 28px rgba(245, 197, 66, 0.22); }
.podium-place-2 { border-color: rgba(201, 209, 217, 0.28); }
.podium-place-3 { border-color: rgba(205, 127, 50, 0.45); }
.podium-medal-wrap { margin-bottom: 10px; }
.podium-medal {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 10px; border-radius: 50%;
  font-size: .9rem; font-weight: 700; color: #1c2333; background: var(--border-strong);
}
.podium-place-1 .podium-medal {
  background: var(--gold); color: #1a1400;
  box-shadow: 0 0 14px rgba(245, 197, 66, 0.45);
}
.podium-place-2 .podium-medal { background: var(--silver); color: #1c2333; }
.podium-place-3 .podium-medal { background: var(--bronze); color: #1c2333; }
.podium-rank { position: absolute; top: 14px; right: 14px; }
.rank-change { font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.rank-change-up { color: #3fb950; background: rgba(63, 185, 80, 0.12); }
.rank-change-down { color: #f85149; background: rgba(248, 81, 73, 0.12); }
.rank-change-none, .rank-change-flat { color: var(--text-muted); background: rgba(139, 148, 158, 0.12); }
.rank-change-new { color: var(--accent); background: var(--accent-dim); }
.podium-name { font-size: 1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 2px; }
.podium-provider { font-size: .78rem; color: var(--text-muted); margin-bottom: 16px; }
.podium-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%;
}
.podium-metric {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 10px 6px;
}
.podium-metric-value {
  font-size: .9rem; font-weight: 600; color: var(--text-bright);
  white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.podium-metric-label { font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.tools-footer { text-align: center; margin-top: 24px; }
.tools-footer a { color: var(--accent); text-decoration: none; font-size: .85rem; font-weight: 500; }
.tools-footer a:hover { color: var(--accent-hover); text-decoration: underline; }
.cta {
  text-align: center; padding: 72px 24px;
  background: var(--surface); border-top: 1px solid var(--border);
}
.cta h2 { font-size: 1.4rem; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
.cta p { color: var(--text); margin-bottom: 24px; font-size: .92rem; }
.cta p strong { color: var(--accent); font-weight: 600; }
#chatbotFab { position: fixed; bottom: 28px; right: 28px; z-index: 9999; }
#chatbotFab button {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--surface-card); border: 1px solid var(--border-strong);
  cursor: pointer; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 2px;
}
.fab-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
#chatbotFab .fab-label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--surface-card); color: var(--text-heading);
  padding: 6px 14px; border-radius: 6px; border: 1px solid var(--border);
  font-size: .78rem; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none;
}
#chatbotFab:hover .fab-label { opacity: 1; }
.chat-panel {
  position: fixed; bottom: 96px; right: 28px; z-index: 9998;
  width: 380px; max-width: calc(100vw - 40px); height: 520px; max-height: calc(100vh - 150px);
  background: var(--surface-card); border-radius: 12px; border: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}
.chat-header {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 12px 16px; display: flex; align-items: center; justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.chat-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-title { font-weight: 600; font-size: .85rem; color: var(--text-heading); }
.chat-status { font-size: .7rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #3fb950; }
.chat-close { background: none; border: none; color: var(--text-muted); font-size: 20px; cursor: pointer; }
.chat-messages { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.chat-msg { display: flex; max-width: 88%; }
.chat-msg.user { align-self: flex-end; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg-content { padding: 8px 12px; border-radius: 10px; font-size: .82rem; line-height: 1.55; }
.chat-msg.user .chat-msg-content { background: var(--accent); color: #fff; }
.chat-msg.bot .chat-msg-content { background: var(--surface-card); color: var(--text); border: 1px solid var(--border); }
.chat-hint { margin-top: 5px; color: var(--text-muted); font-size: .76rem; }
.chat-input-area {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-top: 1px solid var(--border); background: var(--surface);
}
.chat-input-area input {
  flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px;
  font-size: .82rem; color: var(--text-heading); background: var(--bg);
}
.chat-input-area button {
  width: 34px; height: 34px; border-radius: 6px; background: var(--accent); color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 768px) {
  .showcase { grid-template-columns: 1fr; }
  .llm-podium { grid-template-columns: 1fr; }
}
