/* ========================================
   ELEGANT & MINIMAL - CUSTOM CSS STYLES
   Language: es-AR | Framework: Tailwind
   ======================================== */

/* CSS Variables - Design System */
:root {
  /* Color Palette */
  --primary-dark: #0B0E14;
  --secondary-cyan: #00F0FF;
  --bg-primary: #050A19;
  --bg-secondary: #0B0E14;
  --bg-tertiary: #080C14;
  --footer-bg: #02040A;
  --button-primary: #A020F0;
  --text-primary: #FFFFFF;
  --text-secondary: #B0C4DE;
  --text-muted: #6B7A8C;
  
  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Base HTML Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Selection Styling */
::selection {
  background-color: var(--secondary-cyan);
  color: var(--primary-dark);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
  background: var(--button-primary);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-cyan);
}

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

/* Serif Headings (h1-h3) */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary-cyan), var(--button-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--text-secondary);
}

/* Sans-serif Headings (h4-h6) */
h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

/* Paragraphs and Text */
p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

/* Links */
a {
  color: var(--secondary-cyan);
  text-decoration: none;
  transition: var(--transition-normal);
  position: relative;
}

a:hover {
  color: var(--button-primary);
}

/* Underlined Links (Elegant Style) */
a.link-underlined {
  position: relative;
  padding-bottom: 2px;
}

a.link-underlined::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, var(--secondary-cyan), var(--button-primary));
  transition: width var(--transition-normal);
}

a.link-underlined:hover::after {
  width: 100%;
}

/* ========================================
   LAYOUT & CONTAINERS
   ======================================== */

/* Section Backgrounds - Using color differences */
.section-primary {
  background-color: var(--bg-primary);
}

.section-secondary {
  background-color: var(--bg-secondary);
}

.section-tertiary {
  background-color: var(--bg-tertiary);
}

/* Container System */
.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Spacing Utilities */
.section-padding {
  padding: var(--space-3xl) 0;
}

.section-padding-sm {
  padding: var(--space-2xl) 0;
}

.section-padding-lg {
  padding: var(--space-3xl) 0;
}

/* ========================================
   ELEGANT COMPONENTS
   ======================================== */

/* Pill-shaped Buttons (Primary Style) */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--button-primary), var(--secondary-cyan));
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

.btn-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn-pill:hover::before {
  left: 100%;
}

.btn-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--secondary-cyan), var(--button-primary));
}

.btn-pill:active {
  transform: translateY(0);
}

/* Minimal Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--secondary-cyan);
  background: transparent;
  color: var(--secondary-cyan);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--secondary-cyan);
  transition: width var(--transition-normal);
  z-index: -1;
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:hover {
  color: var(--primary-dark);
  border-color: var(--secondary-cyan);
  transform: translateY(-1px);
}

/* ========================================
   ELEGANT CARDS
   ======================================== */

.card-elegant {
  background: rgba(11, 14, 20, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card-elegant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.card-elegant:hover::before {
  opacity: 1;
}

.card-elegant:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 240, 255, 0.1);
}

.card-minimal {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition-normal);
}

.card-minimal:hover {
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: var(--shadow-md);
}

/* ========================================
   NAVIGATION & HEADER
   ======================================== */

.navbar-elegant {
  background: rgba(5, 10, 25, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-normal);
}

.navbar-elegant.scrolled {
  padding: var(--space-sm) 0;
  box-shadow: var(--shadow-lg);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  background: linear-gradient(135deg, var(--secondary-cyan), var(--button-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-cyan);
  background: rgba(0, 240, 255, 0.1);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-elegant {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
  overflow: hidden;
}

.hero-elegant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(160, 32, 240, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 240, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
  max-width: 800px;
  padding: 0 var(--space-lg);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* ========================================
   FORMS & INPUTS
   ======================================== */

.form-elegant {
  background: rgba(11, 14, 20, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-normal);
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */

.footer-elegant {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--secondary-cyan), var(--button-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  transition: var(--transition-normal);
}

.footer-link:hover {
  color: var(--secondary-cyan);
}

/* ========================================
   UTILITIES & ANIMATIONS
   ======================================== */

/* Text Gradients */
.text-gradient-cyan {
  background: linear-gradient(135deg, var(--secondary-cyan), var(--button-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-gold {
  background: linear-gradient(135deg, var(--secondary-cyan), #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-pulse-subtle {
  animation: pulse 2s infinite;
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--secondary-cyan);
  outline-offset: 2px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
  .container-custom,
  .container-wide {
    padding: 0 var(--space-md);
  }
  
  .section-padding {
    padding: var(--space-2xl) 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container-custom,
  .container-wide {
    padding: 0 var(--space-sm);
  }
  
  .section-padding {
    padding: var(--space-xl) 0;
  }
  
  .card-elegant,
  .card-minimal {
    padding: var(--space-md);
  }
  
  .form-elegant {
    padding: var(--space-md);
  }
  
  .navbar-elegant {
    padding: var(--space-sm) 0;
  }
  
  h1 {
    font-size: clamp(1.75rem, 10vw, 2.5rem);
  }
  
  .hero-content {
    padding: 0 var(--space-sm);
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .card-elegant {
    backdrop-filter: blur(40px);
  }
  
  .navbar-elegant {
    backdrop-filter: blur(40px);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   DARK MODE ENHANCEMENTS
   ======================================== */

/* Additional dark mode specific styles */
@media (prefers-color-scheme: dark) {
  .card-elegant {
    background: rgba(11, 14, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
  }
  
  .form-input {
    background: rgba(255, 255, 255, 0.08);
  }
  
  .form-input:focus {
    background: rgba(255, 255, 255, 0.12);
  }
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}