/* ==========================================================================
   CICLOUD V4 — SISTEMA INTEGRAL DE CONTROL DE ASISTENCIA & BIOMETRÍA
   Hoja de Estilos Principal (Modern Vanilla CSS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Paleta Cromática Tecnológica & Salud */
  --bg-primary: #070d18;
  --bg-secondary: #0d1627;
  --bg-tertiary: #132038;
  --bg-card: rgba(16, 27, 49, 0.75);
  --bg-card-hover: rgba(22, 38, 68, 0.9);
  --bg-glass: rgba(13, 22, 39, 0.65);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.5);
  --border-cyan: rgba(14, 165, 233, 0.3);
  
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --teal-400: #2dd4bf;
  
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --rose-500: #f43f5e;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --glow-cyan: 0 0 25px rgba(14, 165, 233, 0.4);
  --glow-emerald: 0 0 25px rgba(16, 185, 129, 0.4);
  --glow-violet: 0 0 25px rgba(139, 92, 246, 0.4);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.06) 0%, transparent 40%),
    linear-gradient(to bottom, #070d18 0%, #091120 100%);
  min-height: 100vh;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-main);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

/* Contenedores y Utilidades */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(14, 165, 233, 0.15);
  color: var(--cyan-400);
  border: 1px solid rgba(14, 165, 233, 0.35);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-violet {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.35);
}

.badge-pulse::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN (HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 24, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

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

.brand-logo {
  height: 44px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-500), var(--cyan-400));
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Botones de Acción */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-v1 {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
}

.btn-v1:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-v2 {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  border-color: rgba(167, 139, 250, 0.4);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.btn-v2:hover {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

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

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.12;
  margin: 1.25rem 0 1.5rem;
}

.hero-title .text-gradient-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #22d3ee 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
}

.strip-icon {
  color: var(--emerald-400);
  font-size: 1.1rem;
}

/* Live Terminal Card in Hero */
.hero-visual {
  position: relative;
}

.glass-preview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card), var(--glow-cyan);
  position: relative;
  backdrop-filter: blur(20px);
}

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

.terminal-status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.terminal-mockup-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.device-sync-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(15, 23, 42, 0.7);
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
}

.device-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.device-avatar {
  width: 36px;
  height: 36px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-400);
  font-size: 1.1rem;
}

.device-meta h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.device-meta p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.sync-ping {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--emerald-400);
}

.live-punch-feed {
  background: rgba(7, 13, 24, 0.8);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.feed-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-time {
  font-family: var(--font-mono);
  color: var(--cyan-400);
  font-weight: 600;
}

.feed-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 0.35rem;
}

.feed-tag.puntual {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.feed-tag.aprobado {
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary-500);
}

/* ==========================================================================
   SECCIÓN 1: INTEGRACIÓN CON RELOJES BIOMÉTRICOS (DESTACADA)
   ========================================================================== */
.biometric-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(13, 22, 39, 0.6) 0%, rgba(7, 13, 24, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.85rem 0 1rem;
}

.section-subtitle {
  font-size: 1.075rem;
  color: var(--text-muted);
}

.biometric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.biometric-visual-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-cyan);
  border-radius: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card), var(--glow-cyan);
  position: relative;
}

.biometric-graphic {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
}

.biometric-feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.bio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 1.35rem 1.5rem;
  display: flex;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.bio-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  transform: translateX(6px);
  box-shadow: 0 10px 25px -10px rgba(14, 165, 233, 0.3);
}

.bio-card-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: rgba(14, 165, 233, 0.12);
  color: var(--cyan-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.bio-card-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.bio-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Simulador Interactivo de Marcaciones */
.biometric-simulator {
  margin-top: 3.5rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-cyan);
  border-radius: 1.25rem;
  padding: 2rem;
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.sim-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.sim-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.sim-select, .sim-input {
  background: #0f172a;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.sim-select:focus, .sim-input:focus {
  outline: none;
  border-color: var(--primary-500);
}

.sim-result-box {
  background: #070d18;
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #38bdf8;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ==========================================================================
   SECCIÓN 2: FLUJO DE PROGRAMACIÓN MENSUAL & APROBACIÓN POR RRHH
   ========================================================================== */
.workflow-section {
  padding: 6rem 0;
  position: relative;
}

.workflow-steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-bottom: 3.5rem;
}

.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 1.75rem 1.25rem;
  position: relative;
  transition: var(--transition-smooth);
}

.workflow-card:hover {
  border-color: var(--primary-500);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.step-number {
  width: 36px;
  height: 36px;
  background: rgba(14, 165, 233, 0.2);
  color: var(--cyan-400);
  border: 1px solid rgba(14, 165, 233, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.workflow-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

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

.status-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  margin-top: 1rem;
}

.status-propuesto {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-400);
}

.status-solicitado {
  background: rgba(14, 165, 233, 0.15);
  color: var(--cyan-400);
}

.status-aprobado {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
}

.status-publicado {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
}

/* Callout informativo de control */
.workflow-callout {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.callout-icon {
  font-size: 2rem;
  color: var(--cyan-400);
  flex-shrink: 0;
}

.callout-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.callout-content p {
  font-size: 0.925rem;
  color: #94a3b8;
}

/* ==========================================================================
   SECCIÓN 3: MÓDULOS DEL SISTEMA (GRID)
   ========================================================================== */
.features-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.feature-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-blue { background: rgba(14, 165, 233, 0.15); color: var(--primary-500); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--emerald-400); }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: var(--amber-400); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #c084fc; }
.icon-rose { background: rgba(244, 63, 94, 0.15); color: var(--rose-500); }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--cyan-400); }

.feature-box h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-box p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}

.feature-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

/* ==========================================================================
   SECCIÓN 4: MATRIZ DE PERMISOS & ROLES
   ========================================================================== */
.permissions-section {
  padding: 6rem 0;
}

.roles-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.role-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.role-tab-btn:hover {
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.2);
}

.role-tab-btn.active {
  background: rgba(14, 165, 233, 0.15);
  border-color: var(--primary-500);
  color: var(--cyan-400);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.role-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

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

.role-header-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
}

.permissions-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.permissions-table th {
  padding: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.permissions-table td {
  padding: 1.15rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.925rem;
}

.check-icon {
  color: var(--emerald-400);
  font-weight: 800;
  font-size: 1.1rem;
}

.cross-icon {
  color: #64748b;
  font-weight: 600;
}

/* ==========================================================================
   SECCIÓN 5: ACCESO DIRECTO A VERSIONES (LINKS REQUERIDOS)
   ========================================================================== */
.versions-hub-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, rgba(7, 13, 24, 0.95) 0%, rgba(13, 22, 39, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  position: relative;
}

.versions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.version-access-card {
  background: var(--bg-card);
  border-radius: 1.5rem;
  padding: 2.75rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.version-access-card.v1 {
  border: 1px solid rgba(14, 165, 233, 0.35);
  box-shadow: 0 15px 35px -10px rgba(2, 132, 199, 0.3);
}

.version-access-card.v1:hover {
  transform: translateY(-6px);
  border-color: var(--cyan-400);
  box-shadow: 0 25px 45px -10px rgba(14, 165, 233, 0.45);
}

.version-access-card.v2 {
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 15px 35px -10px rgba(124, 58, 237, 0.3);
}

.version-access-card.v2:hover {
  transform: translateY(-6px);
  border-color: #c084fc;
  box-shadow: 0 25px 45px -10px rgba(139, 92, 246, 0.45);
}

.version-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.version-card-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.version-card-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.version-url-preview {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 0.6rem;
  padding: 0.65rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: #94a3b8;
  margin-bottom: 1.75rem;
  word-break: break-all;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040810;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2.5rem;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
}

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

.footer-links a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .biometric-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .workflow-steps-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .versions-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none; /* Mobile menu toggled by JS */
  }
  
  .menu-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.35rem;
  }
  
  .workflow-steps-container {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
