:root {
  --primary-peach: #FFD4B8;
  --secondary-lilac: #E8D4F8;
  --accent-aqua: #B3E5FC;
  --accent-cream: #FFF9E6;
  --dark-graphite: #2D2D2D;
  --chrome-silver: #E8E8E8;
  --accent-teal: #5DD9C1;
}

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

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--accent-cream);
  color: var(--dark-graphite);
  line-height: 1.6;
}

body {
  background: linear-gradient(135deg, var(--accent-cream) 0%, #F5F0E8 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  border-bottom: 1px solid var(--chrome-silver);
}

.brand-logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-peach), var(--accent-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
  color: var(--dark-graphite) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
  background-color: var(--primary-peach);
  color: var(--dark-graphite) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  background-color: var(--primary-peach);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 212, 184, 0.7);
  z-index: 1;
}

.hero-section h1 {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-graphite);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  color: rgba(45, 45, 45, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* Page Header */
.page-header {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  background-color: var(--secondary-lilac);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(232, 212, 248, 0.6);
  z-index: 1;
}

.page-header h1 {
  position: relative;
  z-index: 2;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark-graphite);
}

.page-header p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  color: rgba(45, 45, 45, 0.75);
  margin-top: 0.5rem;
}

/* Info Sections */
.info-section {
  padding: 60px 20px;
  background-color: white;
  margin: 0;
}

.info-section-alt {
  background: linear-gradient(135deg, var(--accent-aqua) 0%, rgba(179, 229, 252, 0.4) 100%);
}

.section-image {
  border-radius: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: block;
  margin: 0 auto;
}

.info-section h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-graphite);
}

.info-section h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-graphite);
}

.info-section p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
  color: rgba(45, 45, 45, 0.85);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: rgba(45, 45, 45, 0.8);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 8px;
  height: 8px;
  background-color: var(--accent-teal);
  border-radius: 50%;
}

/* Format Cards */
.format-card {
  background: white;
  padding: 2rem;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid var(--chrome-silver);
}

.format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-teal);
}

.format-card h3 {
  color: var(--dark-graphite);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.format-card p {
  color: rgba(45, 45, 45, 0.75);
  font-size: 0.95rem;
}

/* Principle Cards */
.principle-card,
.education-card,
.audience-card {
  background: white;
  padding: 2rem;
  border-radius: 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--accent-teal);
  transition: all 0.3s ease;
}

.principle-card:hover,
.education-card:hover,
.audience-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.principle-card h3,
.education-card h3,
.audience-card h3 {
  color: var(--dark-graphite);
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.principle-card p,
.education-card p,
.audience-card p {
  color: rgba(45, 45, 45, 0.75);
  font-size: 0.95rem;
}

/* Product Cards */
.products-section {
  background-color: white;
  padding: 60px 20px;
}

.product-card {
  background: white;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid var(--chrome-silver);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-teal);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-peach) 0%, var(--accent-aqua) 100%);
}

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

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

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

.product-info h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark-graphite);
}

.product-audience {
  color: rgba(45, 45, 45, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-kit {
  margin-bottom: 1rem;
}

.kit-tag {
  display: inline-block;
  background-color: var(--primary-peach);
  color: var(--dark-graphite);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.kit-calm {
  background-color: var(--secondary-lilac);
}

.kit-night {
  background-color: var(--accent-aqua);
}

.product-focus {
  color: rgba(45, 45, 45, 0.7);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.product-format {
  color: rgba(45, 45, 45, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem 0;
}

.ingredient-list li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.9rem;
  color: rgba(45, 45, 45, 0.75);
}

.ingredient-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 5px;
  height: 5px;
  background-color: var(--accent-teal);
  border-radius: 50%;
}

.product-description {
  color: rgba(45, 45, 45, 0.75);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.details-link {
  color: var(--accent-teal);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.details-link:hover {
  color: var(--dark-graphite);
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-teal);
  border-color: var(--accent-teal);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary:hover {
  background-color: #3dbe99;
  border-color: #3dbe99;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(93, 217, 193, 0.4);
}

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

.btn-secondary:hover {
  background-color: #ffc99e;
  border-color: #ffc99e;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 212, 184, 0.4);
}

.btn-rounded {
  border-radius: 50px;
}

/* Closing Section */
.closing-section {
  background: linear-gradient(135deg, var(--accent-cream) 0%, var(--primary-peach) 100%);
  padding: 60px 20px;
  text-align: center;
}

.closing-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-graphite);
}

.closing-section p {
  font-size: 1.1rem;
  color: rgba(45, 45, 45, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Thank You Section */
.thank-you-section {
  background-color: white;
  padding: 80px 20px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.thank-you-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-graphite);
  margin-bottom: 1rem;
}

.thank-you-content .lead {
  font-size: 1.3rem;
  color: rgba(45, 45, 45, 0.8);
}

/* Legal Section */
.legal-section {
  background-color: white;
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-graphite);
}

.legal-section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-graphite);
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: rgba(45, 45, 45, 0.8);
}

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

.legal-section li {
  margin-bottom: 0.5rem;
  color: rgba(45, 45, 45, 0.8);
}

.alert {
  border-radius: 20px;
  border: none;
  padding: 1.5rem;
  background-color: #fff3cd;
  color: #856404;
}

/* Contact Form */
.contact-form {
  background-color: white;
}

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

.contact-form .form-control {
  border: 2px solid var(--chrome-silver);
  border-radius: 15px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.contact-form .form-control:focus {
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 0.2rem rgba(93, 217, 193, 0.25);
}

.custom-control-label {
  font-size: 0.9rem;
  color: rgba(45, 45, 45, 0.75);
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--accent-teal);
  border-color: var(--accent-teal);
}

/* Footer */
.footer-section {
  background: linear-gradient(135deg, var(--dark-graphite) 0%, #3d3d3d 100%);
  color: white;
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-section h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent-teal);
  font-size: 1.1rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--accent-teal);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-peach);
  text-decoration: underline;
}

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

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

.footer-links a {
  font-size: 0.9rem;
}

.footer-section hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0 1rem;
}

.footer-section .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 9999;
  display: none;
  border-top: 3px solid var(--accent-teal);
}

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

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

.cookie-content p {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  color: rgba(45, 45, 45, 0.8);
  margin: 0;
}

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

.cookie-btn-accept,
.cookie-btn-decline {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-btn-accept {
  background-color: var(--accent-teal);
  color: white;
}

.cookie-btn-accept:hover {
  background-color: #3dbe99;
}

.cookie-btn-decline {
  background-color: var(--chrome-silver);
  color: var(--dark-graphite);
}

.cookie-btn-decline:hover {
  background-color: #d4d4d4;
}

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

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

  .info-section h2 {
    font-size: 1.6rem;
  }

  .closing-section h2 {
    font-size: 1.5rem;
  }

  .section-image {
    margin-bottom: 2rem;
  }

  .row[class*="order-md"] {
    flex-direction: column-reverse;
  }

  .row[class*="order-md"].order-md-1,
  .row[class*="order-md"].order-md-2 {
    flex-direction: row;
  }

  .cookie-content {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-btn-accept,
  .cookie-btn-decline {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 15px;
  }

  .hero-section h1 {
    font-size: 1.5rem;
  }

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

  .info-section {
    padding: 40px 15px;
  }

  .info-section h2 {
    font-size: 1.4rem;
  }

  .format-card,
  .principle-card,
  .product-card {
    padding: 1.5rem;
  }

  .product-image {
    height: 200px;
  }

  .legal-section {
    padding: 30px 15px;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }

  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    padding: 0.4rem 0.75rem !important;
  }
}
