/* ═══════════════════════════════════════════════════════
   Praneel Physics — Practice Papers sales page
   ═══════════════════════════════════════════════════════ */

/* ── Base ──────────────────────────────────────────────── */
.pp-page { width: 100%; }

.pp-h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.pp-h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}
.pp-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-medium, #6b7280);
  margin: 0 0 0.5rem;
}
.pp-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.25rem;
  opacity: 0.7;
}
.pp-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* ── Buttons ───────────────────────────────────────────── */
.pp-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
}
.pp-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.pp-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.pp-btn-primary { background: #5C6BC0; color: #fff; }
.pp-btn-light   { background: #fff; color: #5C6BC0; font-weight: 700; }
.pp-btn-outline { background: transparent; color: #5C6BC0; border: 1.5px solid #5C6BC0; }
.pp-btn-outline:hover { background: #e8eaf6; opacity: 1; }
.pp-btn-full    { width: 100%; text-align: center; display: block; padding: 0.9rem; }

/* ── Hero ──────────────────────────────────────────────── */
.pp-hero {
  background: #3d4f9f;
  color: #fff;
  padding: 5rem 1.5rem 4.5rem;
}
.pp-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.pp-hero .pp-h1 { color: #fff; }
.pp-lead {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  margin: 0 0 2rem;
  max-width: 580px;
}
.pp-hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.pp-trust { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin: 0; }
.pp-alert {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
}
.pp-alert-warn    { background: rgba(239,68,68,0.18); color: #fca5a5; }
.pp-alert-neutral { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.65); }

/* ── Numbers bar ───────────────────────────────────────── */
.pp-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 1.35rem 1.5rem;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}
.pp-num {
  padding: 0.35rem 2rem;
  font-size: 0.88rem;
  color: var(--color-text-medium, #4b5563);
  text-align: center;
}
.pp-num strong {
  font-size: 1.4rem;
  font-weight: 800;
  color: #5C6BC0;
  display: block;
  line-height: 1.2;
}
.pp-num-div { width: 1px; height: 2rem; background: #e5e7eb; }

/* ── Split layout ──────────────────────────────────────── */
.pp-split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 760px) {
  .pp-split { grid-template-columns: 1fr; gap: 2.5rem; }
}
.pp-split-left {}
.pp-split-right { position: sticky; top: 5rem; }

/* ── Checklist ─────────────────────────────────────────── */
.pp-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.pp-checklist li {
  font-size: 0.9rem;
  color: var(--color-text-medium, #374151);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.55;
}
.pp-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 10px;
  height: 6px;
  border-left: 2px solid #5C6BC0;
  border-bottom: 2px solid #5C6BC0;
  transform: rotate(-45deg);
}
.pp-value-note {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: #e8eaf6;
  border-left: 3px solid #5C6BC0;
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  color: var(--color-text-dark, #333);
  line-height: 1.6;
}

/* ── Free sample block ─────────────────────────────────── */
.pp-sample-block {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-secondary, #f9fafb);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 10px;
}
.pp-sample-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-primary, #111827);
  margin: 0 0 0.2rem;
}
.pp-sample-desc {
  font-size: 0.82rem;
  color: var(--color-text-medium, #6b7280);
  margin: 0 0 1rem;
  line-height: 1.5;
}
.pp-sample-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pp-sample-btn  { font-size: 0.82rem; padding: 0.45rem 1rem; }

/* ── Price card ────────────────────────────────────────── */
.pp-price-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.pp-price-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-medium, #6b7280);
  margin: 0 0 0.4rem;
}
.pp-price-was {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-light, #999);
  text-decoration: line-through;
  margin-bottom: 0.1rem;
}
.pp-price {
  font-size: 2.4rem;
  font-weight: 800;
  color: #3d4f9f;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.pp-price-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  white-space: nowrap;
}
.pp-price-sub {
  font-size: 0.8rem;
  color: var(--color-text-medium, #6b7280);
  margin: 0 0 1.25rem;
}
.pp-price-perks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border-top: 1px solid #f3f4f6;
  padding-top: 1.1rem;
}
.pp-price-perks li {
  font-size: 0.82rem;
  color: var(--color-text-medium, #6b7280);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.4;
}
.pp-price-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ── Guarantee ─────────────────────────────────────────── */
.pp-guarantee {
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
  padding: 3.5rem 1.5rem;
}
.pp-guarantee-inner {
  max-width: 680px;
  margin: 0 auto;
}
.pp-guarantee .pp-h2 { color: #14532d; }
.pp-guarantee .pp-body { color: #166534; }
.pp-guarantee a { color: #15803d; font-weight: 600; }

/* ── FAQ ───────────────────────────────────────────────── */
.pp-faq-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.pp-faq {
  border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.pp-faq:first-of-type { border-top: 1px solid var(--border-color, #e5e7eb); }
.pp-faq summary {
  padding: 1.1rem 0.25rem;
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--color-text-primary, #111827);
}
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after {
  content: '+';
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text-medium, #9ca3af);
  flex-shrink: 0;
  margin-left: 1rem;
}
.pp-faq[open] summary::after { content: '−'; }
.pp-faq p {
  padding: 0 0.25rem 1.1rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-medium, #6b7280);
  line-height: 1.75;
}

/* ── Bottom CTA ────────────────────────────────────────── */
.pp-bottom-cta {
  background: #3d4f9f;
  padding: 5rem 1.5rem;
  text-align: center;
}
.pp-bottom-cta-inner { max-width: 540px; margin: 0 auto; }
.pp-bottom-cta .pp-h2 { color: #fff; font-size: 1.55rem; }

/* ── Disclaimer ────────────────────────────────────────── */
.pp-disclaimer {
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
  padding: 2rem 1.5rem;
}
.pp-disclaimer-inner {
  max-width: 860px;
  margin: 0 auto;
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.75;
}
.pp-disclaimer-inner strong { color: #6b7280; }

/* ══ Library page ══════════════════════════════════════════ */
.pp-library { max-width: 900px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }

.pp-lib-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.pp-lib-header h1 { font-size: 1.5rem; font-weight: 800; margin: 0 0 0.2rem; }
.pp-lib-header p  { font-size: 0.85rem; color: var(--color-text-medium, #6b7280); margin: 0; }
.pp-lib-back { font-size: 0.82rem; color: #5C6BC0; text-decoration: none; white-space: nowrap; }
.pp-lib-back:hover { text-decoration: underline; }

/* Hero download block */
.pp-lib-hero {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #3d4f9f 0%, #5C6BC0 100%);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  color: #fff;
}
@media (max-width: 640px) { .pp-lib-hero { grid-template-columns: 1fr; } }
.pp-lib-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.85);
}
.pp-lib-hero h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; color: #fff; }
.pp-lib-hero p  { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0 0 0.75rem; line-height: 1.6; }
.pp-lib-hero ul { margin: 0; padding-left: 1.1rem; font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 2; }
.pp-lib-hero-action { text-align: center; }
.pp-lib-hero-action .pp-btn-primary { background: #fff; color: #5C6BC0; font-weight: 700; }
.pp-lib-hero-action .pp-btn-primary:hover { background: #e8eaf6; }
.pp-lib-hero-note { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-top: 0.6rem; }

/* Sections */
.pp-lib-section { margin-bottom: 2.5rem; }
.pp-lib-section-header { margin-bottom: 1.25rem; }
.pp-lib-section h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.3rem; }
.pp-lib-section p  { font-size: 0.85rem; color: var(--color-text-medium, #6b7280); margin: 0; line-height: 1.6; }

/* Cards */
.pp-lib-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.pp-lib-card {
  background: var(--bg-secondary, #f9fafb);
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 12px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pp-lib-card-amber { border-top: 3px solid #f59e0b; background: #fffbeb; border-color: #fcd34d; }
.pp-lib-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5C6BC0;
  margin-bottom: 0.1rem;
}
.pp-lib-card-amber .pp-lib-card-tag { color: #92400e; }
.pp-lib-card h3 { font-size: 0.9rem; font-weight: 700; margin: 0; }
.pp-lib-card p  { font-size: 0.81rem; color: var(--color-text-medium, #6b7280); margin: 0 0 0.75rem; line-height: 1.55; flex: 1; }

/* Sets grid */
.pp-lib-sets { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pp-lib-set-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-color, #e5e7eb);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  min-width: 68px;
}
.pp-lib-set-letter { font-weight: 800; font-size: 1rem; color: #5C6BC0; }
.pp-lib-set-papers { font-size: 0.65rem; color: var(--color-text-medium, #9ca3af); margin-top: 0.1rem; }
.pp-lib-set-files  { font-size: 0.6rem; color: #9fa8da; margin-top: 0.05rem; }

/* Disclaimer */
.pp-lib-disclaimer {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.78rem;
  color: #78350f;
  line-height: 1.7;
  margin-top: 1rem;
}

/* ── Toast ─────────────────────────────────────────────── */
.pp-toast { position:fixed; bottom:2rem; left:50%; transform:translateX(-50%) translateY(5rem); background:#111827; color:#fff; padding:0.7rem 1.4rem; border-radius:8px; font-size:0.85rem; opacity:0; transition:transform 0.25s,opacity 0.25s; z-index:9999; pointer-events:none; white-space:nowrap; }
.pp-toast-show { opacity:1; transform:translateX(-50%) translateY(0); }
.pp-toast-ok  { background:#059669; }
.pp-toast-err { background:#dc2626; }

/* ── Success page ──────────────────────────────────────── */
.pp-success { max-width:560px; margin:0 auto; padding:5rem 1.5rem; text-align:center; }
.pp-success h1 { font-size:1.7rem; font-weight:800; margin:0 0 0.5rem; }
.pp-success-lead { font-size:0.95rem; color:var(--color-text-medium,#6b7280); margin:0 0 2rem; }
.pp-success-info { background:var(--bg-secondary,#f9fafb); border:1px solid var(--border-color,#e5e7eb); border-radius:12px; padding:1.5rem 1.75rem; text-align:left; margin-top:2rem; }
.pp-success-info h3 { font-size:0.9rem; font-weight:700; margin:0 0 0.75rem; }
.pp-success-info ul { padding-left:1.2rem; margin:0; font-size:0.85rem; color:var(--color-text-medium,#6b7280); line-height:2; }

/* ── Shared utility ────────────────────────────────────── */
.btn-sm { font-size:0.82rem; padding:0.4rem 0.85rem; }
