:root {
  --primary-color: #7c4dff;
  --primary-dark: #5e35b1;
  --secondary-color: #e1d5f7;
  --text-dark: #1a1a1a;
  --text-light: #6a6a6a;
  --background-light: #ffffff;
  --background-gray: #f8f9fa;
  --border-color: #e0e0e0;
}

* {
  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-dark);
  line-height: 1.6;
  background-color: var(--background-light);
}

.header-main {
  background-color: var(--background-light);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

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

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

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

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

.hero-section {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 600px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.85) 0%, rgba(94, 53, 177, 0.75) 100%);
  display: flex;
  align-items: center;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

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

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3);
}

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

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3);
}

.content-section {
  padding: 4rem 0;
}

.content-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.content-section p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.product-category-card,
.target-group-card,
.collection-card {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.product-category-card:hover,
.target-group-card:hover,
.collection-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(124, 77, 255, 0.15);
}

.product-category-card img,
.target-group-card img,
.collection-card img {
  margin-bottom: 1rem;
  border-radius: 8px;
}

.product-category-card h3,
.target-group-card h3,
.collection-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.philosophy-content,
.ingredients-content,
.routine-guide,
.benefits-content,
.responsible-use-content {
  background-color: var(--background-gray);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.ingredients-list {
  list-style: none;
  padding: 0;
}

.ingredients-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.ingredients-list li:last-child {
  border-bottom: none;
}

.routine-step {
  margin-bottom: 1.5rem;
}

.routine-step h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.routine-note {
  font-style: italic;
  color: var(--text-light);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.benefit-item {
  margin-bottom: 1.5rem;
}

.benefit-item h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-item {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-dark);
}

.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.final-cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 4rem 2rem;
  border-radius: 16px;
  color: white;
  margin-top: 4rem;
}

.final-cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.final-cta-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

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

.final-cta-section .btn-outline-primary {
  border-color: white;
  color: white;
}

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

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

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

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

.products-section {
  padding: 4rem 0;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(124, 77, 255, 0.2);
}

.product-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.product-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.product-content h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-description {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.product-ingredients,
.product-usage,
.product-note {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.product-note {
  color: var(--text-light);
  font-style: italic;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

.product-info-box {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.about-section {
  padding: 4rem 0;
}

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.3s ease;
}

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

.value-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.disclaimer-box {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.why-ecrina {
  margin-top: 2rem;
}

.responsibility-list {
  padding-left: 1.5rem;
}

.responsibility-list li {
  margin-bottom: 0.5rem;
}

.contact-info-box {
  background-color: var(--background-gray);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin: 2rem 0;
}

.contact-section {
  padding: 4rem 0;
}

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

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

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

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

.contact-info {
  background-color: var(--background-gray);
  padding: 2rem;
  border-radius: 12px;
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

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

.thank-you-actions {
  margin-top: 2rem;
}

.thank-you-actions .btn {
  margin: 0.5rem;
}

.legal-section {
  padding: 4rem 0;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.legal-content h1 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.legal-content h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

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

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

.last-updated {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
}

.disclaimer-important .alert {
  border-radius: 8px;
}

.footer-main {
  background-color: var(--text-dark);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-main h4 {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-main p {
  color: #cccccc;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.copyright {
  color: #999999;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #444444;
}

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

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content p {
  margin: 0;
  flex: 1;
}

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

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

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

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

  .hero-image-container {
    height: 500px;
  }

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

  .final-cta-section h2 {
    font-size: 1.75rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

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

  .btn-lg {
    font-size: 0.95rem;
    padding: 0.65rem 1.5rem;
  }

  .final-cta-section .btn {
    display: block;
    margin: 0.5rem auto;
  }

  .final-cta-section .ml-3 {
    margin-left: 0;
  }
}
