/* ==========================================================================
   Gali IA — Google DeepMind Gemma Inspired Design System
   Minimalist, high-craft editorial dark mode with interactive full-screen
   background SVG, semi-transparent frosted cards, and subtle reddish hover scaling.
   ========================================================================== */

:root {
  /* Fondo y Superficies Translúcidas */
  --bg-page: #090a0f;
  --bg-card-glass: rgba(14, 16, 24, 0.62);
  --bg-card-glass-subtle: rgba(11, 13, 20, 0.52);
  --bg-card-hover: rgba(225, 29, 72, 0.09);

  /* Líneas divisorias Hairline */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 255, 255, 0.18);
  --border-red: rgba(225, 29, 72, 0.35);
  --border-red-hover: rgba(225, 29, 72, 0.5);

  /* Tipografía */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  /* Colores de Texto */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;

  /* Identidad de Marca: Rojo DeepMind */
  --color-red: #e11d48;
  --color-red-hover: #be123c;
  --color-red-subtle: rgba(225, 29, 72, 0.1);
  --color-red-text: #fb7185;

  /* Éxito / Verde */
  --color-emerald: #10b981;

  /* Layout */
  --container-max: 1120px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background-color: var(--bg-page);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   SVG Interactivo de Pantalla Completa en el Fondo
   ========================================================================== */
.bg-interactive-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-line {
  stroke-width: 1;
  transition: stroke 0.2s ease, stroke-opacity 0.2s ease;
}

.bg-mouse-ray {
  stroke: rgba(225, 29, 72, 0.4);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
}

.bg-node {
  transition: fill 0.25s ease, r 0.25s ease;
}

.bg-ripple {
  fill: none;
  stroke: var(--color-red);
  stroke-width: 1.5;
  pointer-events: none;
}

/* El contenido vive por encima del SVG del fondo */
header, main, footer {
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

/* ==========================================================================
   Cabecera Minimalista estilo Google DeepMind
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

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

/* Marca / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.brand-text {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-red-subtle);
  color: var(--color-red-text);
  border: 1px solid var(--border-red);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

/* Barra de Navegación por Pestañas (Pill Tabs) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
}

.nav-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 600;
}

/* Acciones a la Derecha */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.link-admin {
  font-size: 0.84rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.link-admin:hover {
  color: #ffffff;
}

/* Botones Principales DeepMind Pill */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-red);
  color: #ffffff;
  border: 1px solid var(--color-red);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--color-red-hover);
  border-color: var(--color-red-hover);
  transform: translateY(-1px);
}

/* Botón Ghost (header secundario) */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-focus);
  color: #ffffff;
}

/* ==========================================================================
   Contenedores de Pestañas
   ========================================================================== */
.tab-content {
  display: none;
  flex: 1;
  padding: 56px 0 80px 0;
}

.tab-content.active {
  display: block;
}

/* ==========================================================================
   PESTAÑA INICIO — Hero y Secciones DeepMind Gemma
   ========================================================================== */

/* Hero Section */
.hero-box {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 56px auto;
  padding-top: 16px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-red-subtle);
  color: var(--color-red-text);
  border: 1px solid var(--border-red);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.3rem, 4.4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.62;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto 36px auto;
  letter-spacing: -0.01em;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Fila de Chips estilo DeepMind Specs */
.hero-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-pills-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.hero-pills-row span.pill-gift {
  color: var(--color-emerald);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
}

/* ==========================================================================
   Bento Grid de 3 Tarjetas con Transparencia y Hover Rojizo
   ========================================================================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.feature-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  cursor: default;
}

/* Transición y Hover común para todas las tarjetitas: pelín más grande y rojizo */
.feature-card,
.pricing-card,
.api-step,
.uncensored-point,
.example-item,
.code-box {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease !important;
}

.feature-card:hover,
.pricing-card:hover,
.api-step:hover,
.uncensored-point:hover,
.example-item:hover,
.code-box:hover {
  transform: translateY(-5px) scale(1.025);
  background: var(--bg-card-hover) !important;
  border-color: var(--border-red-hover) !important;
  box-shadow: 0 14px 40px -10px rgba(225, 29, 72, 0.25), 0 0 20px rgba(225, 29, 72, 0.12) !important;
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 12px;
  font-weight: 500;
}

.card-metric {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.2;
}

.card-metric.red {
  color: var(--color-red-text);
}

.card-metric.green {
  color: var(--color-emerald);
}

.card-title {
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 8px;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Sección Sin Guardarraíles Translúcida
   ========================================================================== */
.uncensored-box {
  background: var(--bg-card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-red-text);
  margin-bottom: 12px;
  display: block;
}

.uncensored-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 14px;
}

.uncensored-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 920px;
}

.uncensored-points-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.uncensored-point {
  background: var(--bg-card-glass-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.point-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.uncensored-point strong {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  display: block;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.uncensored-point p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Tabla de Benchmarks Técnicos Translúcida
   ========================================================================== */
.table-box {
  background: var(--bg-card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-bottom: 40px;
}

.table-header {
  margin-bottom: 24px;
}

.table-title {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}

.table-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 800px;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.benchmark-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  text-align: left;
}

.benchmark-table th {
  background: rgba(11, 13, 20, 0.75);
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.benchmark-table th:first-child {
  border-top-left-radius: var(--radius-sm);
}

.benchmark-table th:last-child {
  border-top-right-radius: var(--radius-sm);
}

.benchmark-table th.col-highlight {
  color: #ffffff;
  background: rgba(23, 26, 37, 0.8);
  border-top: 2px solid var(--color-red);
}

.col-tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--color-red-subtle);
  color: var(--color-red-text);
  margin-left: 6px;
  vertical-align: middle;
}

.benchmark-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

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

.benchmark-table td.col-highlight {
  background: rgba(225, 29, 72, 0.025);
  font-weight: 600;
}

.metric-name {
  font-weight: 600;
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.metric-desc {
  font-size: 0.78rem;
  color: var(--text-tertiary);
}

/* Escala de Verde DeepMind (tier-1 a tier-5) */
.tier-1 {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 0.84rem;
  font-family: var(--font-mono);
}

.tier-2 {
  background: rgba(16, 185, 129, 0.10);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 0.84rem;
  font-family: var(--font-mono);
}

.tier-3 {
  background: rgba(16, 185, 129, 0.05);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.15);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 0.84rem;
  font-family: var(--font-mono);
}

.tier-4 {
  background: rgba(148, 163, 184, 0.06);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-weight: 400;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 0.84rem;
  font-family: var(--font-mono);
}

.tier-5 {
  background: rgba(100, 116, 139, 0.04);
  color: #64748b;
  border: 1px solid rgba(100, 116, 139, 0.08);
  font-weight: 400;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 0.84rem;
  font-family: var(--font-mono);
}

/* ==========================================================================
   PESTAÑA PRECIOS — Tarjetitas Translúcidas con Hover Rojizo
   ========================================================================== */
.pricing-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px auto;
}

.page-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 16px;
}

.page-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 48px;
}

.pricing-card {
  background: var(--bg-card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  cursor: default;
}

.pricing-card.featured {
  border-color: var(--border-red);
  background: linear-gradient(180deg, rgba(225, 29, 72, 0.1) 0%, var(--bg-card-glass) 100%);
}

.price-name {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-family: var(--font-mono);
}

.price-per {
  font-size: 0.84rem;
  color: var(--text-tertiary);
}

.price-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 44px;
}

.price-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.price-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.price-item .bullet {
  color: var(--color-red-text);
  font-size: 1.1rem;
  line-height: 1;
}

/* Ejemplos de Coste por Consulta */
.examples-box {
  background: var(--bg-card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
}

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.example-item {
  background: var(--bg-card-glass-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.example-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.example-query {
  font-size: 0.88rem;
  color: #ffffff;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.45;
}

.example-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-emerald);
  font-family: var(--font-mono);
}

/* ==========================================================================
   PESTAÑA API — Tarjetitas Translúcidas con Hover Rojizo
   ========================================================================== */
.api-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.api-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.api-step {
  background: var(--bg-card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.api-step-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-red-text);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.api-step-title {
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.api-step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.api-step-text code {
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #ffffff;
}

/* Caja de Código estilo DeepMind API */
.code-box {
  background: rgba(11, 13, 19, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}

.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(9, 11, 16, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.code-tabs {
  display: flex;
  gap: 6px;
}

.code-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.code-tab-btn:hover {
  color: #ffffff;
}

.code-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
}

.btn-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.code-pre {
  padding: 22px;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.65;
  color: #e2e8f0;
}

/* ==========================================================================
   Pie de Página Minimalista Translúcido
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 36px 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsividad
   ========================================================================== */
@media (max-width: 960px) {
  .cards-grid-3,
  .pricing-cards,
  .examples-grid {
    grid-template-columns: 1fr;
  }

  .api-layout {
    grid-template-columns: 1fr;
  }

  .uncensored-points-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .header-content {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 0;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }
}
