:root {
  /* Neo-Brutalism Color Palette */
  --primary: #3B82F6;
  --primary-dark: #2563EB;
  --secondary: #10B981;
  --secondary-dark: #059669;
  --background: #FFFFFF;
  --footer-bg: #1F2937;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --black: #000000;
  --white: #FFFFFF;
  
  /* Section backgrounds for high contrast */
  --section-1: #FFFFFF;
  --section-2: #F8FAFC;
  --section-3: #FEF3C7;
  --section-4: #E0E7FF;
  
  /* Typography Scale */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing Scale - Generous for Brutalism */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Border and Shadow System */
  --border-bold: 3px;
  --shadow-offset: 4px;
  --shadow-color: #000000;
  
  /* Border Radius - Sharp with slight rounding options */
  --radius-sharp: 0;
  --radius-slight: 4px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--background);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.025em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

h3 {
  font-size: 2rem;
  font-weight: 700;
}

h4 {
  font-size: 1.5rem;
  font-weight: 700;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1.125rem;
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-md) 0;
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Neo-Brutalism Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: var(--border-bold) solid var(--black);
  cursor: pointer;
  transition: all 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: calc(var(--shadow-offset) + 1px) calc(var(--shadow-offset) + 1px) 0 var(--shadow-color);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
}

.btn-secondary:hover {
  background: var(--secondary-dark);
  color: var(--white);
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: calc(var(--shadow-offset) + 1px) calc(var(--shadow-offset) + 1px) 0 var(--shadow-color);
}

.btn-outline {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: calc(var(--shadow-offset) + 1px) calc(var(--shadow-offset) + 1px) 0 var(--shadow-color);
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
}

.btn-small {
  padding: var(--space-xs) var(--space-sm);
  font-size: 0.875rem;
}

/* Neo-Brutalism Cards */
.card {
  background: var(--white);
  border: var(--border-bold) solid var(--black);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
  padding: var(--space-lg);
  transition: all 0.2s ease;
  position: relative;
}

.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0 var(--shadow-color);
}

.card-elevated {
  background: var(--section-2);
  border: var(--border-bold) solid var(--black);
  box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0 var(--shadow-color);
}

.card-accent {
  background: var(--section-4);
  border: var(--border-bold) solid var(--black);
  box-shadow: calc(var(--shadow-offset) + 1px) calc(var(--shadow-offset) + 1px) 0 var(--shadow-color);
}

.card-warm {
  background: var(--section-3);
  border: var(--border-bold) solid var(--black);
  box-shadow: calc(var(--shadow-offset) + 1px) calc(var(--shadow-offset) + 1px) 0 var(--shadow-color);
}

/* Form Elements - Neo-Brutalism Style */
.form-group {
  margin-bottom: var(--space-md);
}

label {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

input, textarea, select {
  width: 100%;
  padding: var(--space-sm);
  border: var(--border-bold) solid var(--black);
  background: var(--white);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  background: var(--section-2);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* High Contrast Sections */
.section {
  padding: var(--space-2xl) 0;
}

.section:nth-child(even) {
  background: var(--section-2);
}

.section:nth-child(3n) {
  background: var(--section-3);
}

.section:nth-child(4n) {
  background: var(--section-4);
}

.section-white {
  background: var(--section-1);
}

.section-light {
  background: var(--section-2);
}

.section-warm {
  background: var(--section-3);
}

.section-accent {
  background: var(--section-4);
}

/* Header and Footer */
.header {
  background: var(--white);
  border-bottom: var(--border-bold) solid var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 var(--shadow-offset) 0 var(--shadow-color);
}

.footer {
  background: var(--footer-bg);
  color: var(--white);
  border-top: var(--border-bold) solid var(--black);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-2xl);
}

/* Grid System Overrides for Neo-Brutalism */
.grid-brutal {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex-brutal {
  display: flex;
  gap: var(--space-md);
  align-items: stretch;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 800;
}

.font-black {
  font-weight: 900;
}

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.capitalize {
  text-transform: capitalize;
}

/* Visual Hierarchy Utilities */
.spacer-lg {
  height: var(--space-2xl);
}

.spacer-xl {
  height: 4rem;
}

.divider-bold {
  height: var(--border-bold);
  background: var(--black);
  margin: var(--space-lg) 0;
  border: none;
}

/* Focus States for Accessibility */
*:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Animations - Subtle but noticeable */
@keyframes bounce-brutal {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0, -4px, 0);
  }
  70% {
    transform: translate3d(0, -2px, 0);
  }
  90% {
    transform: translate3d(0, -1px, 0);
  }
}

.bounce-on-hover:hover {
  animation: bounce-brutal 1s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .grid-brutal {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .flex-brutal {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
}

/* Dark mode considerations */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --background: #111827;
    --section-1: #111827;
    --section-2: #1F2937;
  }
}

/* Print Styles */
@media print {
  .btn, .card {
    box-shadow: none;
    border: 2px solid var(--black);
  }
  
  .header, .footer {
    box-shadow: none;
  }
}


/* 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;
    }
}