:root {
  --primary-color: #2563EB;
  --secondary-color: #64748B;
  --background-color: #FFFFFF;
  --footer-bg-color: #374151;
  --button-color: #2563EB;
  --section-bg-light: #F8FAFC;
  --section-bg-white: #FFFFFF;
  --section-bg-medium: #F1F5F9;
  
  --border-radius: 0.375rem;
  --border-radius-sm: 0.25rem;
  --border-radius-lg: 0.5rem;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: #1f2937;
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 1rem 0;
  color: #111827;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin: 0 0 1rem 0;
  line-height: 1.6;
  color: #4b5563;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

ul, ol {
  padding-left: 1.5rem;
  margin: 0 0 1rem 0;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  outline: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--button-color);
  color: white;
  border: 1px solid var(--button-color);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:focus {
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid #d1d5db;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }
}

.card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid #e5e7eb;
  padding: 2rem;
  transition: all var(--transition-normal);
}

.card:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-md);
}

.card-header {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.card-body {
  padding: 0;
}

.card-footer {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  line-height: 1.5;
  background-color: white;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.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 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.75rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.form-checkbox, .form-radio {
  width: 1rem;
  height: 1rem;
  color: var(--primary-color);
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.form-checkbox:focus, .form-radio:focus {
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.navbar {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navbar-link {
  color: #6b7280;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.navbar-link:hover {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom-color: var(--primary-color);
}

.navbar-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.alert-success {
  background-color: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.alert-warning {
  background-color: #fffbeb;
  border-color: #fde047;
  color: #a16207;
}

.alert-error {
  background-color: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.alert-info {
  background-color: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--section-bg-light);
}

.section-medium {
  background-color: var(--section-bg-medium);
}

.section-dark {
  background-color: var(--footer-bg-color);
  color: white;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: white;
}

.section-dark p {
  color: #d1d5db;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge-primary {
  background-color: rgb(37 99 235 / 0.1);
  color: var(--primary-color);
}

.badge-secondary {
  background-color: rgb(100 116 139 / 0.1);
  color: var(--secondary-color);
}

.badge-success {
  background-color: rgb(34 197 94 / 0.1);
  color: #16a34a;
}

.badge-warning {
  background-color: rgb(245 158 11 / 0.1);
  color: #d97706;
}

.badge-error {
  background-color: rgb(239 68 68 / 0.1);
  color: #dc2626;
}

.table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table th {
  background-color: #f9fafb;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #6b7280;
}

.table tbody tr:hover {
  background-color: #f9fafb;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.divider {
  height: 1px;
  background-color: #e5e7eb;
  margin: 2rem 0;
}

.hero {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--section-bg-light) 0%, var(--section-bg-medium) 100%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto 2rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
}

.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;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: var(--border-radius);
  z-index: 100;
}

.skip-link:focus {
  top: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

::selection {
  background-color: rgb(37 99 235 / 0.2);
  color: #111827;
}

::-moz-selection {
  background-color: rgb(37 99 235 / 0.2);
  color: #111827;
}


/* 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;
    }
}