:root {
  /* Core color palette - Bold & Graphic Neo-Brutalism inspired */
  --primary-color: #2563eb;
  --secondary-color: #64748b;
  --accent-color: #dc2626;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --background-primary: #ffffff;
  --background-secondary: #f8fafc;
  --background-tertiary: #f1f5f9;
  --footer-bg: #1e293b;
  --border-black: #000000;
  --border-gray: #e2e8f0;

  /* Typography - Strong and bold */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  
  /* Spacing system */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;

  /* Border system - Sharp with brutal edges */
  --border-radius-sharp: 0;
  --border-radius-soft: 4px;
  --border-width: 2px;

  /* Shadow system - Bold and offset */
  --shadow-sm: 2px 2px 0 var(--border-black);
  --shadow-md: 4px 4px 0 var(--border-black);
  --shadow-lg: 6px 6px 0 var(--border-black);

  /* Typography scale */
  --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;
}

/* 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-primary);
  color: var(--text-primary);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography hierarchy with bold impact */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 800;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin: 0 0 var(--space-md) 0;
  font-size: var(--text-base);
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

a:hover {
  border-bottom-color: var(--primary-color);
}

a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Container and layout - Override Tailwind constraints */
.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: var(--space-md) !important;
  padding-right: var(--space-md) !important;
  margin: 0 auto;
}

.container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-width sections for immersive experience */
.section-full {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: var(--space-2xl) 0;
}

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
}

/* Section backgrounds with high contrast */
.section-alt {
  background-color: var(--background-secondary);
}

.section-alt-2 {
  background-color: var(--background-tertiary);
}

.section-dark {
  background-color: var(--footer-bg);
  color: white;
}

/* Bold Button System - Neo-Brutalism style */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border: var(--border-width) solid var(--border-black);
  border-radius: var(--border-radius-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transform: translate(0, 0);
}

.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

.btn:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--border-black);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
  border-color: var(--border-black);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lg);
}

.btn-small {
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-sm);
}

/* Card system with bold borders and shadows */
.card {
  background-color: white;
  border: var(--border-width) solid var(--border-black);
  border-radius: var(--border-radius-soft);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  border-bottom: 2px solid var(--border-gray);
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
}

.card-body {
  margin-bottom: var(--space-md);
}

.card-footer {
  border-top: 2px solid var(--border-gray);
  padding-top: var(--space-md);
}

.card-elevated {
  box-shadow: var(--shadow-lg);
}

.card-flat {
  box-shadow: none;
  border-width: 1px;
}

/* Navigation - Bold and graphic */
.navbar {
  background-color: var(--background-primary);
  border-bottom: var(--border-width) solid var(--border-black);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  border: none;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.nav-link {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: var(--text-sm);
  border: 2px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--border-black);
}

.nav-link.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--border-black);
}

/* Forms - Bold and clean */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: var(--space-sm);
  border: var(--border-width) solid var(--border-black);
  border-radius: var(--border-radius-soft);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  background-color: white;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 2px 2px 0 var(--primary-color);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  width: 100%;
  padding: var(--space-sm);
  border: var(--border-width) solid var(--border-black);
  border-radius: var(--border-radius-soft);
  font-size: var(--text-base);
  background-color: white;
  cursor: pointer;
}

/* Alert system */
.alert {
  padding: var(--space-md);
  border: var(--border-width) solid var(--border-black);
  border-radius: var(--border-radius-soft);
  margin-bottom: var(--space-lg);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.alert-success {
  background-color: #10b981;
  color: white;
  border-color: var(--border-black);
}

.alert-warning {
  background-color: #f59e0b;
  color: white;
  border-color: var(--border-black);
}

.alert-error {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--border-black);
}

.alert-info {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--border-black);
}

/* Grid system overrides for full-width experience */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--space-md) * -0.5);
}

.col {
  flex: 1;
  padding: 0 calc(var(--space-md) * 0.5);
}

/* Utility classes */
.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(--text-secondary); }
.text-bold { font-weight: 700; }
.text-uppercase { text-transform: uppercase; }
.text-lowercase { text-transform: lowercase; }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--background-secondary); }
.bg-dark { background-color: var(--footer-bg); }

.border-black { border: var(--border-width) solid var(--border-black); }
.border-gray { border: 1px solid var(--border-gray); }

.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Hero section styles */
.hero-title {
  font-size: var(--text-6xl, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: white;
  border-top: var(--border-width) solid var(--border-black);
  padding: var(--space-2xl) 0 var(--space-lg) 0;
  margin-top: auto;
}

.footer-content {
  padding: 0 var(--space-md);
}

.footer-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.footer-text {
  color: #cbd5e1;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
  border-bottom: 1px solid white;
}

/* Responsive design */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.75rem;
  }
  
  .container {
    padding-left: var(--space-sm) !important;
    padding-right: var(--space-sm) !important;
  }
  
  .hero-title {
    font-size: var(--text-4xl);
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  .card {
    padding: var(--space-md);
  }
  
  .row {
    margin: 0 calc(var(--space-sm) * -0.5);
  }
  
  .col {
    padding: 0 calc(var(--space-sm) * 0.5);
  }
}

@media (max-width: 480px) {
  :root {
    --space-2xl: 2rem;
    --text-5xl: 2rem;
  }
  
  .section-full {
    padding: var(--space-lg) 0;
  }
  
  .section-hero {
    min-height: 80vh;
    padding: var(--space-lg) 0;
  }
}

/* Print styles */
@media print {
  .btn, .navbar, footer {
    display: none !important;
  }
  
  .card {
    border: 1px solid #000;
    box-shadow: none;
    break-inside: avoid;
  }
}

/* Focus management for accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background-color: var(--primary-color);
  color: white;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--text-secondary);
  border: 1px solid var(--border-black);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}


/* 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;
    }
}