:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #1e293b;
  --accent-color: #a78bfa;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --background: #ffffff;
  --background-light: #f8fafc;
  --border-color: #e2e8f0;
  --success-color: #10b981;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

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

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

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 500;
}

.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);
}

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

.btn-outline-light {
  color: white;
  border-color: white;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.main-header {
  background-color: var(--background);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 1rem 0;
}

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

.navbar-nav .nav-link {
  color: var(--text-dark);
  margin-left: 1rem;
  transition: color 0.3s;
}

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

.dropdown-menu {
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  color: var(--text-dark);
}

.dropdown-item:hover {
  background-color: var(--background-light);
  color: var(--primary-color);
}

.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(167, 139, 250, 0.1) 100%);
}

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

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  height: auto;
}

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

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 300px;
  margin-bottom: 2rem;
  cursor: pointer;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.category-card:hover .category-image {
  transform: scale(1.05);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-overlay h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.category-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.benefit-card {
  padding: 2rem;
  background-color: var(--background);
  border-radius: 8px;
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid var(--border-color);
}

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

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.categories {
  background-color: var(--background);
}

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

.cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.product-category-block {
  background-color: var(--background);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s;
}

.product-category-block:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.category-banner {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category-content {
  padding: 2rem;
}

.category-content h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.category-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.feature-text {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 1rem;
}

.product-card {
  background-color: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--background-light);
}

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h5 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.product-description {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex: 1;
}

.product-badge {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--secondary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
  width: fit-content;
}

.educational-content {
  background-color: var(--background-light);
  border-radius: 8px;
  padding: 3rem 0;
}

.educational-content h2 {
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.educational-content h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.educational-content p {
  color: var(--text-light);
  line-height: 1.7;
}

.contact-form {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-form .form-control {
  border-color: var(--border-color);
  border-radius: 4px;
}

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

.contact-details {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.contact-details h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-details p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.thank-you-section {
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.thank-you-content {
  width: 100%;
}

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

.thank-you-content h1 {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.thank-you-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.quick-links a {
  color: var(--primary-color);
  margin: 0 0.5rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
}

.legal-text {
  color: var(--text-light);
  line-height: 1.8;
}

.legal-text h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.legal-text ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

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

.legal-text p {
  margin-bottom: 1rem;
  text-align: justify;
}

.value-card {
  padding: 2rem;
  background-color: var(--background-light);
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.value-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

.about-content {
  background-color: var(--background);
}

.about-content h2 {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact-info {
  background-color: var(--background-light);
}

.contact-info h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-info p,
.contact-info a {
  color: var(--text-light);
}

.main-footer {
  background-color: var(--secondary-color);
  color: white;
  margin-top: auto;
}

.main-footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

.main-footer p,
.main-footer a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.main-footer a:hover {
  color: var(--accent-color);
}

.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;
}

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

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

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

.footer-nav a:hover {
  color: var(--accent-color);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  color: white;
  padding: 1.5rem;
  border-top: 3px solid var(--primary-color);
  display: none;
  z-index: 1000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

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

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-content h4 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.cookie-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-buttons .btn {
  margin-bottom: 0;
}

.cookie-link {
  color: var(--accent-color);
  text-decoration: underline;
  font-size: 0.9rem;
  white-space: nowrap;
}

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

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

  .category-card {
    height: 250px;
  }

  .product-card {
    margin-bottom: 2rem;
  }

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

  .footer-nav {
    gap: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-details {
    margin-top: 2rem;
    padding: 1.5rem;
  }
}

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

  .hero-title {
    font-size: 1.5rem;
  }

  .categories {
    padding: 2rem 0;
  }

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

  .product-category-block {
    margin-bottom: 1.5rem;
  }

  .category-content {
    padding: 1.5rem;
  }

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