/* GasBench Coming Soon Styles */
:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --brand: #10b981;
  --accent: #3b82f6;
  --danger: #ef4444;
  --ring: rgba(16, 185, 129, 0.25);
  --border: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: radial-gradient(1200px 800px at 80% -10%, rgba(59, 130, 246, 0.08), transparent 60%),
              radial-gradient(800px 600px at 10% 20%, rgba(16, 185, 129, 0.06), transparent 50%),
              var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.page-wrap {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header, .site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px clamp(16px, 3vw, 28px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 10px; }
.logo { font-size: 22px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4)); }
.wordmark { font-weight: 800; letter-spacing: -0.02em; font-size: 18px; }

.social a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px;
  font-weight: 600;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.social a:hover { color: var(--text); border-color: var(--muted); background: var(--panel); }

.content { max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px) 40px; }

.hero { text-align: center; padding: 40px 0 10px; }
.hero h1 { font-size: clamp(36px, 7vw, 72px); margin: 0 0 12px; letter-spacing: -0.03em; }
.tagline { font-size: clamp(16px, 2.4vw, 22px); color: var(--muted); margin: 0 auto 10px; max-width: 900px; }
.sub { color: var(--muted); margin: 0 auto 28px; max-width: 840px; }

.cta-row { display: grid; gap: 12px; justify-items: center; margin: 20px 0 26px; }
.notify { display: flex; gap: 10px; width: 100%; max-width: 560px; background: var(--panel); padding: 8px; border-radius: 12px; border: 1px solid var(--border); box-shadow: 0 1px 3px var(--shadow); }
.notify input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 16px;
  padding: 12px 14px;
}
.notify input::placeholder { color: var(--muted); }

.notify button {
  background: var(--brand);
  color: white;
  border: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 4px var(--shadow);
  transition: all 0.2s ease;
}
.notify button:hover { background: #059669; transform: translateY(-1px); box-shadow: 0 4px 8px var(--shadow); }

.form-msg { height: 22px; color: var(--muted); font-size: 14px; }

.countdown { display: grid; grid-auto-flow: column; gap: 16px; justify-content: center; margin: 10px 0 24px; }
.cd-item { background: var(--panel); border: 1px solid var(--border); padding: 14px 18px; border-radius: 12px; min-width: 88px; box-shadow: 0 1px 3px var(--shadow); }
.cd-item span { display: block; font-weight: 800; font-size: 28px; letter-spacing: 0.02em; }
.cd-item label { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; letter-spacing: 0.08em; text-transform: uppercase; }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-items: center;
  gap: 16px;
  margin-top: 24px;
}
.feature { background: var(--panel); border: 1px solid var(--border); padding: 18px; border-radius: 14px; width: 100%; max-width: 420px; box-shadow: 0 1px 3px var(--shadow); transition: all 0.2s ease; }
.feature:hover { box-shadow: 0 4px 12px var(--shadow); transform: translateY(-2px); }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); }

.site-footer { color: var(--muted); text-align: center; }

/* Leaderboard */
.leaderboard { margin-top: 32px; text-align: center; }
.leaderboard h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -0.01em; }
.leaderboard-explanation { 
  color: var(--muted); 
  margin: 0 auto 20px; 
  font-size: 14px; 
  line-height: 1.6;
  max-width: 700px;
  text-align: center;
}
.lb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; text-align: left; }
.lb-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px var(--shadow);
  transition: all 0.2s ease;
}
.lb-item:hover {
  box-shadow: 0 4px 12px var(--shadow);
  transform: translateY(-2px);
}
.lb-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.lb-rank {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  transform: rotate(45deg);
}
.lb-rank::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
  border-radius: 12px;
}
.lb-rank span { 
  font-weight: 800; 
  letter-spacing: -0.02em; 
  font-size: 16px; 
  color: white; 
  position: relative;
  z-index: 1;
  transform: rotate(-45deg);
}

/* Special styling for top 3 */
.lb-item:nth-child(1) .lb-rank {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
}
.lb-item:nth-child(2) .lb-rank {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  box-shadow: 0 4px 16px rgba(148, 163, 184, 0.4);
}
.lb-item:nth-child(3) .lb-rank {
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
}
.lb-main { display: grid; gap: 6px; }
.lb-title { font-weight: 700; letter-spacing: -0.01em; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lb-name { font-weight: 800; font-size: 16px; }
.lb-metrics { display: flex; gap: 10px; flex-wrap: wrap; }
.metric { background: #f1f5f9; border: 1px solid var(--border); padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; display: inline-flex; gap: 8px; align-items: baseline; }
.metric label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 10px; color: var(--muted); }
.metric strong { color: var(--text); font-size: 14px; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; border: 1px solid transparent; }
.badge-best { background: #dcfce7; color: #16a34a; border-color: #bbf7d0; }
.badge-lowest, .badge-worst { background: #fee2e2; color: #dc2626; border-color: #fecaca; }

/* Organization badges */
.org-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Leaderboard Insight */
.leaderboard-insight {
  margin-top: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 1px 3px var(--shadow);
}
.leaderboard-insight h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}
.leaderboard-insight ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.leaderboard-insight li {
  padding-left: 20px;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}
.leaderboard-insight li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}
.leaderboard-insight li strong {
  color: var(--text);
  font-weight: 600;
}

/* Credits Section */
.credits { 
  margin-top: 24px; 
  margin-bottom: 48px;
  text-align: center; 
}
.credits h2 { margin: 0 0 24px; font-size: 22px; letter-spacing: -0.01em; }
.creators { 
  display: flex; 
  gap: 32px; 
  justify-content: center; 
  align-items: center;
  flex-wrap: wrap;
}
.creator { 
  display: flex; 
  align-items: center; 
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 16px 24px;
  border-radius: 14px;
  box-shadow: 0 1px 3px var(--shadow);
  transition: all 0.2s ease;
}
.creator:hover {
  box-shadow: 0 4px 12px var(--shadow);
  transform: translateY(-2px);
}
.creator-photo { 
  width: 60px; 
  height: 60px; 
  border-radius: 50%; 
  object-fit: cover;
  border: 2px solid var(--border);
}
.creator-info { text-align: left; }
.creator-info h3 { 
  margin: 0 0 4px; 
  font-size: 16px; 
  font-weight: 700;
  letter-spacing: -0.01em;
}
.creator-info a { 
  color: var(--accent); 
  text-decoration: none; 
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}
.creator-info a:hover { 
  color: var(--brand); 
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 1024px) {
  .hero { padding: 32px 0 8px; }
  .content { padding-bottom: 32px; }
}

@media (max-width: 768px) {
  .site-header, .site-footer {
    padding: 16px clamp(16px, 4vw, 24px);
  }
  
  .hero { padding: 24px 0 8px; }
  .hero h1 { margin-bottom: 8px; }
  .tagline { margin-bottom: 8px; }
  .sub { margin-bottom: 20px; }
  
  .leaderboard { margin-top: 24px; }
  .leaderboard h2 { font-size: 20px; margin-bottom: 10px; }
  
  .lb-item { 
    grid-template-columns: 44px 1fr; 
    padding: 12px; 
    gap: 12px;
  }
  .lb-rank { 
    width: 40px; 
    height: 40px; 
    border-radius: 10px;
  }
  .lb-rank span { font-size: 14px; }
  .lb-name { font-size: 15px; }
  .lb-metrics { gap: 8px; }
  .metric { padding: 5px 8px; font-size: 12px; }
  .metric strong { font-size: 13px; }
  .badge { font-size: 10px; padding: 3px 6px; }
  
  .features { grid-template-columns: 1fr; }
  .countdown { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .cd-item { padding: 12px 14px; min-width: auto; }
  .cd-item span { font-size: 24px; }
  
  .leaderboard-insight {
    margin-top: 24px;
    padding: 20px;
  }
  .leaderboard-insight h3 { font-size: 16px; }
  .leaderboard-insight li { font-size: 13px; }
  
  .credits { 
    margin-top: 20px;
    margin-bottom: 36px;
  }
  .creators { gap: 20px; }
  .creator { padding: 12px 16px; }
  .creator-photo { width: 48px; height: 48px; }
}

@media (max-width: 480px) {
  .site-header, .site-footer {
    padding: 12px 16px;
  }
  
  .content { padding: 0 16px 24px; }
  
  .hero { padding: 20px 0 8px; }
  .tagline { font-size: clamp(14px, 4vw, 18px); }
  .sub { font-size: 14px; }
  
  .leaderboard h2 { font-size: 18px; }
  
  .lb-item { 
    padding: 10px; 
    gap: 10px;
    grid-template-columns: 36px 1fr;
  }
  .lb-rank { 
    width: 32px; 
    height: 32px; 
    border-radius: 8px;
  }
  .lb-rank span { font-size: 12px; }
  .lb-name { font-size: 14px; }
  .lb-title { gap: 6px; }
  .lb-metrics { gap: 6px; }
  .metric { 
    padding: 4px 6px; 
    font-size: 11px; 
    gap: 6px;
  }
  .metric label { font-size: 9px; }
  .metric strong { font-size: 12px; }
  .badge { 
    font-size: 9px; 
    padding: 2px 5px; 
  }
  
  .org-badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .countdown { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
    margin: 8px 0 20px;
  }
  .cd-item { 
    padding: 10px 12px;
    text-align: center;
  }
  .cd-item span { font-size: 20px; }
  .cd-item label { font-size: 11px; }
  
  .wordmark { font-size: 16px; }
  
  .leaderboard-insight {
    margin-top: 20px;
    padding: 16px;
  }
  .leaderboard-insight h3 { 
    font-size: 15px; 
    margin-bottom: 12px;
  }
  .leaderboard-insight li { 
    font-size: 12px; 
    gap: 10px;
  }
  
  .credits { 
    margin-top: 16px;
    margin-bottom: 32px;
  }
  .credits h2 { font-size: 18px; }
  .creators { 
    flex-direction: column; 
    gap: 16px; 
  }
  .creator { 
    padding: 12px 16px;
    width: 100%;
    max-width: 280px;
  }
  .creator-photo { width: 44px; height: 44px; }
  .creator-info h3 { font-size: 15px; }
  .creator-info a { font-size: 13px; }
}

@media (max-width: 360px) {
  .lb-item { padding: 8px; }
  .lb-metrics { 
    flex-direction: column; 
    gap: 4px; 
  }
  .metric { 
    justify-content: space-between;
    width: 100%;
  }
}

/* Example Interactions Section */
.example-interactions {
  margin-top: 48px;
  margin-bottom: 48px;
}

.example-interactions h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.01em;
}

.example-intro {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 700px;
}

.interaction-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.interaction-model {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 1px 3px var(--shadow);
}

.interaction-model h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.interaction-metrics {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.metric-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
}

.metric-badge.efficient {
  background: #dcfce7;
  color: #16a34a;
  border-color: #bbf7d0;
}

.metric-badge.inefficient {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

.interaction-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 8px;
}

.conversation-turn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--bg);
  border-radius: 8px;
}

.speaker {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.speaker.customer {
  color: var(--accent);
}

.speaker.manager {
  color: var(--brand);
}

.message {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
}

.api-call {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
}

.api-call.error {
  background: #fef2f2;
  border-color: #fecaca;
}

.api-action {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #6366f1;
  word-break: break-all;
}

.api-result {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.api-call.error .api-result {
  color: var(--danger);
}

.example-insight {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 3px var(--shadow);
}

.example-insight h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.example-insight ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.example-insight li {
  padding-left: 20px;
  position: relative;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13px;
}

.example-insight li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

.example-insight li strong {
  color: var(--text);
  font-weight: 600;
}

/* Responsive adjustments for example section */
@media (max-width: 768px) {
  .example-interactions {
    margin-top: 36px;
    margin-bottom: 36px;
  }
  
  .interaction-comparison {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .interaction-model {
    padding: 16px;
  }
  
  .interaction-content {
    max-height: 400px;
  }
  
  .conversation-turn {
    padding: 10px;
  }
  
  .message {
    font-size: 12px;
  }
  
  .api-call {
    padding: 8px;
  }
  
  .example-insight {
    padding: 16px;
  }
  
  .example-insight h3 {
    font-size: 15px;
  }
  
  .example-insight li {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .example-interactions {
    margin-top: 28px;
    margin-bottom: 28px;
  }
  
  .interaction-model {
    padding: 12px;
  }
  
  .interaction-model h3 {
    font-size: 16px;
  }
  
  .interaction-metrics {
    gap: 6px;
  }
  
  .metric-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  .interaction-content {
    gap: 8px;
    max-height: 350px;
  }
  
  .conversation-turn {
    padding: 8px;
  }
  
  .speaker {
    font-size: 11px;
  }
  
  .message {
    font-size: 11px;
  }
  
  .api-action {
    font-size: 10px;
  }
  
  .api-result {
    font-size: 10px;
  }
  
  .example-insight {
    padding: 12px;
  }
  
  .example-insight h3 {
    font-size: 14px;
  }
  
  .example-insight li {
    font-size: 11px;
    gap: 8px;
  }
}
