/* ============================================================
   PRICING PAGE — Meawfy 2026 redesign
   ============================================================ */

/* ---- Page wrapper ---------------------------------------- */
.pricing-page {
  padding: 0 1rem 5rem;
}

/* ---- Flash sale bar -------------------------------------- */
.flash-bar {
  position: sticky;
  top: 77px;
  z-index: 99;
  background: rgba(20, 8, 8, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 0.5px solid rgba(220, 60, 60, 0.3);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flash-text {
  font-size: 13px;
  color: #ff9090;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.flash-text strong {
  color: #ffb0b0;
  font-size: 14px;
}

.flash-icon {
  font-size: 16px;
}

/* Countdown */
.countdown {
  display: flex;
  gap: 5px;
  align-items: center;
}

.cd-unit {
  background: rgba(220, 60, 60, 0.25);
  border: 0.5px solid rgba(220, 60, 60, 0.3);
  border-radius: 6px;
  padding: 4px 9px;
  text-align: center;
  min-width: 40px;
}

.cd-num {
  font-size: 16px;
  font-weight: 500;
  color: #ffb0b0;
  line-height: 1.1;
}

.cd-lbl {
  font-size: 9px;
  color: #ff9090;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cd-sep {
  font-size: 16px;
  color: #ff9090;
  font-weight: 500;
}

/* ---- Hero ------------------------------------------------- */
.pricing-hero {
  text-align: center;
  padding: 2.75rem 1rem 2rem;
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5c055;
  background: rgba(232, 160, 48, 0.15);
  border: 0.5px solid rgba(232, 160, 48, 0.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.pricing-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: #fff;
}

@media (min-width: 760px) {
  .pricing-hero h1 {
    font-size: 2.125rem;
  }
}

.pricing-hero p {
  color: var(--text-secondary, #c0c3d8);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 1.25rem;
}

.pricing-hero-payment-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pricing-hero-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary, #c0c3d8);
  background: var(--bg-tertiary, #1e2138);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 6px 14px;
}

.pay-badge-icon {
  font-size: 0.88rem;
  color: #b8b3f5;
}

/* ---- Social strip ---------------------------------------- */
.social-strip {
  padding: 1rem 2.5rem;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.soc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary, #c0c3d8);
}

.soc-icon {
  font-size: 0.94rem;
  color: #b8b3f5;
}

.soc-num {
  font-weight: 500;
  color: #fff;
}

.stars {
  color: #f5c055;
  font-size: 0.81rem;
}

/* Live dot */
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1d9e75;
  display: inline-block;
  animation: pricing-pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pricing-pulse {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---- Section heading ------------------------------------- */
.pricing-section {
  max-width: 1160px;
  margin: 0 auto 3.5rem;
}

.pricing-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1.5rem 2.5rem 0;
}

.pricing-section-header h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #fff;
}

.pricing-section-badge {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.badge-onetime {
  background: #534ab7;
  color: #e0ddff;
}

.badge-subscription {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 0.5px solid rgba(16, 185, 129, 0.28);
}

/* Total note */
.pricing-total-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0.6rem 2.5rem 0;
  font-size: 0.75rem;
  color: var(--text-secondary, #c0c3d8);
  background: var(--bg-tertiary, #1e2138);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
}

.bonus-note-icon {
  font-size: 0.81rem;
  color: #5ddcaa;
}

/* ---- Grids ------------------------------------------------ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 1.25rem 2.5rem 1.75rem;
}

.pricing-wide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 2.5rem 1.75rem;
}

/* ---- Card ------------------------------------------------- */
.pricing-card {
  position: relative;
  background-color: var(--bg-secondary, #161829);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
}

.pricing-card:hover {
  border-color: rgba(127, 119, 221, 0.45);
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.45);
  transform: translateY(-3px);
}

/* Featured card */
.pricing-card.is-popular {
  border: 1.5px solid #7f77dd;
  background: linear-gradient(
    160deg,
    rgba(127, 119, 221, 0.12) 0%,
    var(--bg-secondary, #161829) 60%
  );
  box-shadow: 0 0 0 1px #7f77dd, 0 14px 42px rgba(127, 119, 221, 0.18);
}

.pricing-card.is-popular:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px #7f77dd, 0 20px 50px rgba(127, 119, 221, 0.26);
}

/* Popular badge */
.popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #7f77dd;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 500;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Card name */
.pricing-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Price block */
.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary, #c0c3d8);
  align-self: flex-start;
  padding-top: 0.4rem;
}

.pricing-period {
  font-size: 0.82rem;
  color: var(--text-tertiary, #7a7d95);
  margin-left: 4px;
}

/* ---- Credits block (bar + cost per credit) -------------- */
.credits-block {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.credits-total-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.credits-total-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.credits-total-label {
  font-size: 0.8rem;
  color: var(--text-secondary, #c0c3d8);
  margin-top: 2px;
  display: block;
}

.credits-cpc {
  font-size: 0.8rem;
  color: var(--text-tertiary, #7a7d95);
  padding-bottom: 1px;
}

/* Credits bar */
.credits-bar {
  height: 20px;
  background: var(--bg-tertiary, #1e2138);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
}

.bar-seg {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  min-width: 0;
}

.bar-base { background: #534ab7; }
.bar-bonus { background: #1d9e75; }
.bar-flash { background: #b03030; }

.bar-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.leg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  color: var(--text-secondary, #c0c3d8);
}

.leg-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.leg-dot-base { background: #534ab7; }
.leg-dot-bonus { background: #1d9e75; }
.leg-dot-flash { background: #b03030; }

/* ---- Save pill ------------------------------------------- */
.save-pill {
  display: inline-block;
  font-size: 0.8rem;
  background: rgba(29, 158, 117, 0.15);
  color: #5ddcaa;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  border: 0.5px solid rgba(29, 158, 117, 0.3);
}

/* ---- Divider --------------------------------------------- */
.pricing-divider {
  border: none;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

/* ---- Features list --------------------------------------- */
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex: 1;
}

.pricing-features .perk {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary, #c0c3d8);
}

.pricing-features .perk.on .feat-icon {
  color: #1d9e75;
  font-size: 0.81rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---- Expire row ------------------------------------------ */
.expire-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #b8b3f5;
}

.expire-icon {
  font-size: 0.81rem;
  color: #b8b3f5;
}

/* ---- Live row -------------------------------------------- */
.live-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #5ddcaa;
  background: rgba(29, 158, 117, 0.1);
  border: 0.5px solid rgba(29, 158, 117, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
}

.live-count {
  color: #fff;
  font-weight: 700;
}

/* Spacer */
.spacer { flex: 1; }

/* ---- CTA -------------------------------------------------- */
.pricing-card-cta {
  width: 100%;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s, opacity 0.2s, transform 0.15s;
  display: block;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.pricing-card-cta:hover {
  transform: translateY(-1px);
}

.pricing-card-cta.cta-primary {
  background-color: #7f77dd;
  color: #fff;
  border-color: #7f77dd;
}

.pricing-card-cta.cta-primary:hover {
  background-color: #534ab7;
  border-color: #534ab7;
  color: #fff;
}

.pricing-card-cta.cta-secondary {
  background-color: var(--bg-tertiary, #1e2138);
  color: #e0e0f0;
  border: 0.5px solid rgba(255, 255, 255, 0.2);
}

.pricing-card-cta.cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.pricing-card-cta.is-disabled {
  cursor: default;
  opacity: 0.7;
  pointer-events: none;
}

/* Featured CTA */
.pricing-card.is-popular .pricing-card-cta.cta-primary {
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
}

/* ---- Wide card ------------------------------------------- */
.pricing-card-wide {
  position: relative;
  background-color: var(--bg-secondary, #161829);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: start;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
  cursor: pointer;
}

.pricing-card-wide:hover {
  border-color: rgba(127, 119, 221, 0.45);
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.45);
  transform: translateY(-3px);
}

.pricing-card-wide.is-popular {
  border-color: #7f77dd;
  background: linear-gradient(
    160deg,
    rgba(127, 119, 221, 0.12) 0%,
    var(--bg-secondary, #161829) 60%
  );
  box-shadow: 0 0 0 1px #7f77dd, 0 14px 42px rgba(127, 119, 221, 0.18);
}

.pricing-card-wide.is-popular:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px #7f77dd, 0 20px 50px rgba(127, 119, 221, 0.26);
}

.pricing-card-wide .popular-badge {
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-card-wide-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card-wide-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pricing-card-wide-right .pricing-features {
  margin-bottom: 1.75rem;
  flex: 1;
}

.pricing-card-wide .pricing-card-cta {
  margin-top: auto;
}

/* ---- Footnote -------------------------------------------- */
.pricing-footnote {
  padding: 0 2.5rem 0.75rem;
  font-size: 0.6875rem;
  color: var(--text-tertiary, #7a7d95);
  display: flex;
  align-items: flex-start;
  gap: 5px;
}

.pricing-footnote sup {
  color: #b8b3f5;
  font-weight: 700;
}

/* ---- Testimonials ---------------------------------------- */
.testi-section {
  padding: 1.75rem 2.5rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  max-width: 1160px;
  margin: 0 auto;
}

.testi-section h2 {
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4rem;
}

.testi-disclaimer {
  font-size: 0.78rem;
  color: var(--text-tertiary, #7a7d95);
  font-style: italic;
  margin: 0 0 1.15rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.testi {
  background: var(--bg-secondary, #161829);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.1rem;
}

.t-stars {
  color: #f5c055;
  font-size: 0.81rem;
  margin-bottom: 8px;
}

.t-text {
  font-size: 0.9rem;
  color: var(--text-secondary, #c0c3d8);
  line-height: 1.6;
  margin: 0 0 12px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-av {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(127, 119, 221, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 500;
  color: #b8b3f5;
  flex-shrink: 0;
}

.t-name {
  font-size: 0.81rem;
  font-weight: 500;
  color: #fff;
}

.t-role {
  font-size: 0.6875rem;
  color: var(--text-tertiary, #7a7d95);
}

/* ---- FAQ -------------------------------------------------- */
.pricing-faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.75rem 0.5rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}

.pricing-faq h2 {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1.25rem;
}

.pricing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-faq-item {
  background: var(--bg-secondary, #161829);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.pricing-faq-item summary {
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #fff;
  padding: 1rem 1.25rem;
  outline: none;
}

.pricing-faq-item summary::-webkit-details-marker {
  display: none;
}

.pricing-faq-item summary::after {
  content: '+';
  font-size: 1rem;
  line-height: 1;
  color: var(--text-tertiary, #7a7d95);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.pricing-faq-item[open] summary::after {
  transform: rotate(45deg);
}

.pricing-faq-item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #c0c3d8);
  line-height: 1.65;
}

/* ---- Crypto guides --------------------------------------- */
.pricing-crypto-guides {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 2.5rem 1.75rem;
}

.crypto-box {
  background: var(--bg-secondary, #161829);
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.4rem;
}

.crypto-label {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary, #7a7d95);
  margin-bottom: 6px;
  display: block;
}

.crypto-title {
  font-size: 0.94rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 6px;
}

.crypto-desc {
  font-size: 0.81rem;
  color: var(--text-secondary, #c0c3d8);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.crypto-guides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.guide-btn {
  background: var(--bg-tertiary, #1e2138);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background 0.2s, border-color 0.2s;
}

.guide-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

.guide-btn-primary {
  background: rgba(127, 119, 221, 0.25);
  border-color: rgba(127, 119, 221, 0.4);
}

.guide-btn-primary:hover {
  background: rgba(127, 119, 221, 0.35);
}

.guide-num {
  font-size: 0.625rem;
  color: var(--text-tertiary, #7a7d95);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: block;
}

.guide-name {
  font-size: 0.81rem;
  font-weight: 500;
  color: #fff;
}

/* ---- Footer CTA ------------------------------------------ */
.footer-cta {
  margin: 0 2.5rem 1.75rem;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(127, 119, 221, 0.15);
  border: 1px solid rgba(127, 119, 221, 0.35);
  border-radius: 14px;
  padding: 2.25rem;
  text-align: center;
}

.footer-cta h3 {
  font-size: 1.375rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 8px;
}

.footer-cta p {
  font-size: 0.875rem;
  color: var(--text-secondary, #c0c3d8);
  margin: 0 0 1.5rem;
}

.footer-cta-btn {
  background: #fff;
  color: #120f2e;
  border: none;
  border-radius: 9px;
  padding: 14px 36px;
  font-size: 0.94rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.footer-cta-btn:hover {
  background: #e8e6ff;
  transform: translateY(-1px);
}

.footer-note {
  font-size: 0.75rem;
  color: #8885aa;
  margin-top: 12px;
}

/* ---- Responsive ------------------------------------------ */
@media (max-width: 860px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.25rem 1rem 1.75rem;
  }

  .pricing-wide-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem 1.75rem;
  }

  .pricing-card-wide {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .social-strip {
    gap: 1rem;
    padding: 1rem;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .testi-section {
    padding: 1.75rem 1rem;
  }

  .crypto-guides {
    grid-template-columns: 1fr;
  }

  .pricing-section-header {
    padding: 1.5rem 1rem 0;
  }

  .pricing-total-note {
    margin-left: 1rem;
  }

  .pricing-crypto-guides {
    padding: 0 1rem 1.75rem;
  }

  .footer-cta {
    margin: 0 1rem 1.75rem;
  }

  .pricing-footnote {
    padding: 0 1rem 0.75rem;
  }
}

@media (max-width: 560px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-hero h1 {
    font-size: 1.65rem;
  }

  .flash-bar {
    top: 72px;
    flex-direction: column;
    gap: 8px;
  }

  .social-strip {
    flex-direction: column;
    gap: 8px;
  }

  .pricing-card-wide {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot {
    animation: none;
  }

  .pricing-card:hover,
  .pricing-card-wide:hover,
  .pricing-card-cta:hover,
  .footer-cta-btn:hover {
    transform: none;
  }
}
