:root {
  --primary-color: #5a3d75;
  --primary-dark: #432a5a;
  --primary-light: #7a5d95;
  --secondary-color: #f8f9fa;
  --text-color: #333;
  --text-light: #6c757d;
  --border-color: #dee2e6;
  --white: #fff;
  --black: #000;
}

* {
  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;
}

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

.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;
  transition: color 0.3s;
}

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

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s;
}

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

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

.bg-primary {
  background-color: var(--primary-color) !important;
}

.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

.feature-box,
.value-card,
.advantage-card,
.ingredient-card,
.texture-box,
.principle-item,
.routine-card,
.tip,
.care-card {
  background: var(--white);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

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

.icon-wrapper,
.value-icon {
  color: var(--primary-color);
}

.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-title {
  color: var(--primary-color);
  font-weight: 600;
}

.routine-card {
  background: var(--secondary-color);
  border-left: 4px solid var(--primary-color);
}

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

.routine-card ol {
  padding-left: 1.5rem;
}

.texture-box {
  background: var(--secondary-color);
  border-radius: 8px;
}

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

.ingredient-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

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

.combination-guide {
  background: var(--secondary-color);
  border-radius: 8px;
}

.combination-guide h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.tip h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.principle-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.principle-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
  margin-bottom: 0;
}

.faq-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

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

.faq-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.page-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-header h1 {
  color: var(--primary-color);
  font-weight: 700;
}

.mission-box {
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 8px;
}

.philosophy-point {
  padding-left: 1rem;
  border-left: 3px solid var(--primary-color);
}

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

.contact-details .contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--text-color);
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--primary-color);
}

.contact-form .form-control {
  border-radius: 4px;
  border: 1px solid var(--border-color);
  padding: 0.75rem;
}

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

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.thank-you-icon {
  color: var(--primary-color);
}

.thank-you-icon svg {
  stroke-width: 2;
}

.policy-section h2,
.terms-section h2,
.cookie-section h2,
.disclaimer-section h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.policy-section h3,
.terms-section h3,
.cookie-section h3,
.disclaimer-section h3 {
  color: var(--primary-dark);
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.policy-section a,
.terms-section a,
.cookie-section a,
.disclaimer-section a {
  color: var(--primary-color);
}

.policy-section a:hover,
.terms-section a:hover,
.cookie-section a:hover,
.disclaimer-section a:hover {
  color: var(--primary-dark);
}

.footer {
  background-color: #2c2c2c;
}

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

.footer a {
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer a:hover {
  opacity: 0.8;
}

.footer ul {
  padding-left: 0;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 9999;
  display: none;
}

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

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

.cookie-content p {
  margin-bottom: 1rem;
}

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

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.cookie-settings-modal.show {
  display: flex;
}

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

.cookie-settings-content h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.cookie-option {
  margin-bottom: 1.5rem;
  padding: 15px;
  background: var(--secondary-color);
  border-radius: 4px;
}

.cookie-option label {
  display: block;
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  margin-right: 10px;
}

.cookie-option p {
  margin: 5px 0 0 25px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.cookie-settings-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

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

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

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

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

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

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

@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

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

.img-fluid {
  border-radius: 8px;
}

section {
  scroll-margin-top: 70px;
}
