:root {
  /* Design System Colors */
  --color-primary: #2563eb;
  --color-secondary: #059669;
  --color-background: #ffffff;
  --color-footer: #1f2937;
  --color-button: #2563eb;
  
  /* Section Backgrounds */
  --color-section-1: #ffffff;
  --color-section-2: #f8fafc;
  --color-section-3: #ffffff;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-pill: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: #374151;
  background-color: var(--color-background);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elegant Typography with Serif Headings */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
  margin-bottom: var(--space-md);
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--space-sm);
}

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

a:hover {
  color: #1d4ed8;
}

a:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Minimal Section Management */
.section-alt {
  background-color: var(--color-section-2);
}

.section-primary {
  background-color: var(--color-section-3);
}

/* Spacious Layout Container */
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

/* Pill-Shaped Buttons & Links */
.btn-primary {
  background-color: var(--color-button);
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  padding: var(--space-sm) var(--space-xl);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
  box-shadow: var(--shadow-subtle);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-pill);
  padding: calc(var(--space-sm) - 2px) calc(var(--space-xl) - 2px);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: white;
  transform: translateY(-1px);
}

/* Underlined Links for Navigation */
.link-underlined {
  position: relative;
  color: #374151;
  font-weight: 500;
  padding-bottom: 2px;
}

.link-underlined::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.2s ease;
}

.link-underlined:hover::after,
.link-underlined:focus::after {
  width: 100%;
}

.link-underlined:hover {
  color: var(--color-primary);
}

/* Cards with Minimal Borders */
.card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
  border: 1px solid #f3f4f6;
}

.card:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.card-alt {
  background-color: var(--color-section-2);
}

.card-compact {
  padding: var(--space-lg);
}

/* Minimal Grid System */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
}

.form-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
  background-color: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-sm) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-2xl);
}

/* Header Styles */
.header {
  background-color: white;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.nav {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  align-items: center;
}

/* Footer Styles */
.footer {
  background-color: var(--color-footer);
  color: #d1d5db;
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-content {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.footer-section h3 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: var(--space-sm);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--space-xs);
}

.footer-section ul li a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-section-1) 0%, var(--color-section-2) 100%);
}

.hero h1 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.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-0 { margin-top: 0; }
.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); }

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-muted { color: #6b7280; }
.text-white { color: white; }

.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-white { background-color: white; }
.bg-gray { background-color: var(--color-section-2); }

/* Responsive Design */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .header-content {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .nav {
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: var(--space-2xl) 0;
  }
  
  .card {
    padding: var(--space-lg);
  }
  
  .card-compact {
    padding: var(--space-md);
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    padding: 0 var(--space-sm);
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .card {
    padding: var(--space-md);
  }
}

/* Accessibility & Focus States */
*:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Smooth Scrolling for Navigation */
html {
  scroll-padding-top: 80px;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}


/* 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;
    }
}