/* Pricing Page Styles */

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem !important;
  }
  .hero-content p {
    font-size: 1rem !important;
  }
  .hero-content > div {
    flex-direction: column !important;
    align-items: center !important;
  }
  .pricing {
    grid-template-columns: 1fr !important;
  }
  .price-card[style*="scale(1.05)"] {
    transform: none !important;
  }
  .features {
    grid-template-columns: 1fr !important;
  }
  .faq-item h3 {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .faq-item h3 i {
    margin-bottom: 0.5rem !important;
  }
}

/* Button Hover Effects */
.price-card .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0,119,204,0.3) !important;
}

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

/* Extra Small Mobile Styles */
@media (max-width: 480px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .hero-content > div {
    flex-direction: column;
    gap: 0.5rem;
  }
  .hero-content > div > div {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
  }
}

/* Checkout Modal Styles */
.checkout-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.checkout-modal-content {
  position: relative;
  background-color: white;
  margin: 10% auto;
  padding: 0;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.checkout-modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.checkout-modal-body {
  padding: 2rem;
  text-align: center;
}

.checkout-modal-footer {
  padding: 1rem 2rem 2rem;
  text-align: center;
}

.checkout-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  color: #aaa;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.checkout-close:hover {
  color: #333;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(45deg, #28a745, #20c997);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.error-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: linear-gradient(45deg, #dc3545, #c82333);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

/* Hero Section Styles */
.hero {
  background: linear-gradient(135deg, #0077cc 0%, #00aaff 100%);
  color: white;
  min-height: 45vh;
}

.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-content h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-feature-badge {
  background: rgba(255,255,255,0.1);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-feature-badge i {
  color: #4CAF50;
  margin-right: 0.5rem;
}

.hero-feature-badge span {
  font-size: 0.9rem;
}

.hero-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Pricing Section Styles */
.pricing-section {
  padding: 4rem 0;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-header h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.pricing-header p {
  font-size: 1.1rem;
  color: var(--muted-text-color);
  max-width: 600px;
  margin: 0 auto;
}

.limited-time-offer {
  margin-top: 2rem;
  padding: 1rem;
  background: #e8f4fd;
  border-radius: 10px;
  display: inline-block;
}

.limited-time-offer i {
  color: #0077cc;
  margin-right: 0.5rem;
}

.limited-time-offer strong {
  color: #0077cc;
}

/* Price Card Styles */
.price-card-featured {
  border: 3px solid #0077cc;
  position: relative;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0,119,204,0.1);
}

.price-card-featured .best-value-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #ff6b35;
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: bold;
}

.price-card h3 {
  color: #0077cc;
  font-size: 1.4rem;
}

.price {
  font-size: 2.5rem;
  margin: 1.5rem 0;
}

.period {
  font-size: 1rem;
}

.saving {
  background: #e8f4fd;
  padding: 0.5rem;
  border-radius: 5px;
  margin: 1rem 0;
  font-weight: 600;
}

.price-card ul {
  text-align: left;
  margin: 2rem 0;
}

.price-card ul li i {
  color: #4CAF50;
}

.price-card ul li i.fa-times {
  color: #dc3545;
}

.price-card ul li i.fa-triangle-exclamation {
  color: #ffc107;
}

.price-card .btn-container {
  margin-top: auto;
}

.price-card .btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  width: 100%;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-featured {
  background: linear-gradient(45deg, #0077cc, #00aaff);
  color: white;
  font-size: 1.1rem;
}

.btn-standard {
  background: #0077cc;
  color: white;
}

.btn-trial {
  background: #28a745;
  color: white;
}

.monthly-plan-desc {
  color: var(--muted-text-color);
  font-size: 0.9rem;
  margin: 1rem 0;
}

.trial-period {
  color: #4CAF50;
  font-weight: 600;
  margin: 1rem 0;
}

/* Trust Indicators Section */
.trust-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.trust-header {
  text-align: center;
  margin-bottom: 3rem;
}

.trust-header h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

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

.trust-stat {
  text-align: center;
  padding: 1.5rem;
}

.trust-stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.trust-stat p {
  color: var(--muted-text-color);
  margin: 0;
}

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

.testimonial-stars {
  margin-bottom: 1rem;
}

.testimonial-stars span {
  color: #ffc107;
  font-size: 1.2rem;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  background: #0077cc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.testimonial-author small {
  color: var(--muted-text-color);
}

/* Features Section */
.features-section {
  background-color: #eef5fc;
  padding: 4rem 0;
}

.features-section h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature .icon {
  background: linear-gradient(45deg, #0077cc, #00aaff);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.guarantee-section {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
  border-radius: 15px;
}

.guarantee-section i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.guarantee-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.guarantee-section p {
  color: white;
  margin: 0;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

.faq-section h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  text-align: center;
}

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

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.faq-item h3 i {
  margin-right: 1rem;
}

.faq-item h3 i.fa-shield-check {
  color: #28a745;
}

.faq-item h3 i.fa-refresh {
  color: #0077cc;
}

.faq-item h3 i.fa-clock {
  color: #28a745;
}

.faq-item h3 i.fa-money-bill-wave {
  color: #28a745;
}

.faq-item h3 i.fa-credit-card {
  color: #0077cc;
}

.faq-item h3 i.fa-users {
  color: #0077cc;
}

.faq-item strong {
  color: #0077cc;
}

.faq-item strong:first-of-type {
  color: #0077cc;
}

.faq-item strong:nth-of-type(2) {
  color: #ffc107;
}

.faq-item a {
  color: #0077cc;
  font-weight: 600;
}

/* Final CTA Section */
.final-cta {
  text-align: center;
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, #0077cc 0%, #00aaff 100%);
  color: white;
  border-radius: 15px;
}

.final-cta h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.final-cta p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.final-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.final-cta .btn-primary {
  background: white;
  color: #0077cc;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.final-cta .btn-secondary {
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  border: 2px solid white;
  transition: all 0.3s ease;
}

.final-cta .cta-footer {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Modal Content Styles */
.checkout-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-message {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.modal-info-email,
.modal-info-amount {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.order-reference-container {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  border-left: 4px solid #28a745;
}

.order-reference-text {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.order-reference-text strong {
  color: #333;
}

.order-reference-code {
  background: #e9ecef;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
}

.error-details {
  margin-top: 1rem;
  text-align: left;
}

.error-summary {
  cursor: pointer;
  color: #666;
  font-weight: 600;
}

.error-pre {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.8rem;
  border: 1px solid #dee2e6;
  margin-top: 0.5rem;
}

.success-footer {
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}

.success-footer i {
  margin-right: 0.5rem;
}

/* Modal Button Styles */
.btn-success-continue {
  background: #28a745;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.btn-success-continue:hover {
  background: #218838;
}

.btn-dashboard {
  background: #0077cc;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-dashboard:hover {
  background: #0056b3;
}

.btn-close {
  background: #6c757d;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.btn-close:hover {
  background: #5a6268;
}

.btn-retry {
  background: #0077cc;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-retry:hover {
  background: #0056b3;
}

/* Plan Badge Styles */
.plan-badge.best {
  background: linear-gradient(45deg, #0077cc, #00aaff);
}
