/* Pricing Section Styles */
.pricing-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.pricing-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

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

.pricing-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

/* No underline version for section headers */
.section-header.no-underline h2::after {
  display: none !important; /* Hide the underline with higher specificity */
}

.section-header.no-underline h2::before {
  display: none !important; /* Also hide any before pseudo-element */
}

.section-header.no-underline p {
  font-size: 1.5rem;
  margin-top: 1rem;
  color: #4b5563;
}

.pricing-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Modern pricing box with enhanced design */
.pricing-card.modern {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12), 0 5px 10px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(229, 231, 235, 0.5);
  overflow: hidden;
  max-width: 650px;
  margin: 0 auto;
}

.pricing-card.modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.price-spotlight {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
  border-radius: 16px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.price-spotlight::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
  border-radius: 50%;
  top: -60px;
  right: -60px;
}

.price-spotlight::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 70%);
  border-radius: 50%;
  bottom: -40px;
  left: -40px;
}

.price-tag {
  text-align: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
}

.price-tag.promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.price-free {
  display: flex;
  align-items: baseline;
  margin-bottom: 5px;
}

.price-display {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  justify-content: center;
}

.price-tag .currency {
  font-size: 2.5rem;
  font-weight: 600;
  vertical-align: top;
  display: inline-block;
  margin-top: 0.5rem;
  color: #111827;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.price-tag .amount {
  font-size: 6.5rem;
  font-weight: 800;
  line-height: 1;
  color: #111827;
  background: linear-gradient(45deg, #1a1a1a, #4a4a4a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
  position: relative;
}

.amount.original {
  text-decoration: line-through;
  color: #888;
  margin-right: 10px;
  font-size: 4.5rem;
  position: relative;
}

.amount.promo {
  color: #2ecc71;
  font-weight: bold;
  font-size: 6.5rem;
  margin-right: 5px; /* Megnövelt térköz a 0 számjegy és a /month felirat között */
}

.price-tag .period {
  font-size: 1.5rem;
  color: #6b7280;
  position: relative;
  top: -1.5rem;
}

.price-description {
  text-align: center;
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

/* Feature list */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  padding: 0.5rem 0;
}

.feature-check {
  color: #10b981;
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
}

.feature-text {
  color: #4b5563;
  line-height: 1.5;
}

/* Token pricing section */
.token-pricing {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-radius: 16px;
  padding: 1.8rem;
  margin-bottom: 2rem;
}

.token-pricing-header {
  font-size: 1.1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1.2rem;
}

.token-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed #e5e7eb;
  font-size: 1rem;
}

.token-price-row:last-of-type {
  border-bottom: none;
}

.token-price-row span:first-child {
  color: #4b5563;
}

.token-value {
  font-weight: 600;
  color: #111827;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

/* CTA button */
.pricing-cta {
  margin-top: 2rem;
}

.button.primary.full-width {
  display: block;
  width: 100%;
  background: linear-gradient(45deg, #2563eb, #3b82f6);
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  padding: 1.2rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
  letter-spacing: 0.02em;
  border: none;
  position: relative;
  overflow: hidden;
}

.button.primary.full-width:hover {
  background: linear-gradient(45deg, #1d4ed8, #3b82f6);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.button.primary.full-width:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(37, 99, 235, 0.3);
}

.button.primary.full-width::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  transition: left 0.7s ease;
}

.button.primary.full-width:hover::before {
  left: 100%;
}

.pricing-note {
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 1rem;
}

.original-price {
  color: #888;
  font-size: 1rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pricing-section {
    padding: 3rem 0;
  }
  
  .pricing-title {
    font-size: 2rem;
  }
  
  .pricing-subtitle {
    font-size: 1.125rem;
  }
  
  .pricing-card.modern {
    padding: 2rem 1.5rem;
  }
  
  .price-tag .amount {
    font-size: 4.5rem;
  }
  
  .price-tag .currency {
    font-size: 2rem;
  }
  
  .price-tag .period {
    font-size: 1.25rem;
    top: -1rem;
  }
  
  .pricing-features li {
    font-size: 1rem;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .pricing-section {
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  }
  
  .pricing-title {
    background: linear-gradient(45deg, #e2e8f0, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .pricing-subtitle {
    color: #cbd5e1;
  }
  
  .pricing-card.modern {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .price-spotlight {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }
  
  .price-tag .amount {
    background: linear-gradient(45deg, #e2e8f0, #f8fafc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .token-pricing {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  }
  
  .token-value {
    background: rgba(16, 185, 129, 0.15);
    color: #a7f3d0;
  }
}
