/* ===== VARIABLES CSS ===== */
:root {
  /* Colores principales - Paleta suave */
  --primary-color: #6366f1;
  --primary-dark: #4338ca;
  --primary-light: #8b5cf6;
  --secondary-color: #64748b;
  --accent-color: #f59e0b;
  
  /* Colores suaves adicionales */
  --soft-blue: #6366f1;
  --soft-green: #10b981;
  --soft-purple: #8b5cf6;
  --soft-orange: #f59e0b;
  --soft-red: #ef4444;

  /* Gradientes */  

  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);  /* Colores de fondo */

  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);  --bg-primary: #ffffff;

  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);  --bg-secondary: #f8fafc;

  --gradient-dark: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);  --bg-tertiary: #e2e8f0;

    --bg-dark: #1e293b;

  /* Colores de fondo */  

  --bg-primary: #0f0f23;  /* Colores de texto */

  --bg-secondary: #1a1a2e;  --text-primary: #1e293b;

  --bg-card: #16213e;  --text-secondary: #64748b;

  --bg-glass: rgba(255, 255, 255, 0.1);  --text-light: #94a3b8;

    --text-white: #ffffff;

  /* Colores de texto */  

  --text-primary: #ffffff;  /* Bordes y sombras */

  --text-secondary: #a1a1aa;  --border-color: #e2e8f0;

  --text-accent: #22d3ee;  --border-radius: 8px;

    --box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);

  /* Sombras */  --box-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);  

  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);  /* Espaciado */

  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);  --spacing-xs: 0.25rem;

  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);  --spacing-sm: 0.5rem;

  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);  --spacing-md: 1rem;

    --spacing-lg: 1.5rem;

  /* Tipografía */  --spacing-xl: 2rem;

  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;  --spacing-2xl: 3rem;

  --font-mono: 'Fira Code', 'Monaco', 'Cascadia Code', monospace;  

    /* Fuentes */

  /* Espaciado */  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-xs: 0.25rem;  --font-mono: 'JetBrains Mono', 'Fira Code', 'SF Mono', Consolas, monospace;

  --space-sm: 0.5rem;  

  --space-md: 1rem;  /* Transiciones */

  --space-lg: 1.5rem;  --transition: all 0.2s ease-in-out;

  --space-xl: 2rem;}

  --space-2xl: 3rem;

  /* ===== RESET Y BASE ===== */

  /* Bordes */* {

  --radius-sm: 0.375rem;  margin: 0;

  --radius-md: 0.5rem;  padding: 0;

  --radius-lg: 0.75rem;  box-sizing: border-box;

  --radius-xl: 1rem;}

}

body {

/* Reset y base */  font-family: var(--font-family);

* {  line-height: 1.6;

  margin: 0;  color: var(--text-primary);

  padding: 0;  background-color: var(--bg-primary);

  box-sizing: border-box;  font-size: 16px;

}  transition: var(--transition);

}

html {

  scroll-behavior: smooth;.loading {

}  opacity: 0;

}

body {

  font-family: var(--font-primary);.loaded {

  background: var(--bg-primary);  opacity: 1;

  color: var(--text-primary);}

  line-height: 1.6;

  overflow-x: hidden;/* ===== CONTAINER ===== */

  min-height: 100vh;.container {

  position: relative;  max-width: 1200px;

}  margin: 0 auto;

  padding: 0 var(--spacing-md);

/* Fondo animado con partículas */}

body::before {

  content: '';/* ===== HEADER ===== */

  position: fixed;.site-header {

  top: 0;  background: var(--bg-primary);

  left: 0;  border-bottom: 1px solid var(--border-color);

  width: 100%;  position: sticky;

  height: 100%;  top: 0;

  background:   z-index: 1000;

    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),  box-shadow: var(--box-shadow);

    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),}

    radial-gradient(circle at 40% 80%, rgba(34, 211, 238, 0.15) 0%, transparent 50%);

  z-index: -1;.main-nav {

  animation: float 20s ease-in-out infinite;  display: flex;

}  align-items: center;

  justify-content: space-between;

@keyframes float {  padding: var(--spacing-md) 0;

  0%, 100% { transform: translateY(0px) rotate(0deg); }}

  33% { transform: translateY(-20px) rotate(1deg); }

  66% { transform: translateY(-10px) rotate(-1deg); }.nav-brand .logo {

}  text-decoration: none;

  color: var(--text-primary);

/* Contenedores */  font-size: 1.5rem;

.container {  font-weight: 700;

  max-width: 1200px;}

  margin: 0 auto;

  padding: 0 var(--space-lg);.nav-toggle {

}  display: none;

  flex-direction: column;

.container-fluid {  background: transparent;

  width: 100%;  border: none;

  padding: 0 var(--space-lg);  cursor: pointer;

}  padding: var(--spacing-sm);

}

/* Header moderno con glassmorphism */

.header {.nav-toggle span {

  position: sticky;  width: 25px;

  top: 0;  height: 3px;

  z-index: 1000;  background: var(--text-primary);

  background: rgba(15, 15, 35, 0.85);  margin: 2px 0;

  backdrop-filter: blur(20px);  transition: var(--transition);

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);}

  padding: var(--space-md) 0;

  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);.nav-list {

}  display: flex;

  list-style: none;

.nav {  gap: var(--spacing-lg);

  display: flex;  align-items: center;

  justify-content: space-between;}

  align-items: center;

}.nav-link {

  text-decoration: none;

.logo {  color: var(--text-secondary);

  font-size: 1.75rem;  font-weight: 500;

  font-weight: 700;  padding: var(--spacing-sm) var(--spacing-md);

  background: var(--gradient-primary);  border-radius: var(--border-radius);

  background-clip: text;  transition: var(--transition);

  -webkit-background-clip: text;}

  -webkit-text-fill-color: transparent;

  text-decoration: none;.nav-link:hover {

  display: flex;  color: var(--primary-color);

  align-items: center;  background-color: var(--bg-secondary);

  gap: var(--space-sm);}

  transition: all 0.3s ease;

}/* Dropdown menus */

.dropdown {

.logo:hover {  position: relative;

  transform: scale(1.05);}

}

.dropdown-menu {

.logo::before {  position: absolute;

  content: '⚡';  top: 100%;

  font-size: 1.5rem;  left: 0;

  background: var(--gradient-accent);  background: var(--bg-primary);

  background-clip: text;  border: 1px solid var(--border-color);

  -webkit-background-clip: text;  border-radius: var(--border-radius);

  -webkit-text-fill-color: transparent;  box-shadow: var(--box-shadow-lg);

  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));  min-width: 200px;

  animation: pulse 2s ease-in-out infinite;  opacity: 0;

}  visibility: hidden;

  transform: translateY(-10px);

@keyframes pulse {  transition: var(--transition);

  0%, 100% { transform: scale(1); }  z-index: 1001;

  50% { transform: scale(1.1); }}

}

.dropdown:hover .dropdown-menu {

.nav-menu {  opacity: 1;

  display: flex;  visibility: visible;

  list-style: none;  transform: translateY(0);

  gap: var(--space-xl);}

  margin: 0;

}.dropdown-link {

  display: block;

.nav-link {  padding: var(--spacing-sm) var(--spacing-md);

  color: var(--text-secondary);  text-decoration: none;

  text-decoration: none;  color: var(--text-secondary);

  font-weight: 500;  border-bottom: 1px solid var(--border-color);

  padding: var(--space-sm) var(--space-md);  transition: var(--transition);

  border-radius: var(--radius-md);}

  transition: all 0.3s ease;

  position: relative;.dropdown-link:last-child {

  overflow: hidden;  border-bottom: none;

}}



.nav-link::before {.dropdown-link:hover {

  content: '';  color: var(--primary-color);

  position: absolute;  background-color: var(--bg-secondary);

  top: 0;}

  left: -100%;

  width: 100%;/* ===== BREADCRUMBS ===== */

  height: 100%;.breadcrumbs {

  background: var(--gradient-primary);  background: var(--bg-secondary);

  transition: left 0.3s ease;  padding: var(--spacing-sm) 0;

  z-index: -1;}

  opacity: 0.1;

}.breadcrumb-list {

  display: flex;

.nav-link:hover::before,  list-style: none;

.nav-link.active::before {  gap: var(--spacing-sm);

  left: 0;  align-items: center;

}}



.nav-link:hover,.breadcrumb-item {

.nav-link.active {  font-size: 0.875rem;

  color: var(--text-primary);}

  transform: translateY(-2px);

}.breadcrumb-item:not(:last-child)::after {

  content: '/';

.nav-link::after {  margin-left: var(--spacing-sm);

  content: '';  color: var(--text-light);

  position: absolute;}

  bottom: -2px;

  left: 50%;.breadcrumb-item a {

  width: 0;  color: var(--text-secondary);

  height: 2px;  text-decoration: none;

  background: var(--gradient-primary);  transition: var(--transition);

  transition: all 0.3s ease;}

  transform: translateX(-50%);

}.breadcrumb-item a:hover {

  color: var(--primary-color);

.nav-link:hover::after,}

.nav-link.active::after {

  width: 80%;.breadcrumb-item.current span {

}  color: var(--text-primary);

  font-weight: 500;

/* Hero section espectacular */}

.hero {

  text-align: center;/* ===== MAIN CONTENT ===== */

  padding: var(--space-2xl) 0;.main-content {

  position: relative;  min-height: calc(100vh - 200px);

  overflow: hidden;}

}

/* ===== HERO SECTION ===== */

.hero::before {.hero {

  content: '';  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);

  position: absolute;  padding: var(--spacing-2xl) 0;

  top: 50%;  text-align: center;

  left: 50%;}

  width: 200%;

  height: 200%;.hero-content h1 {

  background: conic-gradient(from 0deg at 50% 50%, transparent, rgba(99, 102, 241, 0.1), transparent);  font-size: 2.5rem;

  animation: rotate 20s linear infinite;  font-weight: 700;

  transform: translate(-50%, -50%);  margin-bottom: var(--spacing-md);

  z-index: -1;  color: var(--text-primary);

}}



@keyframes rotate {.hero-description {

  to { transform: translate(-50%, -50%) rotate(360deg); }  font-size: 1.125rem;

}  color: var(--text-secondary);

  max-width: 600px;

.hero h1 {  margin: 0 auto;

  font-size: clamp(2.5rem, 5vw, 4.5rem);}

  font-weight: 800;

  margin-bottom: var(--space-lg);/* ===== PAGE HEADER ===== */

  background: var(--gradient-primary);.page-header {

  background-clip: text;  background: var(--bg-secondary);

  -webkit-background-clip: text;  padding: var(--spacing-xl) 0;

  -webkit-text-fill-color: transparent;  text-align: center;

  line-height: 1.1;}

  position: relative;

}.page-header h1 {

  font-size: 2rem;

.hero h1::after {  font-weight: 700;

  content: '';  margin-bottom: var(--spacing-sm);

  position: absolute;}

  bottom: -10px;

  left: 50%;.page-header p {

  width: 60px;  color: var(--text-secondary);

  height: 4px;  font-size: 1.125rem;

  background: var(--gradient-accent);}

  transform: translateX(-50%);

  border-radius: var(--radius-sm);/* ===== GRIDS ===== */

}.grid {

  display: grid;

.hero p {  gap: var(--spacing-lg);

  font-size: 1.25rem;  margin-top: var(--spacing-xl);

  color: var(--text-secondary);}

  max-width: 600px;

  margin: 0 auto var(--space-xl);@media (min-width: 640px) {

  line-height: 1.7;  .grid {

}    grid-template-columns: repeat(2, 1fr);

  }

.hero-cta {}

  display: inline-flex;

  align-items: center;@media (min-width: 1024px) {

  gap: var(--space-sm);  .grid {

  background: var(--gradient-primary);    grid-template-columns: repeat(3, 1fr);

  color: white;  }

  padding: var(--space-md) var(--space-xl);}

  border-radius: var(--radius-lg);

  text-decoration: none;.features-grid {

  font-weight: 600;  display: grid;

  box-shadow: var(--shadow-glow);  gap: var(--spacing-lg);

  transition: all 0.3s ease;  margin-top: var(--spacing-lg);

  border: none;}

  cursor: pointer;

  position: relative;@media (min-width: 768px) {

  overflow: hidden;  .features-grid {

}    grid-template-columns: repeat(2, 1fr);

  }

.hero-cta::before {}

  content: '';

  position: absolute;@media (min-width: 1024px) {

  top: 0;  .features-grid {

  left: -100%;    grid-template-columns: repeat(4, 1fr);

  width: 100%;  }

  height: 100%;}

  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);

  transition: left 0.6s;/* ===== CARDS ===== */

}.tool-card, .converter-card, .feature {

  background: var(--bg-primary);

.hero-cta:hover::before {  border: 1px solid var(--border-color);

  left: 100%;  border-radius: var(--border-radius);

}  padding: var(--spacing-lg);

  box-shadow: var(--box-shadow);

.hero-cta:hover {  transition: var(--transition);

  transform: translateY(-3px) scale(1.05);}

  box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);

}.tool-card:hover, .converter-card:hover {

  transform: translateY(-2px);

/* Grid de herramientas con efectos avanzados */  box-shadow: var(--box-shadow-lg);

.tools-grid {}

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));.tool-icon {

  gap: var(--space-xl);  font-size: 2rem;

  padding: var(--space-2xl) 0;  margin-bottom: var(--spacing-md);

}}



.tool-card {.tool-card h3, .converter-card h3 {

  background: var(--bg-card);  margin-bottom: var(--spacing-sm);

  padding: var(--space-xl);}

  border-radius: var(--radius-xl);

  border: 1px solid rgba(255, 255, 255, 0.1);.tool-card h3 a, .converter-card h3 a {

  transition: all 0.4s ease;  text-decoration: none;

  position: relative;  color: var(--text-primary);

  overflow: hidden;}

  backdrop-filter: blur(10px);

}.tool-link, .converter-link {

  display: inline-block;

.tool-card::before {  margin-top: var(--spacing-md);

  content: '';  color: var(--primary-color);

  position: absolute;  text-decoration: none;

  top: 0;  font-weight: 500;

  left: 0;  transition: var(--transition);

  right: 0;}

  height: 3px;

  background: var(--gradient-primary);.tool-link:hover, .converter-link:hover {

  transform: scaleX(0);  color: var(--primary-hover);

  transition: transform 0.3s ease;}

}

/* ===== FORMS ===== */

.tool-card::after {.converter-form, .converter-tool {

  content: '';  background: var(--bg-primary);

  position: absolute;  border: 1px solid var(--border-color);

  top: -50%;  border-radius: var(--border-radius);

  left: -50%;  padding: var(--spacing-xl);

  width: 200%;  margin: var(--spacing-xl) 0;

  height: 200%;  box-shadow: var(--box-shadow);

  background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.05), transparent);}

  opacity: 0;

  transition: opacity 0.3s ease;.input-group {

  animation: rotate 8s linear infinite;  margin-bottom: var(--spacing-lg);

}}



.tool-card:hover::before {.input-group label {

  transform: scaleX(1);  display: block;

}  margin-bottom: var(--spacing-sm);

  font-weight: 500;

.tool-card:hover::after {  color: var(--text-primary);

  opacity: 1;}

}

.input-group input, .input-group select {

.tool-card:hover {  width: 100%;

  transform: translateY(-8px) scale(1.02);  padding: var(--spacing-md);

  box-shadow:   border: 1px solid var(--border-color);

    var(--shadow-xl),  border-radius: var(--border-radius);

    0 0 50px rgba(99, 102, 241, 0.2);  font-size: 1rem;

  border-color: rgba(99, 102, 241, 0.3);  transition: var(--transition);

}}



.tool-icon {.input-group input:focus, .input-group select:focus {

  width: 70px;  outline: none;

  height: 70px;  border-color: var(--primary-color);

  background: var(--gradient-accent);  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);

  border-radius: var(--radius-lg);}

  display: flex;

  align-items: center;.input-group small {

  justify-content: center;  display: block;

  font-size: 1.75rem;  margin-top: var(--spacing-xs);

  margin-bottom: var(--space-lg);  color: var(--text-light);

  box-shadow: var(--shadow-md);  font-size: 0.875rem;

  position: relative;}

  z-index: 2;

}/* ===== BUTTONS ===== */

.btn-primary, .btn-secondary {

.tool-card h3 {  display: inline-block;

  font-size: 1.5rem;  padding: var(--spacing-md) var(--spacing-lg);

  font-weight: 600;  border: none;

  margin-bottom: var(--space-md);  border-radius: var(--border-radius);

  color: var(--text-primary);  font-size: 1rem;

  position: relative;  font-weight: 500;

  z-index: 2;  text-decoration: none;

}  cursor: pointer;

  transition: var(--transition);

.tool-card p {}

  color: var(--text-secondary);

  margin-bottom: var(--space-lg);.btn-primary {

  line-height: 1.7;  background: var(--primary-color);

  position: relative;  color: var(--text-white);

  z-index: 2;}

}

.btn-primary:hover {

.tool-link {  background: var(--primary-hover);

  display: inline-flex;}

  align-items: center;

  gap: var(--space-sm);.btn-secondary {

  color: var(--text-accent);  background: var(--bg-secondary);

  text-decoration: none;  color: var(--text-primary);

  font-weight: 500;  border: 1px solid var(--border-color);

  transition: all 0.3s ease;}

  position: relative;

  z-index: 2;.btn-secondary:hover {

}  background: var(--bg-tertiary);

}

.tool-link:hover {

  color: var(--primary-color);/* ===== TABLES ===== */

  transform: translateX(5px);.table-responsive {

}  overflow-x: auto;

  margin: var(--spacing-xl) 0;

.tool-link::after {}

  content: '→';

  transition: transform 0.3s ease;.ascii-table {

}  width: 100%;

  border-collapse: collapse;

.tool-link:hover::after {  background: var(--bg-primary);

  transform: translateX(3px);  border-radius: var(--border-radius);

}  overflow: hidden;

  box-shadow: var(--box-shadow);

/* Sección de conversores con estilo futurista */}

.converter-section {

  background: var(--bg-secondary);.ascii-table th, .ascii-table td {

  padding: var(--space-2xl) 0;  padding: var(--spacing-md);

  margin: var(--space-2xl) 0;  text-align: left;

  border-radius: var(--radius-xl);  border-bottom: 1px solid var(--border-color);

  position: relative;}

  overflow: hidden;

}.ascii-table th {

  background: var(--bg-secondary);

.converter-section::before {  font-weight: 600;

  content: '';  color: var(--text-primary);

  position: absolute;}

  top: 0;

  left: 0;.ascii-table tr:hover {

  right: 0;  background: var(--bg-secondary);

  bottom: 0;}

  background: 

    linear-gradient(45deg, transparent 30%, rgba(99, 102, 241, 0.05) 50%, transparent 70%),.char-cell {

    linear-gradient(-45deg, transparent 30%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);  font-family: var(--font-mono);

  animation: shimmer 4s ease-in-out infinite;  font-weight: 500;

}}



@keyframes shimmer {.ascii-char {

  0%, 100% { opacity: 1; }  font-size: 1.125rem;

  50% { opacity: 0.5; }}

}

.control-char {

.section-title {  background-color: #fef3c7;

  text-align: center;}

  font-size: 2.5rem;

  font-weight: 700;.printable-char {

  margin-bottom: var(--space-xl);  background-color: #ecfdf5;

  background: var(--gradient-secondary);}

  background-clip: text;

  -webkit-background-clip: text;/* ===== SEARCH AND FILTERS ===== */

  -webkit-text-fill-color: transparent;.search-box {

  position: relative;  margin: var(--spacing-xl) 0;

  z-index: 2;}

}

.search-box input {

/* Formularios futuristas */  width: 100%;

.converter-form {  max-width: 400px;

  background: var(--bg-card);  padding: var(--spacing-md);

  padding: var(--space-xl);  border: 1px solid var(--border-color);

  border-radius: var(--radius-lg);  border-radius: var(--border-radius);

  border: 1px solid rgba(255, 255, 255, 0.1);  font-size: 1rem;

  margin-bottom: var(--space-xl);}

  backdrop-filter: blur(10px);

  position: relative;.filter-buttons {

  z-index: 2;  display: flex;

}  gap: var(--spacing-sm);

  margin: var(--spacing-lg) 0;

.form-group {  flex-wrap: wrap;

  margin-bottom: var(--space-lg);}

}

.filter-btn {

.form-label {  padding: var(--spacing-sm) var(--spacing-md);

  display: block;  border: 1px solid var(--border-color);

  color: var(--text-primary);  border-radius: var(--border-radius);

  font-weight: 500;  background: var(--bg-primary);

  margin-bottom: var(--space-sm);  color: var(--text-secondary);

  font-size: 0.9rem;  cursor: pointer;

  text-transform: uppercase;  transition: var(--transition);

  letter-spacing: 0.5px;}

}

.filter-btn:hover, .filter-btn.active {

.form-input,  background: var(--primary-color);

.form-textarea,  color: var(--text-white);

.form-select {  border-color: var(--primary-color);

  width: 100%;}

  background: var(--bg-primary);

  border: 2px solid rgba(255, 255, 255, 0.1);/* ===== FOOTER ===== */

  border-radius: var(--radius-md);.site-footer {

  padding: var(--space-md);  background: var(--bg-dark);

  color: var(--text-primary);  color: var(--text-white);

  font-family: var(--font-mono);  padding: var(--spacing-2xl) 0 var(--spacing-lg);

  font-size: 1rem;  margin-top: var(--spacing-2xl);

  transition: all 0.3s ease;}

  position: relative;

}.footer-top {

  display: grid;

.form-input:focus,  gap: var(--spacing-xl);

.form-textarea:focus,  margin-bottom: var(--spacing-xl);

.form-select:focus {}

  outline: none;

  border-color: var(--primary-color);@media (min-width: 768px) {

  box-shadow:   .footer-top {

    0 0 0 3px rgba(99, 102, 241, 0.1),    grid-template-columns: repeat(2, 1fr);

    0 0 20px rgba(99, 102, 241, 0.2);  }

  transform: translateY(-2px);}

}

@media (min-width: 1024px) {

.form-textarea {  .footer-top {

  min-height: 150px;    grid-template-columns: 2fr 1fr 1fr 1fr;

  resize: vertical;  }

  font-family: var(--font-mono);}

  line-height: 1.5;

}.footer-col h4, .footer-col h5 {

  margin-bottom: var(--spacing-md);

/* Botones con efectos especiales */  color: var(--text-white);

.btn {}

  display: inline-flex;

  align-items: center;.footer-col ul {

  justify-content: center;  list-style: none;

  gap: var(--space-sm);}

  padding: var(--space-md) var(--space-lg);

  border-radius: var(--radius-md);.footer-col ul li {

  font-weight: 500;  margin-bottom: var(--spacing-sm);

  text-decoration: none;}

  border: none;

  cursor: pointer;.footer-col a {

  transition: all 0.3s ease;  color: #94a3b8;

  font-family: inherit;  text-decoration: none;

  font-size: 1rem;  transition: var(--transition);

  position: relative;}

  overflow: hidden;

}.footer-col a:hover {

  color: var(--text-white);

.btn::before {}

  content: '';

  position: absolute;.footer-bottom {

  top: 50%;  display: flex;

  left: 50%;  justify-content: space-between;

  width: 0;  align-items: center;

  height: 0;  padding-top: var(--spacing-lg);

  background: rgba(255, 255, 255, 0.2);  border-top: 1px solid #374151;

  border-radius: 50%;  flex-wrap: wrap;

  transition: all 0.3s ease;  gap: var(--spacing-md);

  transform: translate(-50%, -50%);}

}

.footer-bottom nav {

.btn:hover::before {  display: flex;

  width: 300px;  gap: var(--spacing-lg);

  height: 300px;}

}

/* ===== COOKIE BANNER ===== */

.btn-primary {.cookie-banner {

  background: var(--gradient-primary);  position: fixed;

  color: white;  bottom: 0;

  box-shadow: var(--shadow-md);  left: 0;

}  right: 0;

  background: var(--bg-primary);

.btn-primary:hover {  border-top: 1px solid var(--border-color);

  transform: translateY(-2px);  box-shadow: var(--box-shadow-lg);

  box-shadow: var(--shadow-lg), 0 0 20px rgba(99, 102, 241, 0.4);  z-index: 9999;

}  padding: var(--spacing-lg);

}

.btn-secondary {

  background: var(--bg-glass);.cookie-inner {

  color: var(--text-primary);  max-width: 1200px;

  border: 1px solid rgba(255, 255, 255, 0.2);  margin: 0 auto;

  backdrop-filter: blur(10px);}

}

.cookie-actions {

.btn-secondary:hover {  display: flex;

  background: rgba(255, 255, 255, 0.2);  gap: var(--spacing-sm);

  transform: translateY(-2px);  margin: var(--spacing-md) 0;

}  flex-wrap: wrap;

}

.btn-outline {

  background: transparent;.cookie-links {

  color: var(--primary-color);  margin-top: var(--spacing-sm);

  border: 2px solid var(--primary-color);  font-size: 0.875rem;

}}



.btn-outline:hover {.cookie-links a {

  background: var(--primary-color);  color: var(--primary-color);

  color: white;  text-decoration: none;

  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);}

}

/* ===== RESPONSIVE ===== */

/* Resultados con efecto de código */@media (max-width: 767px) {

.result-section {  .nav-toggle {

  background: var(--bg-card);    display: flex;

  border: 1px solid rgba(255, 255, 255, 0.1);  }

  border-radius: var(--radius-lg);  

  padding: var(--space-xl);  .nav-menu {

  margin-top: var(--space-lg);    display: none;

  backdrop-filter: blur(10px);    position: absolute;

}    top: 100%;

    left: 0;

.result-content {    right: 0;

  font-family: var(--font-mono);    background: var(--bg-primary);

  background: var(--bg-primary);    border-top: 1px solid var(--border-color);

  padding: var(--space-lg);    box-shadow: var(--box-shadow);

  border-radius: var(--radius-md);  }

  border: 1px solid rgba(255, 255, 255, 0.1);  

  white-space: pre-wrap;  .nav-menu.active {

  word-break: break-all;    display: block;

  color: var(--text-accent);  }

  line-height: 1.5;  

  position: relative;  .nav-list {

  overflow-x: auto;    flex-direction: column;

}    padding: var(--spacing-lg);

    gap: 0;

.result-content::before {  }

  content: '';  

  position: absolute;  .nav-item {

  top: 0;    width: 100%;

  left: 0;    border-bottom: 1px solid var(--border-color);

  right: 0;  }

  height: 3px;  

  background: var(--gradient-accent);  .nav-link {

  border-radius: var(--radius-sm);    display: block;

}    padding: var(--spacing-md);

    width: 100%;

/* Footer moderno */  }

.footer {  

  background: var(--bg-secondary);  .dropdown-menu {

  padding: var(--space-2xl) 0 var(--space-lg);    position: static;

  margin-top: var(--space-2xl);    opacity: 1;

  border-top: 1px solid rgba(255, 255, 255, 0.1);    visibility: visible;

  position: relative;    transform: none;

}    box-shadow: none;

    border: none;

.footer::before {    border-top: 1px solid var(--border-color);

  content: '';  }

  position: absolute;  

  top: 0;  .hero-content h1 {

  left: 0;    font-size: 2rem;

  right: 0;  }

  height: 1px;  

  background: var(--gradient-primary);  .container {

}    padding: 0 var(--spacing-sm);

  }

.footer-content {}

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));/* ===== UTILITIES ===== */

  gap: var(--space-xl);.text-center { text-align: center; }

  margin-bottom: var(--space-xl);.text-left { text-align: left; }

}.text-right { text-align: right; }



.footer-section h4 {.mt-0 { margin-top: 0; }

  font-size: 1.25rem;.mt-1 { margin-top: var(--spacing-sm); }

  font-weight: 600;.mt-2 { margin-top: var(--spacing-md); }

  margin-bottom: var(--space-md);.mt-3 { margin-top: var(--spacing-lg); }

  color: var(--text-primary);.mt-4 { margin-top: var(--spacing-xl); }

  background: var(--gradient-accent);

  background-clip: text;.mb-0 { margin-bottom: 0; }

  -webkit-background-clip: text;.mb-1 { margin-bottom: var(--spacing-sm); }

  -webkit-text-fill-color: transparent;.mb-2 { margin-bottom: var(--spacing-md); }

}.mb-3 { margin-bottom: var(--spacing-lg); }

.mb-4 { margin-bottom: var(--spacing-xl); }

.footer-section p,

.footer-section li {.hidden { display: none; }

  color: var(--text-secondary);.visible { display: block; }

  line-height: 1.7;

}/* Animaciones */

@keyframes fadeIn {

.footer-links {  from { opacity: 0; transform: translateY(20px); }

  list-style: none;  to { opacity: 1; transform: translateY(0); }

}}



.footer-links li {.fade-in {

  margin-bottom: var(--space-sm);  animation: fadeIn 0.5s ease-out;

}}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-accent);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-links a:hover {
  color: var(--text-accent);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Utilidades */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

/* Animaciones personalizadas */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-slide-in {
  animation: slideIn 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Efectos especiales */
.glow-text {
  text-shadow: 0 0 10px currentColor;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.neon-border {
  border: 2px solid var(--primary-color);
  box-shadow: 
    0 0 5px var(--primary-color),
    inset 0 0 5px var(--primary-color),
    0 0 20px rgba(99, 102, 241, 0.3);
}

.holographic {
  background: linear-gradient(45deg, #ff006e, #8338ec, #3a86ff, #06ffa5, #ffbe0b);
  background-size: 300% 300%;
  animation: holographic 3s ease infinite;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes holographic {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Scrollbar futurista */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gradient-accent);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .nav {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
    width: 100%;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: var(--space-xl) 0;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .converter-section {
    margin: var(--space-lg) 0;
    padding: var(--space-lg) 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: var(--space-lg) 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .tool-card,
  .converter-form {
    padding: var(--space-lg);
  }
  
  .section-title {
    font-size: 2rem;
  }
}

/* Estados de loading y transiciones */
.loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loaded {
  opacity: 1;
}

/* Efectos hover para móviles */
@media (hover: none) {
  .tool-card:hover,
  .nav-link:hover,
  .btn:hover {
    transform: none;
  }
}

/* Modo de alto contraste */
@media (prefers-contrast: high) {
  :root {
    --text-secondary: #ffffff;
    --bg-card: #000000;
    --border-color: #ffffff;
  }
}

/* Reducir movimiento para usuarios sensibles */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== ESTILOS HERO SECTION SEO ===== */
.hero-section {
  background: linear-gradient(135deg, var(--soft-blue, #6366f1) 0%, var(--soft-purple, #8b5cf6) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.min-vh-50 {
  min-height: 50vh;
}

.hero-section .badge {
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-section .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ===== TIMELINE ESTILOS ===== */
.timeline-container {
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #6366f1, #8b5cf6);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-year {
  width: 100px;
  height: 100px;
  font-size: 1.2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-year:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.timeline-item {
  opacity: 0;
  animation: slideInFromBottom 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CARDS MEJORADAS ===== */
.feature-card {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.tool-card-hover {
  transition: all 0.3s ease;
  border-radius: 12px;
}

.tool-card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* ===== GRADIENTES SUAVES ===== */
.bg-gradient-primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
}

.bg-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* ===== BADGES Y ELEMENTOS ESPECIALES ===== */
mark {
  background: linear-gradient(120deg, transparent 0%, #f59e0b 0%, #f59e0b 100%, transparent 100%);
  background-size: 100% 40%;
  background-repeat: no-repeat;
  background-position: 0 85%;
  padding: 0 4px;
  border-radius: 3px;
}

/* ===== RESPONSIVO MEJORADO ===== */
@media (max-width: 768px) {
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-year {
    width: 80px;
    height: 80px;
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 3rem 0 !important;
  }
  
  .hero-section .display-4 {
    font-size: 2rem !important;
  }
  
  .hero-section .lead {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 576px) {
  .timeline-year {
    width: 60px;
    height: 60px;
    font-size: 0.8rem;
  }
}

/* ===== FOOTER STYLES ===== */
.site-footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
  margin-top: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4,
.footer-col h5,
.footer-col h6 {
  color: #22d3ee;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: #22d3ee;
  text-decoration: none;
  transform: translateX(5px);
}

.footer-links-compact li {
  margin-bottom: 0.25rem;
}

.footer-links-compact a {
  font-size: 0.85rem !important;
  color: #cbd5e1 !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom small {
  color: #94a3b8;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom nav a:hover {
  color: #22d3ee;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e293b;
  color: white;
  padding: 1rem;
  border-top: 3px solid #22d3ee;
  z-index: 1050;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.cookie-banner label {
  display: inline-flex;
  align-items: center;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.cookie-banner input[type="checkbox"] {
  margin-right: 0.5rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1rem 0 0.5rem 0;
}

.cookie-actions button {
  padding: 0.5rem 1rem;
  border: 1px solid #475569;
  background: transparent;
  color: #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-actions button:hover {
  background: #334155;
  border-color: #64748b;
}

.cookie-actions button.primary {
  background: #22d3ee;
  border-color: #22d3ee;
  color: #0f172a;
  font-weight: 600;
}

.cookie-actions button.primary:hover {
  background: #0891b2;
  border-color: #0891b2;
}

.cookie-links {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.cookie-links a {
  color: #22d3ee;
  text-decoration: none;
  font-size: 0.85rem;
}

.cookie-links a:hover {
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-bottom nav {
    justify-content: center;
  }
  
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-actions button {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer-col {
    text-align: center;
  }
  
  .cookie-banner {
    padding: 1rem 0.5rem;
  }
  
  .cookie-banner label {
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
  }
}