/* =========================================================
   Pricing Page
   ========================================================= */

.pricing-page {
  position: relative;
  overflow: hidden;

  padding-bottom: 80px;

  background: #ffffff;
}

/* =========================================================
   Hero
   ========================================================= */

.pricing-hero {
  position: relative;
  overflow: hidden;

  padding: 90px 0 90px;

  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.pricing-hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(11, 92, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 255, 0.035) 1px, transparent 1px);

  background-size: 42px 42px;

  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);

  pointer-events: none;
}

/* =========================================================
   Glows
   ========================================================= */

.pricing-glow {
  position: absolute;

  width: 420px;
  height: 420px;

  border-radius: 50%;

  filter: blur(85px);

  pointer-events: none;
}

.pricing-glow-one {
  top: -220px;
  left: 8%;

  background: rgba(74, 108, 255, 0.1);
}

.pricing-glow-two {
  top: -170px;
  right: 8%;

  background: rgba(183, 89, 255, 0.08);
}

/* =========================================================
   Hero Content
   ========================================================= */

.pricing-hero-content {
  position: relative;
  z-index: 2;

  max-width: 760px;

  margin: 0 auto;

  text-align: center;
}

/* Eyebrow */

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  padding: 7px 13px;

  border: 1px solid rgba(11, 92, 255, 0.12);

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.78);

  color: #3564c7;

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

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-eyebrow-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #0b5cff;

  box-shadow: 0 0 0 4px rgba(11, 92, 255, 0.08);
}

/* Heading */

.pricing-hero h1 {
  margin: 24px 0 18px;

  color: #101828;

  font-size: clamp(42px, 5vw, 68px);
  font-weight: 800;

  line-height: 1.05;

  letter-spacing: -0.045em;
}

.pricing-hero h1 span {
  display: inline-block;

  background: linear-gradient(100deg, #0b5cff 0%, #635bff 48%, #a855f7 100%);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  color: transparent;
}

.pricing-hero p {
  max-width: 650px;

  margin: 0 auto;

  color: #66758a;

  font-size: 17px;

  line-height: 1.75;
}

/* =========================================================
   Pricing Grid
   ========================================================= */

.pricing-grid {
  position: relative;
  z-index: 5;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));

  gap: 22px;

  max-width: 1120px;

  margin: -25px auto 0;
}

/* =========================================================
   Pricing Card
   ========================================================= */

.pricing-card {
  display: flex;
  flex-direction: column;

  min-height: 570px;

  padding: 30px;

  border: 1px solid #e6eaf0;

  border-radius: 18px;

  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);

  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.055);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.pricing-card:hover {
  transform: translateY(-4px);

  border-color: rgba(11, 92, 255, 0.22);

  box-shadow: 0 20px 50px rgba(16, 24, 40, 0.09);
}

/* =========================================================
   Card Header
   ========================================================= */

.pricing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 16px;
}

.pricing-plan-name {
  color: #172033;

  font-size: 21px;
  font-weight: 750;

  line-height: 1.3;
}

.pricing-plan-label {
  flex-shrink: 0;

  padding: 6px 10px;

  border-radius: 999px;

  background: #f1f5ff;

  color: #3564c7;

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

  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================
   Price
   ========================================================= */

.pricing-price-wrapper {
  margin-top: 30px;
}

.pricing-price {
  display: flex;
  align-items: baseline;

  color: #101828;
}

.pricing-currency {
  margin-right: 4px;

  font-size: 25px;
  font-weight: 700;
}

.pricing-amount {
  font-size: 50px;
  font-weight: 800;

  line-height: 1;

  letter-spacing: -0.045em;
}

.pricing-duration-text {
  display: block;

  margin-top: 8px;

  color: #7b8798;

  font-size: 13px;
  font-weight: 500;
}

/* =========================================================
   Duration Selector
   ========================================================= */

.pricing-selector {
  margin-top: 25px;
}

.pricing-selector label {
  display: block;

  margin-bottom: 8px;

  color: #475467;

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

.pricing-select-wrapper {
  position: relative;
}

.pricing-select {
  appearance: none;
  -webkit-appearance: none;

  width: 100%;

  padding: 11px 42px 11px 13px;

  border: 1px solid #dfe4ec;

  border-radius: 10px;

  outline: none;

  background: #f8faff;

  color: #344054;

  font-family: inherit;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
}

.pricing-select:hover {
  border-color: #c8d4e8;

  background: #f5f8ff;
}

.pricing-select:focus {
  border-color: rgba(11, 92, 255, 0.45);

  box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.08);
}

.pricing-select-wrapper > i {
  position: absolute;

  top: 50%;
  right: 14px;

  color: #66758a;

  font-size: 12px;

  pointer-events: none;

  transform: translateY(-50%);
}

/* =========================================================
   Divider
   ========================================================= */

.pricing-divider {
  height: 1px;

  margin: 25px 0 22px;

  background: #edf0f5;
}

/* =========================================================
   Features
   ========================================================= */

.pricing-features-title {
  margin-bottom: 15px;

  color: #344054;

  font-size: 13px;
  font-weight: 700;
}

.pricing-features {
  display: flex;
  flex-direction: column;

  gap: 13px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;

  gap: 10px;

  color: #66758a;

  font-size: 14px;

  line-height: 1.55;
}

.pricing-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 21px;
  height: 21px;

  margin-top: 1px;

  border-radius: 50%;

  background: #edf4ff;

  color: #0b5cff;

  font-size: 13px;
}

.pricing-no-features {
  color: #98a2b3 !important;
}

/* =========================================================
   Buy Button
   ========================================================= */

.pricing-buy-button {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  width: 100%;

  margin-top: auto;

  padding: 13px 18px;

  border: 1px solid #0b5cff;

  border-radius: 10px;

  background: #0b5cff;

  color: #ffffff;

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

  text-decoration: none;

  cursor: pointer;

  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.pricing-buy-button:hover {
  border-color: #084bd1;

  background: #084bd1;

  color: #ffffff;

  box-shadow: 0 8px 20px rgba(11, 92, 255, 0.18);
}

.pricing-buy-button i {
  font-size: 15px;
}

/* Disabled */

.pricing-buy-button-disabled {
  border-color: #e4e7ec;

  background: #f2f4f7;

  color: #98a2b3;

  cursor: not-allowed;

  pointer-events: none;
}

/* =========================================================
   Empty State
   ========================================================= */

.pricing-empty {
  grid-column: 1 / -1;

  padding: 70px 30px;

  border: 1px solid #e6eaf0;

  border-radius: 18px;

  background: #fbfcff;

  text-align: center;
}

.pricing-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin: 0 auto 18px;

  border-radius: 14px;

  background: #edf4ff;

  color: #0b5cff;

  font-size: 22px;
}

.pricing-empty h2 {
  margin: 0 0 8px;

  color: #172033;

  font-size: 22px;
  font-weight: 750;
}

.pricing-empty p {
  margin: 0;

  color: #7b8798;

  font-size: 14px;
}

/* =========================================================
   Bottom Note
   ========================================================= */

.pricing-note {
  display: flex;
  align-items: flex-start;

  gap: 14px;

  max-width: 1120px;

  margin: 32px auto 0;

  padding: 20px 22px;

  border: 1px solid #e7ebf2;

  border-radius: 14px;

  background: #fafcff;
}

.pricing-note-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 34px;
  height: 34px;

  border-radius: 9px;

  background: #edf4ff;

  color: #0b5cff;

  font-size: 16px;
}

.pricing-note strong {
  display: block;

  margin-bottom: 4px;

  color: #344054;

  font-size: 13px;
}

.pricing-note p {
  margin: 0;

  color: #7b8798;

  font-size: 12px;

  line-height: 1.6;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991.98px) {
  .pricing-hero {
    padding: 75px 0 70px;
  }

  .pricing-grid {
    margin-top: -10px;
  }
}

@media (max-width: 767.98px) {
  .pricing-page {
    padding-bottom: 60px;
  }

  .pricing-hero {
    padding: 60px 0 55px;
  }

  .pricing-hero h1 {
    font-size: 42px;
  }

  .pricing-hero p {
    font-size: 15px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;

    max-width: 480px;

    margin-right: auto;
    margin-left: auto;
  }

  .pricing-card {
    min-height: auto;

    padding: 26px;
  }

  .pricing-features {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .pricing-hero {
    padding: 50px 0 45px;
  }

  .pricing-hero h1 {
    margin-top: 20px;

    font-size: 36px;
  }

  .pricing-hero p {
    font-size: 14px;

    line-height: 1.65;
  }

  .pricing-card {
    padding: 22px;
  }

  .pricing-amount {
    font-size: 42px;
  }

  .pricing-note {
    padding: 17px;
  }
}
