/* ================================================
   NEO-BRUTALIST CORPORATE CSS
   Bold & Graphic approach with professional clarity
   ================================================ */

/* CSS Variables - Neo-Brutalist Color System */
:root {
  /* Core Brand Colors */
  --primary-blue: #2563eb;
  --secondary-gray: #64748b;
  --pure-white: #ffffff;
  --footer-dark: #1e293b;
  
  /* Bold Contrast Colors */
  --border-black: #000000;
  --accent-red: #dc2626;
  --accent-orange: #ea580c;
  --bg-light-gray: #f8fafc;
  --bg-medium-gray: #f1f5f9;
  --text-dark: #0f172a;
  --text-medium: #475569;
  
  /* Neo-Brutalist Shadows */
  --shadow-brutal: 4px 4px 0 var(--border-black);
  --shadow-heavy: 6px 6px 0 var(--border-black);
  --shadow-light: 2px 2px 0 var(--border-black);
  
  /* Spacing System */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography Scale */
  --font-xs: 0.75rem;
  --font-sm: 0.875rem;
  --font-base: 1rem;
  --font-lg: 1.125rem;
  --font-xl: 1.25rem;
  --font-2xl: 1.5rem;
  --font-3xl: 1.875rem;
  --font-4xl: 2.25rem;
  --font-5xl: 3rem;
}

/* ================================================
   GLOBAL STYLES
   ================================================ */

/* Reset and Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background-color: var(--pure-white);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: var(--font-base);
  font-weight: 400;
}

/* Bold Typography Hierarchy */
h1, .h1 {
  font-size: var(--font-5xl);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-lg);
  color: var(--text-dark);
}

h2, .h2 {
  font-size: var(--font-4xl);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

h3, .h3 {
  font-size: var(--font-3xl);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

h4, .h4 {
  font-size: var(--font-2xl);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-medium);
  font-weight: 400;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

/* ================================================
   LAYOUT COMPONENTS
   ================================================ */

/* Bold Container System */
.container-brutal {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 640px) {
  .container-brutal {
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .container-brutal {
    padding: 0 var(--space-xl);
  }
}

/* Neo-Brutalist Section Backgrounds */
.section-light {
  background-color: var(--bg-light-gray);
}

.section-white {
  background-color: var(--pure-white);
}

.section-medium {
  background-color: var(--bg-medium-gray);
}

.section-dark {
  background-color: var(--footer-dark);
  color: var(--pure-white);
}

/* ================================================
   BUTTONS - NEO-BRUTALIST STYLE
   ================================================ */

/* Base Button Styling */
.btn-brutal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-weight: 700;
  font-size: var(--font-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid var(--border-black);
  background-color: var(--primary-blue);
  color: var(--pure-white);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: var(--shadow-brutal);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.btn-brutal:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-heavy);
  background-color: #1d4ed8;
  text-decoration: none;
  color: var(--pure-white);
}

.btn-brutal:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-brutal:focus {
  outline: 2px dashed var(--border-black);
  outline-offset: 2px;
}

/* Button Variants */
.btn-secondary {
  background-color: var(--secondary-gray);
  color: var(--pure-white);
}

.btn-secondary:hover {
  background-color: #475569;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-blue);
  border-color: var(--border-black);
}

.btn-outline:hover {
  background-color: var(--primary-blue);
  color: var(--pure-white);
}

.btn-white {
  background-color: var(--pure-white);
  color: var(--text-dark);
  border-color: var(--border-black);
}

.btn-white:hover {
  background-color: var(--bg-light-gray);
}

.btn-danger {
  background-color: var(--accent-red);
  color: var(--pure-white);
}

.btn-danger:hover {
  background-color: #b91c1c;
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-xs);
}

.btn-lg {
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-base);
}

.btn-xl {
  padding: var(--space-xl) var(--space-2xl);
  font-size: var(--font-lg);
}

/* ================================================
   CARDS - NEO-BRUTALIST STYLE
   ================================================ */

.card-brutal {
  background-color: var(--pure-white);
  border: 2px solid var(--border-black);
  border-radius: 0;
  padding: var(--space-xl);
  box-shadow: var(--shadow-brutal);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.card-brutal:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-heavy);
}

.card-brutal-light {
  background-color: var(--bg-light-gray);
}

.card-brutal-dark {
  background-color: var(--footer-dark);
  color: var(--pure-white);
  border-color: var(--border-black);
}

.card-brutal-dark h1,
.card-brutal-dark h2,
.card-brutal-dark h3,
.card-brutal-dark h4 {
  color: var(--pure-white);
}

.card-brutal-dark p {
  color: #cbd5e1;
}

/* Card with Angular Design */
.card-angular {
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
  padding: calc(var(--space-xl) + 10px);
}

.card-angular::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary-blue);
  border-left: 2px solid var(--border-black);
  border-bottom: 2px solid var(--border-black);
}

/* ================================================
   FORMS - NEO-BRUTALIST STYLE
   ================================================ */

.form-brutal {
  max-width: 100%;
}

.form-group-brutal {
  margin-bottom: var(--space-lg);
}

.form-label-brutal {
  display: block;
  font-weight: 700;
  font-size: var(--font-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  color: var(--text-dark);
}

.form-input-brutal {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--border-black);
  border-radius: 0;
  font-size: var(--font-base);
  font-weight: 500;
  background-color: var(--pure-white);
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.form-input-brutal:focus {
  outline: 2px dashed var(--primary-blue);
  outline-offset: -2px;
  background-color: var(--bg-light-gray);
}

.form-select-brutal {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--border-black);
  border-radius: 0;
  font-size: var(--font-base);
  font-weight: 500;
  background-color: var(--pure-white);
  color: var(--text-dark);
  cursor: pointer;
}

.form-textarea-brutal {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--border-black);
  border-radius: 0;
  font-size: var(--font-base);
  font-weight: 500;
  background-color: var(--pure-white);
  color: var(--text-dark);
  resize: vertical;
  min-height: 120px;
}

/* ================================================
   NAVIGATION - NEO-BRUTALIST STYLE
   ================================================ */

.nav-brutal {
  background-color: var(--pure-white);
  border-bottom: 2px solid var(--border-black);
  padding: var(--space-md) 0;
}

.nav-brand {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link-brutal {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  border-radius: 0;
}

.nav-link-brutal:hover {
  background-color: var(--primary-blue);
  color: var(--pure-white);
  border-color: var(--border-black);
  text-decoration: none;
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-brutal);
}

/* Mobile Navigation */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 2px solid var(--border-black);
  padding: var(--space-sm);
  cursor: pointer;
  box-shadow: var(--shadow-brutal);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all 0.2s ease;
}

/* ================================================
   UTILITIES - NEO-BRUTALIST STYLE
   ================================================ */

/* Text Utilities */
.text-brutal {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-outline {
  -webkit-text-stroke: 2px var(--border-black);
  -webkit-text-fill-color: transparent;
}

.text-shadow-brutal {
  text-shadow: 2px 2px 0 var(--border-black);
}

/* Background Utilities */
.bg-stripes {
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      var(--bg-medium-gray) 10px,
      var(--bg-medium-gray) 20px
    );
}

.bg-grid {
  background-image: 
    linear-gradient(var(--border-black) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-black) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: -1px -1px;
}

/* Border Utilities */
.border-brutal {
  border: 2px solid var(--border-black);
  border-radius: 0;
}

.border-thick {
  border-width: 4px;
}

/* ================================================
   ANIMATIONS & INTERACTIONS
   ================================================ */

/* Bold Hover Effects */
.hover-lift:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-heavy);
}

.hover-tilt:hover {
  transform: rotate(-1deg) translate(-2px, -2px);
}

/* Stagger Animation for Lists */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

/* Mobile First Approach */
@media (max-width: 639px) {
  .container-brutal {
    padding: 0 var(--space-sm);
  }
  
  h1, .h1 {
    font-size: var(--font-4xl);
  }
  
  h2, .h2 {
    font-size: var(--font-3xl);
  }
  
  .card-brutal {
    padding: var(--space-lg);
  }
  
  .btn-brutal {
    width: 100%;
    justify-content: center;
  }
  
  .nav-link-brutal {
    padding: var(--space-sm);
    font-size: var(--font-xs);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container-brutal {
    padding: 0 var(--space-lg);
  }
}

@media (min-width: 1024px) {
  .container-brutal {
    max-width: 1200px;
    padding: 0 var(--space-xl);
  }
  
  .grid-brutal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
  }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */

/* Focus Management */
*:focus {
  outline: 2px dashed var(--border-black);
  outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  :root {
    --border-black: #000000;
    --pure-white: #ffffff;
    --text-dark: #000000;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hover-lift:hover,
  .hover-tilt:hover {
    transform: none;
  }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
  .btn-brutal,
  .card-brutal {
    border: 2px solid var(--text-dark);
    box-shadow: none;
  }
  
  .nav-brutal {
    border-bottom: 2px solid var(--text-dark);
  }
}

/* ================================================
   DARK MODE SUPPORT
   ================================================ */

@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #f8fafc;
    --text-medium: #cbd5e1;
    --pure-white: #0f172a;
    --bg-light-gray: #1e293b;
    --bg-medium-gray: #334155;
    --border-black: #f8fafc;
  }
  
  .card-brutal {
    background-color: var(--pure-white);
  }
  
  .section-dark {
    background-color: var(--bg-medium-gray);
  }
}


/* 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;
    }
}