/* ================================
   MEMBERSHIP PAGE PREMIUM STYLES
   ================================ */

/* Page Layout */
.membership-page {
  background: var(--gradient-background-light);
  min-height: 100vh;
}

/* Main content - navbar handles its own spacing */

/* ================================
   PREMIUM HERO SECTION
   ================================ */

.membership-hero {
  background: var(--bluecart-gradient);
  padding: var(--spacing-20) 0 var(--spacing-16);
  position: relative;
  overflow: hidden;
}

.membership-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
              linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
              linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
              linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 30px 30px;
  background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-8);
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-2);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  color: var(--text-light);
  padding: var(--spacing-3) var(--spacing-6);
  border-radius: var(--radius-2xl);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: var(--spacing-6);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-light-secondary);
  margin-bottom: var(--spacing-12);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-8);
  max-width: 800px;
  margin: 0 auto;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-3);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  padding: var(--spacing-8) var(--spacing-4);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  font-size: var(--font-size-3xl);
}

.feature-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: var(--font-size-base);
}

/* ================================
   MEMBERSHIP PLANS SECTION
   ================================ */

.membership-plans {
  padding: var(--spacing-20) 0;
  background: var(--bg-primary);
}

.plans-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-8);
}

.plans-header {
  text-align: center;
  margin-bottom: var(--spacing-16);
}

.plans-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-4);
}

.plans-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-8);
  align-items: stretch;
}

/* ================================
   PLAN CARDS
   ================================ */

.plan-card {
  background: white;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  position: relative;
  border: 2px solid var(--slate-200);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Styles for dynamic Firebase plan cards */
.plan-card[data-tier="regular"],
.plan-card[data-tier="silver"],
.plan-card[data-tier="gold"],
.plan-card[data-tier="platinum"] {
  background: white;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plan-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.25),
    0 8px 16px -4px rgba(46, 134, 193, 0.1);
  border-color: var(--bluecart-primary);
}

.plan-card.featured,
.plan-card[data-tier="gold"] {
  border: 2px solid var(--bluecart-primary);
  background: linear-gradient(135deg, #ffffff 0%, rgba(46, 134, 193, 0.02) 100%);
  box-shadow: 
    0 10px 25px rgba(46, 134, 193, 0.15),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
  position: relative;
}

.plan-card.featured::before,
.plan-card[data-tier="gold"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bluecart-gradient);
}

.plan-card.featured:hover,
.plan-card[data-tier="gold"]:hover {
  transform: scale(1.05) translateY(-16px);
  box-shadow: 
    0 32px 64px -12px rgba(46, 134, 193, 0.25),
    0 12px 24px -4px rgba(46, 134, 193, 0.15);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bluecart-gradient);
  color: var(--text-light);
  padding: var(--spacing-2) var(--spacing-6);
  border-radius: var(--radius-2xl);
  font-size: var(--font-size-sm);
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

.plan-card[data-tier="gold"]::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #daa520 0%, #f1c232 100%);
  color: white;
  padding: var(--spacing-2) var(--spacing-6);
  border-radius: var(--radius-2xl);
  font-size: var(--font-size-sm);
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(218, 165, 32, 0.3);
  letter-spacing: 1px;
  z-index: 1;
}

.plan-card[data-tier="silver"]::after {
  content: 'GREAT VALUE';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a0a0a0 0%, #e0e0e0 100%);
  color: white;
  padding: var(--spacing-2) var(--spacing-6);
  border-radius: var(--radius-2xl);
  font-size: var(--font-size-sm);
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(160, 160, 160, 0.3);
  letter-spacing: 1px;
  z-index: 1;
}

.plan-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--bluecart-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.currency {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bluecart-primary);
  opacity: 0.8;
}

.amount {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--bluecart-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0.25rem;
  position: relative;
}

.period {
  font-size: 1rem;
  color: var(--slate-500);
  font-weight: 500;
}

.plan-description {
  color: var(--slate-600);
  font-size: 1.1rem;
  margin: 0 0 2rem 0;
  line-height: 1.6;
  font-weight: 500;
  text-align: center;
  opacity: 0.9;
  position: relative;
  padding-bottom: 1.5rem;
}

.plan-description::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--bluecart-gradient);
  border-radius: 3px;
}

.plan-card[data-tier="gold"] .plan-description::after {
  background: linear-gradient(135deg, #daa520 0%, #f1c232 100%);
  width: 80px;
}

.plan-card[data-tier="silver"] .plan-description::after {
  background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 100%);
  width: 70px;
}

/* ================================
   PLAN FEATURES
   ================================ */

.plan-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.plan-features .feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--slate-100);
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  margin: 0;
  transition: all 0.25s ease;
  position: relative;
}

.plan-features .feature-item:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(46, 134, 193, 0.05) 0%, transparent 100%);
}

.plan-features .feature-item::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--bluecart-gradient);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 4px 8px rgba(46, 134, 193, 0.2);
  transition: transform 0.2s ease;
}

.plan-features .feature-item:hover::before {
  transform: scale(1.1) rotate(5deg);
}

.plan-card[data-tier="gold"] .feature-item::before {
  background: linear-gradient(135deg, #daa520 0%, #f1c232 100%);
  box-shadow: 0 4px 8px rgba(218, 165, 32, 0.25);
}

.plan-card[data-tier="silver"] .feature-item::before {
  background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 100%);
  box-shadow: 0 4px 8px rgba(192, 192, 192, 0.25);
}

.plan-features .feature-item:last-child {
  border-bottom: none;
}

.plan-features .feature-icon {
  color: var(--bluecart-primary);
  flex-shrink: 0;
}

.plan-features .feature-item span {
  color: var(--slate-700);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  transition: transform 0.2s ease;
}

.plan-features .feature-item:hover span {
  transform: translateX(5px);
  color: var(--bluecart-primary);
}

.plan-card[data-tier="gold"] .feature-item:hover span {
  color: #daa520;
}

.plan-card[data-tier="silver"] .feature-item:hover span {
  color: #808080;
}

/* ================================
   PREMIUM PLAN BUTTONS
   ================================ */

.plan-button {
  width: 100%;
  padding: 1.25rem 2rem;
  border-radius: 16px;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.plan-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.plan-button:hover::before {
  left: 100%;
}

.basic-button {
  background: linear-gradient(135deg, var(--slate-50) 0%, #ffffff 100%);
  color: var(--bluecart-primary);
  border: 2px solid var(--bluecart-primary);
  box-shadow: 
    0 4px 14px 0 rgba(46, 134, 193, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.basic-button:hover {
  background: var(--bluecart-gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: 
    0 12px 24px rgba(46, 134, 193, 0.25),
    0 4px 8px rgba(46, 134, 193, 0.1);
  border-color: transparent;
}

.premium-button {
  background: var(--bluecart-gradient);
  color: white;
  box-shadow: 
    0 8px 20px rgba(46, 134, 193, 0.3),
    0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.premium-button:hover {
  background: var(--bluecart-gradient-reverse);
  transform: translateY(-4px);
  box-shadow: 
    0 16px 32px rgba(46, 134, 193, 0.4),
    0 8px 16px rgba(46, 134, 193, 0.2);
}

.vip-button {
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 50%, var(--bluecart-primary) 100%);
  color: white;
  box-shadow: 
    0 8px 20px rgba(30, 41, 59, 0.4),
    0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
  position: relative;
}

.vip-button::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 50%, var(--bluecart-primary) 100%);
  border-radius: 14px;
  z-index: -1;
}

.vip-button:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 40px rgba(30, 41, 59, 0.5),
    0 8px 16px rgba(46, 134, 193, 0.2);
  background: linear-gradient(135deg, var(--slate-700) 0%, var(--slate-800) 50%, var(--bluecart-cyan) 100%);
}

/* ================================
   BENEFITS SECTION
   ================================ */

.membership-benefits {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--cyan-50) 100%);
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.benefits-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--bluecart-primary);
  margin-bottom: 4rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.benefit-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--slate-200);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--bluecart-primary);
}

.benefit-icon {
  color: var(--bluecart-primary);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bluecart-primary);
  margin-bottom: 1rem;
}

.benefit-description {
  color: var(--slate-500);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* ================================
   DYNAMIC FIREBASE PLAN STYLING
   ================================ */

/* Plan buttons for dynamically generated content */
.plan-card[data-tier="regular"] {
  background: white;
  border: 2px solid var(--slate-200);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  position: relative;
}

.plan-card[data-tier="regular"]:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--bluecart-primary);
}

.plan-card[data-tier="regular"] .plan-button,
.plan-card[data-tier="regular"] .btn-plan {
  background: linear-gradient(135deg, var(--slate-50) 0%, #ffffff 100%);
  color: var(--bluecart-primary);
  border: 2px solid var(--bluecart-primary);
  box-shadow: 
    0 4px 14px 0 rgba(46, 134, 193, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.plan-card[data-tier="regular"] .plan-button:hover,
.plan-card[data-tier="regular"] .btn-plan:hover {
  background: var(--bluecart-gradient);
  color: white;
  transform: translateY(-3px);
  box-shadow: 
    0 12px 24px rgba(46, 134, 193, 0.25),
    0 4px 8px rgba(46, 134, 193, 0.1);
  border-color: transparent;
}

.plan-card[data-tier="silver"] {
  border: 2px solid #a0a0a0;
  background: linear-gradient(135deg, #ffffff 0%, rgba(160, 160, 160, 0.05) 100%);
  box-shadow: 
    0 8px 16px rgba(160, 160, 160, 0.1),
    0 4px 6px -1px rgba(0, 0, 0, 0.05);
  position: relative;
}

.plan-card[data-tier="silver"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #a0a0a0 0%, #e0e0e0 100%);
}

.plan-card[data-tier="silver"]:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 20px 40px rgba(160, 160, 160, 0.2),
    0 8px 16px rgba(160, 160, 160, 0.1);
  border-color: #a0a0a0;
}

.plan-card[data-tier="silver"] .plan-price .currency,
.plan-card[data-tier="silver"] .plan-price .amount,
.plan-card[data-tier="silver"] .plan-price .period {
  background: linear-gradient(135deg, #a0a0a0 0%, #e0e0e0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.plan-card[data-tier="silver"] .plan-name {
  background: linear-gradient(135deg, #a0a0a0 0%, #e0e0e0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-card[data-tier="silver"] .plan-button,
.plan-card[data-tier="silver"] .btn-plan {
  background: linear-gradient(135deg, #a0a0a0 0%, #d0d0d0 100%);
  color: white;
  box-shadow: 
    0 8px 20px rgba(160, 160, 160, 0.3),
    0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.plan-card[data-tier="silver"] .plan-button:hover,
.plan-card[data-tier="silver"] .btn-plan:hover {
  background: linear-gradient(135deg, #d0d0d0 0%, #a0a0a0 100%);
  transform: translateY(-4px);
  box-shadow: 
    0 16px 32px rgba(160, 160, 160, 0.4),
    0 8px 16px rgba(160, 160, 160, 0.2);
}

.plan-card[data-tier="gold"] {
  border: 2px solid #daa520;
  background: linear-gradient(135deg, #ffffff 0%, rgba(218, 165, 32, 0.05) 100%);
  box-shadow: 
    0 10px 25px rgba(218, 165, 32, 0.15),
    0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
  position: relative;
}

.plan-card[data-tier="gold"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #daa520 0%, #f1c232 100%);
}

.plan-card[data-tier="gold"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bluecart-gradient);
}

.plan-card[data-tier="gold"]:hover {
  transform: scale(1.05) translateY(-16px);
  box-shadow: 
    0 32px 64px -12px rgba(46, 134, 193, 0.25),
    0 12px 24px -4px rgba(46, 134, 193, 0.15);
}

.plan-card[data-tier="gold"] .plan-price .currency,
.plan-card[data-tier="gold"] .plan-price .amount,
.plan-card[data-tier="gold"] .plan-price .period {
  background: linear-gradient(135deg, #daa520 0%, #f1c232 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.plan-card[data-tier="gold"] .plan-name {
  background: linear-gradient(135deg, #daa520 0%, #f1c232 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-card[data-tier="gold"] .plan-button,
.plan-card[data-tier="gold"] .btn-plan {
  background: linear-gradient(135deg, #daa520 0%, #f1c232 100%);
  color: white;
  box-shadow: 
    0 8px 20px rgba(218, 165, 32, 0.3),
    0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.plan-card[data-tier="gold"] .plan-button:hover,
.plan-card[data-tier="gold"] .btn-plan:hover {
  background: linear-gradient(135deg, #f1c232 0%, #daa520 100%);
  transform: translateY(-4px);
  box-shadow: 
    0 16px 32px rgba(218, 165, 32, 0.4),
    0 8px 16px rgba(218, 165, 32, 0.2);
}

.plan-card[data-tier="platinum"] .plan-button,
.plan-card[data-tier="platinum"] .btn-plan {
  background: linear-gradient(135deg, var(--slate-800) 0%, var(--slate-900) 50%, var(--bluecart-primary) 100%);
  color: white;
  box-shadow: 
    0 8px 20px rgba(30, 41, 59, 0.4),
    0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.plan-card[data-tier="platinum"] .plan-button:hover,
.plan-card[data-tier="platinum"] .btn-plan:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 20px 40px rgba(30, 41, 59, 0.5),
    0 8px 16px rgba(46, 134, 193, 0.2);
  background: linear-gradient(135deg, var(--slate-700) 0%, var(--slate-800) 50%, var(--bluecart-cyan) 100%);
}

/* Plan card name styling for Firebase data */
.plan-card[data-tier] .plan-name {
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--bluecart-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Plan price styling for Firebase data */
.plan-card[data-tier] .amount {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--bluecart-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Properly style the hover effect on feature items */
.plan-card[data-tier] .feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--slate-100);
  margin: 0;
  transition: all 0.2s ease;
}

.plan-card[data-tier] .feature-item:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, rgba(46, 134, 193, 0.02) 0%, transparent 100%);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
  /* Removed responsive padding-top since navbar handles its own spacing */

  .membership-hero {
    padding: 4rem 0 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .feature-item {
    padding: 1.5rem 1rem;
  }

  .plans-title {
    font-size: 2rem;
  }

  .plans-subtitle {
    font-size: 1.1rem;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-8px);
  }

  .plan-card {
    padding: 2rem 1.5rem;
  }

  .benefits-title {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefit-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-container {
    padding: 0 1rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .plans-container,
  .benefits-container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .amount {
    font-size: 2.5rem;
  }
}

/* ================================
   LOADING SPINNER INTEGRATION
   ================================ */

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bluecart-primary) 0%, var(--bluecart-cyan) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ================================
   PREMIUM PLAN ANIMATIONS
   ================================ */

/* Subtle background pulse for featured plans */
@keyframes cardPulse {
  0% {
    box-shadow: 0 10px 25px rgba(46, 134, 193, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 15px 30px rgba(46, 134, 193, 0.25), 0 6px 10px -1px rgba(0, 0, 0, 0.15);
  }
  100% {
    box-shadow: 0 10px 25px rgba(46, 134, 193, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}

/* Gold plan pulsing animation */
@keyframes goldPulse {
  0% {
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.25), 0 6px 10px -1px rgba(0, 0, 0, 0.15);
  }
  100% {
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.15), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }
}

/* Silver plan pulsing animation */
@keyframes silverPulse {
  0% {
    box-shadow: 0 8px 16px rgba(148, 163, 184, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  }
  50% {
    box-shadow: 0 12px 24px rgba(148, 163, 184, 0.2), 0 6px 10px -1px rgba(0, 0, 0, 0.1);
  }
  100% {
    box-shadow: 0 8px 16px rgba(148, 163, 184, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  }
}

/* Button hover shine effect */
@keyframes buttonShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Apply animations to plan cards */
.plan-card[data-tier="gold"] {
  animation: goldPulse 3s infinite ease-in-out;
}

.plan-card[data-tier="silver"] {
  animation: silverPulse 3s infinite ease-in-out;
}

.plan-card.featured {
  animation: cardPulse 3s infinite ease-in-out;
}

/* Enhanced button shine animation */
.plan-card[data-tier] .plan-button::before,
.plan-button::before {
  animation: buttonShine 3s infinite;
  animation-delay: 1s;
}

/* Add floating animation for price */
@keyframes floatPrice {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.plan-price {
  animation: floatPrice 6s infinite ease-in-out;
}
