/* CSS Variables for easy color customization */
:root {
  --primary-color: #dc2626; /* Red accent color */
  --primary-dark: #b91c1c;
  --secondary-color: #1f2937; /* Dark gray */
  --background-color: #ffffff;
  --text-color: #111827;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #059669;
  --warning-color: #d97706;

  /* Typography */
  --font-primary: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-secondary: Georgia, "Times New Roman", serif;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 4rem 0;
  --element-spacing: 2rem;
}

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

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

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

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

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

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

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

/* Header and Navigation */
.header {
  background-color: var(--background-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.nav-menu a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
  background-color: rgba(220, 38, 38, 0.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 6rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Buttons */
.cta-button,
.submit-button,
.button-primary,
.product-cta,
.product-link,
.step-link {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover,
.submit-button:hover,
.button-primary:hover,
.product-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

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

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

.product-link,
.step-link {
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: 1px solid var(--primary-color);
}

.product-link:hover,
.step-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Sections */
.how-it-works,
.products-preview,
.benefits,
.testimonials,
.cta-section,
.products-section,
.product-info,
.about-content,
.contact-section,
.why-order,
.thank-you-section {
  padding: var(--section-padding);
}

.how-it-works {
  background-color: #f9fafb;
}

.how-it-works h2,
.products-preview h2,
.benefits h2,
.testimonials h2,
.cta-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.step {
  text-align: center;
  padding: 2rem;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

.product-card,
.product-detail {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.product-card h3,
.product-detail h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

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

.product-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

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

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

.benefit,
.info-item,
.value-item {
  text-align: center;
  padding: 1.5rem;
}

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

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

.testimonial {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary-color);
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial cite {
  font-style: normal;
  color: var(--text-light);
  font-weight: 500;
}

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

.cta-section h2 {
  color: white;
}

.cta-section p {
  color: #d1d5db;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

/* Page Header */
.page-header {
  background-color: #f9fafb;
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

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

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

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

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

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

.contact-form-container {
  background-color: #f9fafb;
  padding: 2rem;
  border-radius: 0.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

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

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

.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 rgba(220, 38, 38, 0.1);
}

.form-note {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #fef3c7;
  border-radius: 0.375rem;
  border-left: 4px solid var(--warning-color);
}

.form-note p {
  margin: 0;
  font-size: 0.9rem;
  color: #92400e;
}

/* Thank You Page */
.thank-you-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.thank-you-message {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.order-summary {
  background-color: #f0f9ff;
  padding: 2rem;
  border-radius: 0.75rem;
  margin: 2rem 0;
  text-align: left;
}

.summary-details {
  display: grid;
  gap: 1rem;
}

.detail-item {
  padding: 0.75rem;
  background-color: white;
  border-radius: 0.375rem;
  border-left: 4px solid var(--primary-color);
}

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

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

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

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

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

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

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

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

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

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

.contact-info {
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.important-notice {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-top: 2rem;
}

.important-notice h2 {
  color: var(--primary-color);
  margin-top: 0;
}

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

.benefits-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

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

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

.footer-content {
  display: grid;
  grid-template-columns: 1fr 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-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

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

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

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

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

  .hero p {
    font-size: 1.125rem;
  }

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

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .steps,
  .product-cards,
  .products-grid,
  .benefits-grid,
  .info-grid,
  .values-grid,
  .testimonial-cards,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .container {
    padding: 0 1rem;
  }
}

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

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

  .cta-button,
  .submit-button,
  .button-primary,
  .button-secondary {
    width: 100%;
    text-align: center;
  }

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

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

/* Print Styles */
@media print {
  .header,
  .footer,
  .cta-section {
    display: none;
  }

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

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