:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #64748b;
  --accent-color: #0ea5e9;
  --background-color: #ffffff;
  --surface-color: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --font-sans: system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, monospace;
}

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

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

@media (max-width: 767px) {
  .nav-menu {
    gap: 1rem;
  }
}

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

h1 {
  font-size: 2.5rem;
  color: var(--text-primary);
}

h2 {
  font-size: 2rem;
  color: var(--text-primary);
}

h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

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

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

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

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }
}

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

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

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

.btn-secondary {
  background-color: var(--surface-color);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--border-light);
}

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

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

.btn-text {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem 0;
}

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

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

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

.hero h1 {
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 767px) {
  .hero {
    padding: 3rem 0;
  }

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

/* Page Hero */
.page-hero {
  background-color: var(--surface-color);
  padding: 3rem 0;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

/* Grid Layouts */
.category-grid,
.steps-grid,
.topics-grid,
.ingredients-grid,
.benefits-grid,
.reviews-grid,
.products-grid,
.info-grid,
.faq-grid {
  display: grid;
  gap: 2rem;
}

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

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.topics-grid,
.ingredients-grid,
.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

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

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

@media (max-width: 767px) {
  .category-grid,
  .steps-grid,
  .topics-grid,
  .ingredients-grid,
  .benefits-grid,
  .reviews-grid,
  .products-grid,
  .info-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Cards */
.category-card,
.topic-card,
.ingredient-card,
.benefit,
.review-card,
.product-card,
.info-card,
.faq-item {
  background-color: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.2s;
}

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

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

/* Icons */
.category-icon,
.product-icon {
  width: 64px;
  height: 64px;
  background-color: var(--surface-color);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.product-icon {
  width: 56px;
  height: 56px;
}

/* Steps */
.step {
  text-align: center;
}

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

/* Reviews */
.stars {
  color: var(--warning-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.review-card cite {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Product Features */
.product-features,
.feature-list {
  list-style: none;
  margin: 1rem 0;
}

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

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

/* Sections */
.categories,
.how-it-works,
.topics,
.ingredients,
.benefits,
.reviews,
.contact-form-section,
.products-grid-section,
.categories-overview,
.product-info,
.category-info,
.cta-section,
.content-section,
.contact-section,
.faq-section,
.thank-you-section {
  padding: 4rem 0;
}

.categories h2,
.how-it-works h2,
.topics h2,
.ingredients h2,
.benefits h2,
.reviews h2,
.contact-form-section h2,
.product-info h2,
.category-info h2,
.cta-section h2,
.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .categories,
  .how-it-works,
  .topics,
  .ingredients,
  .benefits,
  .reviews,
  .contact-form-section,
  .products-grid-section,
  .categories-overview,
  .product-info,
  .category-info,
  .cta-section,
  .content-section,
  .contact-section,
  .faq-section,
  .thank-you-section {
    padding: 3rem 0;
  }
}

/* Section CTA */
.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Forms */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.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: var(--radius-md);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.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.875rem;
}

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

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

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

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

.contact-item p {
  margin-bottom: 0;
}

.business-hours {
  background-color: var(--surface-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Thank You Page */
.thank-you-section {
  text-align: center;
  padding: 6rem 0;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  width: 80px;
  height: 80px;
  background-color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
}

.message-summary {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
  text-align: left;
}

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

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

.next-steps ul {
  text-align: left;
  max-width: 400px;
  margin: 0 auto;
}

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

.thank-you-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 3rem;
}

/* Content Sections */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
}

.content-main h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-main h2:first-child {
  margin-top: 0;
}

.content-main h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-main ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

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

.content-sidebar {
  position: sticky;
  top: 2rem;
}

.info-box {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

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

.info-box ul {
  list-style: none;
}

.info-box li {
  margin-bottom: 0.5rem;
}

.info-box a {
  color: var(--primary-color);
  text-decoration: none;
}

.info-box a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-sidebar {
    position: static;
  }
}

/* Legal Content */
.legal-content {
  padding: 4rem 0;
}

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

.last-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

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

.legal-content h2:first-of-type {
  margin-top: 2rem;
}

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

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

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

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.disclaimer-notice {
  background-color: var(--warning-color);
  color: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.disclaimer-notice h2 {
  color: white;
  margin-top: 0;
  margin-bottom: 1rem;
}

.disclaimer-footer {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 3rem;
  text-align: center;
}

.cookie-controls {
  background-color: var(--surface-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 3rem;
  text-align: center;
}

/* Safety Notice */
.safety-notice {
  background-color: var(--warning-color);
  color: white;
  padding: 1rem 0;
  text-align: center;
}

.safety-notice a {
  color: white;
  text-decoration: underline;
}

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

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

.cookie-banner p {
  margin-bottom: 0;
  color: white;
}

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

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .cookie-banner .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

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

/* Footer */
.footer {
  background-color: var(--text-primary);
  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-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--secondary-color);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

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

  .hero {
    padding: 2rem 0;
  }

  .page-hero {
    padding: 2rem 0;
  }

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

  .hero-cta .btn,
  .thank-you-actions .btn {
    width: auto;
    min-width: 150px;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .safety-notice,
  .hero-cta,
  .thank-you-actions,
  .btn {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  h1,
  h2,
  h3 {
    page-break-after: avoid;
  }

  .legal-content,
  .content-section {
    padding: 1rem 0;
  }
}
