/* ==============================================================================
   VESSEL — LANZADOR CLI DE ALTO RENDIMIENTO PARA LINUX
   Estilo Premium Obsidian, Dark Glass & Tipografía Editorial de Alta Gama
   ============================================================================== */

:root {
  --bg-base: #080914;
  --bg-surface: #0e1122;
  --bg-surface-elevated: #14182e;
  --bg-card: rgba(15, 19, 36, 0.75);
  --bg-card-hover: rgba(20, 26, 48, 0.9);

  --accent-primary: #8b5cf6;
  --accent-primary-hover: #9d74f8;
  --accent-cyan: #38bdf8;
  --accent-emerald: #10b981;
  --accent-glow: rgba(139, 92, 246, 0.28);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(139, 92, 246, 0.35);
  --border-active: rgba(56, 189, 248, 0.4);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1120px;
  --container-sm: 820px;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ==============================================================================
   FONDO AMBIENTAL: CUADRÍCULA SUAVE Y AURORA FLOTANTE
   ============================================================================== */
.bg-grid-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 25%, transparent 85%);
}

.bg-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  animation: floatOrb 22s infinite alternate ease-in-out;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: var(--accent-primary);
  top: -120px;
  left: 20%;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: var(--accent-cyan);
  top: 45%;
  right: 12%;
  animation-duration: 28s;
  animation-direction: alternate-reverse;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(60px) scale(1.08); }
}

/* ==============================================================================
   LAYOUT & CONTENEDORES
   ============================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: var(--container-sm);
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-dark {
  background: rgba(10, 13, 26, 0.5);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.25rem auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(139, 92, 246, 0.12);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-heading .title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.22;
}

.section-heading .subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==============================================================================
   BARRA DE NAVEGACIÓN (NAVBAR)
   ============================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 20, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-main);
}

.brand-badge {
  font-size: 1.15rem;
  color: var(--accent-cyan);
}

.brand-title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  font-family: var(--font-mono);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform var(--transition);
}

/* ==============================================================================
   BOTONES
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.8125rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), #6d28d9);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(109, 40, 217, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-primary-hover), #7c3aed);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */
.hero-section {
  padding: 4.75rem 0 3.75rem 0;
  text-align: center;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.pill-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}

.pill-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(2.2rem, 4.8vw, 3.65rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 860px;
}

.gradient-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 2.75rem;
}

.hero-description code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  color: #c4b5fd;
}

/* ==============================================================================
   TERMINAL CARD (SIN SCROLLBARS Y ELEGANTE)
   ============================================================================== */
.terminal-container {
  width: 100%;
  max-width: 780px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 40px rgba(139, 92, 246, 0.14);
  overflow: hidden;
  text-align: left;
  margin-bottom: 2.75rem;
  transition: border-color var(--transition);
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  background: rgba(10, 12, 24, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-controls {
  display: flex;
  gap: 7px;
}

.ctrl-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  opacity: 0.85;
}

.ctrl-close { background: #ef4444; }
.ctrl-min { background: #eab308; }
.ctrl-max { background: #22c55e; }

.terminal-heading {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.terminal-spacer {
  width: 45px;
}

.terminal-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Distro Selector */
.distro-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.distro-title {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.25rem;
}

.distro-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.distro-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.distro-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.distro-btn.active {
  background: rgba(139, 92, 246, 0.18);
  border-color: var(--accent-primary);
  color: #c4b5fd;
}

/* Líneas de Código */
.code-line {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.code-comment {
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  color: var(--text-dim);
}

.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  gap: 0.75rem;
  overflow: hidden;
}

.code-box-secondary {
  background: rgba(0, 0, 0, 0.2);
  border-style: dashed;
}

.code-prompt {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-weight: 700;
  user-select: none;
}

.code-text {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #e2e8f0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.code-text::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.code-bold {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #38bdf8;
  letter-spacing: 0.02em;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.78125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ==============================================================================
   MÉTRICAS CLAVE
   ============================================================================== */
.metrics-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 1.75rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.metric-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 24px;
  background: var(--border-subtle);
}

/* ==============================================================================
   PILARES DE ARQUITECTURA
   ============================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition);
  position: relative;
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.pillar-icon-svg {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.pillar-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pillar-desc code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.85em;
  color: #c4b5fd;
}

/* ==============================================================================
   BENCHMARK VISUAL DE MEMORIA (DISEÑO EDITORIAL & REFINADO)
   ============================================================================== */
.benchmark-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.benchmark-card-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.benchmark-metric-tag {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.benchmark-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}

.benchmark-card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.benchmark-rows {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.bench-row {
  display: grid;
  grid-template-columns: 200px 1fr 90px;
  align-items: center;
  gap: 1.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all var(--transition);
}

.vessel-bench-row {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.12);
}

.bench-col-name {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.bench-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.bench-pill {
  font-size: 0.725rem;
  font-weight: 600;
}

.bench-pill-best {
  color: #34d399;
}

.bench-pill-heavy {
  color: var(--text-dim);
}

.bench-col-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.bench-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.bench-fill-vessel {
  background: linear-gradient(90deg, #10b981, #06b6d4);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.bench-fill-lutris {
  background: rgba(255, 255, 255, 0.2);
}

.bench-fill-bottles {
  background: rgba(255, 255, 255, 0.25);
}

.bench-fill-heroic {
  background: rgba(255, 255, 255, 0.3);
}

.bench-col-stat {
  text-align: right;
}

.stat-highlight {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #34d399;
}

.stat-dim {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
}

/* ==============================================================================
   TABLA COMPARATIVA ELEGANTE (SCORECARD)
   ============================================================================== */
.scorecard-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
}

.scorecard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.scorecard-table th,
.scorecard-table td {
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.scorecard-table thead th {
  background: rgba(14, 17, 34, 0.95);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.th-vessel {
  background: rgba(139, 92, 246, 0.08);
  border-left: 1px solid rgba(139, 92, 246, 0.35);
  border-right: 1px solid rgba(139, 92, 246, 0.35);
}

.vessel-badge-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vessel-title-bold {
  color: #c4b5fd;
  font-size: 0.9375rem;
  font-weight: 800;
}

.rec-chip {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.td-vessel {
  background: rgba(139, 92, 246, 0.05);
  border-left: 1px solid rgba(139, 92, 246, 0.25);
  border-right: 1px solid rgba(139, 92, 246, 0.25);
}

.td-comp {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.scorecard-table tbody tr:last-child td {
  border-bottom: none;
}

.scorecard-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.td-crit strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.td-crit small {
  display: block;
  font-size: 0.78125rem;
  color: var(--text-dim);
}

.chip-score {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.chip-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ==============================================================================
   COMUNIDAD Y MURO DE RESEÑAS AUTÉNTICAS
   ============================================================================== */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  align-items: start;
}

.review-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
}

.field-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dim);
}

.field-group input,
.field-group textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  transition: all var(--transition);
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.25);
}

.star-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.star-btn {
  background: transparent;
  border: none;
  color: #334155;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.star-btn.active {
  color: #f59e0b;
}

.rating-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.review-wall-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.wall-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.wall-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

.wall-status {
  font-size: 0.75rem;
  color: var(--accent-emerald);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 0.35rem;
}

.comment-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.comment-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-author-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.comment-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.comment-distro {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
}

.comment-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.comment-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ==============================================================================
   PATRON CARD & DONACIONES
   ============================================================================== */
.patron-card {
  background: linear-gradient(180deg, rgba(20, 26, 50, 0.75) 0%, rgba(12, 15, 30, 0.85) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.25rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.patron-header {
  margin-bottom: 2rem;
}

.patron-meter {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.meter-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.meter-current {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.meter-goal {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.meter-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-emerald));
  border-radius: var(--radius-full);
  transition: width 0.6s ease;
}

.meter-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.patron-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.patron-btn {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition);
}

.patron-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-glow);
  transform: translateY(-1px);
}

.patron-btn-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
}

.patron-btn-text {
  flex: 1;
}

.patron-btn-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-main);
}

.patron-btn-text small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.btn-chevron {
  color: var(--accent-primary);
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.patron-btn:hover .btn-chevron {
  transform: translateX(3px);
}

.patron-footer-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ==============================================================================
   MODAL DE PAGO / DONACIÓN
   ============================================================================== */
.clean-dialog {
  border: none;
  background: transparent;
  padding: 0;
  max-width: 480px;
  width: 90%;
  margin: auto;
}

.clean-dialog::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.dialog-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.dialog-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}

.dialog-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.dialog-close:hover {
  color: var(--text-main);
}

.dialog-body {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.modal-option-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-copy-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-copy-row code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #38bdf8;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==============================================================================
   TOAST NOTIFICACIÓN
   ============================================================================== */
.toast-notify {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(14, 17, 34, 0.95);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(139, 92, 246, 0.3);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  z-index: 1000;
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.toast-notify.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  color: var(--accent-cyan);
  font-size: 1rem;
}

.toast-message {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ==============================================================================
   FOOTER
   ============================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 7, 15, 0.85);
  padding: 3rem 0;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-license {
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-license a {
  color: #c4b5fd;
  text-decoration: none;
}

.footer-license a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ==============================================================================
   RESPONSIVE DESIGN (TABLETS & MÓVILES)
   ============================================================================== */
@media (max-width: 860px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
  .bench-row {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
  .bench-col-stat {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 12, 24, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .metrics-grid {
    border-radius: var(--radius-lg);
    gap: 1rem;
  }

  .metric-divider {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Brand and desktop preview */
.brand-logo { display: block; flex: 0 0 auto; }
.hero-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  width: 100%;
  margin-bottom: 3rem;
}
.hero-copy { text-align: left; }
.hero-copy .hero-title { font-size: clamp(2.6rem, 5vw, 4.35rem); line-height: 1.04; }
.hero-copy .hero-description { margin-bottom: 1.65rem; }
.hero-kicker { color: #a9dcff; font-size: .95rem; font-weight: 700; margin-bottom: .9rem; }
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero-preview {
  margin: 0;
  padding: .55rem;
  background: #111a2b;
  border: 1px solid #344660;
  border-radius: 1.1rem;
  box-shadow: 0 22px 70px #0006;
}
.hero-preview img { display: block; width: 100%; height: auto; border-radius: .68rem; }
.hero-preview figcaption { padding: .55rem .35rem .15rem; color: var(--text-muted); font-size: .875rem; text-align: left; }
.skip-link { position: fixed; z-index: 200; top: .5rem; left: .5rem; transform: translateY(-200%); background: #fff; color: #111a2b; padding: .75rem; }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid #a9dcff; outline-offset: 4px; }
section[id], #instalacion { scroll-margin-top: 5rem; }
@media (max-width: 850px) {
  .hero-showcase { grid-template-columns: minmax(0,1fr); }
  .hero-copy { max-width: 40rem; }
  .hero-section { padding-top: 3.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.faq-list { display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--border-subtle); border-radius: .8rem; background: #111827; }
.faq-list summary { padding: 1rem 1.25rem; font-weight: 700; cursor: pointer; }
.faq-list p { padding: 0 1.25rem 1rem; color: var(--text-muted); }
.faq-list a { color: #a9dcff; text-decoration: underline; }

.hero-preview { background: #111b2c; overflow: hidden; }
.preview-heading { display: flex; align-items: center; gap: .55rem; padding: .25rem .4rem .65rem; font-size: .84rem; font-weight: 700; color: #e0ebfa; }
.preview-heading img { width: 24px; height: 24px; }
.preview-stage { padding: clamp(.65rem, 2vw, 1.45rem); border-radius: .65rem; background: linear-gradient(125deg, #285067, #343e73 55%, #63527f); }
.preview-stage img { border: 1px solid #657594; box-shadow: 0 5px 18px #111a; }
.preview-controls { display: flex; flex-wrap: wrap; gap: .2rem; }
.preview-controls a { padding: .6rem .75rem; border-radius: .5rem; color: #c9d7eb; font-size: .84rem; font-weight: 700; }
.preview-controls a:hover, .preview-controls [aria-current] { background: #293a55; color: #ddf4ff; }
.hero-preview figcaption p { padding: .5rem .3rem .25rem; font-size: .8rem; }
#preview-full { color: #b5e8ff; text-decoration: underline; }
