/* ==========================================================================
   mrpulpo.com — Design System & Stylesheet (v0.1.0)
   Paleta oficial Don Pulpo:
   - Negro carbón: #0d0d0f / #1a1a1d / #16161a
   - Rojo carreras: #A04040
   - Morado / Violeta: #503090 (claro: #6040A0)
   - Dorado / Amarillo: #F0D000
   ========================================================================== */

:root {
  --bg-main: #0d0d0f;
  --bg-surface: #141418;
  --bg-card: #18181f;
  --bg-card-hover: #1f1f28;
  --border-subtle: #272733;
  --border-active: #3b3b4d;

  --red-racing: #A04040;
  --red-racing-hover: #b84e4e;
  --red-glow: rgba(160, 64, 64, 0.35);

  --purple-brand: #503090;
  --purple-light: #6040A0;
  --purple-glow: rgba(80, 48, 144, 0.4);

  --gold-accent: #F0D000;
  --gold-hover: #ffd91a;
  --gold-glow: rgba(240, 208, 0, 0.35);

  --text-main: #f5f5f7;
  --text-muted: #b5b5c4;
  --text-dim: #727284;

  --font-tech: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  font-family: var(--font-tech);
  line-height: 1.6;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Fondo con sutil trama técnica de motorsport */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 85% 15%, rgba(80, 48, 144, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(160, 64, 64, 0.12) 0%, transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Cursor Personalizado (GT3/GTP Race Car)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor {
    cursor: url('../img/car-cursor.svg') 6 6, auto;
  }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor .btn,
  body.has-custom-cursor .interactive-card {
    cursor: url('../img/car-cursor.svg') 6 6, pointer;
  }

  .cursor-car-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 208, 0, 0.7) 0%, rgba(160, 64, 64, 0.4) 60%, transparent 100%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.08s ease-out;
    filter: blur(2px);
  }

  .cursor-car-pointer {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 28px;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: transform 0.05s linear;
    background-image: url('../img/car-cursor.svg');
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 6px rgba(240, 208, 0, 0.5));
  }
}

/* En dispositivos táctiles o pantallas sin puntero fino, ocultamos el elemento */
@media (hover: none), (pointer: coarse) {
  .cursor-car-pointer,
  .cursor-car-trail {
    display: none !important;
  }
}

/* ==========================================================================
   Tipografía & Utilidades
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Gradientes de marca */
.text-gradient-racing {
  background: linear-gradient(135deg, #ffffff 10%, var(--gold-accent) 60%, var(--red-racing) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #ffffff 20%, var(--purple-light) 70%, var(--red-racing) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--gold-accent);
}

/* Badges Racing */
.badge-racing {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  background: rgba(160, 64, 64, 0.15);
  border: 1px solid rgba(160, 64, 64, 0.4);
  color: #ff8c8c;
  transform: skewX(-6deg);
}

.badge-racing.badge-gold {
  background: rgba(240, 208, 0, 0.12);
  border-color: rgba(240, 208, 0, 0.4);
  color: var(--gold-accent);
}

.badge-racing.badge-purple {
  background: rgba(80, 48, 144, 0.2);
  border-color: rgba(96, 64, 160, 0.5);
  color: #c4a8ff;
}

.badge-racing.badge-green {
  background: rgba(0, 230, 118, 0.15);
  border-color: rgba(0, 230, 118, 0.4);
  color: #00e676;
}

.badge-racing.badge-cyan {
  background: rgba(0, 210, 255, 0.15);
  border-color: rgba(0, 210, 255, 0.4);
  color: #38bdf8;
}

.badge-racing span {
  transform: skewX(6deg);
}

/* ==========================================================================
   Header & Navegación
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 15, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  transition: background var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(240, 208, 0, 0.25));
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: scale(1.05);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.brand-name span {
  color: var(--red-racing);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red-racing);
  transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

/* Botón Primario: Rojo Carreras */
.btn-racing {
  background: var(--red-racing);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--red-glow);
}

.btn-racing:hover {
  background: var(--red-racing-hover);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(160, 64, 64, 0.55);
  transform: translateY(-2px);
}

/* Botón Dorado: Invítame un café */
.btn-gold {
  background: var(--gold-accent);
  color: #0d0d0f;
  font-weight: 800;
  border-color: #ffd91a;
  box-shadow: 0 4px 14px var(--gold-glow);
}

.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 6px 22px rgba(240, 208, 0, 0.6);
  transform: translateY(-2px);
}

/* Botón Secundario / Outline */
.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-active);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Botón Discord */
.btn-discord {
  background: #5865F2;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.55);
  transform: translateY(-2px);
}

/* Botón Descarga Directa */
.btn-download {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-download:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

/* Hamburguesa móvil */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.3rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-title {
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(80, 48, 144, 0.45)) drop-shadow(0 5px 15px rgba(160, 64, 64, 0.3));
}

.hero-visual-halo {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 64, 160, 0.35) 0%, rgba(160, 64, 64, 0.2) 50%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Pit Lane Telemetry Bar (Decorativo Dinámico)
   ========================================================================== */
.telemetry-ticker {
  background: #111116;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.65rem 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
  z-index: 10;
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ticker-label {
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.ticker-val {
  font-weight: 700;
  color: #ffffff;
}

.ticker-val.green { color: #00e676; }
.ticker-val.gold { color: var(--gold-accent); }
.ticker-val.purple { color: #d0a5ff; }

.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00e676;
  box-shadow: 0 0 8px #00e676;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

/* ==========================================================================
   Sección: Productos / Cards
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--red-racing);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--red-racing), var(--purple-brand));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 30px var(--purple-glow);
}

.product-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.card-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.card-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.card-tagline {
  font-size: 0.95rem;
  color: var(--gold-accent);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.card-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.feature-icon {
  color: var(--gold-accent);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Sección: Apps Personalizadas (Servicio)
   ========================================================================== */
.custom-apps-banner {
  background: radial-gradient(circle at right top, rgba(96, 64, 160, 0.25) 0%, transparent 60%),
              radial-gradient(circle at left bottom, rgba(160, 64, 64, 0.2) 0%, transparent 60%),
              var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.custom-apps-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}

.custom-apps-title {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.custom-apps-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.service-pill {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-pill i {
  color: var(--gold-accent);
}

.custom-apps-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.custom-card-quote {
  background: rgba(13, 13, 15, 0.8);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-accent);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.custom-card-quote p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.custom-card-quote span {
  font-size: 0.8rem;
  color: var(--gold-accent);
  font-family: var(--font-mono);
  font-weight: 700;
}

/* ==========================================================================
   Páginas Detalladas de Producto (PulpoCoach / PulpoFuel)
   ========================================================================== */
.product-hero {
  padding: 5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.product-hero-badge {
  margin-bottom: 1.25rem;
}

.product-hero-title {
  margin-bottom: 1.25rem;
}

.product-hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.product-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.feature-box-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.feature-box-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.feature-box-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Semáforo Táctico PulpoFuel */
.traffic-light-demo {
  background: #101014;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}

.traffic-light-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.traffic-light-item {
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid #444;
}

.traffic-light-item.red {
  border-left-color: #ff3344;
}

.traffic-light-item.yellow {
  border-left-color: var(--gold-accent);
}

.traffic-light-item.green {
  border-left-color: #00e676;
}

.traffic-light-item h5 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.traffic-light-item p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #09090b;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand-p {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-dim);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-accent);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-version {
  font-family: var(--font-mono);
  color: var(--red-racing);
  font-weight: 700;
}

/* ==========================================================================
   Micro-animaciones & Responsive
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .hero-grid,
  .custom-apps-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(13, 13, 15, 0.97);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    transform: translateY(-120%);
    transition: transform var(--transition-normal);
    z-index: 99;
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .nav-actions {
    display: none;
  }

  .main-nav .nav-actions-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .ticker-content {
    justify-content: center;
  }
}

/* ==========================================================================
   Banner de Conciencia en Pista (Pit Stop Insight)
   ========================================================================== */
.awareness-banner {
  background: linear-gradient(135deg, rgba(160, 64, 64, 0.12) 0%, rgba(80, 48, 144, 0.15) 100%);
  border: 1px solid rgba(240, 208, 0, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin: 2rem 0 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.awareness-banner::before {
  content: "2.5 L/S";
  position: absolute;
  right: -20px;
  bottom: -35px;
  font-family: var(--font-mono);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  line-height: 1;
}

.awareness-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.awareness-icon {
  font-size: 3.5rem;
  line-height: 1;
  background: rgba(240, 208, 0, 0.1);
  border: 1px solid rgba(240, 208, 0, 0.3);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.awareness-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.awareness-title span {
  color: var(--gold-accent);
}

.awareness-text {
  font-size: 1rem;
  color: #d1d1d6;
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .awareness-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   Pilares Tecnológicos Transversales
   ========================================================================== */
.tech-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--purple-light);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Badges dentro de Tarjetas
   ========================================================================== */
.card-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Changelog Styles
   ========================================================================== */
.changelog-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.changelog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal);
}

.changelog-card:hover {
  border-color: var(--border-active);
}

.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.changelog-app-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.changelog-app-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.changelog-app-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.changelog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.changelog-version {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-accent);
  background: rgba(240, 208, 0, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(240, 208, 0, 0.3);
}

.changelog-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.changelog-notes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.changelog-notes-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.85rem;
  color: #d1d1d6;
  font-size: 0.98rem;
  line-height: 1.55;
}

.changelog-notes-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--red-racing);
  font-weight: bold;
}

.changelog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

