/* Pricing */
.pricing {
  padding: 120px 0px;
}

.pricing .pricing-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 16px;
}

.pricing-eyebrow {
  color: #0b0f28;
  font-size: 32px;
  font-weight: 800;
  margin: 60px 0px 80px;
  text-align: left;
}

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

.pricing-heading {
  font-size: 48px;
  color: #0b0f28;
  font-weight: 800;
  margin-bottom: 16px;
}

.pricing-subheading {
  color: #a1a1a1;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 16px;
}

.pricing-eyebrow .bigger {
  font-size: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.price-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.price-card .plan-type {
  text-align: center;
  color: #0b0f28;
  margin-bottom: 24px;
  font-size: 22px;
}

.price-card .plan-price {
  text-align: center;
  color: #0b0f28;
  font-size: 54px;
  font-weight: 800;
  margin-bottom: 30px;
}

.price-card .plan-price .currency {
  font-size: 0.6em;
  vertical-align: super;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 16px 0 28px;
}

.plan-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #0b0f28;
  line-height: 1.6;
}

.price-card .plan-type,
.price-card .plan-price,
.price-card .plan-features li {
  transition: color 0.25s ease;
}

.plan-features .check {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #1e2a78;
  transition: background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Checkmark tick using ::after */
.plan-features .check::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 2px;
}

.plan-cta {
  align-self: center;
  background: #1e2a78;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 9999px;
  font-weight: 700;
  margin: 40px 0px 20px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* Featured card */
.price-card.featured {
  color: #ffffff;
  background: linear-gradient(90deg, #1e2a78 0%, #384ede 100%);
}

.price-card.featured .plan-type,
.price-card.featured .plan-price,
.price-card.featured .plan-features li {
  color: #ffffff;
}

.price-card.featured .check {
  background: #ffffff;
}

.price-card.featured .check::after {
  border-color: #1e2a78;
}

.price-card.featured .plan-cta.light {
  background: #ffffff;
  color: #1e2a78;
}

/* Featured card hover -> keep gradient background */
.price-card.featured:hover {
  background: linear-gradient(90deg, #1e2a78 0%, #384ede 100%);
}

/* Hover style for side cards */
.price-card:not(.featured):hover {
  background: #1e2a78;
}
.price-card:not(.featured):hover .plan-type,
.price-card:not(.featured):hover .plan-price,
.price-card:not(.featured):hover .plan-features li {
  color: #ffffff;
}
.price-card:not(.featured):hover .check {
  background: #ffffff;
}
.price-card:not(.featured):hover .check::after {
  border-color: #1e2a78;
}
.price-card:not(.featured):hover .plan-cta {
  background: #ffffff;
  color: #1e2a78;
}

/* Subtle lift on hover for all cards */
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-eyebrow {
    font-size: 28px;
  }
  .pricing-eyebrow .bigger {
    font-size: 34px;
  }
}

@media (max-width: 1280px) {
  .pricing-grid {
    gap: 22px;
  }
  .price-card .plan-price {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .price-card .plan-price {
    font-size: 36px;
  }
  .plan-features {
    gap: 18px;
  }
}
