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

:root {
  --primary-purple: #8b7ba8;
  --secondary-grey: #4a4a4a;
  --light-grey: #f5f5f7;
  --dark-grey: #2c2c2e;
  --white: #ffffff;
}

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

.navbar {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #6b5b7b 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.navbar-brand:hover {
  color: var(--white);
  opacity: 0.9;
}

.navbar-nav .nav-link {
  color: var(--white);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: opacity 0.3s ease;
}

.navbar-nav .nav-link:hover {
  opacity: 0.8;
  color: var(--white);
}

.navbar-toggler {
  border-color: var(--white);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 123, 168, 0.85) 0%, rgba(74, 74, 74, 0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--light-grey);
}

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

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-purple);
}

.content-block {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.content-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #6b5b7b 100%);
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 123, 168, 0.4);
  background: linear-gradient(135deg, #6b5b7b 0%, var(--primary-purple) 100%);
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
}

.product-category {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-purple) 0%, #9b8bb8 100%);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.ingredients-block {
  background-color: var(--light-grey);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.ingredients-title {
  font-weight: 600;
  color: var(--secondary-grey);
  margin-bottom: 0.5rem;
}

.routine-fit {
  border-left: 4px solid var(--primary-purple);
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: var(--secondary-grey);
}

footer {
  background: linear-gradient(135deg, var(--dark-grey) 0%, var(--secondary-grey) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

footer ul {
  list-style: none;
  padding: 0;
}

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

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

footer a:hover {
  opacity: 0.8;
  color: var(--white);
}

.disclaimer-box {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
}

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

.form-control:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(139, 123, 168, 0.25);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--dark-grey) 0%, var(--secondary-grey) 100%);
  color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: none;
}

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

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-accept {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #6b5b7b 100%);
  border: none;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-accept:hover {
  transform: translateY(-2px);
}

.btn-decline {
  background: transparent;
  border: 2px solid var(--white);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-section {
    height: 400px;
  }

  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .btn-accept,
  .btn-decline {
    flex: 1;
  }
}
