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

/* 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-white);
}

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

/* 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 and Navigation */
.header {
  background-color: var(--background-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  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);
}

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

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

.btn-secondary {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-secondary:hover {
  background-color: #0891b2;
}

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

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

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

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

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

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

.page-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

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

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

.step {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-gray);
  border-radius: 0.5rem;
}

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

/* Products */
.products {
  background-color: var(--background-gray);
}

.products 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-color: var(--background-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.product-card p {
  margin-bottom: 1.5rem;
}

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

.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-color: var(--background-gray);
}

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

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

.testimonial {
  background-color: var(--background-white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.testimonial cite {
  font-weight: 600;
  color: var(--text-primary);
}

/* Product Details */
.products-detail {
  background-color: var(--background-white);
}

.product-detail-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.product-detail {
  padding: 2rem;
  background-color: var(--background-gray);
  border-radius: 0.5rem;
}

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

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

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

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

.product-info {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-gray);
  border-radius: 0.5rem;
}

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

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

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

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

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-text h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

.approach-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.about-values {
  background-color: var(--background-gray);
  padding: 2rem;
  border-radius: 0.5rem;
}

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

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

.commitment {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-gray);
  border-radius: 0.5rem;
}

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

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

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

.contact-info {
  padding: 2rem;
  background-color: var(--background-gray);
  border-radius: 0.5rem;
}

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

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

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

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

/* Forms */
.contact-form {
  padding: 2rem;
  background-color: var(--background-gray);
  border-radius: 0.5rem;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  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.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(124, 58, 237, 0.1);
}

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

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

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

.order-summary {
  background-color: var(--background-gray);
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 2rem 0;
  text-align: left;
}

.order-summary h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.summary-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.summary-item:last-child {
  border-bottom: none;
}

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

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

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

.next-steps .step {
  background-color: var(--background-gray);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

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

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

.legal-page h1 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.contact-info {
  background-color: var(--background-gray);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: var(--text-primary);
  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-light);
  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-light);
}

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

.footer-disclaimer p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.5;
}

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

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

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

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

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

  .nav-menu {
    gap: 1rem;
  }

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

  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;
  }

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

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

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

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

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

  .action-buttons a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

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

  section {
    padding: 2rem 0;
  }

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

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

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

  .cta-button,
  .btn-secondary,
  .btn-outline {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
}
