/* Membership Page Mobile-First Responsive CSS */
    
/* Base Mobile Styles */
body {
  padding-top: 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

/* Logo and Cart Animations */
#logo-link:hover svg {
  animation: cartBounce 0.6s ease;
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1) rotate(5deg); }
}

#cart-icon:hover {
  filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.6));
  animation: cartShimmer 0.6s ease;
}

@keyframes cartShimmer {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05) rotate(2deg); }
}

/* Main Content */
.membership-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.membership-content {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Membership Header */
.membership-header {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  padding: 2rem 1.5rem;
  color: white;
  text-align: center;
}

.membership-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.membership-header p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

/* Membership Benefits */
.benefits-section {
  padding: 2rem 1.5rem;
  text-align: center;
}

.benefits-section h2 {
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.benefit-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e3f2fd;
  color: #1976d2;
  border-radius: 50%;
  font-size: 1.8rem;
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 1rem;
}

.benefit-desc {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Plan Comparison */
.plans-section {
  padding: 2rem 1.5rem;
  background: #f8f9fa;
}

.plans-section h2 {
  font-size: 1.5rem;
  color: #212529;
  text-align: center;
  margin-bottom: 2rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.plan-card.featured {
  border: 2px solid #2196f3;
  transform: scale(1.03);
}

.featured-tag {
  position: absolute;
  top: 12px;
  right: 0;
  background: #2196f3;
  color: white;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.plan-header {
  padding: 1.5rem;
  background: #f8f9fa;
  text-align: center;
  border-bottom: 1px solid #e9ecef;
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1976d2;
}

.plan-price small {
  font-size: 1rem;
  font-weight: 400;
  color: #6c757d;
}

.plan-duration {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.plan-features {
  padding: 1.5rem;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  padding: 0.75rem 0;
  color: #495057;
  display: flex;
  align-items: center;
}

.plan-features li:not(:last-child) {
  border-bottom: 1px solid #e9ecef;
}

.check-icon {
  color: #28a745;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.times-icon {
  color: #dc3545;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.plan-footer {
  padding: 1.5rem;
  text-align: center;
}

.btn-plan {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #2196f3;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
}

.btn-plan:hover {
  background: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

.btn-plan.outlined {
  background: white;
  color: #2196f3;
  border: 2px solid #2196f3;
}

.btn-plan.outlined:hover {
  background: #e3f2fd;
}

/* Testimonials */
.testimonials-section {
  padding: 3rem 1.5rem;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.07);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-content {
  font-style: italic;
  color: #495057;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 5rem;
  color: #dee2e6;
  position: absolute;
  top: -1rem;
  left: -1rem;
  opacity: 0.3;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.author-name {
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.25rem;
}

.author-role {
  color: #6c757d;
  font-size: 0.9rem;
}

.testimonial-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ced4da;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-dot.active {
  background: #2196f3;
  transform: scale(1.2);
}

/* FAQ Section */
.faq-section {
  padding: 3rem 1.5rem;
  background: #f8f9fa;
}

.faq-section h2 {
  font-size: 1.5rem;
  color: #212529;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #343a40;
  margin: 0;
}

.faq-toggle {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem 1rem 1.5rem;
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-question {
  background: #e3f2fd;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
  color: #1976d2;
}

/* CTA Section */
.cta-section {
  padding: 3rem 1.5rem;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
  border-radius: 12px;
  padding: 3rem 1.5rem;
  color: white;
  box-shadow: 0 10px 30px rgba(33,150,243,0.2);
}

.cta-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}

.btn-cta {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.btn-cta-primary {
  background: white;
  color: #1976d2;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-cta-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
  padding: 3rem 1.5rem;
  background: #f8f9fa;
  text-align: center;
}

.contact-section h2 {
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 2rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-icon {
  font-size: 2rem;
  color: #1976d2;
  margin-bottom: 1rem;
}

.contact-title {
  font-size: 1.2rem;
  color: #343a40;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-info {
  color: #495057;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-link {
  color: #1976d2;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-link:hover {
  color: #0d47a1;
  text-decoration: underline;
}

/* Tablet Styles */
@media (min-width: 768px) {
  .membership-container {
    padding: 2rem;
  }
  
  .membership-header h1 {
    font-size: 2.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-buttons {
    flex-direction: row;
    max-width: 600px;
  }
  
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .plan-card.featured {
    margin-top: -1rem;
    margin-bottom: -1rem;
  }
  
  .contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonial-card {
    padding: 3rem 2rem;
  }
}
