/* ============================
   PRICING PAGE STYLING
=============================*/
/* Title */
.section-title {
  font-size: 2.75rem; /* slightly larger */
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
}

.section-subtitle {
  max-width: 800px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cbd5e1;
  text-align: center;
  margin: 0 auto;
}

.highlight {
  color: #22c55e;
  font-weight: 600;
}

/* === Layout & Wrapper === */
.pricing-page {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.section {
  margin-bottom: 3rem;
}

.pricing-cards-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;  /* <-- key to equal height cards */
  gap: 2rem;
  justify-content: center;
}
/*Dashboard / Telegram */
.section-header {
  text-align: center;
  margin: 2.5rem 0 1.5rem;
  position: relative;
}

.section-header h2 {
  display: inline-block;
  background-color: #0a0f1a;
  padding: 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.section-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #374151;
  z-index: 0;
}




/* ============================
   PRICING CARDS
=============================*/
.card-main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* === Base Card === */
.card {
  background-color: #1f2937;
  border: 1px solid #374151;
  border-radius: 1rem;
  padding: 1.5rem;
  width: 280px;
  color: #f9fafb;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;

  /* Flex column layout for spacing */
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  height: 100%;
}


/* === Highlighted Card (Green Border) === */
.card.highlight {
  /* Remove green border */
  border: 1px solid #374151;
}

/* === Most Popular Card === */
.card.most-popular {
  border: 2px solid #22c55e;
  position: relative;
}

/* === Most Popular Badge === */
.card.most-popular .badge {
  position: absolute;
  top: -1px;
  right: -1px;
  background-color: #22c55e;
  color: #0a0f1a;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8888px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 2;
}


/* ============================
   CARD CONTENT
=============================*/

.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* REMOVE space-between */
}

/* Stretch content to match height but allow natural spacing */
.plan-description {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22c55e;
  margin: 0.5rem 0;
}

.per-day {
  font-size: 0.9rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

/* === Feature List === */
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-align: left;
  font-size: 0.95rem;
  color: #e5e7eb;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.35rem;
}

.feature-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

.feature-list li.excluded::before {
  content: '✘';
  color: #ef4444;
}

/* === CTA Button === */
.cta-button {
  margin-top: auto;
  background-color: #22c55e;
  color: #0a0f1a;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.cta-button:hover {
  background-color: #16a34a;
}



/* ============================
   FREE TELEGRAM MODAL
=============================*/

.free-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.free-modal.hidden {
  display: none;
}

.free-modal-content {
  background-color: #1f2937;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  width: 300px;
}

.free-modal-img {
  width: 100%;
  max-width: 260px;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}

.free-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f9fafb;
  margin-bottom: 1rem;
  text-align: center;
}

.free-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem 0;
  color: #f3f4f6;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.5;
}

.free-features li {
  margin-bottom: 0.5rem;
  padding-left: 1.4rem;
  position: relative;
}

.free-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: bold;
}

.join-now-btn {
  display: inline-block;
  background-color: #22c55e;
  color: #0a0f1a;
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s;
}

.join-now-btn:hover {
  background-color: #16a34a;
}

.close-free-modal {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #9ca3af;
  cursor: pointer;
}
