/* ===== PRICING SECTION ===== */
.pricing {
  padding: 80px 60px;
  background: #f8fafc;
}

/* --- Header --- */
.pricing-header {
  text-align: center;
  margin-bottom: 60px;
}

.pricing-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2b6cb0;
  margin-bottom: 10px;
}

.pricing-header h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #1a1a2e;
  margin-bottom: 10px;
}

.pricing-subtitle {
  font-size: 1.05rem;
  color: #4a5568;
}

/* --- Grid --- */
.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  flex-wrap: wrap;
}

/* --- Cards --- */
.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 32px;
  width: 320px;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;

  /* Scroll animation starting state */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pricing-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card.visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Featured Card --- */
.pricing-card-featured {
  background: #1a2a4a;
}

/* --- Most Popular Badge --- */
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b6cb0;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  white-space: nowrap;
}

/* --- Card Header (icon + title) --- */
.pricing-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pricing-card-header i {
  font-size: 1.5rem;
  color: #2b6cb0;
}

.pricing-card-featured .pricing-card-header i {
  color: #90cdf4;
}

.pricing-card-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0;
}

.pricing-card-featured .pricing-card-header h3 {
  color: #ffffff;
}

/* --- Pricing Items List --- */
.pricing-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e8e8;
}

.pricing-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing-card-featured .pricing-item {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.pricing-name {
  font-size: 0.95rem;
  color: #4a5568;
}

.pricing-card-featured .pricing-name {
  color: #e2e8f0;
}

.pricing-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1a2e;
}

.pricing-card-featured .pricing-price {
  color: #ffffff;
}

/* --- Footer --- */
.pricing-footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.pricing-footer p {
  font-size: 0.95rem;
  color: #718096;
}

.pricing-cta {
  display: inline-block;
  background: #2b6cb0;
  color: #ffffff;
  padding: 16px 48px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.pricing-cta:hover {
  background: #1a4a80;
  transform: translateY(-2px);
}