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

:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #f3f4f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
}

html,
body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 600;
}

p {
  color: var(--text-light);
}

.text-muted {
  color: var(--text-light) !important;
}

.text-sm {
  font-size: 0.875rem;
}

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

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

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.navbar {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.nav-link {
  color: var(--text-dark) !important;
  margin-left: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link.active {
  color: var(--primary-color) !important;
}

.hero-section {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-section h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

.page-header {
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--border-color);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-card .card-body {
  display: flex;
  flex-direction: column;
}

.product-card .btn {
  margin-top: auto;
}

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

.form-control {
  border-color: var(--border-color);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.cookie-banner p {
  margin-bottom: 0;
}

.cookie-banner a {
  color: var(--primary-color);
  font-weight: 600;
}

footer {
  background-color: #1f2937;
  border-top: 1px solid var(--border-color);
}

footer a {
  color: #9ca3af;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
}

footer h5 {
  color: white;
}

.shadow-lg {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

.rounded-lg {
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .cookie-banner {
    position: relative;
    margin-top: 2rem;
  }

  .cookie-banner .row {
    flex-direction: column;
  }

  .cookie-banner .col-md-4 {
    text-align: left !important;
    margin-top: 1rem;
  }

  .cookie-banner .col-md-4:first-child {
    margin-top: 0;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
}
