/* ─── Impeccable Masterpiece Aesthetics ─── */
:root {
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', monospace;
  
  --bg-deep: #060608;
  --text-pure: #ffffff;
  --text-ivory: #e6e3dd;
  --text-muted: #95928d;
  
  --accent-gold: #e2c792;
  --accent-gold-bright: #fcf1d8;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(18, 18, 22, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: var(--bg-deep);
  color: var(--text-ivory);
  font-family: var(--font-sans);
  line-height: 1.6;
}

body.lang-en .lang-es { display: none !important; }
body.lang-es .lang-en { display: none !important; }

/* Container */
.container-wide {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 6vw;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) { .container-wide { padding: 0 24px; } }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(6,6,8,0.9) 0%, rgba(6,6,8,0) 100%);
  z-index: 100;
  display: flex;
  align-items: center;
}
.header-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text-pure);
}
.brand-mark { font-family: var(--font-mono); color: var(--accent-gold); font-weight: 700; font-size: 20px; }
.brand-name { font-family: var(--font-serif); font-weight: 700; letter-spacing: 0.1em; font-size: 18px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { text-decoration: none; color: var(--text-pure); font-size: 14px; font-weight: 500; opacity: 0.7; transition: opacity 0.3s; }
.nav a:hover { opacity: 1; }

.btn-ghost { background: transparent; border: 1px solid var(--glass-border); color: var(--text-pure); padding: 6px 16px; border-radius: 40px; cursor: pointer; backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Primary Button */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text-pure);
  color: var(--bg-deep);
  font-weight: 600; font-size: 15px;
  padding: 16px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(226, 199, 146, 0.25);
}
.icon-github { width: 18px; height: 18px; fill: currentColor; }

/* Hero Masterpiece Section */
.hero-masterpiece {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero-layout {
  display: flex; flex-direction: column; gap: 64px;
}
.hero-text-block { max-width: 900px; }
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--text-pure);
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero-subhead {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text-ivory);
  opacity: 0.85;
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
}

/* Glass Metrics Strip */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .metrics-strip { grid-template-columns: 1fr; } }
.metric-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 32px;
  border-radius: 20px;
  transition: all 0.4s ease;
}
.metric-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.metric-value {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 8px;
}
.metric-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.metric-highlight { border-color: rgba(226, 199, 146, 0.3); background: rgba(226, 199, 146, 0.05); }

/* Pure Logo Ribbon */
.agents-ribbon {
  background: var(--bg-deep);
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.agents-logo-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.agent-logo {
  opacity: 0.5;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}
.agent-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Benchmark Mural Section */
.benchmark-masterpiece {
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background-image: linear-gradient(90deg, rgba(8, 8, 12, 0.75) 0%, rgba(8, 8, 12, 0.4) 100%), url('assets/images/bg-classical-mural.jpg') !important;
}
.section-title-wrap {
  max-width: 800px;
  margin-bottom: 64px;
}
.title-serif {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
}
.desc-sans { font-size: 18px; color: var(--text-ivory); opacity: 0.8; line-height: 1.6; }

.benchmarks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 1024px) { .benchmarks-grid { grid-template-columns: 1fr; } }
.bench-card-glass {
  background: rgba(18, 18, 22, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 48px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.bench-header {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px;
}
.bench-header h3 { font-family: var(--font-sans); font-size: 22px; font-weight: 600; }
.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--bg-deep);
  background: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: 700;
}
.bench-body { font-size: 15px; color: var(--text-ivory); opacity: 0.9; margin-bottom: 32px; line-height: 1.6; }
.gold-link { color: var(--accent-gold); text-decoration: none; border-bottom: 1px solid rgba(226, 199, 146, 0.4); transition: border-color 0.3s; }
.gold-link:hover { border-color: var(--accent-gold); }

/* Minimalist Chart Embed */
.chart-container {
  border-radius: 12px;
  padding: 24px 0 0 0;
}
.chart-svg { width: 100%; height: auto; }

/* Footer */
.footer { background: var(--bg-deep); padding: 48px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-layout { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); }
