/* CSS Variables for easy color customization */
:root {
  --primary-color: #7c3aed;
  --primary-dark: #5b21b6;
  --accent-color: #a855f7;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --background: #ffffff;
  --background-light: #f9fafb;
  --background-section: #f3f4f6;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

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

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

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

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

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);
  line-height: 1.6;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  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 {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--background-light) 0%, var(--background-section) 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.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.cta-button {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 1rem 2rem;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: 1px solid var(--primary-color);
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

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

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

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

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

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

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

.step {
  text-align: center;
  padding: 2rem;
  background: var(--background-light);
  border-radius: 12px;
}

.step-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Products */
.products-preview {
  background: var(--background-section);
}

.products-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.product-card {
  background: var(--background);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

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

/* Products Detail Page */
.products-detail {
  background: var(--background);
}

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

.product-detail-card {
  background: var(--background-light);
  padding: 3rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.product-detail-card h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.product-features {
  margin: 1.5rem 0;
}

.product-features ul {
  list-style: none;
  padding: 0;
}

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

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

.product-info {
  background: var(--background-section);
  padding: 3rem;
  border-radius: 12px;
  margin-top: 3rem;
}

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

.info-item {
  background: var(--background);
  padding: 2rem;
  border-radius: 8px;
}

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

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

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

.benefit {
  text-align: center;
  padding: 2rem;
}

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

/* Testimonials */
.testimonials {
  background: var(--background-section);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial {
  background: var(--background);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.testimonial p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial cite {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.about-text {
  max-width: 800px;
  margin: 0 auto;
}

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

.value-item {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border-top: 3px solid var(--primary-color);
}

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

/* Contact Page Styles */
.contact-section {
  background: var(--background);
  padding: 4rem 0;
}

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

.contact-info {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

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

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

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

.contact-form-container {
  background: var(--background-light);
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.contact-form-container h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: var(--background);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox Styles */
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
  content: "✓";
  color: white;
  font-size: 14px;
  font-weight: bold;
}

.checkbox-label a {
  color: var(--primary-color);
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Contact Benefits */
.contact-benefits {
  background: var(--background-section);
  padding: 4rem 0;
}

.contact-benefits h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

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

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

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

.lead {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.confirmation-details {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  text-align: left;
}

.confirmation-details h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.detail-item {
  padding: 1rem;
  background: var(--background);
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
}

.detail-item strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

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

.next-steps h2 {
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

.step-item {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
}

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

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

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

.contact-reminder {
  background: var(--background-section);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 3rem;
}

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

.contact-reminder p {
  margin-bottom: 0.5rem;
}

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

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

.legal-text h2 {
  color: var(--primary-color);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}

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

.legal-text ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

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

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

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

/* Health Disclaimer Specific Styles */
.important-notice {
  background: #fef3cd;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.important-notice h2 {
  color: #92400e;
  margin-top: 0;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.important-notice p {
  color: #92400e;
  margin: 0;
  font-weight: 500;
}

.final-warning {
  background: #fee2e2;
  border: 2px solid #ef4444;
  border-radius: 8px;
  padding: 2rem;
  margin: 3rem 0;
}

.final-warning h2 {
  color: #dc2626;
  margin-top: 0;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.final-warning p {
  color: #dc2626;
  margin: 0;
  font-weight: 500;
}

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

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

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

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

.footer-disclaimer {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #374151;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

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

  .nav-menu {
    gap: 1rem;
  }

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

  .hero-content p {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

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

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

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

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

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

  .contact-form-container {
    padding: 2rem;
  }

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

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

  .thank-you-actions {
    flex-direction: column;
    align-items: center;
  }

  .thank-you-actions .btn-secondary,
  .thank-you-actions .btn-outline {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .hero {
    padding: 2rem 0;
  }

  section {
    padding: 2rem 0;
  }

  .product-detail-card {
    padding: 2rem;
  }

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

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

  .contact-form-container {
    padding: 1.5rem;
  }

  .success-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .confirmation-details {
    padding: 1.5rem;
  }

  .step-item {
    padding: 1.5rem;
  }

  .contact-reminder {
    padding: 1.5rem;
  }
}
