/* Pricing page — matches Pocketcraft design system (Roboto Slab body, Montserrat headings, #4aa3df brand). */

.pricing-page {
  background: #1c2a40;
}

/* =====================================================
   HERO — dark navy section with subtle ambient glow
   ===================================================== */
.pricing-hero {
  position: relative;
  padding: 7rem 0 3.25rem;
  text-align: center;
  background: linear-gradient(180deg, #0f1729 0%, #182438 60%, #1c2a40 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.pricing-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.pricing-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.pricing-hero-glow--left {
  width: 360px;
  height: 360px;
  background: rgba(74, 163, 223, 0.55);
  top: -110px;
  left: -80px;
}

.pricing-hero-glow--right {
  width: 320px;
  height: 320px;
  background: rgba(99, 102, 241, 0.35);
  bottom: -140px;
  right: -80px;
}

.pricing-hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
          mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  opacity: 0.65;
}

.pricing-hero-inner {
  position: relative;
  z-index: 1;
}

.pricing-hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.15;
  margin: 0 auto 0.65rem;
  max-width: 720px;
  color: #fff;
  letter-spacing: -0.01em;
}

.pricing-hero-lead {
  max-width: 560px;
  margin: 0 auto 1.15rem;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.55;
}

.pricing-hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.pricing-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.85rem;
  line-height: 1.2;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}

.pricing-hero-chip i {
  color: #4aa3df;
  font-size: 0.85rem;
}

.pricing-hero-fade {
  display: none;
}

/* =====================================================
   PLANS — soft blue tinted section, elevated Pro card
   ===================================================== */
.pricing-plans {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  padding: 0 0 5rem;
  background: #eef3f9;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 940px;
  margin: 1.25rem auto 0;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2.25rem;
  background: #fff;
  border: 1px solid #e6ecf2;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.pricing-card--free {
  background: #f7f9fc;
  border-color: #e6ecf2;
}

.pricing-card--free:hover {
  border-color: #d8e1ea;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.pricing-card--pro {
  background: linear-gradient(180deg, rgba(74, 163, 223, 0.12) 0%, #fbfdff 65%);
  border: 1.5px solid rgba(74, 163, 223, 0.7);
  box-shadow:
    0 0 0 6px rgba(74, 163, 223, 0.1),
    0 22px 48px rgba(74, 163, 223, 0.28);
  transform: translateY(-6px) scale(1.015);
  transition: box-shadow 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.25s ease;
}

.pricing-card--pro:hover {
  border-color: #4aa3df;
  box-shadow:
    0 0 0 6px rgba(74, 163, 223, 0.16),
    0 28px 56px rgba(74, 163, 223, 0.34);
  transform: translateY(-10px) scale(1.02);
}

.pricing-card-badge {
  position: absolute;
  top: -0.95rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #5cb4e8 0%, #3a8fc7 100%);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  box-shadow:
    0 0 0 4px rgba(74, 163, 223, 0.18),
    0 8px 20px rgba(74, 163, 223, 0.45);
}

.pricing-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eef2f7;
}

.pricing-card--pro .pricing-card-header {
  border-bottom-color: rgba(74, 163, 223, 0.2);
}

.pricing-card-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
  color: #0f172a;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
}

.pricing-card-amount {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  color: #0f172a;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-card--pro .pricing-card-amount {
  color: #3a8fc7;
}

.pricing-card-period {
  font-size: 0.95rem;
  color: #64748b;
}

.pricing-card-tagline {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Feature list */
.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}

.pricing-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.7rem 0;
  font-size: 0.96rem;
  color: #1e293b;
  line-height: 1.55;
  border-bottom: 1px solid #f1f5f9;
}

.pricing-feature-list li:last-child {
  border-bottom: none;
}

.pricing-card--pro .pricing-feature-list li {
  border-bottom-color: rgba(74, 163, 223, 0.12);
}

.pricing-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74, 163, 223, 0.14);
  color: #3a8fc7;
  font-size: 0.65rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pricing-feature-list--pro .pricing-feature-icon {
  background: rgba(22, 163, 74, 0.14);
  color: #16a34a;
}

.pricing-feature-list--pro li:not(.pricing-feature-list-item--key) {
  color: #475569;
}

.pricing-feature-list-item--key {
  font-weight: 600;
  color: #0f172a;
}

.pricing-feature-list-item--key .pricing-feature-icon {
  background: rgba(22, 163, 74, 0.22);
  color: #15803d;
}

/* CTA */
.pricing-card-cta {
  margin-top: auto;
  text-align: center;
}

.pricing-card-free-link {
  color: #64748b;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px dotted #cbd5e1;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pricing-card-free-link:hover {
  color: #3a8fc7;
  border-bottom-color: #3a8fc7;
}

.pricing-card-free-note {
  margin: auto 0 0;
  padding-top: 0.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
  font-style: italic;
}

.pricing-card-pro-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 100%;
  background: linear-gradient(135deg, #6ec0ec 0%, #3a8fc7 50%, #266a9b 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 14px 32px rgba(74, 163, 223, 0.45),
    0 0 0 6px rgba(74, 163, 223, 0.08);
  transition: background 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.pricing-card-pro-btn-label {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.pricing-card-pro-btn-price {
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
}

.pricing-card-pro-btn:hover {
  background: linear-gradient(135deg, #7ec8ee 0%, #3a8fc7 50%, #1f5f85 100%);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 18px 36px rgba(74, 163, 223, 0.55),
    0 0 0 6px rgba(74, 163, 223, 0.12);
}

.pricing-card-pro-btn:active {
  transform: translateY(0);
}

.pricing-card-pro-btn:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 0 0 4px rgba(74, 163, 223, 0.35),
    0 12px 26px rgba(74, 163, 223, 0.45);
}

.pricing-card-cta-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0.55rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  text-align: left;
}

.pricing-card-cta-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.3;
}

.pricing-card-cta-points i {
  color: #3a8fc7;
  font-size: 0.8rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.pricing-card-fineprint {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #94a3b8;
  text-align: center;
}

/* =====================================================
   FAQ — clean white section, polished accordion
   ===================================================== */
.pricing-faq {
  padding: 4.5rem 0 5.5rem;
  background: #fff;
}

.pricing-faq-title {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.pricing-faq-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  margin: 0 auto 2rem;
  max-width: 540px;
}

.pricing-accordion {
  max-width: 720px;
  margin: 0 auto;
}

.pricing-accordion-item {
  border: 1px solid #e6ecf2;
  border-radius: 14px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pricing-accordion-item:hover {
  border-color: #d8e1ea;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.pricing-accordion-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #0f172a;
  background: #fff;
  padding: 1.1rem 1.25rem;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.pricing-accordion-button:not(.collapsed) {
  color: #3a8fc7;
  background: rgba(74, 163, 223, 0.06);
}

.pricing-accordion-button:focus {
  border-color: #4aa3df;
  box-shadow: 0 0 0 0.18rem rgba(74, 163, 223, 0.25) !important;
}

.pricing-accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234aa3df'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.pricing-accordion-body {
  font-family: 'Roboto Slab', sans-serif;
  color: #475569;
  font-size: 0.97rem;
  line-height: 1.65;
  padding: 0 1.25rem 1.2rem;
  background: #fff;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 768px) {
  .pricing-hero {
    padding: 5.5rem 0 3rem;
  }

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

  .pricing-hero-lead {
    font-size: 1rem;
  }

  .pricing-hero-stats {
    gap: 0.4rem;
  }

  .pricing-hero-chip {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .pricing-plans {
    padding: 0 0 4rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .pricing-card--pro {
    transform: scale(1.01);
  }

  .pricing-card--pro:hover {
    transform: translateY(-3px) scale(1.015);
  }

  .pricing-card-amount {
    font-size: 2.25rem;
  }

  .pricing-faq {
    padding: 3.5rem 0 4rem;
  }

  .pricing-faq-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 420px) {
  .pricing-hero h1 {
    font-size: 1.75rem;
  }

  .pricing-card-pro-btn-label {
    font-size: 0.98rem;
  }
}
