/* ==========================================================================
   BELMIO.ONLINE — SYSTEM ARCHITECTURE 2026 / 1990s HUD FUSION
   Director de Arte / Frontend Architect Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;600&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,600;0,800;1,400&family=Syne:wght@700;800&display=swap');

:root {
  /* Paleta Base Sci-Fi Neo-Noir */
  --bg-deep: #06080c;
  --bg-surface: #0d121a;
  --bg-card: #131a26;
  --bg-card-hover: #1a2435;
  
  /* Acentos Tecnológicos HUD */
  --cyan-glow: #00f0ff;
  --violet-electric: #7000ff;
  --green-phosphor: #00ff66;
  --amber-alert: #ffb700;
  
  /* Textos y Bordes */
  --text-main: #f0f4f8;
  --text-muted: #8b9bb4;
  --text-dim: #4a596e;
  --border-hud: rgba(0, 240, 255, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.07);

  /* Tipografías */
  --font-display: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Estructura */
  --container-max: 1380px;
  --header-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(112, 0, 255, 0.08) 0%, transparent 60%),
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

/* Efecto Scanline 90s Ultra Sutil */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.35;
}

a {
  color: var(--cyan-glow);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--cyan-glow);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Top Disclaimer Bar - Google Ads Compliance */
.top-disclaimer-hud {
  background: #000000;
  border-bottom: 1px solid var(--amber-alert);
  color: #d1d5db;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  text-align: center;
  position: relative;
  z-index: 1001;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.top-disclaimer-hud span.badge-alert {
  background: var(--amber-alert);
  color: #000;
  font-weight: 800;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.top-disclaimer-hud a {
  color: var(--amber-alert);
  text-decoration: underline;
}

/* Custom Cursor Sutil (Desktop) */
@media (min-width: 1024px) {
  body { cursor: default; }
}

/* Header Flotante Futurista */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hud);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-hud {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-text {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  text-transform: uppercase;
  position: relative;
}

.brand-logo-text::after {
  content: "SYS_26";
  position: absolute;
  top: -6px;
  right: -32px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--cyan-glow);
  letter-spacing: 0.05em;
}

.nav-hud ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-hud a {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  position: relative;
  padding: 0.4rem 0;
}

.nav-hud a:hover, .nav-hud a.active {
  color: var(--cyan-glow);
}

.nav-hud a::before {
  content: ">";
  opacity: 0;
  margin-right: 4px;
  color: var(--cyan-glow);
  transition: opacity 0.2s;
}

.nav-hud a:hover::before, .nav-hud a.active::before {
  opacity: 1;
}

.btn-hud-cta {
  background: transparent;
  border: 1px solid var(--cyan-glow);
  color: var(--cyan-glow) !important;
  padding: 0.5rem 1.25rem !important;
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hud-cta:hover {
  background: var(--cyan-glow);
  color: #000 !important;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Mobile Menu Toggle Button */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-hud);
  color: var(--cyan-glow);
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Hero Cinematográfico Monumental */
.hero-scene {
  position: relative;
  padding: 6rem 2rem 8rem 2rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-hud);
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green-phosphor);
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid rgba(0, 255, 102, 0.2);
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.5rem;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 30%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  background: linear-gradient(135deg, var(--cyan-glow), var(--violet-electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-body {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  text-align: justify;
}

/* Frame Cinemático con Overlay Tecnológico */
.cinema-frame {
  position: relative;
  border: 1px solid var(--border-hud);
  background: var(--bg-surface);
  padding: 8px;
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 8% 100%, 0 92%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cinema-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: contrast(105%) brightness(90%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.cinema-frame:hover img {
  transform: scale(1.03);
  filter: contrast(110%) brightness(100%);
}

.hud-overlay-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(6, 8, 12, 0.88);
  border: 1px solid var(--cyan-glow);
  padding: 0.6rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan-glow);
  backdrop-filter: blur(8px);
}

/* Secciones de Contenido Denso & Módulos Editorial */
.section-hud {
  padding: 7rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
}

.section-hud.alt-dark {
  background-color: var(--bg-surface);
}

.section-hud.deep-black {
  background-color: #030406;
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header-hud {
  margin-bottom: 4rem;
  position: relative;
}

.section-header-hud .sys-num {
  font-family: var(--font-mono);
  color: var(--cyan-glow);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-header-hud h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Layout Editorial Asimétrico y Grids Tecnológicos */
.grid-asymmetric-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.grid-asymmetric-reverse {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.grid-hud-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hud-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.hud-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--cyan-glow), transparent);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.hud-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hud);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.08);
}

.hud-card:hover::before {
  opacity: 1;
}

.hud-card-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  display: block;
}

.hud-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
}

.hud-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

/* Callout de Cumplimiento / Warning Box HUD */
.hud-alert-box {
  background: rgba(19, 26, 38, 0.9);
  border-left: 4px solid var(--amber-alert);
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem;
  margin: 3rem 0;
  position: relative;
}

.hud-alert-box .alert-header {
  font-family: var(--font-mono);
  color: var(--amber-alert);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hud-alert-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Accordion FAQ Tecnológico */
.faq-hud-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-hud-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease;
}

.faq-hud-item.active {
  border-color: var(--border-hud);
}

.faq-hud-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
}

.faq-hud-header .faq-icon {
  font-family: var(--font-mono);
  color: var(--cyan-glow);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-hud-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-hud-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-hud-item.active .faq-content {
  padding: 0 2rem 1.5rem 2rem;
  max-height: 1000px;
}

/* Banner de Cookies Tecnológico */
.cookie-banner-hud {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 440px;
  background: rgba(13, 18, 26, 0.95);
  border: 1px solid var(--border-hud);
  backdrop-filter: blur(20px);
  padding: 1.75rem;
  z-index: 9998;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  display: none;
}

.cookie-banner-hud.show {
  display: block;
  animation: slideUpHud 0.5s ease forwards;
}

@keyframes slideUpHud {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan-glow);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-cookie {
  flex: 1;
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid var(--border-hud);
  background: transparent;
  color: #fff;
  transition: all 0.25s ease;
}

.btn-cookie.accept {
  background: var(--cyan-glow);
  color: #000;
  font-weight: 700;
}

.btn-cookie:hover {
  filter: brightness(1.2);
}

/* Footer Cinematográfico HUD */
.site-footer {
  background: #030406;
  border-top: 1px solid var(--border-hud);
  padding: 5rem 2rem 2rem 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-col h5 {
  font-family: var(--font-mono);
  color: var(--cyan-glow);
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: 0.08em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

/* Responsivo Avanzado */
@media (max-width: 1024px) {
  .hero-container, .grid-asymmetric-2, .grid-asymmetric-reverse, .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-hud-3 {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-hud {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; width: 100%;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-hud);
    padding: 2rem;
  }
  .nav-hud.mobile-open {
    display: block;
  }
  .nav-hud ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}