/* CSS Variables for Color Palette */
:root {
  --primary-color: #f59e0b;
  --primary-dark: #d97706;
  --primary-light: #fbbf24;
  --secondary-color: #1f2937;
  --text-primary: #111827;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --background: #ffffff;
  --background-light: #f9fafb;
  --background-dark: #f3f4f6;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --success-color: #10b981;
  --error-color: #ef4444;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-wrap: balance;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  text-wrap: pretty;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: var(--background);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}

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

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

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

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

.btn-secondary {
  background: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background: #374151;
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background) 100%);
  padding: 4rem 0;
  text-align: center;
}

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

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 4rem 0;
}

.page-header {
  background: var(--background-light);
  padding: 3rem 0;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

/* Categories */
.categories {
  background: var(--background);
}

.categories h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.category-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

.category-icon svg {
  width: 100%;
  height: 100%;
}

.category-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

/* How It Works */
.how-it-works {
  background: var(--background-light);
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.step {
  text-align: center;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 1rem;
}

.step p {
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

/* Topics and Ingredients */
.topics,
.ingredients {
  background: var(--background);
}

.topics h2,
.ingredients h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.topics-grid,
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.topic-card,
.ingredient-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.topic-card:hover,
.ingredient-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.topic-card h3,
.ingredient-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.topic-card p,
.ingredient-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Benefits */
.benefits {
  background: var(--background-light);
}

.benefits h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit {
  text-align: center;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--primary-color);
}

.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.benefit h3 {
  margin-bottom: 1rem;
}

.benefit p {
  color: var(--text-secondary);
}

/* Reviews */
.reviews {
  background: var(--background);
}

.reviews h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.stars {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review p {
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1rem;
}

.reviewer {
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form-section {
  background: var(--background-light);
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Safety Notice */
.safety-notice {
  background: var(--primary-light);
  padding: 1.5rem 0;
}

.notice-content {
  text-align: center;
}

.notice-content p {
  margin: 0;
  font-weight: 500;
}

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

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-info p {
  margin-bottom: 0.5rem;
  color: #d1d5db;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

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

.footer-disclaimer {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-disclaimer p {
  font-size: 0.9rem;
  color: #9ca3af;
  margin: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  color: white;
  padding: 1rem;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

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

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

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

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

.btn-accept {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 500;
}

.btn-manage {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  font-weight: 500;
}

/* Product Pages */
.products-grid {
  background: var(--background);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--background);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.product-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

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

.product-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.product-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-features li {
  padding: 0.25rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.product-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Category Info */
.category-info {
  background: var(--background-light);
}

.info-content h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.info-content > p {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.info-block {
  text-align: center;
}

.info-block h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.info-block p {
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  background: var(--primary-color);
  color: white;
  text-align: center;
}

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

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.cta-section .btn:hover {
  background: var(--background-light);
  color: var(--primary-dark);
}

/* Contact Page */
.contact-section {
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
}

.business-hours {
  background: var(--background-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.business-hours h3 {
  margin-bottom: 1rem;
}

.business-hours p {
  color: var(--text-secondary);
  margin: 0;
}

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

/* FAQ Section */
.faq-section {
  background: var(--background-light);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  margin: 0;
}

/* Thank You Page */
.thank-you-section {
  background: var(--background);
  padding: 4rem 0;
}

.thank-you-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 2rem;
  color: var(--success-color);
}

.thank-you-icon svg {
  width: 100%;
  height: 100%;
}

.thank-you-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.message-summary {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
  text-align: left;
}

.message-summary h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.summary-details p {
  margin-bottom: 0.5rem;
}

.message-text {
  background: var(--background);
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
  margin-top: 0.5rem;
}

.next-steps {
  margin-bottom: 3rem;
}

.next-steps h2 {
  margin-bottom: 2rem;
}

.next-steps .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: left;
}

.next-steps .step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.next-steps .step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-info {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

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

.contact-info .hours {
  color: var(--text-secondary);
  margin: 0;
}

.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Legal Pages */
.legal-page {
  background: var(--background);
  padding: 4rem 0;
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

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

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

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

.legal-content li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* About Page */
.about-content {
  background: var(--background);
}

.content-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

.content-block {
  max-width: 800px;
  margin: 0 auto;
}

.content-block h2 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.content-block p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

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

.values-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

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

.values-list strong {
  color: var(--text-primary);
}

.content-block ul:not(.values-list) {
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.content-block ul:not(.values-list) li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Product Categories Large Cards */
.product-categories {
  background: var(--background);
}

.categories-grid .category-card.large {
  padding: 3rem;
}

.category-card.large .category-content {
  max-width: none;
}

.category-card.large h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.category-card.large p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.category-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.category-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.category-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Product Info Section */
.product-info {
  background: var(--background-light);
}

.product-info .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-info .info-block {
  background: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header-content {
    padding: 0;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow);
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .category-grid,
  .topics-grid,
  .ingredients-grid,
  .benefits-grid,
  .reviews-grid,
  .products {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .cookie-buttons {
    justify-content: center;
  }

  .next-steps .steps {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

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

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

  section {
    padding: 2rem 0;
  }

  .category-card,
  .product-card,
  .topic-card,
  .ingredient-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .thank-you-content h1 {
    font-size: 2rem;
  }
}
