:root {
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --background-color: #ffffff;
  --footer-bg: #1e293b;
  --button-color: #2563eb;
  --section-bg-1: #ffffff;
  --section-bg-2: #f8fafc;
  --section-bg-3: #f1f5f9;
  --text-color: #0f172a;
  --text-secondary: #475569;
  --border-color: #000000;
  --shadow-offset: 4px;
  --border-width: 2px;
  --border-radius: 0px;
  --border-radius-small: 4px;
  
  /* Typography scale */
  --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-display: 'Poppins', 'Inter', sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography hierarchy with Neo-Brutalism influence */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: var(--text-color);
  letter-spacing: -0.025em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
  letter-spacing: -0.05em;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 700;
}

h3 {
  font-size: var(--text-3xl);
  font-weight: 600;
}

h4 {
  font-size: var(--text-2xl);
  font-weight: 600;
}

h5 {
  font-size: var(--text-xl);
  font-weight: 600;
}

h6 {
  font-size: var(--text-lg);
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-4) 0;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

/* Container system with brutalist influence */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-6);
}

/* Neo-Brutalist Card System */
.card {
  background-color: var(--section-bg-1);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #000;
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  transition: all 0.2s ease;
}

.card:hover {
  transform: translate(2px, 2px);
  box-shadow: calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0 #000;
}

.card-elevated {
  background-color: var(--section-bg-2);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #000;
}

.card-alt {
  background-color: var(--section-bg-3);
  border-radius: var(--border-radius-small);
}

.card-header {
  border-bottom: var(--border-width) solid var(--border-color);
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
}

/* Section backgrounds with high contrast */
.section {
  padding: var(--space-16) 0;
}

.section-light {
  background-color: var(--section-bg-2);
}

.section-dark {
  background-color: var(--section-bg-3);
}

.section-alt {
  background-color: var(--section-bg-1);
}

/* Neo-Brutalist Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  text-decoration: none;
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #000;
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: calc(var(--shadow-offset) - 2px) calc(var(--shadow-offset) - 2px) 0 #000;
  text-decoration: none;
}

.btn:active {
  transform: translate(var(--shadow-offset), var(--shadow-offset));
  box-shadow: none;
}

.btn-primary {
  background-color: var(--button-color);
  color: white;
  border-color: var(--border-color);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: #475569;
  color: white;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
  font-weight: 700;
}

.btn-small {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

/* Header with brutalist elements */
.header {
  background-color: var(--section-bg-1);
  border-bottom: var(--border-width) solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--space-2) var(--space-2) 0 #000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.logo {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-color);
  text-decoration: none;
  border: var(--border-width) solid var(--border-color);
  padding: var(--space-2) var(--space-4);
  background-color: var(--primary-color);
  color: white;
}

.nav {
  display: flex;
  gap: var(--space-6);
}

.nav-link {
  font-weight: 600;
  color: var(--text-color);
  padding: var(--space-2) var(--space-4);
  border: var(--border-width) solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--border-color);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #000;
}

/* Hero section with brutalist impact */
.hero {
  padding: var(--space-24) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--section-bg-1) 0%, var(--section-bg-2) 100%);
  border-bottom: var(--border-width) solid var(--border-color);
}

.hero h1 {
  margin-bottom: var(--space-6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Grid system with brutalist structure */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(-1 * var(--space-3));
}

.col {
  flex: 1;
  padding: 0 var(--space-3);
}

.col-1 { flex: 0 0 8.333333%; }
.col-2 { flex: 0 0 16.666667%; }
.col-3 { flex: 0 0 25%; }
.col-4 { flex: 0 0 33.333333%; }
.col-5 { flex: 0 0 41.666667%; }
.col-6 { flex: 0 0 50%; }
.col-7 { flex: 0 0 58.333333%; }
.col-8 { flex: 0 0 66.666667%; }
.col-9 { flex: 0 0 75%; }
.col-10 { flex: 0 0 83.333333%; }
.col-11 { flex: 0 0 91.666667%; }
.col-12 { flex: 0 0 100%; }

/* Form elements with brutalist styling */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-color);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-3);
  font-family: var(--font-primary);
  font-size: var(--text-base);
  border: var(--border-width) solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--section-bg-1);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 transparent;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--primary-color);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer with dark brutalist styling */
.footer {
  background-color: var(--footer-bg);
  color: white;
  border-top: var(--border-width) solid var(--border-color);
  padding: var(--space-16) 0 var(--space-8) 0;
}

.footer h4 {
  color: white;
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.footer p,
.footer a {
  color: #cbd5e1;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: var(--border-width) solid var(--border-color);
  padding-top: var(--space-6);
  margin-top: var(--space-8);
  text-align: center;
  color: #94a3b8;
}

/* Utility classes with brutalist influence */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-dark { color: var(--text-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--section-bg-2); }
.bg-dark { background-color: var(--section-bg-3); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }

/* Border utilities */
.border { border: var(--border-width) solid var(--border-color); }
.border-top { border-top: var(--border-width) solid var(--border-color); }
.border-bottom { border-bottom: var(--border-width) solid var(--border-color); }
.border-left { border-left: var(--border-width) solid var(--border-color); }
.border-right { border-right: var(--border-width) solid var(--border-color); }

.rounded { border-radius: var(--border-radius-small); }
.rounded-none { border-radius: var(--border-radius); }

/* Shadow utilities */
.shadow-brutal {
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 #000;
}

.shadow-brutal-lg {
  box-shadow: calc(var(--shadow-offset) * 2) calc(var(--shadow-offset) * 2) 0 #000;
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .nav {
    gap: var(--space-3);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    padding: var(--space-16) 0;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  h1 {
    font-size: var(--text-4xl);
  }
  
  .row {
    margin: 0;
  }
  
  .col {
    padding: 0;
    margin-bottom: var(--space-4);
  }
  
  [class*="col-"] {
    flex: 0 0 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }
  
  .card {
    padding: var(--space-4);
  }
  
  .section {
    padding: var(--space-12) 0;
  }
  
  .hero {
    padding: var(--space-12) 0;
  }
  
  h1 {
    font-size: var(--text-3xl);
  }
}

/* Focus states for accessibility */
.btn:focus,
.form-input:focus,
.form-textarea:focus,
.form-select:focus,
.nav-link:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-width: 3px;
    --shadow-offset: 6px;
  }
  
  .card {
    border-width: 3px;
  }
  
  .btn {
    border-width: 3px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}


/* 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;
    }
}