/* ==============================
   PRICING SECTION
   ============================== */

.pricing-section {
  padding: 90px 20px;
  background: #f8fafc;
}

.pricing-header {
  max-width: 700px;
  margin: 0 auto 55px;
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: #2563eb;
}

.pricing-header h2 {
  margin: 0 0 15px;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
}

.pricing-header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #64748b;
}


/* ==============================
   PRICING GRID
   ============================== */

.pricing-grid {
  max-width: 1150px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;

  align-items: stretch;
}


/* ==============================
   PRICING CARD
   ============================== */

.pricing-card {
  position: relative;

  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;

  padding: 35px 30px;

  display: flex;
  flex-direction: column;

  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}


/* ==============================
   MOST POPULAR CARD
   ============================== */

.pricing-card.popular {
  border: 2px solid #2563eb;
  box-shadow: 0 15px 45px rgba(37, 99, 235, 0.16);
}

.pricing-card.popular:hover {
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.22);
}


/* ==============================
   POPULAR BADGE
   ============================== */

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;

  transform: translateX(-50%);

  padding: 7px 18px;

  border-radius: 30px;

  background: #2563eb;
  color: #ffffff;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;

  white-space: nowrap;

  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
}


/* ==============================
   PLAN CONTENT
   ============================== */

.plan-top {
  min-height: 145px;
}

.plan-label {
  display: inline-block;

  font-size: 12px;
  font-weight: 700;

  color: #64748b;

  text-transform: uppercase;
  letter-spacing: 1px;

  margin-bottom: 8px;
}

.plan-top h3 {
  margin: 0 0 12px;

  font-size: 25px;
  font-weight: 800;

  color: #111827;
}

.plan-top p {
  margin: 0;

  font-size: 14px;
  line-height: 1.65;

  color: #64748b;
}


/* ==============================
   PRICE
   ============================== */

.price {
  margin: 20px 0 25px;

  font-size: 42px;
  font-weight: 800;

  color: #111827;
}

.price span {
  font-size: 24px;
  vertical-align: top;
  margin-right: 3px;
}

.price small {
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
}


/* ==============================
   BUTTONS
   ============================== */

.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  min-height: 48px;

  border-radius: 10px;

  font-size: 15px;
  font-weight: 700;

  text-decoration: none;

  transition: all 0.2s ease;

  box-sizing: border-box;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline {
  background: #ffffff;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.btn-outline:hover {
  background: #2563eb;
  color: #ffffff;
}


/* ==============================
   FEATURES
   ============================== */

.features {
  margin-top: 30px;

  padding-top: 25px;

  border-top: 1px solid #e5e7eb;
}

.features h4 {
  margin: 0 0 18px;

  font-size: 14px;
  font-weight: 700;

  color: #111827;
}

.features ul {
  list-style: none;

  margin: 0;
  padding: 0;
}

.features li {
  position: relative;

  margin-bottom: 13px;

  padding-left: 2px;

  font-size: 14px;
  line-height: 1.5;

  color: #475569;
}

.features li::first-letter {
  color: #16a34a;
  font-weight: 800;
}


/* ==============================
   TABLET
   ============================== */

@media (max-width: 900px) {

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
  }

  .pricing-card {
    padding: 32px 28px;
  }

  .pricing-header h2 {
    font-size: 32px;
  }
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 600px) {

  .pricing-section {
    padding: 65px 15px;
  }

  .pricing-header {
    margin-bottom: 45px;
  }

  .pricing-header h2 {
    font-size: 28px;
  }

  .pricing-header p {
    font-size: 14px;
  }

  .pricing-grid {
    gap: 22px;
  }

  .pricing-card {
    padding: 30px 24px;
    border-radius: 15px;
  }

  .price {
    font-size: 38px;
  }
}