/* Email Marketing Platform - Custom Styles */

/* Icon Base Variations */
.icon-base.blue-gradient {
  background: var(--gradient-blue);
  color: #fff;
}

.icon-base.green-gradient {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #22c55e;
}

.icon-base.purple-gradient {
  background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
  color: #8b5cf6;
}

.icon-base.yellow-gradient {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #f59e0b;
}

.icon-base.pink-gradient {
  background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
  color: #ec4899;
}

/* Stats Container with Top Margin */
.stats-container-base.transparent {
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(75px, 2fr));
}

/* Feature Highlights with Top Margin */
.feature-highlights {
  margin-top: 24px;
  display: block !important;
}

/* Additional Features Row */
.additional-features-row {
  margin-top: 32px;
}

/* Service Preview Components */
.service-preview {
  margin-top: 32px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.preview-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-icon.purple {
  background: #8b5cf6;
}

.preview-icon.orange {
  background: #f59e0b;
}

.preview-icon i {
  color: white;
  font-size: 12px;
}

.preview-header h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.preview-content {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

.preview-content p {
  margin: 0 0 12px 0;
}

.preview-content p:last-child {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

/* Survey Response Options */
.survey-options {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.survey-option {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.survey-option.neutral {
  background: #e5e7eb;
}

.survey-option.selected {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Landing Page Preview */
.landing-page-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.landing-page-stats p {
  margin: 0 0 4px 0;
}

.landing-page-stats .stats-right {
  text-align: right;
}

.landing-page-stats .growth-indicator {
  margin: 0;
  font-size: 12px;
  color: #10b981;
}

.progress-bar {
  background: #e5e7eb;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 2px;
}

.progress-fill.orange {
  background: #f59e0b;
  width: 35%;
}

/* Integration Benefits Section */
.integration-benefits-row {
  margin-top: 48px;
}

.integration-benefits-card {
  text-align: center;
  padding: 48px 32px;
}

.integration-benefits-card .icon-base {
  margin: 0 auto 24px;
}

.integration-benefits-card .differentiator-description {
  max-width: 600px;
  margin: 0 auto 32px;
}

.integration-flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--bg-inverse);
}

.flow-item span {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.flow-arrow {
  color: #9ca3af;
  font-size: 20px;
}

/* Customer Stats Section */
.customer-stats-container {
  margin-bottom: 64px;
}

.customer-stats-container .icon-base.small {
  margin-bottom: 16px;
}

/* Testimonial Components */
.testimonial-rating {
  margin-bottom: 16px;
}

.testimonial-rating i {
  color: #fbbf24;
}

.testimonial-author {
  margin-top: 24px;
}

.testimonial-author h4 {
  margin-bottom: 4px;
}

.feature-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #0070f3;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* Trust Logos Section */
.trust-logos-section {
  margin-top: 64px;
}

.trust-logos {
  margin-top: 32px;
}

.trust-logo {
  display: inline-block;
  margin: 0 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  font-weight: 600;
  color: #666;
}

/* Success Stories Section */
.success-story-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.success-story-card .feature-badge.ecommerce {
  background: #0070f3;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.success-story-card .feature-badge.saas {
  background: #10b981;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.success-story-card .feature-badge.retail {
  background: #8b5cf6;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.success-story-card .feature-badge.ecommerce {
  background: #0070f3;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.success-story-card .feature-badge.saas {
  background: #10b981;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.success-story-card .stats-container-base.transparent {
  margin: 24px 0;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feature-tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
  background: #f1f1f1;
}

.feature-tag.blue {
  background: rgba(0, 112, 243, 0.1);
  color: #0070f3;
}

.feature-tag.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.feature-tag.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

/* FAQ Section */
.faq-categories {
  margin-bottom: 32px;
}

.category-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.category-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  background: #f8fafc;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.category-tab.active {
  background: #0070f3;
  color: white;
}

.category-tab:hover {
  background: #e5e7eb;
}

.category-tab.active:hover {
  background: #0056b3;
}

.faq-category-content {
  display: none;
}

.faq-category-content.active {
  display: block;
}

.faq-category-content.active {
  display: block;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f8fafc;
  cursor: pointer;
  transition: background 0.3s ease;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: #f1f5f9;
}

.question-text {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  flex: 1;
}

.question-icon {
  color: #6b7280;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.answer-content {
  padding: 20px;
  background: white;
}

.answer-content p {
  margin-bottom: 16px;
  color: #6b7280;
  line-height: 1.6;
}

.answer-highlights {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #10b981;
  font-size: 14px;
}

.highlight-item i {
  color: #10b981;
}

/* Ensure FAQ items are clickable */
.faq-question,
.category-tab {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Improve FAQ accessibility */
.faq-question:focus,
.category-tab:focus {
  outline: 2px solid #0070f3;
  outline-offset: 2px;
}

/* Final CTA Section */

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-pricing {
  margin: 32px 0;
}

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

.pricing-highlight .stat-number-base {
  font-size: 2.5rem;
}

.pricing-highlight .stat-number-base span {
  font-size: 1.5rem;
  color: #666;
}

.cta-guarantee {
  margin-top: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .integration-flow {
    flex-direction: column;
    gap: 16px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .category-tabs {
    flex-direction: column;
    align-items: center;
  }

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

  .modern-cta-card {
    padding: 60px 20px;
  }

  .floating-shape {
    display: none;
  }
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes priceUpdate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.pricing-amount.updating {
  animation: priceUpdate 0.3s ease;
}

/* Pricing Slider Enhancements */
.form-slider input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  outline: none;
  padding: 0;
  margin: 0;
}

.form-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0070f3;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin-top: -20px;
}

.form-slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0070f3;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  margin-top: -20px;
}

.form-slider input[type="range"]::-webkit-slider-thumb:hover {
  background: #0056b3;
  transform: scale(1.1);
}

.form-slider input[type="range"]::-moz-range-thumb:hover {
  background: #0056b3;
  transform: scale(1.1);
}

.form-slider input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: transparent;
  border-radius: 4px;
  border: none;
}

.form-slider input[type="range"]::-moz-range-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: transparent;
  border-radius: 4px;
  border: none;
}

.pricing-slider-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.pricing-slider-value {
  font-weight: 600;
  color: #374151;
  margin-top: 8px;
}

.pricing-result {
  margin-top: 32px;
}

.modern-pricing-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
}

.pricing-plan-name {
  font-size: 18px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.pricing-volume {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 24px;
}

.pricing-amount-container {
  margin-bottom: 32px;
}

.pricing-amount {
  font-size: 48px;
  font-weight: 700;
  color: #0070f3;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pricing-currency {
  font-size: 24px;
  color: #6b7280;
}

.pricing-price {
  font-size: 48px;
  font-weight: 700;
  color: #0070f3;
}

.pricing-period {
  font-size: 18px;
  color: #6b7280;
}

.pricing-savings {
  margin-top: 8px;
}

.pricing-features {
  margin-bottom: 32px;
}

.pricing-features .feature-item i {
  color: #10b981;
  width: 16px;
}

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

.pricing-actions p {
  margin-top: 16px;
  font-size: 14px;
  color: #6b7280;
}

/* Calculator Container */
.calculator-container {
  background: #f8fafc;
  border-radius: 16px;
  padding: 48px 32px;
  margin-top: 48px;
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Stats Showcase */
.stats-showcase {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.stats-showcase {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px;
}

.stats-showcase .stat-item {
  flex: 1;
  min-width: 150px;
  color: #1b1b1b;
  font-weight: 500;
}

.stats-showcase .stat-number {
  font-size: 1.5rem;
}

.stats-showcase .stat-label {
  font-size: 1rem;
}

.stats-showcase .stat-icon {
  font-size: 1rem;
  color: #333;
}
