/* =========================================================
   PRICING PAGE
   - Dark VAN look
   - Tabs: Viewers / Creators
   - Billing toggle: Monthly / Yearly
   - Fully responsive
========================================================= */

.pricing-page {
  min-height: 100vh;
  background: radial-gradient(
    circle at top,
    #020617 0,
    #020617 45%,
    #020617 100%
  );
  color: #e5e7eb;
  padding: 2rem 1rem 3rem;
}

/* Constrain width for all sections */
.pricing-page > section {
  max-width: 1200px;
  margin-inline: auto;
}

/* ===========================
   HERO
=========================== */

.pricing-hero {
  margin-bottom: 2.5rem;
}

.pricing-hero-inner {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9ca3af;
}

.pricing-hero-title {
  font-family: Poppins, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.pricing-hero-subtitle {
  font-size: 0.95rem;
  color: #d1d5db;
  max-width: 40rem;
}

.pricing-hero-controls {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.pricing-hero-footnote {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* Tabs */

.pricing-tabs {
  display: inline-flex;
  padding: 0.18rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.pricing-tab-btn {
  border: none;
  cursor: pointer;
  background: transparent;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9ca3af;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.pricing-tab-btn.is-active {
  background: linear-gradient(135deg, #f5b200, #f97316);
  color: #020617;
  transform: translateY(-0.5px);
}

/* Billing toggle */

.pricing-billing-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-billing-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.pricing-billing-switch {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.15rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(31, 41, 55, 0.9);
}

.billing-btn {
  border: none;
  cursor: pointer;
  background: transparent;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.billing-btn.is-active {
  background: rgba(15, 23, 42, 0.98);
  color: #f9fafb;
  transform: translateY(-0.5px);
}

.billing-save-pill {
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #bbf7d0;
  font-size: 0.7rem;
}

/* ===========================
   PANELS WRAPPER
=========================== */

.pricing-panels {
  margin-bottom: 2.5rem;
}

/* ===========================
   PANEL
=========================== */

.pricing-panel {
  display: none;
}

.pricing-panel--active {
  display: block;
}

/* ===========================
   GRID OF CARDS
=========================== */

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

.pricing-grid--creators {
  margin-top: 1rem;
}

/* ===========================
   CARD
=========================== */

.pricing-card {
  border-radius: 1.4rem;
  background: radial-gradient(
    circle at top left,
    rgba(17, 24, 39, 0.95),
    #020617
  );
  border: 1px solid rgba(15, 23, 42, 0.9);
  padding: 1.2rem 1rem 1.3rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

.pricing-card--featured {
  border-color: rgba(245, 178, 0, 0.9);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.95);
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pricing-card-badge {
  align-self: flex-start;
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

.pricing-card--featured .pricing-card-badge {
  background: rgba(245, 178, 0, 0.1);
  border-color: rgba(245, 178, 0, 0.9);
  color: #fef9c3;
}

.pricing-card-name {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pricing-card-tagline {
  font-size: 0.85rem;
  color: #d1d5db;
}

/* Price */

.pricing-card-price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-price-amount {
  font-size: 1.4rem;
  font-weight: 700;
}

.pricing-price-period {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Custom price (publisher) */

.pricing-price--custom {
  flex-direction: column;
  align-items: flex-start;
}

.pricing-price--custom .pricing-price-amount {
  font-size: 1.1rem;
}

.pricing-price--custom .pricing-price-period {
  font-size: 0.8rem;
  color: #d1d5db;
}

/* Alt currency line */

.pricing-price-alt {
  font-size: 0.75rem;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

/* Note */

.pricing-card-note {
  font-size: 0.8rem;
  color: #e5e7eb;
}

/* Features */

.pricing-feature-list {
  list-style: none;
  margin: 0.2rem 0 0.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pricing-feature-item {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #d1d5db;
}

.pricing-feature-icon {
  font-size: 0.85rem;
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* CTA button */

.pricing-card-cta {
  margin-top: auto;
}

.pricing-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5b200, #f97316);
  color: #020617;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.pricing-card-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.95);
}

/* ===========================
   BLOGGER PANEL FOOTNOTE
=========================== */

.pricing-panel-footnote {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #d1d5db;
}

.pricing-panel-footnote a {
  color: #f5b200;
  text-decoration: none;
}

.pricing-panel-footnote a:hover {
  text-decoration: underline;
}

/* ===========================
   FAQ SECTION
=========================== */

.pricing-faq {
  border-radius: 1.5rem;
  background: radial-gradient(
    circle at top left,
    rgba(17, 24, 39, 0.95),
    #020617
  );
  border: 1px solid rgba(15, 23, 42, 0.9);
  padding: 1.4rem 1.2rem 1.6rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

.pricing-faq-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-faq-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.pricing-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
}

.pricing-faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.pricing-faq-item p {
  font-size: 0.85rem;
  color: #d1d5db;
}

/* ===========================
   BILLING TOGGLE VISIBILITY
=========================== */

/* Default: monthly (data-billing="monthly") */
.pricing-panels[data-billing="monthly"] .pricing-price--yearly {
  display: none;
}

.pricing-panels[data-billing="yearly"] .pricing-price--monthly {
  display: none;
}

/* In custom pricing we always show custom block, so no special handling needed */

/* ===========================
   RESPONSIVE BREAKPOINTS
=========================== */

@media (min-width: 640px) {
  .pricing-page {
    padding: 2.2rem 1.5rem 3rem;
  }

  .pricing-hero-inner {
    gap: 1.1rem;
  }

  .pricing-hero-title {
    font-size: 2.1rem;
  }

  .pricing-hero-controls {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .pricing-page > section {
    max-width: 1280px;
  }

  .pricing-hero-title {
    font-size: 2.4rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-grid--creators {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pricing-faq-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
