:root {
  /* Color System - Clean Corporate Palette */
  --primary-color: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary-color: #DBEAFE;
  --background-white: #FFFFFF;
  --footer-dark: #1F2937;
  --button-primary: #1D4ED8;
  
  /* Section Backgrounds */
  --section-light: #F8FAFC;
  --section-white: #FFFFFF;
  --section-gray: #F1F5F9;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  --font-secondary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  
  /* Spacing System */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: #1F2937;
  background-color: var(--background-white);
  margin: 0;
  padding: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Typography System */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  color: #111827;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
}

h5 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
}

p {
  margin: 0 0 var(--spacing-md) 0;
  line-height: 1.7;
  color: #4B5563;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Layout Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-light {
  background-color: var(--section-light);
}

.section-white {
  background-color: var(--section-white);
}

.section-gray {
  background-color: var(--section-gray);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(-1 * var(--spacing-sm));
}

.col {
  flex: 1;
  padding: 0 var(--spacing-sm);
}

.col-12 { flex: 0 0 100%; }
.col-6 { flex: 0 0 50%; }
.col-4 { flex: 0 0 33.333%; }
.col-3 { flex: 0 0 25%; }

/* Card System */
.card {
  background: var(--background-white);
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.card-elevated {
  box-shadow: var(--shadow-md);
}

.card-elevated:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-header {
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.card-title {
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.card-subtitle {
  font-size: 0.875rem;
  color: #6B7280;
  margin-top: var(--spacing-xs);
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--button-primary);
  color: white;
  border-color: var(--button-primary);
}

.btn-primary:hover:not(:disabled) {
  background-color: #1E40AF;
  border-color: #1E40AF;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: #4B5563;
  border-color: #D1D5DB;
}

.btn-outline:hover:not(:disabled) {
  background-color: #F9FAFB;
  border-color: #9CA3AF;
  color: #374151;
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1rem;
}

.btn-sm {
  padding: calc(var(--spacing-xs) + 1px) var(--spacing-md);
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

/* Form Elements */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: var(--spacing-sm);
}

.form-control {
  display: block;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid #D1D5DB;
  border-radius: var(--radius-md);
  background-color: var(--background-white);
  font-family: var(--font-primary);
  font-size: 0.875rem;
  line-height: 1.25;
  color: #111827;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
  color: #9CA3AF;
}

select.form-control {
  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(--spacing-sm) center;
  background-repeat: no-repeat;
  background-size: 16px 12px;
  padding-right: var(--spacing-xl);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Header Styles */
.header {
  background-color: var(--background-white);
  border-bottom: 1px solid #E5E7EB;
  padding: var(--spacing-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4B5563;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #4B5563;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--section-light) 0%, var(--section-white) 100%);
  padding: var(--spacing-3xl) 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.125rem;
  color: #6B7280;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Feature Cards */
.features {
  padding: var(--spacing-3xl) 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg) auto;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  color: #6B7280;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: var(--footer-dark);
  color: white;
  padding: var(--spacing-2xl) 0 var(--spacing-lg) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-section p,
.footer-section a {
  color: #D1D5DB;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-section a:hover {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: var(--spacing-lg);
  text-align: center;
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* 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: #6B7280; }
.text-success { color: #059669; }
.text-danger { color: #DC2626; }
.text-warning { color: #D97706; }

.bg-primary { background-color: var(--primary-color); }
.bg-light { background-color: var(--section-light); }
.bg-white { background-color: var(--background-white); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.p-0 { padding: 0; }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

/* Responsive Design */
@media (max-width: 768px) {
  .container,
  .container-wide {
    padding: 0 var(--spacing-md);
  }
  
  .nav {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .col-6,
  .col-4,
  .col-3 {
    flex: 0 0 100%;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .card {
    padding: var(--spacing-lg);
  }
  
  .hero {
    padding: var(--spacing-2xl) 0;
  }
  
  .btn {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

/* Focus and Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .nav-toggle {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .section {
    padding: 0;
    break-inside: avoid;
  }
  
  .card {
    border: 1px solid #ccc;
    box-shadow: none;
    break-inside: avoid;
  }
}


/* 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;
    }
}