/* ============================================================
   Aqaris · Pricing page (Figma "1440w dark", "768w dark",
   "390w dark" — the pricing frames)
   Loaded only by pricing.html, after style.css and home.css.
   The page body is "home pricing": header, buttons, FAQ, final CTA
   and footer come from home.css; everything here is scoped to
   body.pricing or to pr-* classes. Elements tagged [data-promo]
   are removed by main.js once the launch offer ends.
   Breakpoints: desktop > 1024 · tablet 641–1024 · mobile ≤ 640
   ============================================================ */

.pricing .nav-links a[aria-current="page"] { color: var(--hp-indigo); font-weight: 600; }

/* ---------- Hero + launch offer ---------- */
.pr-hero { background: var(--hp-slate); padding: 96px 0; }
.pr-hero-inner { display: flex; gap: 72px; align-items: center; }
.pr-hero-copy { flex: 1; min-width: 0; }
.pr-hero h1 {
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.pr-hero-lead { max-width: 600px; margin-top: 26px !important; font-size: 20px; line-height: 1.5; }
.pr-hero-meta {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 12px 23px;
}
.pr-hero-meta li {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; line-height: 25px;
  color: var(--hp-body);
}

.pr-offer {
  flex: 0 0 460px;
  padding: 36px 40px;
  border-radius: 22px;
  background: var(--hp-night);
  transition: transform .45s var(--hp-smooth), box-shadow .45s var(--hp-smooth);
}
.pr-offer-pill {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  background: rgba(185,180,255,.16);
  font-size: 14px; font-weight: 600; line-height: 22px;
  color: #C4C0FF;
}
.pricing .pr-offer-price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px;
  margin-top: 20px;
  color: rgba(255,255,255,.72);
  font-size: 18px; line-height: 1.55;
}
.pr-offer-price strong {
  font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -0.035em;
  color: #FFFFFF;
}
.pricing .pr-offer-text { margin-top: 15px; font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.78); }
.pr-offer-btn { width: 100%; margin-top: 25px; }

/* ---------- Plans ---------- */
.pr-plans { padding: 112px 0; }
.pr-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.pr-plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 26px;
  background: #FFFFFF;
  border: 1px solid var(--hp-line);
  border-radius: 20px;
  transition: transform .45s var(--hp-smooth), box-shadow .45s var(--hp-smooth), border-color .3s var(--ease);
}
.pr-plan-featured {
  padding: 27px 25px;
  border: 2px solid var(--hp-indigo);
  background: linear-gradient(180deg, #F3EDFF 0%, #FFFFFF 32%);
  box-shadow: 0 24px 50px -24px rgba(79,70,229,.35);
}
.pr-name-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pricing .pr-name { font-size: 22px; font-weight: 600; line-height: 30px; letter-spacing: -0.015em; }
.pr-badge {
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 10px;
  border-radius: 999px;
  background: var(--hp-indigo);
  font-size: 12.5px; font-weight: 600; line-height: 1;
  color: #FFFFFF;
  white-space: nowrap;
}
.pricing .pr-desc { min-height: 47px; margin-top: 4px; font-size: 15px; line-height: 23px; color: var(--hp-muted); }
.pricing .pr-price { margin-top: 14px; font-size: 40px; font-weight: 700; line-height: 42px; letter-spacing: -0.03em; color: var(--hp-ink); }
.pricing .pr-note { min-height: 61px; margin-top: 7px; font-size: 14px; line-height: 20.3px; color: var(--hp-muted); }
.pr-btn {
  width: 100%; height: 48px; margin-top: 20px;
  padding: 0 20px;
  font-size: 16px;
}
.pr-btn:not(.hp-btn-primary) { background: #FFFFFF; border-color: var(--hp-line-strong); color: var(--hp-ink); }
.pr-btn:not(.hp-btn-primary):hover { border-color: var(--hp-indigo); color: var(--hp-indigo); }

.pr-features {
  list-style: none; margin: 24px 0 0; padding: 22px 0 0;
  border-top: 1px solid var(--hp-line);
  display: grid; gap: 11px;
}
.pr-features li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15.5px; line-height: 22.5px; color: var(--hp-ink);
}
.pr-features img { flex: 0 0 auto; margin-top: 3px; transition: transform .35s var(--hp-smooth); }
.pr-features .pr-features-base { font-weight: 600; }

/* Gentle hovers on the offers: lift, softer border, a quiet shadow,
   and the plan's button picks up the brand colour. */
@media (hover: hover) {
  .pr-plan:hover {
    transform: translateY(-4px);
    border-color: #C7C2F7;
    box-shadow: 0 22px 44px -26px rgba(15,23,42,.28);
  }
  .pr-plan-featured:hover {
    border-color: var(--hp-indigo);
    box-shadow: 0 30px 60px -24px rgba(79,70,229,.48);
  }
  .pr-plan:hover .pr-btn:not(.hp-btn-primary) { border-color: var(--hp-indigo); color: var(--hp-indigo); }
  .pr-plan:hover .pr-features img { transform: scale(1.12); }
  .pr-offer:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 56px -28px rgba(36,28,66,.75);
  }
}
/* style.css zeroes every transition under reduced motion; keep these hovers gentle instead of instant. */
@media (prefers-reduced-motion: reduce) {
  .pr-plan, .pr-offer { transition-duration: .3s !important; }
  .pr-plan:hover, .pr-offer:hover { transform: none; }
}

.pr-footnotes {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; gap: 8px;
}
.pr-footnotes li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 15px; line-height: 23.3px; color: var(--hp-muted);
}
.pr-footnotes img { flex: 0 0 auto; margin-top: 3.5px; }

/* ---------- FAQ (shared hp-faq, pricing tweaks) ---------- */
.pr-faq .hp-faq-list summary::after { font-size: 26px; color: var(--hp-muted); }
.pr-faq .hp-faq-list details p { max-width: 640px; }

/* ---------- Final CTA ---------- */
.pricing .hp-cta h2 { flex-basis: 600px; }

/* ============================================================
   Small desktop (1025–1240): let fixed Figma columns flex
   ============================================================ */
@media (max-width: 1240px) {
  .pr-hero-inner { gap: 48px; }
  .pr-offer { flex-basis: 420px; padding: 32px; }
  .pr-grid { gap: 16px; }
  .pr-plan { padding: 24px 20px; }
  .pr-plan-featured { padding: 23px 19px; }
  .pr-badge { padding: 0 8px; font-size: 12px; }
  .pricing .pr-desc { min-height: 69px; }
  .pricing .pr-note { min-height: 81px; }
  .pricing .hp-cta h2 { flex-basis: 50%; }
}

/* ============================================================
   Tablet (≤ 1024) — "768w dark", 768 frame, 32px gutter
   ============================================================ */
@media (max-width: 1024px) {
  .pr-hero { padding: 72px 0; }
  .pr-hero-inner { flex-direction: column; align-items: stretch; gap: 40px; }
  .pr-hero h1 { font-size: 52px; line-height: 1.05; }
  .pr-hero-lead { font-size: 18px; }
  .pr-hero-meta { gap: 12px 24px; }
  .pr-offer { flex: none; padding: 36px 40px; }

  .pr-plans { padding: 80px 0 32px; }
  .pr-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .pr-plan { padding: 28px 26px; }
  .pr-plan-featured { padding: 27px 25px; }
  .pr-badge { padding: 0 10px; font-size: 12.5px; }
  .pricing .pr-desc { min-height: 0; }
  .pricing .pr-note { min-height: 41px; }

  .pricing .hp-cta h2 { flex: none; }
}

/* ============================================================
   Mobile (≤ 640) — "390w dark", 390 frame, 20px gutter
   ============================================================ */
@media (max-width: 640px) {
  .pr-hero { padding: 56px 0; }
  .pr-hero h1 { font-size: 36px; line-height: 1.08; }
  .pr-hero-lead { margin-top: 25px !important; font-size: 17px; }
  .pr-hero-meta { flex-direction: column; gap: 12px; }
  .pr-offer { padding: 28px 24px; }
  .pricing .pr-offer-price { flex-direction: column; align-items: flex-start; gap: 4px; }
  .pr-offer-price strong { font-size: 48px; }
  .pr-offer-btn { height: 48px; font-size: 16px; }

  .pr-plans { padding: 64px 0 32px; }
  .pr-grid { grid-template-columns: 1fr; }
  .pricing .pr-name { font-size: 20px; }
  .pricing .pr-note { min-height: 0; }
  .pr-footnotes li { font-size: 14px; line-height: 21.7px; }

  /* Final CTA (shared hp-cta) at the mobile sizes used across the redesign */
  .pricing .hp-cta-copy p { font-size: 20px; }
  .pricing .hp-cta-btns .hp-btn { height: 48px; font-size: 16px; }
}
