/**
 * Switch from Mindbody Landing Page Styles
 * Momence Light Theme
 */

:root {
  --primary: #6360E1;
  --primary-hover: #5558E8;
  --bg-white: #FFFFFF;
  --bg-light: #F8F9FD;
  --bg-lighter: #EFEFFD;
  --text-dark: #1A1A2E;
  --text-gray: #6B7280;
  --text-muted: #9CA3AF;
  --border: #E5E7EB;
  --success: #10B981;
  --warning: #F59E0B;
  --gold: var(--color-primary);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 3rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #6360E1 0%, #5558E8 100%);
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-title .highlight {
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(var(--color-primary-rgb), 0.3);
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

.btn-primary {
  background: white;
  color: var(--primary);
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary.large {
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.2s;
  border: 2px solid white;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-trust {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.875rem;
  opacity: 0.9;
  flex-wrap: wrap;
}

/* Pain Points Section */
.pain-points {
  padding: 6rem 0;
  background: var(--bg-light);
}

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

.pain-card {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.pain-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.pain-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.pain-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.pain-problem {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.pain-solution {
  color: var(--success);
  font-weight: 600;
}

/* Price Comparison Table */
.price-comparison {
  padding: 6rem 0;
  background: white;
}

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

.price-column {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
}

.price-column:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.price-column.nexibook {
  border: 3px solid var(--gold);
  transform: scale(1.05);
}

.price-header {
  background: var(--bg-light);
  padding: 2rem;
  text-align: center;
}

.price-header.recommended {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
}

.price-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--text-dark);
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-body {
  padding: 2rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.price-row.total {
  font-weight: 700;
  font-size: 1.125rem;
  border-top: 2px solid var(--border);
  margin-top: 1rem;
}

.price-row.annual {
  background: var(--bg-lighter);
  margin: 1rem -2rem -2rem;
  padding: 1.5rem 2rem;
  border: none;
}

.price-row .zero {
  color: var(--success);
}

.price-savings {
  background: var(--success);
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.price-savings span {
  display: block;
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Savings Calculator */
.calculator {
  padding: 6rem 0;
  background: var(--bg-light);
}

.calculator-widget {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.calculator-input {
  margin-bottom: 3rem;
}

.calculator-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-dark);
}

#revenue-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-lighter);
  outline: none;
  -webkit-appearance: none;
}

#revenue-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(99, 96, 225, 0.4);
}

#revenue-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(99, 96, 225, 0.4);
  border: none;
}

.revenue-display {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  margin-top: 1.5rem;
}

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

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

.result-card.savings {
  background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
  color: white;
}

.result-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.result-value {
  font-size: 2rem;
  font-weight: 900;
}

.result-value.highlight {
  color: var(--gold);
  text-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.3);
}

.calculator-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Feature Comparison Grid */
.features {
  padding: 6rem 0;
  background: white;
}

.feature-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
}

.feature-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-table thead {
  background: var(--primary);
  color: white;
}

.feature-table th {
  padding: 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.125rem;
}

.feature-table th:first-child {
  text-align: left;
}

.feature-table th:nth-child(2),
.feature-table th:nth-child(3) {
  text-align: center;
}

.feature-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.feature-table tbody tr:last-child td {
  border-bottom: none;
}

.feature-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.feature-table td.check,
.feature-table td.cross {
  text-align: center;
  font-size: 1.5rem;
}

.feature-table td.check.highlight {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  font-weight: 700;
}

/* Migration Steps */
.migration {
  padding: 6rem 0;
  background: var(--bg-light);
}

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

.step {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.step:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  font-size: 2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.step p {
  color: var(--text-gray);
  line-height: 1.7;
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  background: white;
}

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

.testimonial-card {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* FAQ Section */
.faq {
  padding: 6rem 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.5rem 2rem;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  transition: all 0.2s;
}

.faq-item summary:hover {
  background: var(--bg-light);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 2rem 1.5rem;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Final CTA */
.final-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.final-cta > p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

.final-cta-subtext {
  margin-top: 1.5rem !important;
  font-size: 0.875rem !important;
  opacity: 0.8 !important;
}

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

.footer p {
  margin: 0.5rem 0;
  opacity: 0.8;
}

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

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

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .price-column.nexibook {
    transform: scale(1);
  }

  .feature-table {
    font-size: 0.875rem;
  }

  .feature-table th,
  .feature-table td {
    padding: 0.75rem;
  }

  .revenue-display {
    font-size: 2rem;
  }

  .final-cta h2 {
    font-size: 2rem;
  }
}

/* Print Styles */
@media print {
  .hero, .final-cta, .calculator {
    break-inside: avoid;
  }

  .btn-primary, .btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: white !important;
  }
}
