/* Pricing Page Styles */

/* Global background to match main page */
body {
  background: linear-gradient(135deg, #ea58af 0%, #7c2ff7 30%);
  min-height: 100vh;
}

/* Hero Section */
.pricing-hero {
  background: transparent;
  color: white;
  padding: 80px 0 100px;
  text-align: center;
  position: relative;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.launch-icon {
  width: 16px;
  height: 16px;
  color: white;
}

.pricing-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  background: white;
  padding: 80px 0;
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  position: relative;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.billing-toggle-container {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f7fafc;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.toggle-label {
  font-weight: 600;
  color: #718096;
  transition: color 0.3s ease;
  cursor: pointer;
}

.toggle-label.active {
  color: #7c2ff7;
}

.toggle-switch {
  position: relative;
  width: 60px;
  height: 32px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #cbd5e0;
  border-radius: 16px;
  transition: 0.3s;
}

.toggle-switch label:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + label {
  background: #7c2ff7;
}

.toggle-switch input:checked + label:before {
  transform: translateX(28px);
}

.savings-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ea58af, #7c2ff7);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.savings-icon {
  width: 14px;
  height: 14px;
}

/* Pricing Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border-color: #7c2ff7;
  box-shadow: 0 8px 30px rgba(124, 47, 247, 0.2);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ea58af, #7c2ff7);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.star-icon {
  width: 16px;
  height: 16px;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 10px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: #7c2ff7;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: #2d3748;
  transition: all 0.3s ease;
}

.period {
  font-size: 1.2rem;
  color: #718096;
  font-weight: 500;
}

.price-note {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.card-features {
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  text-align: left;
}

.feature-check {
  width: 20px;
  height: 20px;
  color: #48bb78;
  flex-shrink: 0;
}

.feature-item span {
  color: #4a5568;
  font-size: 0.95rem;
}

.cta-button {
  background: #f6ba09;
  color: white;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

/* Calculator Section */
.calculator-section {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 80px 0;
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  position: relative;
}

.calculator-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
}

.calculator-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #718096;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.calculator-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.calculator-input {
  margin-bottom: 40px;
}

.calculator-input label {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 20px;
}

.slider-container {
  position: relative;
}

#units-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  outline: none;
  -webkit-appearance: none;
}

#units-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7c2ff7;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(124, 47, 247, 0.3);
}

#units-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7c2ff7;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(124, 47, 247, 0.3);
}

.slider-value {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: #7c2ff7;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.1rem;
  white-space: nowrap;
}

.units-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

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

.result-card {
  background: #f7fafc;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.result-card:hover {
  border-color: #7c2ff7;
  box-shadow: 0 4px 20px rgba(124, 47, 247, 0.1);
}

.result-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 20px;
}

.result-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 15px;
}

.result-price .currency {
  font-size: 1.2rem;
  color: #7c2ff7;
}

.result-price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
}

.result-price .period {
  font-size: 1rem;
  color: #718096;
}

.result-breakdown {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.5;
  margin-bottom: 15px;
}

.savings-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #48bb78;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.savings-display .savings-icon {
  width: 16px;
  height: 16px;
}

.enterprise-note {
  background: #fef5e7;
  border: 1px solid #f6e05e;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #744210;
}

.info-icon {
  width: 20px;
  height: 20px;
  color: #d69e2e;
  flex-shrink: 0;
}

.enterprise-note p {
  margin: 0;
  font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
  background: white;
  padding: 80px 0;
  border-radius: 24px 24px 0 0;
  margin-top: -24px;
  position: relative;
}

.faq-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 60px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 25px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #7c2ff7;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: #718096;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-answer p {
  padding: 0 0 25px 0;
  margin: 0;
  color: #4a5568;
  line-height: 1.6;
}

/* Progress Section */
.progress-section {
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  padding: 60px 0;
}

.progress-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.progress-icon {
  width: 48px;
  height: 48px;
  color: #7c2ff7;
  flex-shrink: 0;
}

.progress-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
}

.progress-content p {
  color: #718096;
  margin-bottom: 20px;
  line-height: 1.6;
}

.progress-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7c2ff7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.progress-link:hover {
  color: #ea58af;
}

.arrow-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.progress-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .pricing-hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-header {
    flex-direction: column;
    gap: 15px;
  }

  .section-title {
    font-size: 2rem;
  }
  
  .billing-toggle {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  
  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-card {
    padding: 30px 20px;
  }
  
  .calculator-container {
    padding: 30px 20px;
  }
  
  .calculator-results {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .progress-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .slider-value {
    top: -40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .pricing-hero {
    padding: 60px 0 80px;
  }
  
  .pricing-section {
    padding: 60px 0;
  }
  
  .calculator-section,
  .faq-section {
    padding: 60px 0;
  }
  
  .calculator-section h2,
  .faq-section h2 {
    font-size: 2rem;
  }
}
