/* =========================================================================
   VU PRIME — design tokens
   Palette grounded in the product's own world: VU's institutional blue,
   the gold wax-seal stamps on real Pakistani academic certificates, and
   the green "verified" checkmark already used in the extension icon.
   ========================================================================= */
:root {
  --navy:        #0B1B3A;
  --navy-soft:   #33415C;
  --blue:        #1D4ED8;
  --blue-deep:   #14306B;
  --blue-bright: #3B6DF0;
  --gold:        #B8860B;
  --gold-bright: #D6A21E;
  --green:       #16A34A;
  --paper:       #FAF9F5;
  --paper-raised:#FFFFFF;
  --line:        #E4E0D3;
  --line-soft:   #EFEDE4;
  --muted:       #5B6472;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', monospace;

  --wrap: 1120px;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

a { color: inherit; }
:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { font-family: var(--font-display); color: var(--navy); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(11,27,58,.08); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-nav { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* =========================================================================
   NAV
   ========================================================================= */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,245,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy); }
.brand-mark { border-radius: 8px; display: block; }
.nav-links { display: flex; font-size: 14.5px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--navy-soft); margin-right: 28px; }
.nav-links a:last-child { margin-right: 0; }
.nav-links a:hover { color: var(--blue); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { padding: 76px 0 64px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; gap: 48px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  margin: 0 0 26px;
}
.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--line); }
.eyebrow-state { color: var(--green); font-weight: 600; }

.hero h1 {
  font-size: clamp(40px, 5.6vw, 66px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin-bottom: 22px;
}
.hero-sub { font-size: 18px; color: var(--navy-soft); max-width: 46ch; margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---- hero visual: document card + stamp ---- */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 360px; }

.doc-card {
  width: 300px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(11,27,58,.22);
  padding: 22px 22px 18px;
  transform: rotate(-3deg);
}
.doc-line--head {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 12px; margin-bottom: 12px;
}
.doc-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; font-size: 13.5px; border-bottom: 1px solid var(--line-soft); }
.doc-row span:first-child { color: var(--muted); }
.doc-row span:last-child { font-family: var(--font-mono); font-weight: 600; }
.doc-row--fade { opacity: .35; }
.tag-paid { color: var(--green); }
.tag-done { color: var(--blue); }

.seal { position: absolute; right: -8px; bottom: -18px; width: 160px; height: 160px; animation: sealDrop 900ms cubic-bezier(.2,1.4,.4,1) 400ms both; }
@keyframes sealDrop {
  0%   { transform: scale(2.4) rotate(-18deg); opacity: 0; }
  60%  { transform: scale(.92) rotate(-14deg); opacity: 1; }
  100% { transform: scale(1) rotate(-12deg); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .seal { animation: none; } }

.seal svg { width: 100%; height: 100%; }
.seal-ring-outer { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .55; }
.seal-ring { fill: none; stroke: var(--gold-bright); stroke-width: 2.5; }
.seal-ring-inner { fill: none; stroke: var(--gold); stroke-width: 1; opacity: .7; }
.seal-text { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; fill: var(--gold-bright); font-weight: 600; }
.seal-check { fill: none; stroke: var(--navy); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 900px) {
  .doc-card { width: 260px; transform: rotate(-2deg); }
  .seal { width: 130px; height: 130px; right: 4px; }
}

/* =========================================================================
   PROOF STRIP
   ========================================================================= */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-raised); }
.proof-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proof-item {
  padding: 30px 24px;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.proof-item:first-child { border-left: none; }
.proof-num { font-family: var(--font-mono); font-size: 25px; font-weight: 600; color: var(--navy); display: flex; align-items: baseline; gap: 8px; }
.proof-arrow { color: var(--blue); font-size: 16px; }
.proof-label { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .proof-inner { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(3) { border-left: none; }
  .proof-item { border-top: 1px solid var(--line); }
  .proof-item:nth-child(1), .proof-item:nth-child(2) { border-top: none; }
}

/* =========================================================================
   shared section styles
   ========================================================================= */
section { padding: 88px 0; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; max-width: 20ch; }
.section-sub { color: var(--muted); font-size: 16px; margin: 14px 0 0; max-width: 50ch; }

/* =========================================================================
   COMPARE (problem/solution)
   ========================================================================= */
.compare { background: var(--paper-raised); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 46px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare-col { padding: 36px 34px; }
.compare-old { background: var(--paper); }
.compare-new { background: var(--navy); color: #fff; }
.compare-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 20px; color: var(--muted); }
.compare-new .compare-label { color: rgba(255,255,255,.55); }
.compare-col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.compare-col li { font-size: 15px; padding-left: 26px; position: relative; }
.compare-old li::before { content: '✕'; position: absolute; left: 0; color: #C9502F; font-size: 13px; top: 2px; }
.compare-new li::before { content: '✓'; position: absolute; left: 0; color: #5FD68A; font-weight: 700; font-size: 13px; top: 2px; }
@media (max-width: 800px) { .compare-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   MODULES
   ========================================================================= */
.module-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.module-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 30px 32px; transition: border-color .18s ease, transform .18s ease; }
.module-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.module-tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.module-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.module-card p { margin: 0; color: var(--navy-soft); font-size: 15px; }
@media (max-width: 700px) { .module-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   HOW IT WORKS
   ========================================================================= */
.how { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; margin: 50px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 16px; }
.step-num {
  font-family: var(--font-mono); font-weight: 600; font-size: 15px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--navy-soft); font-size: 14.5px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 30px; } }

/* =========================================================================
   TRUST
   ========================================================================= */
.trust-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.trust-copy p { color: var(--navy-soft); font-size: 16px; margin-top: 18px; max-width: 44ch; }
.trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.trust-list li { font-size: 15px; color: var(--navy-soft); padding-left: 24px; position: relative; }
.trust-list li::before { content: ''; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-bright); }
.trust-list strong { color: var(--navy); font-weight: 600; }
@media (max-width: 800px) { .trust-inner { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq-list { margin-top: 42px; max-width: 760px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item summary {
  cursor: pointer; font-size: 16.5px; font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-mono); font-size: 20px; color: var(--blue); flex-shrink: 0; transition: transform .18s ease; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 14px 0 0; color: var(--navy-soft); font-size: 15px; max-width: 62ch; }

/* =========================================================================
   CTA
   ========================================================================= */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta-seal { width: 76px; height: 76px; margin-bottom: 26px; }
.cta-seal .seal-ring-outer { opacity: .5; }
.cta-seal .seal-check { stroke: #fff; }
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 600; color: #fff; }
.cta p { color: rgba(255,255,255,.68); font-size: 16px; margin: 18px 0 34px; max-width: 44ch; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.cta .btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.cta .btn-ghost:hover { border-color: #fff; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.footer-brand img { border-radius: 6px; }
.footer-copy { max-width: 52ch; color: var(--muted); font-size: 13.5px; margin: 0; }
.footer-links { display: flex; font-size: 13.5px; }
.footer-links a { text-decoration: none; color: var(--navy-soft); margin-right: 22px; }
.footer-links a:last-child { margin-right: 0; }
.footer-links a:hover { color: var(--blue); }
.footer-made { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
