:root {
  --primary-color: #dc3545;
  --primary-dark: #c82333;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --text-color: #333333;
  --border-color: #dee2e6;
}

* {
  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-color);
  line-height: 1.6;
}

.site-header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
}

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

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

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

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

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

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
}

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

.features {
  background: var(--white);
}

.feature-box {
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  font-weight: 700;
}

.feature-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.product-card {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-card img {
  height: 250px;
  object-fit: cover;
}

.product-card .card-title {
  font-weight: 700;
  color: var(--dark-color);
}

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

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

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

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

.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  font-size: 1.25rem;
  opacity: 0.9;
}

.contact-info-box {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.contact-form-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

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

.thank-you-box {
  background: var(--white);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background-color: #28a745;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto;
  font-weight: 700;
}

.legal-content {
  font-size: 0.95rem;
}

.legal-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  margin-bottom: 1rem;
}

.legal-sidebar {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: 8px;
  position: sticky;
  top: 100px;
}

.legal-sidebar h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.legal-sidebar ul li {
  margin-bottom: 0.5rem;
}

.legal-sidebar ul li a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-sidebar ul li a:hover,
.legal-sidebar ul li a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.site-footer {
  margin-top: 4rem;
}

.site-footer h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-color);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-banner h5 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.cookie-banner p {
  font-size: 0.9rem;
}

.cookie-banner a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-settings-content {
  background: var(--white);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-settings-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-settings-header h4 {
  margin: 0;
  font-weight: 700;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--secondary-color);
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: var(--dark-color);
}

.cookie-settings-body {
  padding: 1.5rem;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  gap: 1rem;
}

.cookie-category h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cookie-category p {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin: 0;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: 0.3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--primary-color);
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

input:disabled + .cookie-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-settings-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: right;
}

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .cookie-banner .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .legal-sidebar {
    position: static;
    margin-top: 2rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2rem 0;
  }

  .feature-box {
    padding: 1rem;
  }

  .thank-you-box {
    padding: 2rem 1rem;
  }
}
