:root {
  /* Color System */
  --primary: #1e3a8a;
  --secondary: #3b82f6;
  --accent: #10b981;
  --background: #ffffff;
  --footer-bg: #0f172a;
  --button: #1e40af;
  --text: #1e293b;
  --text-light: #64748b;
  
  /* Neo-Brutalist Enhanced Colors */
  --border-color: #000000;
  --card-bg: #ffffff;
  --section-1: #f8fafc;
  --section-2: #ffffff;
  --section-3: #f1f5f9;
  --section-4: #ffffff;
  
  /* Typography Scale */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  
  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  
  /* Shadows - Neo-Brutalist Style */
  --shadow-card: 4px 4px 0 var(--border-color);
  --shadow-button: 4px 4px 0 var(--border-color);
  --shadow-hover: 2px 2px 0 var(--border-color);
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-sm) 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
}

h3 {
  font-size: 2rem;
  color: var(--text);
}

h4 {
  font-size: 1.5rem;
  color: var(--text);
}

h5 {
  font-size: 1.25rem;
  color: var(--text);
}

h6 {
  font-size: 1.125rem;
  color: var(--text);
}

p {
  margin: 0 0 var(--space-sm) 0;
  color: var(--text);
}

a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Containers and Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-md);
}

/* Section Backgrounds - Neo-Brutalist Approach */
.section {
  padding: var(--space-2xl) 0;
  border: 2px solid var(--border-color);
}

.section:nth-child(odd) {
  background-color: var(--section-1);
}

.section:nth-child(even) {
  background-color: var(--section-2);
}

.section:nth-child(3n) {
  background-color: var(--section-3);
}

.section:nth-child(4n) {
  background-color: var(--section-4);
}

/* Header - Neo-Brutalist Professional */
.header {
  background-color: var(--background);
  border-bottom: 3px solid var(--border-color);
  padding: var(--space-sm) 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  border: 0;
}

.logo:hover {
  color: var(--primary);
  border-bottom: 0;
}

/* Navigation */
.nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.nav a {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-sm);
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav a:hover {
  background-color: var(--secondary);
  color: white;
  border-color: var(--border-color);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.language-switcher a {
  padding: var(--space-xs) var(--space-sm);
  border: 2px solid var(--border-color);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.language-switcher a.active {
  background-color: var(--primary);
  color: white;
}

.language-switcher a:hover {
  background-color: var(--secondary);
  color: white;
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 var(--border-color);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--background);
  border: 3px solid var(--border-color);
  margin-bottom: var(--space-xl);
}

.hero-content h1 {
  margin-bottom: var(--space-md);
  font-size: 4rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons - Neo-Brutalist Style */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--button);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn-primary:hover {
  background-color: var(--primary);
  color: white;
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 var(--border-color);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 var(--border-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  box-shadow: var(--shadow-button);
}

.btn-outline:hover {
  background-color: var(--text);
  color: white;
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 var(--border-color);
}

.btn-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn-accent:hover {
  background-color: #059669;
  color: white;
  transform: translate(-2px, -2px);
  box-shadow: 2px 2px 0 var(--border-color);
}

/* Cards - Neo-Brutalist Professional */
.card {
  background-color: var(--card-bg);
  border: 3px solid var(--border-color);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--border-color);
}

.card h3 {
  margin-bottom: var(--space-sm);
  color: var(--primary);
}

.card p {
  color: var(--text);
  margin-bottom: var(--space-sm);
}

.card img {
  width: 100%;
  height: auto;
  border: 2px solid var(--border-color);
  margin-bottom: var(--space-sm);
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.feature-card {
  text-align: center;
  border: 3px solid var(--border-color);
  padding: var(--space-xl);
  background-color: var(--card-bg);
  box-shadow: var(--shadow-card);
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--border-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-sm);
  background-color: var(--accent);
  border: 3px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Forms - Neo-Brutalist Style */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-sm);
  border: 2px solid var(--border-color);
  font-family: var(--font-primary);
  font-size: 1rem;
  background-color: var(--card-bg);
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 2px 2px 0 var(--border-color);
  transform: translate(-2px, -2px);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer - Dark Neo-Brutalist */
.footer {
  background-color: var(--footer-bg);
  color: white;
  border-top: 3px solid var(--border-color);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer h4 {
  color: var(--secondary);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer p,
.footer a {
  color: #cbd5e1;
  margin-bottom: var(--space-xs);
}

.footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 2px solid #334155;
  padding-top: var(--space-lg);
  text-align: center;
  color: #94a3b8;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-light { color: var(--text-light); }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-light { background-color: var(--section-1); }

.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-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-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.border { border: 2px solid var(--border-color); }
.border-3 { border: 3px solid var(--border-color); }
.rounded { border-radius: var(--radius-md); }
.rounded-sm { border-radius: var(--radius-sm); }
.square { border-radius: var(--radius-none); }

/* Responsive Design */
@media (max-width: 768px) {
  .container,
  .container-fluid {
    padding: 0 var(--space-sm);
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content p {
    font-size: 1.125rem;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .nav {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .features {
    grid-template-columns: 1fr;
  }
  
  .card,
  .feature-card {
    padding: var(--space-md);
  }
  
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
}

/* Focus States for Accessibility */
*:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --border-color: #000000;
    --text: #000000;
    --background: #ffffff;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* 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;
    }
}