/* Pricing section + FAQ + Final CTA + Footer */

@keyframes featuredGlow {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(57,94,229,0.18),
                0 0 60px -8px rgba(57,94,229,0.32),
                0 0 120px -20px rgba(57,94,229,0.22),
                inset 0 1px 0 rgba(126,151,240,0.18);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(57,94,229,0.28),
                0 0 80px -8px rgba(57,94,229,0.45),
                0 0 160px -20px rgba(57,94,229,0.32),
                inset 0 1px 0 rgba(126,151,240,0.22);
  }
}
@keyframes tierFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==============================
   PRICING INTRO
   ============================== */
.pricing-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 28px;
  padding-top: var(--section-pt);
  border-top: 1px solid var(--line);
}

.pricing-intro .eyebrow { margin-bottom: 8px; }

.pricing-intro h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 10px;
}

.pricing-intro p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.pricing-currency-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* ==============================
   TIERS GRID
   ============================== */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tier {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 0;
  transform: translateY(12px);
}

.tiers-grid.in .tier { animation: tierFadeIn 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.tiers-grid.in .tier:nth-child(1) { animation-delay: 0.05s; }
.tiers-grid.in .tier:nth-child(2) { animation-delay: 0.18s; }
.tiers-grid.in .tier:nth-child(3) { animation-delay: 0.31s; }

/* Simple tier */
.tier.t-simple {
  --accent: var(--fuchsia);
  --accent-rgb: 231, 47, 247;
  --accent-soft: rgba(231, 47, 247, 0.45);
  background: linear-gradient(180deg, rgba(231,47,247,0.07), rgba(231,47,247,0.02));
  border: 1px solid rgba(231, 47, 247, 0.28);
  box-shadow: 0 0 40px -12px rgba(231,47,247,0.18), inset 0 1px 0 rgba(231,47,247,0.12);
}

/* Standard — featured */
.tier.featured {
  background: linear-gradient(180deg, rgba(57,94,229,0.10), rgba(57,94,229,0.04));
  border: 1px solid rgba(57, 94, 229, 0.45);
  animation: featuredGlow 4.5s ease-in-out infinite;
  position: relative;
}

.tier.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 11px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(126,151,240,0.55), rgba(57,94,229,0.10) 60%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.tier.featured > * { position: relative; z-index: 1; }

/* Premium tier */
.tier.t-premium {
  --accent: var(--jasmine);
  --accent-rgb: 244, 208, 111;
  --accent-soft: rgba(244, 208, 111, 0.55);
  background: linear-gradient(180deg, rgba(244,208,111,0.07), rgba(244,208,111,0.02));
  border: 1px solid rgba(244, 208, 111, 0.28);
  box-shadow: 0 0 40px -12px rgba(244,208,111,0.18), inset 0 1px 0 rgba(244,208,111,0.12);
}

/* Tier badge (Most booked) */
.tier-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -20px;
  width: fit-content;
  text-align: center;
  background: #395EE5;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 4px;
  z-index: 3;
  box-shadow: 0 4px 14px rgba(57, 94, 229, 0.45), 0 0 0 1px rgba(126, 151, 240, 0.4);
  white-space: nowrap;
  text-transform: uppercase;
}

.tier-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--fg);
  margin-bottom: 10px;
}

.tier-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
  line-height: 1;
}

.tier-price .from {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0;
  margin-left: 6px;
}

/* Price value — swapped by currency toggle */
.price-value { display: inline; }

.tier-time {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  color: var(--aqua);
}

.tier.featured .tier-time { color: #7E97F0; }
.tier.t-simple  .tier-time { color: var(--fuchsia); }
.tier.t-premium .tier-time { color: var(--jasmine); }

.tier-sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.tier-list li {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: rgba(243, 244, 248, 0.7);
  padding: 8px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tier-list li::before {
  content: "✓";
  color: var(--aqua);
  font-weight: 700;
  flex-shrink: 0;
}

.tier.featured .tier-list li::before { color: #7E97F0; }
.tier.t-simple  .tier-list li::before { color: var(--fuchsia); }
.tier.t-premium .tier-list li::before { color: var(--jasmine); }

.tier .btn {
  justify-content: center;
  width: 100%;
  margin-top: auto;
}

.tier.t-simple .btn,
.tier.t-premium .btn {
  background: transparent;
  color: var(--accent, var(--aqua));
  border: 1px solid rgba(var(--accent-rgb, 46,247,199), 0.45);
}

.tier.t-simple .btn:hover  { background: rgba(231,47,247,0.10); }
.tier.t-premium .btn:hover { background: rgba(244,208,111,0.10); }

/* ==============================
   PRICING EXTRAS
   ============================== */
.pricing-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.extras-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px 20px;
}

.extras-card .eyebrow { margin-bottom: 12px; }

.addons-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}

.addons-row .addon-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--fg);
  margin-bottom: 3px;
}

.addons-row .addon-desc {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  max-width: 38ch;
}

.addons-row .addon-price {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--aqua);
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 16px;
}

.helper-card {
  display: flex;
  flex-direction: column;
}

.helper-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--fg);
  margin: 0 0 10px;
}

.helper-card p {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 18px;
  flex: 1;
}

/* ==============================
   FAQ
   ============================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.faq-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
}

.faq-card .q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--fg);
}

.faq-card .a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  font-weight: 300;
}

/* ==============================
   FINAL CTA
   ============================== */
.final-cta {
  text-align: center;
  padding: 52px 0 20px;
  border-top: 1px solid var(--line);
  margin-top: 36px;
}

.final-cta h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 12px;
}

.final-cta p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--muted);
  margin: 0 auto 24px;
  max-width: 60ch;
  line-height: 1.6;
}

.final-cta .mono-inline {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--ink-2);
  color: var(--aqua);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  padding-top: 48px;
  padding-bottom: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  flex-wrap: wrap;
}

.footer-brand img {
  height: 18px;
  width: auto;
}

.footer-copy {
  flex: 1;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fg); }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 900px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .pricing-extras { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .pricing-intro { padding-top: 64px; }
  .pricing-intro h2 { font-size: 24px; }
  .final-cta h2 { font-size: 22px; }
  .site-footer { flex-direction: column; text-align: center; gap: 12px; }
  .footer-copy { text-align: center; }
}
