/* High-Tech Neon Minimalist CSS - Spanish Argentina */

/* CSS Variables - Neon Cyberpunk Palette */
:root {
  /* Core Colors */
  --primary-neon: #00ff41;
  --secondary-neon: #ff003c;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-section-1: #0f172a;
  --bg-section-2: #1e1b4b;
  --bg-section-3: #111827;
  
  /* Neon Variations */
  --neon-green-bright: #00ff41;
  --neon-green-glow: #39ff14;
  --neon-red-bright: #ff003c;
  --neon-red-glow: #ff073a;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: var(--neon-green-bright);
  
  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'system-ui', sans-serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Border Radius */
  --radius-pill: 9999px;
  --radius-lg: 1rem;
  --radius-md: 0.5rem;
  --radius-sm: 0.25rem;
  
  /* Shadows */
  --shadow-neon-green: 0 0 20px rgba(0, 255, 65, 0.3);
  --shadow-neon-red: 0 0 20px rgba(255, 0, 60, 0.3);
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography - Serif for Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-primary);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-xl);
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-md);
}

p {
  margin: 0 0 var(--space-lg) 0;
  color: var(--text-secondary);
  max-width: 65ch;
}

a {
  color: var(--neon-green-bright);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--neon-green-glow);
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
}

/* Elegant Underlined Links */
a.underline-link {
  position: relative;
}

a.underline-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, var(--neon-green-bright), var(--neon-red-bright));
  transition: width 0.3s ease;
}

a.underline-link:hover::after {
  width: 100%;
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-dark {
  background: var(--bg-section-1);
}

.section-purple {
  background: var(--bg-section-2);
}

.section-gray {
  background: var(--bg-section-3);
}

/* Header Styles */
.header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-green-bright);
  text-decoration: none;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.nav {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--text-primary);
  background: rgba(0, 255, 65, 0.1);
  box-shadow: var(--shadow-neon-green);
}

/* Neon Button Styles - Pill Shaped */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-green-bright), var(--neon-green-glow));
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.6), 0 10px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, var(--neon-green-glow), var(--neon-green-bright));
}

.btn-secondary {
  background: transparent;
  color: var(--neon-red-bright);
  border: 2px solid var(--neon-red-bright);
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.3);
}

.btn-secondary:hover {
  background: var(--neon-red-bright);
  color: #000;
  box-shadow: 0 0 25px rgba(255, 0, 60, 0.5);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--neon-green-bright);
  color: var(--neon-green-bright);
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
}

/* Card Styles - Minimal with Subtle Effects */
.card {
  background: rgba(30, 27, 75, 0.3);
  border: 1px solid rgba(0, 255, 65, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 65, 0.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 65, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 65, 0.2);
}

.card-header {
  margin-bottom: var(--space-lg);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.card-subtitle {
  color: var(--neon-green-bright);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.card-content {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(0, 255, 65, 0.1) 0%, var(--bg-dark) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.05) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
  transform: translate(-50%, -50%);
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 var(--space-lg);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--neon-green-bright), var(--text-primary), var(--neon-red-bright));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: brightness(1); }
  to { filter: brightness(1.2); }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Form Styles */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
  font-weight: 500;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(0, 255, 65, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--neon-green-bright);
  box-shadow: 0 0 0 3px rgba(0, 255, 65, 0.1), 0 0 15px rgba(0, 255, 65, 0.3);
  background: rgba(15, 23, 42, 0.8);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid rgba(0, 255, 65, 0.2);
  padding: var(--space-3xl) 0 var(--space-xl) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: var(--neon-green-bright);
  margin-bottom: var(--space-lg);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--neon-green-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 255, 65, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  color: var(--text-muted);
}

/* Utility Classes */
.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); }

.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.text-neon { color: var(--neon-green-bright); }
.text-accent { color: var(--neon-red-bright); }
.text-muted { color: var(--text-muted); }

.bg-dark { background: var(--bg-dark); }
.bg-darker { background: var(--bg-darker); }
.bg-purple { background: var(--bg-section-2); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .nav {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-green-bright), var(--neon-green-glow));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--neon-green-glow), var(--neon-green-bright));
}

/* Selection Styling */
::selection {
  background: rgba(0, 255, 65, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(0, 255, 65, 0.3);
  color: var(--text-primary);
}


/* 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;
    }
}