/* ==========================================================================
   SPL GLOBAL - Estilos Principales
   Empresa Especializada en Soluciones Integrales de Puntos de Venta (POS)
   RIF: J-50178351-9
   ========================================================================== */

:root {
  /* Paleta Corporativa Tecnológica */
  --color-primary-dark: #0A192F;
  --color-primary-navy: #0F2744;
  --color-primary-blue: #1E3E62;
  --color-blue-accent: #1D4ED8;
  --color-blue-vibrant: #2563EB;
  --color-blue-cyan: #0284C7;
  --color-cyan-glow: #38BDF8;

  /* Acento Ámbar / Dorado (SPL GLOBAL) */
  --color-gold-primary: #F59E0B;
  --color-gold-light: #FBBF24;
  --color-gold-dark: #D97706;
  --color-gold-bg: rgba(245, 158, 11, 0.12);

  /* Fondos y Neutros */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-muted: #F1F5F9;
  --bg-dark: #081220;
  --bg-glass: rgba(10, 25, 47, 0.85);

  /* Textos */
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Bordes y Sombras */
  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.12), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);

  /* Transiciones y Dimensiones */
  --transition-fast: 0.18s ease-in-out;
  --transition-normal: 0.28s ease;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  --max-width: 1240px;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-blue-vibrant);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-blue-accent);
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

/* Contenedores de Sección */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.section--alt {
  background-color: var(--bg-muted);
}

.section--dark {
  background-color: var(--color-primary-dark);
  color: var(--text-light);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--text-white);
}

/* Cabecera de Secciones */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--color-gold-bg);
  color: var(--color-gold-dark);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-tag--blue {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--color-blue-vibrant);
  border-color: rgba(37, 99, 235, 0.25);
}

.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

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

.section--dark .section-subtitle {
  color: var(--text-light);
}

/* Barra Superior Corporativa */
.top-bar {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-dark);
  padding: 0.5rem 0;
}

.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar__rif {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-gold-light);
}

.top-bar__items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.top-bar__link:hover {
  color: var(--text-white);
}

/* Header & Barra de Navegación */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  height: 52px;
  text-decoration: none;
}

.brand-logo svg {
  height: 48px;
  width: auto;
  color: var(--color-primary-dark);
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold-primary);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-blue-vibrant);
}

.nav-link:hover::after,
.nav-link.is-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-size: 0.9375rem;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-blue-vibrant);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-blue-accent);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background-color: var(--color-gold-primary);
  color: #0F172A;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  background-color: var(--color-gold-light);
  color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text-white);
  color: var(--text-white);
  transform: translateY(-2px);
}

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

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

/* Botón menú móvil (hamburguesa) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-primary);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Sección Hero Principal
   ========================================================================== */
.hero {
  background: linear-gradient(135deg, #0A192F 0%, #0F2744 55%, #16365C 100%);
  color: var(--text-white);
  padding: 4.5rem 0 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, rgba(10, 25, 47, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(10, 25, 47, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 640px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.hero__title-highlight {
  color: var(--color-gold-light);
  display: inline-block;
  position: relative;
}

.hero__description {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.75rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-card {
  display: flex;
  flex-direction: column;
}

.metric-card__value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-card__label {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-weight: 500;
  line-height: 1.35;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__visual-container {
  width: 100%;
  max-width: 480px;
  position: relative;
  animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
