/* =============================================================================
   pricing.css — Full page styles for /pricing
   ============================================================================= */

/* ── Hide interview toolbar (interview-mode.css not loaded on this page) ── */
#im-toolbar { display: none !important; }

/* ── Prevent white overscroll bleed on macOS / mobile ───────────────────── */
html {
  background: #0d1624;
  min-height: 100%;
}

/* ── Page shell ─────────────────────────────────────────────────────────── */
body.page-pricing {
  /* Override base style.css: let body be a fixed-size viewport container */
  overflow: hidden;
  height: var(--vh);
  background: #0d1624;
  color: #eef2f8;
}

/* The navbar stays at the top of .pricing-shell (the scroll root) */
.pricing-shell {
  display: flex;
  flex-direction: column;
  /* Navbar is outside this shell, so subtract its height */
  height: calc(var(--vh) - var(--topbar-height, 80px));
  overflow: hidden;
}

.pricing-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: linear-gradient(180deg, #172340 0%, #111c30 60%, #0d1624 100%);
  background-attachment: local;
}
.pricing-scroll::-webkit-scrollbar { display: none; }

.pricing-scroll-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.pricing-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 40% at 20% 10%, rgba(79,110,247,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 35% at 85% 75%, rgba(124,106,247,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(56,189,248,0.04) 0%, transparent 70%);
}

/* SVG Floaters */
.pr-floater {
  position: absolute;
  pointer-events: none;
}

.pr-floater--1 {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -60px;
  opacity: 0.7;
  animation: pr-spin-slow 60s linear infinite;
}

.pr-floater--2 {
  width: 280px;
  height: 280px;
  bottom: 20%;
  left: -60px;
  opacity: 0.6;
  animation: pr-float 8s ease-in-out infinite;
}

.pr-floater--3 {
  width: 200px;
  height: 200px;
  top: 45%;
  right: 5%;
  opacity: 0.5;
  animation: pr-float 11s ease-in-out infinite reverse;
}

.pr-floater--4 {
  width: 140px;
  height: 140px;
  top: 20%;
  left: 8%;
  opacity: 0.55;
  animation: pr-pulse 5s ease-in-out infinite;
}

@keyframes pr-spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes pr-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

@keyframes pr-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%       { opacity: 0.8;  transform: scale(1.07); }
}

/* ── HERO ───────────────────────────────────────────────────────────────── */
.pr-hero {
  padding: 2.5rem 1.25rem 1.5rem;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto 0.5rem;
}

.pr-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #8096b8;
  font-size: var(--fs-base);
  font-weight: 500;
  margin-bottom: 1rem;
}

.pr-hero-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: #eef2f8;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.pr-hero-title .accent { color: #60a5fa; }

.pr-hero-sub {
  color: #8096b8;
  font-size: var(--fs-md);
  line-height: 1.6;
  margin: 0;
}

/* ── DURATION TOGGLE ────────────────────────────────────────────────────── */
.pr-duration-wrap {
  display: flex;
  justify-content: center;
  margin: 1.25rem 0 1rem;
}

.pr-duration-toggle {
  display: inline-flex;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 5px;
}

.pr-dur-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  color: #8096b8;
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.pr-dur-btn:hover { color: #eef2f8; background: rgba(255,255,255,0.07); }

.pr-dur-btn.active {
  background: #4f6ef7;
  color: #fff;
  box-shadow: 0 1px 8px rgba(79,110,247,0.45);
}

.pr-dur-badge {
  background: rgba(255,255,255,0.18);
  padding: 2px 7px;
  border-radius: 999px;
  font-size: var(--fs-xss);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.pr-dur-btn:not(.active) .pr-dur-badge {
  background: rgba(56,189,248,0.15);
  color: #38bdf8;
}

/* ── BETA BANNER ────────────────────────────────────────────────────────── */
.pr-beta-banner {
  margin: 0 auto 1.75rem;
  max-width: 1080px;
}

.pr-beta-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.25);
  color: #a5b4fc;
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.pr-beta-banner-inner svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #818cf8;
}

/* ── PRICING CARDS ──────────────────────────────────────────────────────── */
.pr-cards-section { margin-bottom: 3rem; }

.pr-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .pr-cards-grid { grid-template-columns: 1fr; }
}

.pr-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.pr-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.16);
}

.pr-card--pe {
  border-color: rgba(79,110,247,0.4);
  background: rgba(79,110,247,0.08);
  box-shadow: 0 4px 24px rgba(79,110,247,0.12);
}

.pr-card--pe:hover {
  border-color: rgba(79,110,247,0.55);
  box-shadow: 0 8px 36px rgba(79,110,247,0.2);
}

.pr-card.is-current { border-color: rgba(34,197,94,0.45); }

/* Badge (Most Popular) */
.pr-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #3b82f6;
  color: #fff;
  font-size: var(--fs-xss);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(59,130,246,0.35);
}

/* Current plan indicator */
.pr-current-indicator {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 0.6rem;
}

.is-current .pr-current-indicator { display: flex; }

/* Card typography */
.pr-card-tier {
  font-size: var(--fs-xss);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8096b8;
  margin-bottom: 0.25rem;
}

.pr-card--pe .pr-card-tier { color: #93c5fd; }

.pr-card-name {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: #eef2f8;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.pr-card-tagline {
  font-size: var(--fs-sm);
  color: #8096b8;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

/* Price block */
.pr-price-block {
  margin-bottom: 1.25rem;
}

.pr-price-free {
  font-size: var(--fs-xxl);
  font-weight: 800;
  color: #eef2f8;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pr-price-free-label {
  font-size: var(--fs-sm);
  color: #8096b8;
  margin-top: 3px;
}

.pr-price-main {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.pr-price-currency {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #eef2f8;
  align-self: flex-start;
  margin-top: 6px;
}

.pr-price-amount {
  font-size: var(--fs-xxl);
  font-weight: 800;
  color: #eef2f8;
  letter-spacing: -0.04em;
}

.pr-price-period {
  font-size: var(--fs-base);
  color: #8096b8;
  margin-left: 2px;
}

.pr-price-total {
  font-size: var(--fs-sm);
  color: #8096b8;
  margin-top: 4px;
}

.save-tag {
  display: inline-block;
  background: rgba(34,197,94,0.15);
  color: #4ade80;
  font-size: var(--fs-xss);
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
}

/* CTA buttons */
.pr-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: var(--fs-base);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.12s, opacity 0.15s;
  border: none;
  margin-bottom: 1.25rem;
}

.pr-card-cta:active { transform: scale(0.98); }

.pr-card-cta--ghost {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.15);
  color: #c8d6ef;
}

.pr-card-cta--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #eef2f8;
}

.pr-card-cta--primary {
  background: #4f6ef7;
  color: #fff;
  box-shadow: 0 2px 12px rgba(79,110,247,0.4);
}

.pr-card-cta--primary:hover {
  background: #3d5de6;
  box-shadow: 0 4px 20px rgba(79,110,247,0.55);
}

.pr-card-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Divider */
.pr-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0 0 1rem;
}

/* Feature list */
.pr-feature-heading {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8096b8;
  margin-bottom: 0.75rem;
}

.pr-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pr-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--fs-sm);
  color: #c8d6ef;
  line-height: 1.4;
}

.pr-feature-list li.dim { color: #4a5568; }

.pr-feat-icon {
  flex-shrink: 0;
  margin-top: 1px;
  width: 16px;
  height: 16px;
}

.pr-feat-icon--check { color: #4ade80; }
.pr-feat-icon--dim   { color: #2d3748; }

/* ── VALUE PILLARS ──────────────────────────────────────────────────────── */
.pr-value-section {
  max-width: 1080px;
  margin: 0 auto 3rem;
  text-align: center;
}

.pr-section-eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  margin-bottom: 0.5rem;
}

.pr-section-title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: #eef2f8;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.pr-section-sub {
  color: #8096b8;
  font-size: var(--fs-base);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.pr-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  text-align: left;
}

@media (max-width: 700px) {
  .pr-pillars { grid-template-columns: 1fr; }
}

.pr-pillar {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}

.pr-pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(79,110,247,0.15);
  color: #93c5fd;
  margin-bottom: 1rem;
}

.pr-pillar h3 {
  font-size: var(--fs-md);
  font-weight: 700;
  color: #eef2f8;
  margin-bottom: 0.4rem;
}

.pr-pillar p {
  font-size: var(--fs-sm);
  color: #8096b8;
  line-height: 1.6;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.pr-faq-section {
  max-width: 1080px;
  margin: 0 auto 3rem;
}

.pr-faq-section .pr-section-title,
.pr-faq-section .pr-section-eyebrow { text-align: center; }

.pr-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
  margin-top: 1.5rem;
}

.pr-faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); }
.pr-faq-item:last-child { border-bottom: none; }

.pr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  font-size: var(--fs-base);
  font-weight: 600;
  color: #c8d6ef;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s;
}

.pr-faq-q:hover { background: rgba(255,255,255,0.04); }

.pr-faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: #8096b8;
  transition: transform 0.2s;
}

.pr-faq-item.open .pr-faq-chevron { transform: rotate(180deg); }

.pr-faq-a {
  display: none;
  padding: 0 1.25rem 1rem;
  font-size: var(--fs-base);
  color: #8096b8;
  line-height: 1.65;
}

.pr-faq-item.open .pr-faq-a { display: block; }

/* ── FOOTER CTA ─────────────────────────────────────────────────────────── */
.pr-footer-cta {
  margin-bottom: 2.5rem;
}

.pr-footer-cta-box {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
  border-radius: 24px;
  padding: 2.75rem 2rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(30,64,175,0.3);
}

.pr-footer-cta-box h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.pr-footer-cta-box p {
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.pr-footer-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: var(--fs-base);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.12s;
  border: none;
}

.pr-btn:active { transform: scale(0.97); }

.pr-btn--primary {
  background: #fff;
  color: #1e40af;
}

.pr-btn--primary:hover {
  background: #eff6ff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.pr-btn--ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}

.pr-btn--ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* ── PAGE FOOTER ────────────────────────────────────────────────────────── */
.pr-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
}

.pr-page-footer-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pr-page-footer-links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.12s;
}

.pr-page-footer-links a:hover { color: rgba(255,255,255,0.65); }
