/* ============================================
   THINKIA PRODUCT PAGES STYLES
   Estilos reutilizables para páginas de productos Thinkia
   (Synapse, y otras 7-8 páginas similares)
   Compatible con Tailwind CSS
   ============================================ */

/* ============================================
   VARIABLES CSS COMPLETAS - Thinkia Brand Colors
   Basado en globals.css del proyecto Astro original
   ============================================ */
:root {
  /* Thinkia Brand Colors - Exact colors from thinkia.com */
  --thinkia-primary: 220 100% 19%; /* #001963 - Deep blue */
  --thinkia-primary-foreground: 0 0% 100%; /* #FFFFFF - White */
  
  /* Secondary: #03091D -> HSL(220, 81%, 6.3%) */
  --thinkia-secondary: 220 81% 6%; /* #03091D - Almost black blue */
  --thinkia-secondary-foreground: 0 0% 100%; /* #FFFFFF - White */
  
  /* Accent: #0040FF -> HSL(220, 100%, 50%) */
  --thinkia-accent: 220 100% 50%; /* #0040FF - Bright vibrant blue */
  --thinkia-accent-foreground: 0 0% 100%; /* #FFFFFF - White */
  
  /* Text: #FFFFFF -> White */
  --thinkia-text: 0 0% 100%; /* #FFFFFF - White */
  
  /* Additional colors */
  --thinkia-gray-light: 220 15% 90%; /* #DDE1E7 - Light gray */
  --thinkia-gray-lighter: 0 0% 96%; /* #F5F5F5 - Very light gray */

  /* Apple Dark Theme - Ultra minimal with Thinkia colors */
  --background: 220 81% 6%; /* #03091D - Thinkia secondary as background */
  --foreground: 0 0% 100%; /* #FFFFFF - White text */
  --card: 220 81% 8%; /* Slightly lighter than background */
  --card-foreground: 0 0% 100%;
  --muted: 220 81% 10%; /* Subtle muted areas */
  --muted-foreground: 220 15% 65%; /* Softer muted text */
  --border: 220 81% 15%; /* Very subtle borders */
  --input: 220 81% 15%;
  --ring: 220 100% 50%; /* #0040FF - Thinkia accent for focus rings */
  --radius: 1rem; /* More rounded like iOS */
  
  /* Apple-inspired spacing */
  --thinkia-spacing-xs: 0.5rem;
  --thinkia-spacing-sm: 1rem;
  --thinkia-spacing-md: 2rem;
  --thinkia-spacing-lg: 4rem;
  --thinkia-spacing-xl: 8rem; /* More generous spacing */
  
  /* Legacy variables for compatibility */
  --background-muted: rgba(255, 255, 255, 0.05);
  --accent: #0040FF;
  --primary: #0040FF;
}

/* Light mode variables */
.light,
body.modo-light {
  --thinkia-primary: 220 100% 19%; /* #001963 */
  --thinkia-primary-foreground: 0 0% 100%;
  --thinkia-secondary: 220 81% 6%; /* #03091D */
  --thinkia-secondary-foreground: 0 0% 100%;
  --thinkia-accent: 220 100% 50%; /* #0040FF */
  --thinkia-accent-foreground: 0 0% 100%;

  --background: 0 0% 100%;
  --foreground: 220 81% 6%; /* Dark text on light */
  --card: 0 0% 100%;
  --card-foreground: 220 81% 6%;
  --muted: 0 0% 96%; /* #F5F5F5 */
  --muted-foreground: 220 10% 45%;
  --border: 220 15% 90%; /* #DDE1E7 */
  --input: 220 15% 90%;
  --ring: 220 100% 50%; /* #0040FF */
}

/* ============================================
   OVERRIDE GLOBAL HEADING SIZES FOR PRODUCT PAGES
   Los estilos globales tienen h1/h2/h3 muy grandes,
   aquí los sobrescribimos con tamaños más apropiados
   ============================================ */

/* NOTA: Los h1 en páginas de productos ahora usan los estilos base de _typography.scss */
/* Solo asegurar visibilidad y color específico para el hero */

/* NOTA: Los encabezados (h1, h2, h3, h4, etc.) en páginas de productos y synapse
   ahora usan los estilos base de _typography.scss como el resto del sitio */

/* Section Styles */
.thinkia-section-dark {
  background: var(--background);
  color: var(--foreground);
}

/* NOTA: Todos los encabezados (h1, h2, h3, etc.) ahora usan los estilos base de _typography.scss */

.thinkia-section-muted {
  background: var(--background-muted);
  color: var(--foreground);
}

.thinkia-section {
  background: transparent;
  color: var(--foreground);
}

/* ============================================
   GRADIENT STYLES - Thinkia-inspired minimal components
   ============================================ */
.thinkia-gradient {
  background: linear-gradient(180deg, hsl(var(--thinkia-accent) / 0.15) 0%, hsl(var(--thinkia-primary) / 0.1) 100%);
}

.thinkia-text-gradient {
  background: linear-gradient(135deg, hsl(var(--thinkia-accent)) 0%, hsl(var(--thinkia-primary)) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   CARDS SYSTEM - Movido a components/_cards.scss
   Los estilos de cards ahora están en el sistema global de componentes
   ============================================ */

/* Neuros Button Styles - Matching main website buttons */
.thinkia-product-page .neuros-button {
  --button-border-radius: 9999px;
  --button-border-width: 1px;
  --button-border-gradient-angle: 262deg;
  --button-gradient-colorstop-1: 14.51%;
  --button-gradient-colorstop-2: 95.96%;
  
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 10px 24px 11px calc(23px + 1.42857em);
  line-height: 1.92857em;
  border-radius: var(--button-border-radius);
  -webkit-border-radius: var(--button-border-radius);
  text-decoration: none;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  min-width: 58px;
  outline: none;
  cursor: pointer;
  pointer-events: auto;
  background: none;
  border-width: var(--button-border-width);
  border-style: solid;
  border-color: transparent;
  background-origin: border-box !important;
  z-index: 1;
  color: #ffffff;
  font-family: 'Thinkia Neo', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  white-space: nowrap;
}

.thinkia-product-page .neuros-button::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--button-border-width));
  left: calc(-1 * var(--button-border-width));
  right: calc(-1 * var(--button-border-width));
  bottom: calc(-1 * var(--button-border-width));
  padding: var(--button-border-width);
  border-radius: inherit;
  -webkit-border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: linear-gradient(var(--button-border-gradient-angle), #1a224c var(--button-gradient-colorstop-1), #0040ff var(--button-gradient-colorstop-2));
}

.thinkia-product-page .neuros-button .button-inner {
  position: absolute;
  top: calc(-1 * var(--button-border-width));
  left: calc(-1 * var(--button-border-width));
  right: calc(-1 * var(--button-border-width));
  bottom: calc(-1 * var(--button-border-width));
  padding: inherit;
  background: none;
  border-radius: inherit;
  -webkit-border-radius: inherit;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.thinkia-product-page .neuros-button .button-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  border-radius: inherit;
  -webkit-border-radius: inherit;
  background: linear-gradient(var(--button-border-gradient-angle), #0040ff var(--button-gradient-colorstop-1), #1a224c var(--button-gradient-colorstop-2));
  opacity: 1;
}

.thinkia-product-page .neuros-button .button-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  border-radius: inherit;
  -webkit-border-radius: inherit;
  background: linear-gradient(var(--button-border-gradient-angle), #1a224c var(--button-gradient-colorstop-1), #1a224c var(--button-gradient-colorstop-2));
  opacity: 0;
}

.thinkia-product-page .neuros-button .icon-button-arrow {
  font: 400 normal 0.642857em 'fontello';
  position: absolute;
  left: 23px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transition: opacity 0.3s, transform 0.3s;
}

.thinkia-product-page .neuros-button .icon-button-arrow::before {
  content: '→';
  font-size: 10px;
  display: inline-block;
}

.thinkia-product-page .neuros-button .icon-button-arrow.right {
  opacity: 0;
  right: 24px;
  left: initial;
  transform: translateY(-50%) translateX(1em);
  -webkit-transform: translateY(-50%) translateX(1em);
  -ms-transform: translateY(-50%) translateX(1em);
}

.thinkia-product-page .neuros-button:hover {
  color: #ffffff;
  padding: 10px calc(23px + 1.42857em) 11px 24px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.thinkia-product-page .neuros-button:hover::after {
  background: linear-gradient(var(--button-border-gradient-angle), #1a224c var(--button-gradient-colorstop-1), #00afff var(--button-gradient-colorstop-2));
}

.thinkia-product-page .neuros-button:hover .button-inner::before {
  opacity: 0;
}

.thinkia-product-page .neuros-button:hover .button-inner::after {
  opacity: 1;
}

.thinkia-product-page .neuros-button:hover .icon-button-arrow.left {
  opacity: 0;
  transform: translateY(-50%) translateX(-1em);
  -webkit-transform: translateY(-50%) translateX(-1em);
  -ms-transform: translateY(-50%) translateX(-1em);
}

.thinkia-product-page .neuros-button:hover .icon-button-arrow.right {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  -webkit-transform: translateY(-50%) translateX(0);
  -ms-transform: translateY(-50%) translateX(0);
}

/* Solid button variant */
.thinkia-product-page .neuros-button.is-solid .button-inner::after,
.thinkia-product-page .neuros-button.is-solid .button-inner::before {
  border: var(--e-global-color-accent) !important;
  background: var(--e-global-color-accent) !important;
  -webkit-mask: none !important;
  mask: none !important;
}

.thinkia-product-page .neuros-button.is-solid:hover .button-inner::after,
.thinkia-product-page .neuros-button.is-solid:hover .button-inner::before {
  background: var(--e-global-color-primary) !important;
}

/* Minimal section backgrounds */
.thinkia-section-dark {
  background: hsl(var(--background));
}

.thinkia-section-muted {
  background: hsl(var(--muted) / 0.3);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Apple-style glassmorphism */
.thinkia-glass {
  background: hsl(var(--card) / 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid hsl(var(--border) / 0.2);
}

/* Container Padding */
.container-padding {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container-padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Section Padding */
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

/* Text Colors */
.text-foreground {
  color: var(--foreground);
}

.text-foreground\/70 {
  color: rgba(255, 255, 255, 0.7);
}

.text-foreground\/60 {
  color: rgba(255, 255, 255, 0.6);
}

.text-foreground\/90 {
  color: rgba(255, 255, 255, 0.9);
}

.text-foreground\/50 {
  color: rgba(255, 255, 255, 0.5);
}

.text-foreground\/80 {
  color: rgba(255, 255, 255, 0.8);
}

.text-accent {
  color: var(--accent);
}

.text-red-500 {
  color: #ef4444;
}

/* Button Styles */
.thinkia-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #0040FF 0%, #00AFFF 100%);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.thinkia-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 64, 255, 0.4);
  text-decoration: none;
  color: #ffffff;
}

.thinkia-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.thinkia-button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  text-decoration: none;
  color: #ffffff;
}

/* ============================================
   NEUROS BUTTON - Estilo base del botón de contacto
   Usado en: Contact, Synapse CTA, Header
   ============================================ */

.neuros-button {
  --button-border-radius: 9999px;
  --button-border-width: 1px;
  --button-border-gradient-angle: 262deg;
  --button-gradient-colorstop-1: 14.51%;
  --button-gradient-colorstop-2: 95.96%;
  
  display: inline-block;
  position: relative;
  text-align: center;
  padding: 10px 24px 11px calc(23px + 1.42857em);
  line-height: 1.92857em;
  border-radius: var(--button-border-radius);
  -webkit-border-radius: var(--button-border-radius);
  text-decoration: none;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  min-width: 58px;
  outline: none;
  cursor: pointer;
  pointer-events: auto;
  background: none;
  border-width: var(--button-border-width);
  border-style: solid;
  border-color: transparent;
  background-origin: border-box !important;
  z-index: 1;
  color: #ffffff;
  font-family: 'Thinkia Neo', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  white-space: nowrap;
}

.neuros-button::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--button-border-width));
  left: calc(-1 * var(--button-border-width));
  right: calc(-1 * var(--button-border-width));
  bottom: calc(-1 * var(--button-border-width));
  padding: var(--button-border-width);
  border-radius: inherit;
  -webkit-border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: linear-gradient(var(--button-border-gradient-angle), #1a224c var(--button-gradient-colorstop-1), #0040ff var(--button-gradient-colorstop-2));
}

.neuros-button .button-inner {
  position: absolute;
  top: calc(-1 * var(--button-border-width));
  left: calc(-1 * var(--button-border-width));
  right: calc(-1 * var(--button-border-width));
  bottom: calc(-1 * var(--button-border-width));
  padding: inherit;
  background: none;
  border-radius: inherit;
  -webkit-border-radius: inherit;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  overflow: hidden;
  z-index: -1;
}

.neuros-button .button-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  border-radius: inherit;
  -webkit-border-radius: inherit;
  padding: inherit;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: linear-gradient(var(--button-border-gradient-angle), #0040ff var(--button-gradient-colorstop-1), #1a224c var(--button-gradient-colorstop-2));
  opacity: 1;
}

.neuros-button .button-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  border-radius: inherit;
  -webkit-border-radius: inherit;
  padding: inherit;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  background: linear-gradient(var(--button-border-gradient-angle), #1a224c var(--button-gradient-colorstop-1), #1a224c var(--button-gradient-colorstop-2));
  opacity: 0;
}

.neuros-button .icon-button-arrow {
  font: 400 normal 0.642857em 'fontello';
  position: absolute;
  left: 23px;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transition: opacity 0.3s, transform 0.3s;
  -webkit-transition: opacity 0.3s, transform 0.3s;
}

.neuros-button .icon-button-arrow::before {
  content: '→';
  font-size: 10px;
  display: inline-block;
}

.neuros-button .icon-button-arrow.right {
  opacity: 0;
  right: 24px;
  left: initial;
  transform: translateY(-50%) translateX(1em);
  -webkit-transform: translateY(-50%) translateX(1em);
  -ms-transform: translateY(-50%) translateX(1em);
}

.neuros-button:hover {
  color: #ffffff;
  padding: 10px calc(23px + 1.42857em) 11px 24px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.neuros-button:hover::after {
  background: linear-gradient(var(--button-border-gradient-angle), #1a224c var(--button-gradient-colorstop-1), #00afff var(--button-gradient-colorstop-2));
}

.neuros-button:hover .button-inner::before {
  opacity: 0;
}

.neuros-button:hover .button-inner::after {
  opacity: 1;
}

.neuros-button:hover .icon-button-arrow.left {
  opacity: 0;
  transform: translateY(-50%) translateX(-1em);
  -webkit-transform: translateY(-50%) translateX(-1em);
  -ms-transform: translateY(-50%) translateX(-1em);
}

.neuros-button:hover .icon-button-arrow.right {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
  -webkit-transform: translateY(-50%) translateX(0);
  -ms-transform: translateY(-50%) translateX(0);
}

/* Card styles are now defined above in the gradient section */

/* Border Colors */
.border-border\/30 {
  border-color: rgba(255, 255, 255, 0.3);
}

.border-border\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.border-accent\/50 {
  border-color: rgba(0, 64, 255, 0.5);
}

/* Background Colors */
.bg-accent\/10 {
  background-color: rgba(0, 64, 255, 0.1);
}

.bg-accent\/20 {
  background-color: rgba(0, 64, 255, 0.2);
}

.bg-accent\/10 {
  background-color: rgba(0, 64, 255, 0.1);
}

.bg-red-500\/10 {
  background-color: rgba(239, 68, 68, 0.1);
}

.bg-card\/50 {
  background-color: rgba(3, 9, 29, 0.5);
}

.bg-background\/50 {
  background-color: hsl(var(--background) / 0.5);
}

/* Max Width Utilities */
.max-w-7xl {
  max-width: 80rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-2xl {
  max-width: 42rem;
}

/* Margin Auto */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Text Balance */
.text-balance {
  text-wrap: balance;
}

/* Line Clamp */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.whitespace-nowrap {
  white-space: nowrap;
}

/* Aspect Ratio */
.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* Scroll Snap */
[style*="scroll-snap-type"] {
  scroll-snap-type: x mandatory;
}

[style*="scroll-snap-align"] {
  scroll-snap-align: start;
}

/* Z-index */
.relative {
  position: relative;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-wrap {
  flex-wrap: wrap;
}

/* Grid Utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-cols-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.col-span-12 {
  grid-column: span 12 / span 12;
}

.col-span-6 {
  grid-column: span 6 / span 6;
}

.col-span-4 {
  grid-column: span 4 / span 4;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .md\:grid {
    display: grid !important;
  }
  
  .hidden.md\:grid {
    display: grid !important;
  }
  
  .md\:contents {
    display: contents;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:col-span-4 {
    grid-column: span 4 / span 4;
  }
  
  .md\:text-left {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .lg\:order-last {
    order: 9999;
  }
  
  .lg\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .lg\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
  
  .lg\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }
  
  .lg\:max-w-none {
    max-width: none;
  }
  
  .lg\:items-center {
    align-items: center;
  }
  
  .lg\:gap-4 {
    gap: 1rem;
  }

  .lg\:gap-10 {
    gap: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Gap Utilities */
.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-x-12 {
  column-gap: 3rem;
}

.gap-y-12 {
  row-gap: 3rem;
}

/* Spacing Utilities */
.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-20 {
  margin-bottom: 5rem;
}

.mt-auto {
  margin-top: auto;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-20 {
  margin-top: 5rem;
}

.pb-4 {
  padding-bottom: 1rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-32 {
  padding-top: 8rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}

.text-8xl {
  font-size: 6rem;
  line-height: 1;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.italic {
  font-style: italic;
}

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.leading-none {
  line-height: 1;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Width & Height */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-1 {
  height: 0.25rem;
}

.h-2 {
  height: 0.5rem;
}

.h-2\.5 {
  height: 0.625rem;
}

.h-5 {
  height: 1.25rem;
}

.h-12 {
  height: 3rem;
}

.h-14 {
  height: 3.5rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.h-\[500px\] {
  height: 500px;
}

.w-3 {
  width: 0.75rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-6 {
  width: 1.5rem;
}

.w-7 {
  width: 1.75rem;
}

.w-8 {
  width: 2rem;
}

.w-12 {
  width: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-24 {
  width: 6rem;
}

.min-w-0 {
  min-width: 0px;
}

/* Border Radius */
.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-b-3xl {
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
}

/* Object Fit */
.object-cover {
  object-fit: cover;
}

/* Position */
.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.-inset-0\.5 {
  top: -0.125rem;
  right: -0.125rem;
  bottom: -0.125rem;
  left: -0.125rem;
}

.-inset-1 {
  top: -0.25rem;
  right: -0.25rem;
  bottom: -0.25rem;
  left: -0.25rem;
}

.bottom-0 {
  bottom: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.top-0 {
  top: 0;
}

/* Opacity */
.opacity-0 {
  opacity: 0;
}

.opacity-5 {
  opacity: 0.05;
}

.opacity-40 {
  opacity: 0.4;
}

.opacity-100 {
  opacity: 1;
}

/* Blur */
.blur-lg {
  filter: blur(16px);
}

.blur-xl {
  filter: blur(24px);
}

.blur-2xl {
  filter: blur(40px);
}

.blur-3xl {
  filter: blur(64px);
}

.blur-md {
  filter: blur(12px);
}

/* Transform */
.scale-\[1\.02\] {
  transform: scale(1.02);
}

.scale-\[1\.03\] {
  transform: scale(1.03);
}

.scale-110 {
  transform: scale(1.1);
}

/* Transition */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.duration-1000 {
  transition-duration: 1000ms;
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* Hover States */
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:scale-\[1\.02\] {
  transform: scale(1.02);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:bg-accent\/20 {
  background-color: rgba(0, 64, 255, 0.2);
}

.group:hover .group-hover\:border-accent\/50 {
  border-color: rgba(0, 64, 255, 0.5);
}

/* Shadow */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.drop-shadow-lg {
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

.drop-shadow-2xl {
  filter: drop-shadow(0 25px 25px rgb(0 0 0 / 0.15)) drop-shadow(0 10px 10px rgb(0 0 0 / 0.04));
}

.shadow-inner {
  box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}

.shadow-accent\/10 {
  box-shadow: 0 0 0 1px rgba(0, 64, 255, 0.1);
}

/* Pointer Events */
.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

/* Hidden */
.hidden {
  display: none;
}

/* Backdrop Blur */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Focus States */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px rgba(0, 64, 255, 0.5);
}

/* Responsive Text */
@media (min-width: 640px) {
  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* Negative Margins */
.-mx-6 {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

/* Min Height */
.min-h-full {
  min-height: 100%;
}

/* Space Y */
.space-y-2\.5 > * + * {
  margin-top: 0.625rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Items Stretch */
.items-stretch {
  align-items: stretch;
}

/* Flex Shrink */
.flex-shrink-0 {
  flex-shrink: 0;
}

.self-start {
  align-self: flex-start;
}

.pt-0\.5 {
  padding-top: 0.125rem;
}

/* Inline Block */
.inline-block {
  display: inline-block;
}

/* Inline Flex */
.inline-flex {
  display: inline-flex;
}

/* Z-index behind */
.-z-0 {
  z-index: 0;
}

/* Drop Shadow */
.drop-shadow-sm {
  filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
}

/* Background Clip */
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.text-transparent {
  color: transparent;
}

/* Border Width */
.border-2 {
  border-width: 2px;
}

/* Border Top */
.border-t {
  border-top-width: 1px;
}

.border-t-2 {
  border-top-width: 2px;
}

/* Border Bottom */
.border-b-2 {
  border-bottom-width: 2px;
}

/* Margin Right */
.mr-2 {
  margin-right: 0.5rem;
}

/* Group Variants */
.group\/agent:hover .group-hover\/agent\:opacity-100 {
  opacity: 1;
}

.group\/agent:hover .group-hover\/agent\:scale-\[1\.02\] {
  transform: scale(1.02);
}

.group\/agent:hover .group-hover\/agent\:bg-accent\/20 {
  background-color: rgba(0, 64, 255, 0.2);
}

.group\/agent:hover .group-hover\/agent\:border-accent\/50 {
  border-color: rgba(0, 64, 255, 0.5);
}

/* Agent card specific hover effects */
.group\/agent {
  position: relative;
}

.group\/agent .absolute.-inset-0\.5 {
  position: absolute;
  top: -0.125rem;
  right: -0.125rem;
  bottom: -0.125rem;
  left: -0.125rem;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
  z-index: -1;
}

.group\/agent:hover .absolute.-inset-0\.5 {
  opacity: 1;
}

/* Ensure cards stretch properly in grid */
.md\:items-stretch > * {
  display: flex;
  flex-direction: column;
}

.md\:items-stretch > * > * {
  flex: 1;
  display: flex;
  flex-direction: column;
}



/* ============================================
   ADDITIONAL STYLES FROM GLOBALS.CSS
   ============================================ */

/* Base styles */
.thinkia-product-page * {
  border-color: hsl(var(--border) / 0.2);
}

.thinkia-product-page html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: hsl(var(--background));
}

.thinkia-product-page body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-feature-settings: "rlig" 1, "calt" 1;
  font-family: 'Thinkia Neo', 'Space Grotesk', 'Inter', -apple-system, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-weight: 400;
  min-height: 100vh;
}

.thinkia-product-page p {
  color: hsl(var(--foreground) / 0.8);
  font-size: clamp(1rem, 2.5vw, 1.125rem); /* Escalado fluido: mobile 1rem → desktop 1.125rem */
  line-height: 1.6;
  letter-spacing: -0.008em;
}

.thinkia-product-page small {
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  font-weight: 400;
}

/* Additional spacing utilities */
.space-y-12 > * + * {
  margin-top: 3rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Additional text utilities */
.tracking-tight {
  letter-spacing: -0.025em;
}

.leading-8 {
  line-height: 2rem;
}

/* Additional width utilities */
.w-0\.5 {
  width: 0.125rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Additional position utilities */
.left-1\/2 {
  left: 50%;
}

.left-8 {
  left: 2rem;
}

/* Additional flex utilities */
.flex-row-reverse {
  flex-direction: row-reverse;
}

.shrink-0 {
  flex-shrink: 0;
}

/* Additional border utilities */
.border-4 {
  border-width: 4px;
}

/* Additional background utilities */
.bg-muted {
  background-color: hsl(var(--muted));
}

.bg-background {
  background-color: hsl(var(--background));
}

.bg-card {
  background-color: hsl(var(--card));
}

.bg-primary {
  background-color: hsl(var(--thinkia-accent));
}

.bg-muted-foreground {
  background-color: hsl(var(--muted-foreground));
}

/* Additional text color utilities */
.text-muted-foreground {
  color: hsl(var(--muted-foreground));
}

.text-white {
  color: #ffffff;
}

/* Additional shadow utilities */
.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Gradient utilities */
.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-primary {
  --tw-gradient-from: hsl(var(--thinkia-accent));
  --tw-gradient-to: hsl(var(--thinkia-accent) / 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-secondary {
  --tw-gradient-to: hsl(var(--background)) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), hsl(var(--background)), var(--tw-gradient-to);
}

.to-accent {
  --tw-gradient-to: hsl(var(--thinkia-accent));
}

/* Responsive utilities */
@media (min-width: 640px) {
  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .sm\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:flex-row-reverse {
    flex-direction: row-reverse;
  }
  
  .md\:p-12 {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Animation utilities */
.thinkia-fade-in {
  animation: fadeIn 0.6s ease-out;
}

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

/* Minimal shadows - Apple style */
.thinkia-shadow {
  box-shadow: 0 2px 8px hsl(0 0% 0% / 0.1);
}

.thinkia-shadow-lg {
  box-shadow: 0 8px 24px hsl(0 0% 0% / 0.15);
}

/* ============================================
   FEATURE LIST BASE STYLES - Always aligned correctly
   Estilos base para listas de características con checkmarks
   ============================================ */
.layer-features-list,
.features-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.layer-feature-item,
.feature-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  position: relative !important;
}

.layer-feature-icon,
.feature-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: 1.5rem !important;
  height: 1.5rem !important;
  min-width: 1.5rem !important;
  min-height: 1.5rem !important;
  margin-top: 0.125rem !important;
  margin-bottom: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  vertical-align: top !important;
}

.layer-feature-icon svg,
.feature-icon svg {
  display: block !important;
  width: 1rem !important;
  height: 1rem !important;
  min-width: 1rem !important;
  min-height: 1rem !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.layer-feature-text,
.feature-text {
  display: block !important;
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important;
  vertical-align: baseline !important;
  min-width: 0 !important;
}

/* Ensure no line breaks cause misalignment */
.layer-feature-item > *,
.feature-item > * {
  box-sizing: border-box !important;
}

/* ============================================
   CHROME COMPATIBILITY FIXES FOR SYNAPSE PAGE
   Fixes para problemas de renderizado específicos de Chrome
   ============================================ */

/* Fix para backdrop-filter en Chrome - asegurar que funcione correctamente */
#synapse-page .thinkia-card,
#synapse-page .thinkia-section-muted {
  /* Fallback para Chrome que no soporta backdrop-filter */
  background: rgba(3, 9, 29, 0.5) !important;
  
  /* Aplicar backdrop-filter solo si está soportado */
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
}

/* Fix para sintaxis HSL moderna en Chrome - asegurar compatibilidad */
#synapse-page .thinkia-card {
  /* Asegurar que backdrop-filter funcione en Chrome */
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  
  /* Asegurar que las variables CSS funcionen correctamente */
  background-color: hsl(var(--card, 220 81% 8%) / 0.5) !important;
  border-color: hsl(var(--border, 220 81% 15%) / 0.3) !important;
}

/* Fix para hover states en Chrome */
#synapse-page .thinkia-card:hover {
  background-color: hsl(var(--card, 220 81% 8%) / 0.7) !important;
  border-color: hsl(var(--accent, 220 100% 50%) / 0.5) !important;
  -webkit-transform: translateY(-2px) translateZ(0);
  transform: translateY(-2px) translateZ(0);
}

/* Fix para text colors en Chrome */
#synapse-page .thinkia-card h3 {
  color: hsl(var(--foreground, 0 0% 100%)) !important;
}

#synapse-page .thinkia-card p {
  color: hsl(var(--foreground, 0 0% 100%) / 0.7) !important;
}

/* Fix para transform y transitions en Chrome - Force hardware acceleration */
#synapse-page .thinkia-card {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-perspective: 1000px;
  perspective: 1000px;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Fix para grid y flexbox en Chrome */
#synapse-page .grid {
  display: -webkit-grid;
  display: grid;
  -webkit-align-items: stretch;
  align-items: stretch;
}

#synapse-page .flex {
  display: -webkit-flex;
  display: flex;
}

/* Fix para problemas de renderizado de gradientes en Chrome */
#synapse-page .thinkia-section-muted {
  background: rgba(3, 9, 29, 0.3) !important;
  background: hsl(var(--muted) / 0.3) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
}

/* Fix para problemas de z-index y stacking context en Chrome */
#synapse-page .thinkia-card {
  isolation: isolate;
  position: relative;
  z-index: 1;
}
