/*
 * Pricing Hero Section
 * Main pricing cards display with three tiers
 */

.pricing-hero {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
  position: relative;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .pricing-cards {
    gap: 3rem;
  }
}

/* Pricing Card */
.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem 2.5rem 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border: 2px solid rgba(0,102,255,.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,102,255,.15);
  border-color: rgba(0,102,255,.3);
}

/* 2-Year Card - Stronger Highlight */
.pricing-card:nth-child(2) {
  background: linear-gradient(180deg, #e6f2ff 0%, #f5faff 100%);
  border: 2px solid rgba(0,102,255,.4);
  box-shadow: 0 6px 25px rgba(0,102,255,.15);
}

.pricing-card:nth-child(2):hover {
  border-color: rgba(0,102,255,.6);
  box-shadow: 0 12px 40px rgba(0,102,255,.25);
}

/* Popular Card - Last Card Highlight */
.pricing-card.popular {
  background: linear-gradient(135deg, #0066FF 0%, #00D4FF 100%);
  border: 3px solid var(--secondary);
  transform: scale(1);
  box-shadow: 0 12px 40px rgba(0,102,255,.25);
  min-height: 620px;
}

@media (min-width: 768px) {
  .pricing-card.popular {
    transform: scale(1.08);
  }

  .pricing-card.popular:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 16px 50px rgba(0,102,255,.35);
  }
}

.pricing-card.popular:hover {
  box-shadow: 0 16px 50px rgba(0,102,255,.35);
}

.pricing-card.popular .pricing-title,
.pricing-card.popular .pricing-tagline,
.pricing-card.popular .pricing-list,
.pricing-card.popular .pricing-bonus {
  color: var(--white);
}

.pricing-card.popular .price-amount {
  background: linear-gradient(135deg, #FFFFFF 0%, #E0F7FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card.popular .price-period {
  color: rgba(255,255,255,.8);
}

/* Best Value Badge */
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255,184,0,.4);
}

/* Pricing Header */
.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.pricing-card.popular .pricing-header {
  border-bottom-color: rgba(255,255,255,.2);
}

.pricing-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

@media (min-width: 768px) {
  .price-amount {
    font-size: 3.75rem;
  }
}

.price-period {
  font-size: 1.125rem;
  color: var(--gray);
  font-weight: 600;
  text-transform: lowercase;
}

.pricing-bonus {
  background: rgba(0,212,255,.15);
  color: var(--primary);
  padding: 0.625rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin: 0 auto;
}

.pricing-card.popular .pricing-bonus {
  background: rgba(255,255,255,.25);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255,255,255,.2);
}

/* Pricing Features */
.pricing-features {
  flex: 1;
  margin-bottom: 2.5rem;
  display: block !important;
  width: 100%;
}

.pricing-tagline {
  font-size: 1rem;
  color: var(--gray);
  margin: 0 0 1.5rem 0 !important;
  font-weight: 400;
  text-align: left !important;
  font-style: normal;
  line-height: 1.6;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
  float: none !important;
}

.pricing-card.popular .pricing-tagline {
  color: rgba(255,255,255,.95);
  font-weight: 400;
}

.pricing-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  text-align: left !important;
  display: block !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.pricing-list li {
  padding: 1rem 0;
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0,0,0,.06);
  display: flex !important;
  width: 100% !important;
  float: none !important;
  align-items: flex-start;
  gap: 0.75rem;
}

.pricing-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.pricing-card.popular .pricing-list li {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.15);
}

.pricing-card.popular .pricing-list li::before {
  color: var(--white);
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list li strong {
  font-weight: 700;
}

/* Pricing CTA Button */
.pricing-cta {
  width: 100%;
  text-align: center;
  margin-top: auto;
}

.pricing-card.popular .pricing-cta {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
}

.pricing-card.popular .pricing-cta:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255,255,255,.3);
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .pricing-hero {
    padding: 4rem 0;
  }

  .pricing-card {
    padding: 2rem 1.75rem 2.5rem;
    min-height: auto;
  }

  .pricing-card.popular {
    transform: scale(1);
    min-height: auto;
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .price-amount {
    font-size: 3rem;
  }

  .pricing-title {
    font-size: 1.125rem;
  }

  .pricing-badge {
    font-size: 0.6875rem;
    padding: 0.4rem 1rem;
  }

  .pricing-tagline {
    font-size: 0.9375rem;
  }

  .pricing-list li {
    font-size: 0.9375rem;
    padding: 0.875rem 0;
  }
}
