:root {
  --primary-color: #5b67ca;
  --primary-dark: #4a55b8;
  --primary-light: #7582d6;
  --text-dark: #1a1a1a;
  --text-gray: #4a5568;
  --text-light: #718096;
  --bg-white: #ffffff;
  --bg-light: #f7fafc;
  --bg-gray: #edf2f7;
  --border-color: #e2e8f0;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text-dark);
  color: var(--bg-white);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  color: var(--bg-white);
  margin: 0;
  font-size: 0.9rem;
}

.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.nav-link {
  color: var(--text-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.hero-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.hero-section h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.page-header {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.content-section {
  padding: 3rem 0;
}

.content-section.bg-light {
  background-color: var(--bg-light);
}

.info-note {
  background: var(--primary-light);
  color: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  margin: 2rem 0;
}

.category-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-card h3 {
  color: var(--primary-color);
  margin: 1rem 0;
}

.glossary-item {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.glossary-item:last-child {
  border-bottom: none;
}

.glossary-item h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.disclaimer-section {
  background: var(--bg-light);
}

.disclaimer-box {
  background: var(--bg-white);
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.disclaimer-box p {
  margin-bottom: 1rem;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

.cta-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
}

.cta-section h2 {
  color: var(--bg-white);
}

.cta-section p {
  color: var(--bg-white);
  opacity: 0.9;
}

.btn {
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-section .btn-primary {
  background-color: var(--bg-white);
  color: var(--primary-color);
  border-color: var(--bg-white);
}

.cta-section .btn-primary:hover {
  background-color: var(--bg-light);
  color: var(--primary-dark);
}

.contact-form {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
}

.form-control {
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(91, 103, 202, 0.25);
}

.contact-info {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 0.75rem;
}

.thank-you-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.cookie-details {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.cookie-details h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffc107;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.alert-warning h2 {
  color: #856404;
  margin-top: 0;
}

.site-footer {
  background-color: var(--text-dark);
  color: var(--bg-white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.site-footer h3,
.site-footer h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-section,
  .content-section,
  .cta-section {
    padding: 2rem 0;
  }

  .page-header {
    padding: 2rem 0 1rem;
  }

  .category-card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .cookie-banner .text-right {
    text-align: left;
    margin-top: 1rem;
  }
}
