/* =========================================================
   Hireme AI - Global Stylesheet
   ========================================================= */

:root {
  /* Brand palette */
  --indigo-900: #1a103d;
  --indigo-800: #261552;
  --indigo-700: #3a1f7a;
  --violet-600: #6d28d9;
  --violet-500: #7c3aed;
  --violet-400: #9061f9;
  --accent: #22d3ee;       /* cyan accent */
  --accent-2: #34d399;     /* green for success */
  --amber: #fbbf24;

  --ink: #16112e;
  --body: #565073;
  --muted: #948fab;
  --line: #efedf8;
  --bg: #ffffff;
  --bg-soft: #faf9fe;
  --bg-card: #ffffff;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(26, 16, 61, 0.045);
  --shadow: 0 18px 46px rgba(26, 16, 61, 0.075);
  --shadow-lg: 0 36px 80px rgba(26, 16, 61, 0.13);

  --grad-brand: linear-gradient(135deg, #7c3aed 0%, #6d28d9 45%, #4c1d95 100%);
  --grad-accent: linear-gradient(120deg, #22d3ee 0%, #7c3aed 100%);

  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.72;
  font-size: 17px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
section { position: relative; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.bg-soft { background: var(--bg-soft); }
.center { text-align: center; }
.grid { display: grid; gap: 30px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.11em;
  text-transform: uppercase; color: #6d28d9;
  background: #efe7fd; border: 1px solid #e0d3fb;
  padding: 8px 16px 8px 13px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9); box-shadow: 0 0 0 3px rgba(124,58,237,.13);
}
.section-head { max-width: 700px; margin: 0 auto 40px; }
.section-head.left { margin-left: 0; }
.section-head h2 { margin-top: 4px; }
.lead { font-size: 1.13rem; color: var(--body); line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 0.98rem; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: inherit; white-space: nowrap;
}
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 22px rgba(124,58,237,.26); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(124,58,237,.36); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--violet-400); color: var(--violet-600); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.35); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,211,102,.45); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
/* header lifts subtly once you scroll (toggled by main.js) */
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 30px rgba(26,16,61,.10);
}
/* header items gently fade-drop in on first load */
.site-header .brand { animation: hdrItem .5s ease both; }
.nav-links a { animation: hdrItem .5s ease both; }
.nav-cta > * { animation: hdrItem .5s ease both; }
.nav-links a:nth-child(2){animation-delay:.05s}.nav-links a:nth-child(3){animation-delay:.1s}
.nav-links a:nth-child(4){animation-delay:.15s}.nav-links a:nth-child(5){animation-delay:.2s}
.nav-links a:nth-child(6){animation-delay:.25s}
.nav-cta > *:nth-child(2){animation-delay:.1s}.nav-cta > *:nth-child(3){animation-delay:.18s}
@keyframes hdrItem { from { opacity:0; transform: translateY(-8px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){
  .site-header .brand,.nav-links a,.nav-cta>*{animation:none}
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -0.03em; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  /* Uses your icon.png if present; falls back to logo.svg automatically */
  background: url("../img/icon.png") center / contain no-repeat,
              url("../img/logo.svg") center / contain no-repeat;
  font-size: 0; color: transparent;
  box-shadow: 0 6px 16px rgba(26,16,61,.14);
}
.brand .dot { color: var(--violet-500); }
.brand-img { height: 52px; width: auto; max-width: 240px; display: block; transition: transform .3s cubic-bezier(.34,1.6,.5,1); }
.brand:hover .brand-img, .brand:hover .logo { transform: scale(1.06) rotate(-3deg); }
.brand .logo { transition: transform .3s cubic-bezier(.34,1.6,.5,1); }
.brand-fallback { display: none; align-items: center; gap: 10px; }
.foot-logo { height: 52px; width: auto; max-width: 240px; display: block; }

/* ---------- CTA lead form ---------- */
.cta-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center; text-align: left; position: relative; z-index: 1; }
.cta-split h2 { color: #fff; }
.cta-split p { color: #e4ddff; max-width: none; margin: 14px 0 0; }
.cta-trust { margin: 22px 0 0; }
.cta-trust li { color: #efe9ff; margin-bottom: 10px; display: flex; gap: 10px; align-items: center; font-size: 0.97rem; }
.cta-trust li span { color: #6ee7b7; font-weight: 800; }
.cta-form { background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--shadow-lg); text-align: left; }
.cta-form h3 { font-size: 1.2rem; margin-bottom: 4px; }
.cta-form .sub { font-size: 0.88rem; color: var(--muted); margin-bottom: 20px; }
.cta-form .field { margin-bottom: 14px; }
.cta-form label { display: block; font-weight: 700; color: var(--ink); font-size: 0.85rem; margin-bottom: 6px; }
.cta-form label .req { color: #ef4444; }
.cta-form input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; font-family: inherit; font-size: 0.98rem; color: var(--ink); background: #fff; transition: .18s; }
.cta-form input:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.cta-form .note { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-weight: 600; font-size: 0.92rem; color: #3a3556; position: relative; white-space: nowrap; transition: color .2s ease, transform .2s ease; }
.nav-links a:hover { color: var(--violet-600); transform: translateY(-1px); }
.nav-links a.active { color: var(--violet-600); }
/* animated underline that grows from the centre on hover + for the active link */
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--violet-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 11px 18px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .3s; }

/* ---------- nav dropdown menus (Services / Free Tools) ---------- */
.nav-dd { position: relative; display: inline-flex; align-items: center; }
.nav-dd-t { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dd-caret { width: 13px; height: 13px; opacity: .7; transition: transform .22s ease; }
.nav-dd:hover .nav-dd-caret { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: 100%; left: 50%; margin-top: 16px;
  transform: translateX(-50%) translateY(9px) scale(.98); transform-origin: top center;
  width: 344px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(28,20,49,.22); padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .22s cubic-bezier(.2,.8,.2,1), visibility .22s; z-index: 60;
}
/* soft violet wash at the top of the card */
.nav-panel { background-image: linear-gradient(#faf7ff, #fff 64px); }
/* invisible bridge so the pointer can travel from trigger to panel without closing */
.nav-panel::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav-dd:hover .nav-panel, .nav-dd:focus-within .nav-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1);
}
.np-head { font-size: .64rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #9b93bd; padding: 10px 12px 7px; }
.nav-links .np-item {
  display: flex; gap: 12px; align-items: center; padding: 9px 11px; border-radius: 13px;
  transition: background .15s ease; transform: none; position: relative;
}
.nav-links .np-item::after { display: none; }         /* kill the underline used on top-level links */
.nav-links .nav-panel a { animation: none; }           /* don't inherit the header entrance fade */
.nav-links .np-item:hover { background: #f4efff; transform: none; color: inherit; }
/* violet accent bar slides in on hover */
.nav-links .np-item:not(.np-soon)::before {
  content: ""; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; border-radius: 3px; background: linear-gradient(var(--violet-500), var(--violet-600));
  transition: height .2s ease;
}
.nav-links .np-item:not(.np-soon):hover::before { height: 58%; }
.np-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, #f0e9fc, #e7dcfb); color: var(--violet-600);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7); transition: transform .15s ease; }
.nav-links .np-item:hover .np-ic { transform: scale(1.06); }
.np-ic svg { width: 21px; height: 21px; }
.np-tx { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.np-tx b { font-size: .9rem; font-weight: 700; color: var(--ink); }
.np-tx span { font-size: .76rem; color: var(--muted); font-weight: 500; }
.np-badge { margin-left: auto; flex: none; font-size: .58rem; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.np-badge.free { background: #dcfce7; color: #15803d; }
.np-badge.inc  { background: #ede9fe; color: #6d28d9; }
.np-badge.soon { background: #eef0f5; color: #94a3b8; }
.np-item.np-soon { cursor: default; opacity: .72; }
.np-item.np-soon:hover { background: transparent; }
.np-item.np-soon:hover .np-ic { transform: none; }
.np-item.np-soon .np-ic { background: #f1eef8; color: #a99fc9; }
.np-sep { height: 1px; background: var(--line); margin: 7px 10px; }
.np-item.np-cta { background: linear-gradient(135deg, #7c3aed, #6d28d9); margin: 2px 0; box-shadow: 0 10px 22px rgba(124,58,237,.3); }
.np-item.np-cta:hover { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.np-item.np-cta .np-ic { background: rgba(255,255,255,.2); color: #fff; box-shadow: none; }
.np-item.np-cta .np-tx b { color: #fff; }
.np-item.np-cta .np-tx span { color: #ece7fb; }
.np-foot { display: block; text-align: center; padding: 11px; margin-top: 4px;
  border-top: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--violet-600); }
.nav-links a.np-foot::after { display: none; }
.nav-links a.np-foot:hover { color: var(--violet-700, #6d28d9); background: #f7f4ff; border-radius: 0 0 16px 16px; transform: none; }
@media (max-width: 980px) {
  /* in the mobile menu the parent link just navigates; hide the panel + caret */
  .nav-dd { display: block; width: 100%; text-align: center; }
  .nav-dd-t { display: inline-flex; }
  .nav-dd-caret, .nav-panel { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #4c1d95 0%, transparent 60%),
              radial-gradient(900px 500px at 0% 100%, #5b21b6 0%, transparent 55%),
              linear-gradient(160deg, #1a103d 0%, #2a1656 100%);
  padding: 60px 0 72px;
}
.hero h1 { color: #fff; }
.hero p { color: #d8d2f0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.hero .eyebrow::before, .journey .eyebrow::before { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.hero-stats { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats .num { font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stats .lbl { font-size: 0.85rem; color: #b9b2da; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }

/* glow blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; z-index: 0; }

/* ---------- Hero score card ---------- */
.score-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
  animation: cardFloat 6s ease-in-out infinite;
}
/* gentle floating + glow pulse on the whole card */
@keyframes cardFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.score-card h4 { color: #fff; font-size: 1.05rem; }
.ring {
  --val: 82; width: 150px; height: 150px; border-radius: 50%; margin: 18px auto 8px;
  /* --fill is animated from 0 → --val by .ring.go; falls back to --val without JS */
  background: conic-gradient(var(--accent) calc(var(--fill, var(--val))*1%), rgba(255,255,255,.12) 0);
  display: grid; place-items: center; position: relative;
  transition: --fill 1.4s cubic-bezier(.34,1,.5,1);
}
.ring::after { /* soft glow that pulses */
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  box-shadow: 0 0 24px 2px rgba(34,211,238,.35); opacity: .7;
  animation: ringGlow 3s ease-in-out infinite; pointer-events: none;
}
@keyframes ringGlow { 0%,100% { opacity: .35; } 50% { opacity: .8; } }
.ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: #21134c; }
.ring .ring-val { position: relative; z-index: 1; font-size: 2.1rem; font-weight: 800; color: #fff; }
.ring .ring-val small { font-size: 1rem; color: #b9b2da; }
.score-rows { margin-top: 14px; display: grid; gap: 12px; }
.score-row { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: #d8d2f0; }
.score-row .bar { flex: 1; height: 7px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.score-row .bar i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg,#22d3ee,#7c3aed); background-size: 200% 100%;
  transition: width 1.1s cubic-bezier(.34,1,.5,1);
  animation: barShimmer 2.4s linear infinite;
}
@keyframes barShimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
/* register the custom prop so it can be animated/transitioned */
@property --fill { syntax: "<number>"; inherits: false; initial-value: 0; }
@media (prefers-reduced-motion: reduce) {
  .score-card, .ring::after, .score-row .bar i { animation: none; }
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e4e0f3; }
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px; background: rgba(124,58,237,.1);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--body); font-size: 0.98rem; margin-bottom: 0; }
.card-link { color: var(--violet-600); font-weight: 700; font-size: 0.92rem; margin-top: 16px; display: inline-flex; gap: 6px; }
a.card { text-decoration: none; color: inherit; cursor: pointer; }
a.card .card-link { transition: gap .18s ease; }
a.card:hover .card-link { gap: 11px; }

/* ---------- "What we do" — richer cards ---------- */
.wwd .card { border-radius: 20px; padding: 30px 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.wwd .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.wwd .card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(76,29,149,.16); border-color: #d9cef5; }
.wwd .card:hover::before { transform: scaleX(1); }
.wwd .card .ico {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px;
  background: linear-gradient(135deg, #efe9fd, #e3d6fb); color: var(--violet-600);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 8px 18px rgba(124,58,237,.14);
  transition: transform .2s ease;
}
.wwd .card:hover .ico { transform: scale(1.07) rotate(-3deg); }
.wwd .card .ico svg { width: 26px; height: 26px; }
.wwd .card h3 { font-size: 1.17rem; margin-bottom: 12px; }
.wwd .card-list { margin: 0; }
.wwd .card-link { margin-top: auto; padding-top: 16px; transition: gap .2s ease, color .2s ease; }
.wwd .card:hover .card-link { gap: 11px; color: #6d28d9; }

/* ---------- "The real problem" — red-tinted problem cards ---------- */
.probs .card { border-radius: 20px; padding: 28px; position: relative; overflow: hidden; }
.probs .card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #fb7185, #ef4444); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.probs .card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(190,24,24,.13); border-color: #f6d5d5; }
.probs .card:hover::before { transform: scaleX(1); }
.probs .card .ico.warn {
  width: 54px; height: 54px; border-radius: 15px; margin-bottom: 18px;
  background: linear-gradient(135deg, #fee2e2, #fecdcd); color: #dc2626;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 18px rgba(239,68,68,.16); transition: transform .2s ease;
}
.probs .card:hover .ico.warn { transform: scale(1.07) rotate(-3deg); }
.probs .card .ico.warn svg { width: 26px; height: 26px; }
.probs .card h3 { font-size: 1.14rem; }

/* ---------- "Stop sending CVs" CTA — floating proof cards ---------- */
.cta-form { position: relative; }
.cta-float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #efeafc; border-radius: 14px; padding: 10px 14px;
  box-shadow: 0 20px 44px rgba(20,10,45,.28); white-space: nowrap; }
.cta-float .cf-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1rem; color: #fff; flex: none; }
.cta-float .cf-ic.ok { background: linear-gradient(135deg, #34d399, #059669); }
.cta-float .cf-ic.up { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.cta-float .cf-tx { display: flex; flex-direction: column; line-height: 1.25; }
.cta-float .cf-tx b { font-size: .84rem; color: #16112e; }
.cta-float .cf-tx span { font-size: .72rem; color: #6b7280; }
.cta-float.f1 { top: -30px; right: 16px; animation: cf1 4s ease-in-out infinite; }   /* top-right, clear of the heading */
.cta-float.f2 { bottom: -22px; left: -40px; animation: cf2 4.6s ease-in-out .5s infinite; }
@keyframes cf1 { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-7px) rotate(-4deg); } }
@keyframes cf2 { 0%,100% { transform: translateY(0) rotate(3deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
@media (max-width: 1080px) { .cta-float { display: none; } }

/* ---------- Logos strip ---------- */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 44px; opacity: .85; }
.logos span { font-weight: 800; font-size: 1.25rem; color: #9a93b8; letter-spacing: -0.02em; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .n {
  flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; box-shadow: 0 8px 20px rgba(124,58,237,.35);
}
.step h3 { margin-bottom: 4px; }

/* ---------- Stats band ---------- */
.stat-band { background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg); padding: 46px; position: relative; overflow: hidden; }
.stat-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 220px at 15% -20%, rgba(255,255,255,.18), transparent 60%); pointer-events: none; }
.stat-band .num { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-band .lbl { color: #e4ddff; font-size: 0.95rem; margin-top: 6px; }
.stat-grid { gap: 0; position: relative; z-index: 1; }
.stat-item { position: relative; padding: 4px 18px; }
.stat-item + .stat-item::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 62px; background: rgba(255,255,255,.22); }
.stat-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 13px; color: #fff; background: rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.stat-ic svg { width: 24px; height: 24px; }
@media (max-width: 820px) { .stat-item + .stat-item::before { display: none; } .stat-item { padding: 14px 10px; } }

/* ---------- Reviews ---------- */
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column;
}
.stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: 1rem; color: #3a3556; flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-weight: 800; color: #fff; background: var(--grad-brand); font-size: 0.95rem;
}
/* reviewer profile photo */
img.avatar { display: block; object-fit: cover; background: #efeafc; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(76, 29, 149, .18); }
.review .who b { color: var(--ink); display: block; font-size: 0.95rem; }
.review .who span { font-size: 0.82rem; color: var(--muted); }

/* ---------- Success stories ---------- */
.story { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.story .ph {
  border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center;
  font-size: 2.4rem; font-weight: 800; color: #fff; background: var(--grad-brand);
}
.badge-jump {
  display: inline-flex; gap: 8px; align-items: center; background: rgba(52,211,153,.12);
  color: #059669; font-weight: 700; font-size: 0.85rem; padding: 6px 12px; border-radius: 999px;
}
.tag { display: inline-block; font-size: 0.78rem; font-weight: 700; color: var(--violet-600);
  background: rgba(124,58,237,.08); padding: 4px 10px; border-radius: 999px; }

/* ---------- Tool / quiz ---------- */
.tool-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.quiz-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 8px; font-size: 0.95rem; }
.field .hint { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer;
  font-weight: 600; font-size: 0.9rem; color: #3a3556; background: #fff; transition: .15s; user-select: none;
}
.chip:hover { border-color: var(--violet-400); }
.chip.sel { background: var(--grad-brand); color: #fff; border-color: transparent; }
.progress { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 26px; }
.progress i { display: block; height: 100%; background: var(--grad-brand); border-radius: 999px; transition: width .35s ease; width: 0; }

/* result */
.result-ring {
  --val: 0; width: 200px; height: 200px; border-radius: 50%; margin: 0 auto 10px;
  background: conic-gradient(var(--c, #7c3aed) calc(var(--val)*1%), var(--line) 0);
  display: grid; place-items: center; position: relative; transition: --val 1s;
}
.result-ring::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; background: #fff; }
.result-ring .v { position: relative; z-index: 1; font-size: 3rem; font-weight: 800; color: var(--ink); }
.result-ring .v small { font-size: 1.2rem; color: var(--muted); }
.tool-side { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.tool-side li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.95rem; color: #3a3556; }
.tool-side li .ck { color: var(--accent-2); font-weight: 800; }
.hidden { display: none !important; }

/* ---------- Blog ---------- */
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; height: 100%; display: flex; flex-direction: column;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post .thumb { height: 200px; flex: none; display: grid; place-items: center; font-size: 2.4rem; color: #fff; }
.post .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post .meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.post h3 { font-size: 1.15rem; margin-bottom: 8px; }
.post p { font-size: 0.94rem; flex: 1; }
.post .card-link { margin-top: 14px; }

/* ---------- Editorial blog cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 920px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pgrid { grid-template-columns: 1fr; } }

.ecard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform .22s ease, box-shadow .22s ease; }
.ecard:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(30, 16, 70, .16); }
.ecard-media { position: relative; height: 188px; flex: none; overflow: hidden; background: #efeafe; }
.ecard-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s ease; }
.ecard:hover .ecard-img { transform: scale(1.07); }
.ecard-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 16, 86, .04), rgba(36, 16, 86, .16)); }
.ecard-cat { position: absolute; z-index: 2; top: 13px; left: 13px; font-size: .63rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #7c3aed, #4c1d95); padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(76, 29, 149, .38); }
.ecard-body { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.ecard-meta { font-size: .72rem; font-weight: 800; letter-spacing: .05em; color: var(--violet-600); text-transform: uppercase; margin-bottom: 9px; }
.ecard-title { font-size: 1.12rem; font-weight: 800; line-height: 1.28; color: var(--ink); letter-spacing: -0.01em; margin: 0 0 8px; transition: color .18s; }
.ecard:hover .ecard-title { color: var(--violet-600); }
.ecard-ex { font-size: .92rem; color: #5a5478; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ecard-foot { margin-top: auto; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; }
.ecard-by { display: flex; align-items: center; gap: 9px; }
.ecard-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #7c3aed, #4c1d95); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; flex: none; letter-spacing: .02em; }
.ecard-by-t { display: flex; flex-direction: column; line-height: 1.25; }
.ecard-by-t .nm { font-size: .8rem; font-weight: 800; color: var(--ink); }
.ecard-by-t .dt { font-size: .72rem; font-weight: 600; color: var(--muted); }
.ecard-arrow { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--violet-600); background: rgba(124, 58, 237, .1); transition: background .18s, color .18s, transform .18s; }
.ecard:hover .ecard-arrow { background: var(--violet-600); color: #fff; transform: translateX(3px); }
.ecard-arrow svg { width: 16px; height: 16px; }

/* Immersive featured card */
.efeat { position: relative; display: block; min-height: 400px; border-radius: 22px; overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.efeat-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .55s ease; }
.efeat:hover .efeat-img { transform: scale(1.045); }
.efeat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 10, 45, .12) 0%, rgba(20, 10, 45, .34) 42%, rgba(20, 10, 45, .9) 100%); }
.efeat-inner { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 40px 44px; max-width: 700px; }
.efeat-cat { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, #8b5cf6, #a855f7); padding: 6px 13px; border-radius: 999px; margin-bottom: 15px; box-shadow: 0 6px 16px rgba(0, 0, 0, .28); }
.efeat h2 { color: #fff; font-size: 2rem; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; text-shadow: 0 2px 18px rgba(0, 0, 0, .38); }
.efeat p { color: #e6dffb; font-size: 1.02rem; line-height: 1.6; margin: 0 0 16px; max-width: 620px; }
.efeat-meta { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #c4b5fd; }
@media (max-width: 640px) { .efeat { min-height: 340px; } .efeat-inner { padding: 26px 22px; } .efeat h2 { font-size: 1.5rem; } }

/* ---------- FAQ ---------- */
/* FAQ — separated, premium accordion cards */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.faq details:hover { border-color: #d6c9f7; box-shadow: 0 12px 30px rgba(76, 29, 149, .09); }
.faq details[open] { border-color: var(--violet-400); box-shadow: 0 16px 38px rgba(124, 58, 237, .12); }
.faq summary {
  cursor: pointer; padding: 20px 22px; font-weight: 700; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1.02rem;
  transition: color .2s ease;
}
.faq details[open] summary { color: var(--violet-600); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 9px;
  background: #f2ecfd url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2.6' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>") center/15px no-repeat;
  transition: transform .25s ease, background-color .2s ease;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: #e6d9fb; }
.faq .a { padding: 0 22px 22px; color: var(--body); font-size: 0.98rem; line-height: 1.6; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg);
  padding: 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e4ddff; max-width: 540px; margin: 12px auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.contact-card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; flex: none; background: rgba(124,58,237,.1); }
.contact-card b { color: var(--ink); display: block; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); }
textarea.f-area { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem; resize: vertical; min-height: 120px; }
textarea.f-area:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #1a103d 0%, #2a1656 100%);
  color: #fff; padding: 70px 0 76px; text-align: center;
}
/* a relevant photo sits behind each hero */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: var(--hero-img); background-size: cover; background-position: center;
  opacity: .5;
}
/* dark wash over the photo keeps the copy fully readable */
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(160deg, rgba(26,16,61,.84) 0%, rgba(42,22,86,.78) 100%),
    radial-gradient(760px 380px at 88% -25%, rgba(124,58,237,.42) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
/* per-page background photo */
.page-hero.hero-success   { --hero-img: url("../img/hero-success.jpg"); }
.page-hero.hero-tools     { --hero-img: url("../img/hero-tools.jpg"); }
.page-hero.hero-blog      { --hero-img: url("../img/hero-blog.jpg"); }
.page-hero.hero-resume    { --hero-img: url("../img/hero-resume.jpg"); }
.page-hero.hero-portfolio { --hero-img: url("../img/hero-portfolio.jpg"); }
.page-hero.hero-contact   { --hero-img: url("../img/hero-contact.jpg"); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #d8d2f0; max-width: 620px; margin: 16px auto 0; }
.crumb { font-size: 0.85rem; color: #b9b2da; margin-bottom: 14px; }
.crumb a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #15102e; color: #b9b2da; padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h5 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: .02em; }
.site-footer a { display: block; color: #b9b2da; font-size: 0.92rem; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; }
.foot-bottom a { display: inline; margin: 0; }
.foot-bottom a:hover { color: #fff; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0; }
.socials a:hover { background: var(--violet-500); }

/* ---------- Floating WhatsApp ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px;
  border-radius: 50%; background: #25D366; display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,.22); transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(37,211,102,.4); }
.fab-wa svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.flex { display: flex; } .gap { gap: 14px; } .wrap { flex-wrap: wrap; }
.mt-2 { margin-top: 28px; } .text-muted { color: var(--muted); }

/* ---------- Multi-step Wizard (Interview Chances) ---------- */
.wizard-shell { max-width: 720px; margin: 0 auto; }
.wizard-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px;
  box-shadow: 0 30px 70px rgba(26,16,61,.13); padding: 46px; overflow: hidden;
}
.wizard-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad-accent); }

.wiz-top { margin-bottom: 32px; }
.wiz-count { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.wiz-count b { color: var(--violet-600); }
.wiz-count .pct { color: var(--violet-600); }
.wiz-bar { height: 10px; background: #efecf9; border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(26,16,61,.06); }
.wiz-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7c3aed, #22d3ee); transition: width .45s cubic-bezier(.4,0,.2,1); width: 0; box-shadow: 0 0 12px rgba(124,58,237,.55); }

.wiz-step { display: none; animation: wizIn .4s cubic-bezier(.4,0,.2,1); }
.wiz-step.active { display: block; }
@keyframes wizIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.wiz-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-600); background: rgba(124,58,237,.1); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.wiz-q { font-size: 1.62rem; font-weight: 800; color: var(--ink); margin-bottom: 26px; letter-spacing: -0.02em; line-height: 1.25; }

/* option cards */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.opt-grid.one { grid-template-columns: 1fr; }
.opt-grid.three { grid-template-columns: repeat(3, 1fr); }
.opt {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 18px;
  border: 2px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff;
  transition: all .18s ease; text-align: left; width: 100%; font-family: inherit;
}
.opt:hover { border-color: var(--violet-400); background: #faf8ff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(124,58,237,.1); }
.opt .radio {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cfc9e6;
  display: grid; place-items: center; transition: .18s;
}
.opt .radio::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: transparent; transform: scale(.4); transition: .18s; }
.opt .o-title { font-weight: 700; color: var(--ink); font-size: 1.04rem; line-height: 1.25; display: block; }
.opt .o-sub { font-size: 0.85rem; color: var(--muted); margin-top: 2px; display: block; }
.opt.sel { border-color: var(--violet-500); background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(34,211,238,.06)); box-shadow: 0 12px 26px rgba(124,58,237,.16); }
.opt.sel .radio { border-color: var(--violet-500); background: var(--violet-500); }
.opt.sel .radio::after { background: #fff; transform: scale(1); }

.wiz-nav { display: flex; gap: 12px; margin-top: 30px; align-items: center; }
.wiz-nav .btn-back { background: #fff; color: var(--body); border: 1.5px solid var(--line); }
.wiz-nav .btn-back:hover { border-color: var(--violet-400); color: var(--violet-600); }
.wiz-nav .grow { flex: 1; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* lead capture */
.lead-lock { text-align: center; margin-bottom: 6px; }
.lock-ico {
  width: 74px; height: 74px; border-radius: 20px; background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 20px; box-shadow: 0 14px 30px rgba(124,58,237,.45);
}
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lead-field { margin-bottom: 18px; text-align: left; }
.lead-field label { display: block; font-weight: 700; color: var(--ink); font-size: 0.9rem; margin-bottom: 8px; }
.lead-field .req { color: #ef4444; }
.lead-field input {
  width: 100%; padding: 14px 16px; border: 1.6px solid var(--line); border-radius: 13px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: .18s;
}
.lead-field input:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.12); }
.lead-trust { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 10px; font-size: 0.8rem; color: var(--muted); }
.lead-trust span { display: inline-flex; gap: 6px; align-items: center; }

/* result */
.res-hero { text-align: center; background: radial-gradient(560px 280px at 50% -30%, rgba(124,58,237,.13), transparent 70%); padding: 6px 0 10px; border-radius: 20px; }
.res-badge {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 0.8rem;
  letter-spacing: .05em; padding: 8px 18px; border-radius: 999px;
}
.res-ring {
  --val: 0; --c: #7c3aed; width: 200px; height: 200px; border-radius: 50%; margin: 22px auto 8px;
  background: conic-gradient(var(--c) calc(var(--val)*1%), #efecf9 0);
  display: grid; place-items: center; position: relative;
}
.res-ring::before { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: #fff; box-shadow: inset 0 2px 10px rgba(26,16,61,.06); }
.res-ring .rv { position: relative; z-index: 1; text-align: center; }
.res-ring .rv b { font-size: 3.4rem; font-weight: 800; color: var(--ink); display: block; line-height: 1; }
.res-ring .rv span { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

.insight {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; margin-bottom: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--violet-500); transition: transform .18s;
}
.insight:hover { transform: translateX(3px); }
.insight .em { width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.insight b { color: var(--ink); font-size: 1rem; }
.insight p { margin: 4px 0 0; font-size: 0.93rem; color: #4b4663; }
.insight.warn { background: #fffaf0; border-color: #fae3bf; border-left-color: var(--amber); }
.insight.good { background: #f0fdf8; border-color: #c8efdd; border-left-color: var(--accent-2); }

/* ---------- Journey timeline ---------- */
.journey {
  padding-top: 46px;                                   /* pull the top up — no dead dark gap */
  background: radial-gradient(820px 420px at 50% -6%, rgba(139,92,246,.42) 0%, transparent 60%),
              radial-gradient(700px 400px at 0% 110%, #5b21b6 0%, transparent 55%),
              linear-gradient(160deg, #1a103d 0%, #2a1656 100%);
  color: #fff; overflow: hidden;
}
.journey .section-head { margin-bottom: 46px; }
/* relevant photo behind the Services process header, fading out into the section */
.journey::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 460px; z-index: 0;
  background: url("../img/hero-services.jpg") center top / cover no-repeat; opacity: .30;
  -webkit-mask-image: linear-gradient(#000 0%, rgba(0,0,0,.45) 55%, transparent 100%);
          mask-image: linear-gradient(#000 0%, rgba(0,0,0,.45) 55%, transparent 100%);
}
.journey > .container { position: relative; z-index: 2; }
.journey h2 { color: #fff; }
/* Services: the section heading is the page's H1 — keep it looking like the H2 it replaced */
.journey .section-head h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: 4px; }
.journey .eyebrow { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.journey .lead { color: #d8d2f0; }
.jr-crumb { text-align: center; margin: 0 0 26px; color: #b3a9d8; font-size: 0.82rem; }
.jr-crumb a { color: #b3a9d8; }
.jr-crumb a:hover { color: #fff; }

/* ---------- compact process grid (3 across, 2 rows) ---------- */
.jr-wrap { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 18px; max-width: 1080px; margin: 0 auto; }
.jr {
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.jr:hover { transform: translateY(-4px); border-color: rgba(196,181,253,.6); box-shadow: 0 16px 36px rgba(20,10,45,.45); }
.jr-head { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.jr-ico {
  position: relative; flex: none; width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(150deg, #8b5cf6, #6d28d9); display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 18px rgba(109,40,217,.45), inset 0 1px 0 rgba(255,255,255,.35);
}
.jr-ico svg { width: 22px; height: 22px; }
.jr-n {
  position: absolute; top: -7px; right: -7px; width: 21px; height: 21px; border-radius: 50%; font-style: normal;
  background: #fff; color: #6d28d9; font-size: 0.7rem; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 3px 8px rgba(20,14,38,.45);
}
.jr-ht { min-width: 0; }
.jr-ht h3 { color: #fff; font-size: 1.04rem; margin: 0 0 3px; letter-spacing: -0.01em; }
.jr-meta { display: inline-block; font-size: 0.62rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #ddd3ff; background: rgba(139,92,246,.28); padding: 2px 9px; border-radius: 999px; }
.jr-points { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 8px; }
.jr-points li { position: relative; padding-left: 25px; color: #d5cfec; font-size: 0.88rem; line-height: 1.45; }
.jr-points li b { color: #fff; font-weight: 700; }
.jr-points li::before {
  content: ""; position: absolute; left: 0; top: .18em; width: 17px; height: 17px; border-radius: 6px;
  background: rgba(139,92,246,.22) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c4b5fd' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6 9 17l-5-5'/></svg>") center/11px no-repeat;
}
.jr-get { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.82rem; color: #86efac; font-weight: 600; }
.jr-get svg { flex: none; width: 19px; height: 19px; padding: 3px; border-radius: 50%; background: rgba(52,211,153,.2); color: #6ee7b7; }
@media (max-width: 900px) { .jr-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .jr-wrap { grid-template-columns: 1fr; max-width: 400px; } }

/* ---------- Dashboard preview ---------- */
.dash { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dash-top .dots { display: flex; gap: 6px; }
.dash-top .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dash-top b { font-size: 0.9rem; color: var(--ink); margin-left: 8px; }
.dash-top .live { margin-left: auto; font-size: 0.75rem; font-weight: 700; color: var(--accent-2); display: inline-flex; gap: 6px; align-items: center; }
.dash-top .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 3px rgba(52,211,153,.25); }
.dash-scroll { overflow-x: auto; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 620px; }
.dash-table th { text-align: left; padding: 13px 16px; color: var(--muted); font-weight: 800; font-size: 0.7rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.dash-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.dash-table tbody tr:last-child td { border-bottom: 0; }
.dash-table tbody tr:hover { background: #faf8ff; }
.dash-table .co { font-weight: 700; }
.dash-table .muted { color: var(--muted); }
.st { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.76rem; padding: 5px 11px; border-radius: 999px; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.applied { background: rgba(124,58,237,.1); color: #6d28d9; }
.st.review { background: rgba(251,191,36,.18); color: #b45309; }
.st.interview { background: rgba(52,211,153,.18); color: #047857; }
.st.offer { background: rgba(34,211,238,.18); color: #0e7490; }

/* ---------- Guarantee / never-do / problem lists ---------- */
.ico.warn { background: rgba(239,68,68,.1); }
.ico.ok { background: rgba(52,211,153,.14); }
.li-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.li-row:last-child { margin-bottom: 0; }
.mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; flex: none; }
.mark.no { background: rgba(239,68,68,.12); color: #ef4444; }
.mark.yes { background: rgba(52,211,153,.16); color: #059669; }
.li-row b { color: var(--ink); display: block; margin-bottom: 3px; font-size: 1rem; }
.li-row p { margin: 0; font-size: 0.93rem; color: var(--body); }
.gtee-card { position: relative; border-radius: 20px; padding: 30px; overflow: hidden; border-top: 0; }
.gtee-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; }
.gtee-card.good { background: linear-gradient(180deg, #f0fdf9, #fff 130px); }
.gtee-card.good::before { background: linear-gradient(90deg, #34d399, #059669); }
.gtee-card.bad { background: linear-gradient(180deg, #fef3f3, #fff 130px); }
.gtee-card.bad::before { background: linear-gradient(90deg, #fb7185, #ef4444); }
.gtee-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(20,10,45,.13); }
.gtee-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(20,10,45,.08); }
.gtee-head h3 { margin: 0; font-size: 1.22rem; }
.gtee-badge { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; flex: none; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.gtee-badge.yes { background: linear-gradient(135deg, #34d399, #059669); }
.gtee-badge.no { background: linear-gradient(135deg, #fb7185, #ef4444); }
.limits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
@media (max-width: 760px) { .limits-grid { grid-template-columns: 1fr; } }

/* ---------- Dashboard screenshot thumbnail ---------- */
.shot { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.78rem; color: var(--violet-600); cursor: pointer; }
.shot .thumb { width: 42px; height: 28px; border-radius: 6px; border: 1px solid var(--line); background: linear-gradient(135deg, #ede9fe, #e0f2fe); position: relative; overflow: hidden; flex: none; transition: transform .15s; }
.shot .thumb::before { content: ""; position: absolute; top: 5px; left: 5px; width: 60%; height: 3px; background: #c4b5fd; border-radius: 2px; box-shadow: 0 6px 0 #d8d2f0, 0 12px 0 #d8d2f0; }
.shot:hover .thumb { transform: scale(1.06); }
.dfeats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.dfeats .tag { background: #fff; border: 1px solid var(--line); color: var(--body); }

/* ---------- Job-filler extension animation ---------- */
.filler { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.filler-top { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.filler-top .dots { display: flex; gap: 6px; }
.filler-top .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.filler-top .url { font-size: 0.76rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 11px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext-badge { font-size: 0.7rem; font-weight: 800; color: #fff; background: var(--grad-brand); padding: 6px 11px; border-radius: 999px; white-space: nowrap; animation: pulseBadge 1.7s ease-in-out infinite; }
@keyframes pulseBadge { 0%, 100% { box-shadow: 0 0 0 0 rgba(124,58,237,.5); } 50% { box-shadow: 0 0 0 7px rgba(124,58,237,0); } }
.filler-form { padding: 20px; }
.ff-row { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; }
.ff-label { width: 116px; flex: none; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.ff-field { flex: 1; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; display: flex; align-items: center; padding: 0 13px; overflow: hidden; background: #fff; animation: fieldGlow 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.fv { font-size: 0.92rem; color: var(--ink); font-weight: 600; opacity: 0; animation: af 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ff-done { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.86rem; font-weight: 700; color: #059669; }
@keyframes fieldGlow {
  0%, 6% { border-color: var(--line); box-shadow: none; }
  10% { border-color: var(--violet-400); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
  18% { border-color: var(--line); box-shadow: none; }
  100% { border-color: var(--line); }
}
@keyframes af {
  0%, 7% { opacity: 0; transform: translateX(-5px); }
  13% { opacity: 1; transform: none; }
  82% { opacity: 1; }
  90%, 100% { opacity: 0; }
}
@media (max-width: 760px) { .ff-label { width: 90px; font-size: 0.78rem; } }

/* ---------- Comparison / why-us ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare .col { padding: 32px; }
.compare .col.bad { background: var(--bg-soft); }
.compare .col.good { background: var(--grad-brand); color: #fff; }
.compare .col h3 { font-size: 1.1rem; margin-bottom: 18px; }
.compare .col.good h3 { color: #fff; }
.compare li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 14px; font-size: 0.96rem; }
.compare .col.bad li { color: var(--body); }
.compare .col.good li { color: #fff; }
.compare .x { color: #ef4444; font-weight: 800; flex: none; }
.compare .v { color: #6ee7b7; font-weight: 800; flex: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .tool-wrap, .contact-grid { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 70px 0 80px; }
  /* collapse nav into hamburger before it gets crowded */
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 22px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 50;
  }
}
@media (max-width: 760px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .opt-grid, .opt-grid.three, .lead-row { grid-template-columns: 1fr; }
  .wizard-card { padding: 26px 20px; }
  .wiz-q { font-size: 1.3rem; }
  .compare { grid-template-columns: 1fr; }
  .cta-split { grid-template-columns: 1fr; gap: 30px; }
  .j-step { grid-template-columns: 46px 1fr; gap: 15px; }
  .j-num { width: 46px; height: 46px; font-size: 1.1rem; }
  .j-step::before { left: 22px; top: 48px; }
  .story { grid-template-columns: 1fr; }
  .story .ph { width: 120px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .cta-band, .stat-band { padding: 38px 24px; }
  body { font-size: 16px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

/* =========================================================
   Enhanced animations
   ========================================================= */

/* Hero floating blobs */
.hero .blob { animation: floaty 15s ease-in-out infinite; }
.hero .blob:nth-of-type(2) { animation-duration: 19s; animation-direction: reverse; }
@keyframes floaty { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(24px,-28px) scale(1.07); } }

/* Reveal variants + stagger */
.reveal.left { transform: translateX(-28px); }
.reveal.right { transform: translateX(28px); }
.reveal.zoom { transform: scale(.95); }
.reveal.left.in, .reveal.right.in, .reveal.zoom.in { transform: none; }

/* Primary button shine sweep */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 150%; }

/* Logos hover */
.logos span { transition: color .25s, transform .25s; cursor: default; }
.logos span:hover { color: var(--violet-500); transform: translateY(-3px); }

/* Section heads fade up */
.section-head { animation: headUp .7s ease both; }
@keyframes headUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ----- Live Dashboard motion ----- */
.dash-stats { display: flex; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fbfaff, #fff); }
.dash-stats > div { flex: 1; padding: 16px 20px; border-right: 1px solid var(--line); }
.dash-stats > div:last-child { border-right: 0; }
.dash-stats b { display: block; font-size: 1.8rem; font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -0.02em; }
.dash-stats span { font-size: 0.76rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dash-stats b.up { color: var(--violet-600); }
.dash .live { position: relative; }
.dash .live::before { animation: livePulse 1.6s ease-in-out infinite; }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,.45); } 50% { box-shadow: 0 0 0 6px rgba(52,211,153,0); } }
.dash.reveal tbody tr { opacity: 0; transform: translateY(12px); }
.dash.reveal.in tbody tr { animation: rowIn .5s cubic-bezier(.4,0,.2,1) forwards; }
.dash.reveal.in tbody tr:nth-child(1) { animation-delay: .10s; }
.dash.reveal.in tbody tr:nth-child(2) { animation-delay: .20s; }
.dash.reveal.in tbody tr:nth-child(3) { animation-delay: .30s; }
.dash.reveal.in tbody tr:nth-child(4) { animation-delay: .40s; }
.dash.reveal.in tbody tr:nth-child(5) { animation-delay: .50s; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.dash.reveal.in tbody tr:nth-child(2) { background: rgba(52,211,153,.07); animation: rowIn .5s cubic-bezier(.4,0,.2,1) .2s forwards, freshFade 2.4s ease 1.4s forwards; }
@keyframes freshFade { to { background: transparent; } }

/* ----- Wizard card header ----- */
.wiz-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.wiz-brand-ico { width: 46px; height: 46px; border-radius: 13px; background: var(--grad-brand); display: grid; place-items: center; font-size: 1.35rem; box-shadow: 0 8px 20px rgba(124,58,237,.4); flex: none; }
.wiz-brand b { display: block; color: var(--ink); font-size: 1.05rem; }
.wiz-brand span { font-size: 0.84rem; color: var(--muted); }

/* ----- Blog images ----- */
.post .thumb.img { background-size: cover; background-position: center; position: relative; }
.post .thumb.img .cat {
  position: absolute; z-index: 2; left: 14px; bottom: 14px; font-size: 0.72rem; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(26,16,61,.55);
  backdrop-filter: blur(4px); padding: 6px 12px; border-radius: 999px;
}
.post .thumb.img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,10,40,.28)); transition: opacity .3s; }
.post:hover .thumb.img { transform: none; }
.post:hover .thumb.img::after { opacity: .55; }
.post .thumb.img img { width: 100%; height: 100%; object-fit: cover; }

/* ----- 4-step flow ----- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.flow::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, #ddd6fe, var(--accent)); z-index: 0; }
.fstep { text-align: center; position: relative; }
.fn {
  width: 64px; height: 64px; border-radius: 50%; background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; margin: 0 auto 16px;
  box-shadow: 0 12px 26px rgba(124,58,237,.4); position: relative; z-index: 1; border: 4px solid #fff;
  transition: transform .2s;
}
.fstep:hover .fn { transform: translateY(-4px) scale(1.05); }
.fstep h3 { font-size: 1.05rem; margin-bottom: 6px; }
.fstep p { font-size: 0.92rem; color: var(--body); margin: 0; }
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .flow::before { display: none; }
}
@media (max-width: 460px) { .flow { grid-template-columns: 1fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .dash.reveal tbody tr { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   Client Login + Dashboard
   ========================================================= */
.btn-login { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.88rem; color: var(--ink); padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); transition: border-color .18s, color .18s; white-space: nowrap; }
.btn-login:hover { border-color: var(--violet-400); color: var(--violet-600); }
.btn-login .li-ico { font-size: 1rem; }

.auth-bg { min-height: 100vh; display: grid; place-items: center; padding: 50px 20px;
  background: radial-gradient(900px 500px at 50% -10%, #3a1f7a 0%, transparent 60%), linear-gradient(160deg, #1a103d 0%, #2a1656 100%); }
.auth-card { width: 100%; max-width: 430px; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 40px 36px; }
.auth-card .auth-logo { display: block; height: 50px; width: auto; margin: 0 auto 22px; }
.auth-card h1 { font-size: 1.55rem; text-align: center; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--muted); font-size: 0.92rem; margin-bottom: 26px; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-weight: 700; color: var(--ink); font-size: 0.85rem; margin-bottom: 7px; }
.auth-field input { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem; color: var(--ink); }
.auth-field input:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.auth-err { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 14px; font-size: 0.88rem; margin-bottom: 16px; display: none; }
.auth-note { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.auth-back { display: block; text-align: center; margin-top: 16px; color: var(--violet-600); font-weight: 600; font-size: 0.9rem; }

.dash-page { background: var(--bg-soft); min-height: 100vh; }
.dash-topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.dash-topbar .inner { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash-topbar .blogo { height: 52px; width: auto; display: block; }
.dash-user { display: flex; align-items: center; gap: 14px; font-size: 0.9rem; color: var(--body); }
.dash-user b { color: var(--ink); }
.btn-logout { background: #fff; border: 1.5px solid var(--line); color: var(--ink); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 0.86rem; cursor: pointer; transition: .18s; }
.btn-logout:hover { border-color: #fca5a5; color: #dc2626; }
.dash-main { max-width: 1180px; margin: 0 auto; padding: 34px 24px 70px; }
.dash-readonly { display: inline-flex; gap: 8px; align-items: center; background: rgba(124,58,237,.08); color: var(--violet-600); font-weight: 700; font-size: 0.8rem; padding: 6px 14px; border-radius: 999px; }
.dash-table.wide { min-width: 1240px; }
.resume-field { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-top: 8px; }
.file-input { width: 100%; padding: 11px 14px; border: 1.5px dashed #cfc9e6; border-radius: 12px; font-family: inherit; font-size: 0.9rem; background: #fff; cursor: pointer; color: var(--body); }
.file-input::file-selector-button { background: var(--grad-brand); color: #fff; border: 0; padding: 9px 15px; border-radius: 9px; font-weight: 700; font-family: inherit; font-size: 0.85rem; cursor: pointer; margin-right: 14px; }
.file-input::-webkit-file-upload-button { background: var(--grad-brand); color: #fff; border: 0; padding: 9px 15px; border-radius: 9px; font-weight: 700; font-family: inherit; font-size: 0.85rem; cursor: pointer; margin-right: 14px; }
.st.rejected { background: rgba(239,68,68,.12); color: #dc2626; }
.st.scheduled { background: rgba(34,211,238,.18); color: #0e7490; }

/* Milestones & Touchpoints - shared by officer panel + client dashboard */
.st.done { background: rgba(16,185,129,.15); color: #047857; }
.st.prog { background: rgba(251,191,36,.2); color: #b45309; }
.st.todo { background: rgba(124,58,237,.1); color: #6d28d9; }
.st.na   { background: rgba(100,116,139,.15); color: #475569; }
.mt-bar { height: 10px; border-radius: 999px; background: #efedf8; overflow: hidden; }
.mt-bar > i { display: block; height: 100%; background: var(--grad-brand); border-radius: 999px; transition: width .45s ease; }
.mt-stats { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.mt-stat { flex: 1; min-width: 130px; background: #fff; border: 1px solid var(--line, #efedf8); border-radius: 14px; padding: 16px 18px; }
.mt-stat b { display: block; font-size: 1.7rem; line-height: 1; color: var(--ink); margin-bottom: 6px; }
.mt-stat span { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; }
.mt-stat.good b { color: #047857; }
.mt-stat.warn b { color: #b45309; }
.hist-item { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line, #efedf8); }
.hist-item:last-child { border-bottom: 0; }
.hist-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-size: .76rem; font-weight: 800; display: grid; place-items: center; }
.hist-body { flex: 1; min-width: 0; }
.hist-body .r { margin: 8px 0 0; color: #4a4660; line-height: 1.6; font-size: .92rem; white-space: pre-wrap; word-break: break-word; }
.hist-body .at { font-size: .78rem; color: var(--muted); margin-top: 8px; }

/* Client milestones: summary card + journey timeline */
.ms-summary { padding: 20px 22px 24px; }
.ms-timeline { position: relative; }
.ms-step { position: relative; padding: 0 0 22px 38px; }
.ms-step:last-child { padding-bottom: 0; }
.ms-step:not(:last-child)::before { content: ""; position: absolute; left: 12px; top: 27px; bottom: 0; width: 2px; background: var(--line, #efedf8); }
.ms-node { position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff; z-index: 1; }
.ms-node.done { background: #10b981; }
.ms-node.prog { background: #f59e0b; }
.ms-node.todo { background: #fff; border: 2px solid #d8d3ee; color: #a99fce; }
.ms-node.na { background: #cbd5e1; }
.ms-step .nm { font-weight: 700; color: var(--ink); font-size: .96rem; }
.ms-step .pill { margin-top: 6px; }
.tp-item { padding: 14px 0; border-bottom: 1px solid var(--line, #efedf8); }
.tp-item:last-child { border-bottom: 0; }
.tp-item .tp-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tp-item .tp-ttl { font-weight: 700; color: var(--ink); }
.tp-item .tp-meta { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.tp-item .tp-rmk { font-size: .92rem; color: #4a4660; margin-top: 7px; line-height: 1.55; }
.view-link { color: var(--violet-600); font-weight: 700; font-size: 0.82rem; display: inline-flex; gap: 5px; align-items: center; }
.view-link:hover { text-decoration: underline; }
.cell-muted { color: var(--muted); }

/* screenshot thumbnails in dashboard table */
.thumb-cell { position: relative; display: inline-block; line-height: 0; }
.thumb-cell img {
  width: 52px; height: 38px; object-fit: cover;
  border-radius: 8px; border: 1.5px solid var(--line);
  cursor: zoom-in; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.thumb-cell:hover img { border-color: var(--violet-400); box-shadow: 0 6px 18px rgba(124,58,237,.18); }
/* hover-to-enlarge preview */
.thumb-cell::after {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translateX(-50%) scale(.9);
  width: 280px; height: 200px;
  background-image: var(--shot); background-size: cover; background-position: center;
  border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(28,16,64,.28);
  opacity: 0; pointer-events: none; transform-origin: bottom center;
  transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.thumb-cell:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }
@media (max-width: 760px) { .thumb-cell::after { display: none; } }

/* ===== Success-story carousel (interview proof) ===== */
.carousel { position: relative; max-width: 1240px; margin: 12px auto 0; padding: 0 16px; }
.car-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity;
  scroll-behavior: smooth; padding: 16px 4px 26px; cursor: grab;
  -ms-overflow-style: none; scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
/* while dragging: no smooth/snap fighting the pointer, and no text/image selection */
.car-track.dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; user-select: none; }
.car-track img { -webkit-user-drag: none; user-select: none; }
.story-card {
  position: relative; flex: 0 0 380px; max-width: 380px; scroll-snap-align: center;
  background: #fff; border: 1px solid #ece7f8; border-radius: 22px;
  padding: 20px 20px 22px; color: #221c3a; overflow: hidden;
  box-shadow: 0 14px 38px rgba(76, 29, 149, .12);
  display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.story-card::before { /* subtle brand accent along the top edge */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: var(--grad-brand);
}
.story-card:hover { transform: translateY(-5px); box-shadow: 0 26px 54px rgba(76, 29, 149, .18); }
@media (max-width: 520px) { .story-card { flex-basis: 88%; max-width: 88%; } }

.sc-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.sc-ava { width: 42px; height: 42px; border-radius: 50%; background: #fff; padding: 4px; object-fit: contain; border: 1px solid #eee6fb; box-shadow: 0 3px 10px rgba(76, 29, 149, .14); }
.sc-id b { display: inline-flex; align-items: center; gap: 6px; font-size: .97rem; line-height: 1.2; color: #1c1533; }
.sc-id b::after { content: "✓"; font-size: .62rem; font-weight: 900; color: #fff; background: var(--violet-500, #7c3aed); width: 15px; height: 15px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.sc-id span { display: block; font-size: .8rem; color: #928bab; }

.sc-cap { font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 0 0 14px; color: #322b4d;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.5em; }
.sc-cap b { font-weight: 800; color: var(--violet-600); }

.sc-shot {
  position: relative; margin-top: 4px; height: 266px; padding-top: 30px; overflow: hidden; cursor: zoom-in;
  background: #f5f3fb; border: 1px solid #e7e1f4; border-radius: 12px;
}
.sc-shot::before { /* email/window chrome bar with traffic-light dots */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px; z-index: 2;
  border-bottom: 1px solid #e7e1f4;
  background:
    radial-gradient(circle 4px at 16px 15px, #ff5f57 96%, transparent),
    radial-gradient(circle 4px at 34px 15px, #febc2e 96%, transparent),
    radial-gradient(circle 4px at 52px 15px, #28c840 96%, transparent),
    #f3eff9;
}
.sc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s ease; }
.story-card:hover .sc-shot img { transform: scale(1.035); }
.sc-shot::after { /* tiled brand watermark over the screenshot */
  content: ""; position: absolute; inset: 30px 0 0 0; z-index: 3; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='210'%20height='140'%3E%3Ctext%20x='2'%20y='102'%20transform='rotate(-22%202%20102)'%20font-family='Arial,sans-serif'%20font-size='18'%20font-weight='700'%20fill='%237c3aed'%20fill-opacity='0.14'%3EHireme%20AI%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
}
.sc-shot.empty { display: flex; align-items: center; justify-content: center; }
.sc-shot.empty img { display: none; }
.sc-shot.empty::after { content: "Screenshot coming soon"; inset: auto; position: static; background: none; opacity: .7; color: #928bab; }
.sc-mark { display: none; }

/* auto-scrolling marquee (enabled by success-stories.html once DB cards load) */
.carousel.is-marquee { overflow: hidden; }
.car-track.ss-marquee { overflow: visible; width: max-content; gap: 0; scroll-snap-type: none; animation: ssMarquee var(--marquee-dur, 60s) linear infinite; }
/* keeps gliding on hover — pausing made it look frozen. Cards move slowly
   enough to click, and clicking a shot still opens the full screenshot. */
.car-track.ss-marquee .story-card { flex: 0 0 360px; max-width: 360px; margin-right: 24px; }
@keyframes ssMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .car-track.ss-marquee { animation: none; overflow-x: auto; } }

.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  border-radius: 50%; border: 0; background: #fff; color: var(--violet-600);
  font-size: 1.7rem; line-height: 1; box-shadow: 0 8px 24px rgba(76, 29, 149, .22);
  cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, background .15s ease;
}
.car-arrow:hover { transform: translateY(-50%) scale(1.08); background: #f6f3ff; }
.car-arrow.prev { left: -2px; }
.car-arrow.next { right: -2px; }
@media (max-width: 600px) { .car-arrow { display: none; } }
.car-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.car-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #d9d2f0; cursor: pointer; padding: 0; transition: all .2s ease; }
.car-dots button.active { background: var(--violet-600); width: 26px; border-radius: 5px; }

/* ============ Success Stories page — polished layout ============ */
.ss-hero { position: relative; overflow: hidden; padding: 76px 0 124px; }
.ss-hero .container { position: relative; z-index: 2; }
.ss-hero .crumb { display: flex; justify-content: center; }
.ss-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); color: #fff; font-weight: 700; font-size: .85rem; padding: 7px 16px; border-radius: 999px; margin: 2px 0 18px; }
.ss-hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); margin: 0 0 14px; line-height: 1.08; }
.ss-hero .grad { background: linear-gradient(92deg, #b79bff, #34d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ss-hero > .container > p { color: #dcd6f2; max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.ss-hero-cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; }

.ss-statwrap { margin-top: -70px; margin-bottom: 8px; position: relative; z-index: 4; }
.ss-stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid #efe9fb; border-radius: 20px; box-shadow: 0 22px 55px rgba(76,29,149,.15); overflow: hidden; }
.ss-stat { padding: 26px 16px; text-align: center; border-right: 1px solid #f1edf9; }
.ss-stat:last-child { border-right: 0; }
.ss-stat b { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ss-stat span { display: block; margin-top: 4px; font-size: .85rem; color: #6b6786; font-weight: 600; }
@media (max-width: 620px) {
  .ss-stats { grid-template-columns: 1fr 1fr; }
  .ss-stat:nth-child(2) { border-right: 0; }
  .ss-stat:nth-child(1), .ss-stat:nth-child(2) { border-bottom: 1px solid #f1edf9; }
  .ss-statwrap { margin-top: -52px; }
  .ss-stat b { font-size: 1.7rem; }
}

.ss-logos { padding: 66px 0 70px; }
.ss-logos-label { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: #9b95b5; margin-bottom: 26px; }
.ss-logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.ss-logo { display: inline-flex; align-items: center; justify-content: center; height: 58px; min-width: 118px; padding: 0 24px; background: #fff; border: 1px solid #eee7fa; border-radius: 15px; box-shadow: 0 6px 18px rgba(76, 29, 149, .06); transition: transform .2s ease, box-shadow .2s ease; }
.ss-logo:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(76, 29, 149, .14); }
.ss-logo img { height: 26px; width: auto; max-width: 110px; object-fit: contain; display: block; }
@media (max-width: 600px) { .ss-logo { height: 50px; min-width: 96px; padding: 0 16px; } .ss-logo img { height: 21px; max-width: 84px; } }

/* polished review cards */
.review { position: relative; border-radius: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.review:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(76,29,149,.12); }
.review::before { content: "\201C"; position: absolute; top: 2px; right: 20px; font-family: Georgia, "Times New Roman", serif; font-size: 3.6rem; line-height: 1; color: #efe9fb; font-weight: 800; pointer-events: none; }
.review p, .review .stars, .review .who { position: relative; z-index: 1; }

/* review stat chips (fixes the previously-invisible white numbers) */
.ss-rev-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.ss-rev-stats > div { background: #fff; border: 1px solid #eee7fa; border-radius: 14px; padding: 12px 24px; text-align: center; box-shadow: 0 6px 18px rgba(76, 29, 149, .06); min-width: 132px; }
.ss-rev-stats b { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.15; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ss-rev-stats span { font-size: .82rem; color: #6b6786; font-weight: 600; }

/* free-tools cards */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 20px; max-width: 1140px; margin: 0 auto; }
.tool-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #ece7f8; border-radius: 18px; padding: 24px 22px 22px; text-decoration: none; color: inherit; overflow: hidden; box-shadow: 0 10px 30px rgba(76, 29, 149, .07); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.tool-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(76, 29, 149, .17); border-color: #d6c9f7; }
.tool-card.featured { border-color: var(--violet-400); box-shadow: 0 16px 40px rgba(124, 58, 237, .14); }
.tool-card.featured::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-brand); }
.tool-card.soon { opacity: .85; }
.tc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tc-ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, #f0e9fc, #e7dcfb); color: var(--violet-600); box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 16px rgba(124,58,237,.14); transition: transform .2s ease; }
.tc-ico svg { width: 27px; height: 27px; }
a.tool-card:hover .tc-ico { transform: scale(1.06) rotate(-3deg); }
.tool-card.featured .tc-ico { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 22px rgba(124,58,237,.4); }
.tc-link { display: inline-flex; align-items: center; gap: 4px; transition: gap .2s ease, color .2s ease; }
a.tool-card:hover .tc-link { gap: 9px; color: var(--violet-700, #6d28d9); }
.tool-card h3 { font-size: 1.16rem; margin: 0 0 12px; color: var(--ink); }
.tool-card p { font-size: .92rem; color: #5b5676; line-height: 1.55; flex: 1; margin: 0 0 16px; }
.tool-card p b { color: #322b4d; font-weight: 700; }
/* pointer feature list */
.tc-list { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.tc-list li { position: relative; padding-left: 27px; font-size: .9rem; color: #5b5676; line-height: 1.42; }
.tc-list li b { color: #322b4d; font-weight: 700; }
.tc-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #efe8fc; }
.tc-list li::after { content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px; border-right: 2px solid var(--violet-600); border-bottom: 2px solid var(--violet-600); transform: rotate(43deg); }
.tool-card.soon .tc-list li::before { background: #efedf5; }
.tool-card.soon .tc-list li::after { border-color: #b3aacb; }
.tc-link { font-weight: 700; color: var(--violet-600); font-size: .92rem; }
.tc-link.muted { color: #9b95b5; }
.tc-badge { font-size: .66rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.tc-badge.new { background: var(--grad-brand); color: #fff; }
.tc-badge.free { background: #dcfce7; color: #166534; }
.tc-badge.soon { background: #f0edf7; color: #8b84a6; }

/* Tools page — toolkit as a two-column list (different design from the Services cards) */
.tkl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
.tkl-row { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid #ece7f8; border-radius: 16px; background: #fff; text-decoration: none; color: inherit; box-shadow: 0 6px 18px rgba(76, 29, 149, .05); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.tkl-row:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(76, 29, 149, .14); border-color: #d6c9f7; }
.tkl-row.is-featured { border-color: var(--violet-400); box-shadow: 0 12px 30px rgba(124, 58, 237, .12); }
.tkl-row.soon { opacity: .72; }
.tkl-ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #f0e9fc, #e7dcfb); color: var(--violet-600); }
.tkl-ico svg { width: 25px; height: 25px; }
.tkl-row.is-featured .tkl-ico { background: var(--grad-brand); color: #fff; }
.tkl-body { flex: 1; min-width: 0; }
.tkl-head { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; flex-wrap: wrap; }
.tkl-head h3 { font-size: 1.02rem; margin: 0; color: var(--ink); }
.tkl-body p { font-size: .85rem; color: #5b5676; line-height: 1.45; margin: 0; }
.tkl-badge { font-size: .58rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.tkl-badge.free { background: var(--grad-brand); color: #fff; }
.tkl-badge.inc { background: #dcfce7; color: #166534; }
.tkl-badge.soon { background: #f0edf7; color: #8b84a6; }
.tkl-go { flex: 0 0 auto; font-size: 1.25rem; font-weight: 700; color: var(--violet-600); transition: transform .18s ease; }
a.tkl-row:hover .tkl-go { transform: translateX(3px); }
.tkl-row.soon .tkl-go { color: #b8b0cf; }
@media (max-width: 720px) { .tkl { grid-template-columns: 1fr; } }

/* Services — "full toolkit" cards on the dark process section */
.jt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1080px; margin: 0 auto; }
.jt-card { position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 26px 24px; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.jt-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .085); border-color: rgba(183, 155, 255, .55); box-shadow: 0 20px 44px rgba(0, 0, 0, .28); }
.jt-card.is-tool { border-color: rgba(52, 211, 238, .28); }
.jt-card.is-tool:hover { border-color: rgba(52, 211, 238, .6); }
.jt-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px; background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; box-shadow: 0 8px 20px rgba(109, 40, 217, .45); }
.jt-ico svg { width: 26px; height: 26px; }
.jt-card h3 { color: #fff; font-size: 1.1rem; margin: 0 0 9px; }
.jt-card p { color: rgba(255, 255, 255, .74); font-size: .92rem; line-height: 1.55; margin: 0; }
.jt-tag { position: absolute; top: 20px; right: 20px; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(52, 211, 238, .16); color: #67e8f9; border: 1px solid rgba(52, 211, 238, .32); }
.jt-go { margin-top: 16px; font-weight: 700; font-size: .88rem; color: #c9b8fb; transition: color .2s ease, transform .2s ease; }
.jt-card.is-tool .jt-go { color: #8ce9f6; }
.jt-card:hover .jt-go { color: #fff; }
.jt-grid > .jt-card:nth-child(7) { grid-column: 2; }
@media (max-width: 820px) { .jt-grid { grid-template-columns: repeat(2, 1fr); } .jt-grid > .jt-card:nth-child(7) { grid-column: auto; } }
@media (max-width: 540px) { .jt-grid { grid-template-columns: 1fr; } }

/* Free Tools — done-for-you CTA band */
.tools-cta { padding: 0 0 84px; }
.tools-cta-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto;
  padding: 44px 48px; border-radius: 26px;
  background: linear-gradient(120deg, #2a1758 0%, #3d1f7a 45%, #5b2ea6 100%);
  box-shadow: 0 30px 70px rgba(45, 20, 96, .32);
}
.tools-cta-card::before {
  content: ""; position: absolute; top: -60%; right: -10%; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(52,211,238,.35), transparent 62%); pointer-events: none;
}
.tcc-copy { position: relative; z-index: 1; max-width: 560px; }
.tcc-eyebrow { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #b79bff; margin-bottom: 12px; }
.tools-cta-card h2 { color: #fff; font-size: 1.7rem; line-height: 1.2; margin: 0 0 10px; }
.tools-cta-card p { color: rgba(255,255,255,.82); font-size: 1rem; line-height: 1.6; margin: 0; }
.tcc-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) {
  .tools-cta-card { padding: 34px 26px; text-align: center; justify-content: center; }
  .tcc-copy { margin: 0 auto; }
  .tcc-actions { justify-content: center; width: 100%; }
  .tools-cta-card h2 { font-size: 1.4rem; }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; padding: 28px;
  background: rgba(12, 8, 28, .9); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); }
.lightbox.open::after { content: "Hireme AI"; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-20deg); font-size: 3rem; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; color: rgba(255, 255, 255, .16); pointer-events: none; z-index: 5; }
.lb-close {
  position: absolute; top: 16px; right: 22px; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff;
  font-size: 1.7rem; line-height: 1; cursor: pointer; transition: background .15s ease;
}
.lb-close:hover { background: rgba(255, 255, 255, .32); }
.auth-field select { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.auth-field select:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.adm-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px; }
@media (max-width: 860px) { .adm-form { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .adm-form { grid-template-columns: 1fr; } }
.adm-btn { background: #fff; border: 1.5px solid var(--line); color: var(--ink); padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 0.8rem; cursor: pointer; transition: .15s; }
.adm-btn:hover { border-color: var(--violet-400); color: var(--violet-600); }
.adm-btn.del:hover { border-color: #fca5a5; color: #dc2626; }

@media (max-width: 760px) {
  .btn-login .li-txt { display: none; }
  .btn-login { padding: 9px 11px; }
  .brand-img { height: 46px; }
}

/* =========================================================
   AI PORTFOLIO BUILDER
   ========================================================= */
.pb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 960px) { .pb-grid { grid-template-columns: 1fr; } }

.pb-form { display: flex; flex-direction: column; gap: 22px; }
.pb-block { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 6px 22px rgba(28,16,64,.06); }
.pb-h { font-size: 1rem; margin: 0 0 16px; }
.pb-opt { font-weight: 500; color: var(--muted); font-size: .82rem; }

.pb-drop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 28px 18px; border: 2px dashed #cfc7ee; border-radius: 14px; cursor: pointer; transition: all .15s ease; background: #faf9fe; }
.pb-drop:hover, .pb-drop.over { border-color: var(--violet-500); background: #f4f0ff; }
.pb-drop-ico { font-size: 2rem; }
.pb-drop-main { font-weight: 600; }
.pb-drop-sub { font-size: .8rem; color: var(--muted); max-width: 320px; }
.pb-status { font-size: .85rem; margin: 12px 0 0; min-height: 18px; }

.pb-templates { display: flex; gap: 12px; flex-wrap: wrap; }
.pb-tpl { display: flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s ease; }
.pb-tpl:hover { border-color: var(--violet-400); }
.pb-tpl.active { border-color: var(--violet-600); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.pb-tpl .sw { width: 18px; height: 18px; border-radius: 5px; }
.sw-modern { background: linear-gradient(135deg,#7c3aed,#4c1d95); }
.sw-minimal { background: #fff; border: 1.5px solid #1a1430; }
.sw-bold { background: linear-gradient(135deg,#f97316,#db2777); }

.pb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .pb-row { grid-template-columns: 1fr; } }
.pb-field { margin-bottom: 14px; }
.pb-field label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 6px; }
.pb-field input, .pb-field textarea { width: 100%; padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 11px; font-family: inherit; font-size: .94rem; color: var(--ink); background: #fff; resize: vertical; }
.pb-field input:focus, .pb-field textarea:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }

.pb-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pb-actions .btn { flex: 1; justify-content: center; min-width: 200px; }

/* live preview frame */
.pb-preview-wrap { position: sticky; top: 90px; }
@media (max-width: 960px) { .pb-preview-wrap { position: static; } }
.pb-browser { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(28,16,64,.16); border: 1px solid var(--line); background: #fff; }
.pb-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #f3f1fa; border-bottom: 1px solid var(--line); flex-wrap: nowrap; }
.pb-bar .d { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.pb-bar .d.r { background: #ff5f57; } .pb-bar .d.y { background: #febc2e; } .pb-bar .d.g { background: #28c840; }
.pb-url { flex: 1; min-width: 0; margin-left: 10px; font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.pb-screen { height: 620px; overflow-y: auto; background: #f4f2fb; }

/* ---- portfolio templates (literal colors so the downloaded file is self-contained) ---- */
.pf { font-family: Inter, system-ui, sans-serif; color: #1a1430; padding: 34px 30px; }
.pf-hero { text-align: center; padding-bottom: 8px; }
.pf-ava { width: 84px; height: 84px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.8rem; margin: 0 auto 14px; color: #fff; background: linear-gradient(135deg,#7c3aed,#4c1d95); }
.pf-hero h1 { font-size: 1.9rem; margin: 0 0 4px; line-height: 1.1; }
.pf-role { color: #6d28d9; font-weight: 700; margin: 0 0 14px; }
.pf-contacts { font-size: .85rem; color: #4b4660; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.pf-contacts a { color: #4b4660; text-decoration: none; }
.pf-contacts .dotsep { color: #c9c2e0; }
.pf-links { margin-top: 12px; display: flex; gap: 10px; justify-content: center; }
.pf-links a { font-size: .82rem; font-weight: 700; color: #fff; background: #6d28d9; padding: 7px 16px; border-radius: 999px; text-decoration: none; }
.pf-sec { margin-top: 26px; }
.pf-sec h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: #7c3aed; border-bottom: 2px solid #ece7fb; padding-bottom: 7px; margin: 0 0 14px; }
.pf-about { line-height: 1.6; color: #36304d; margin: 0; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips span { background: #f0ecfd; color: #5b21b6; font-weight: 600; font-size: .82rem; padding: 6px 13px; border-radius: 999px; }
.pf-item { padding: 10px 0; border-bottom: 1px dashed #ece7fb; }
.pf-item:last-child { border-bottom: 0; }
.pf-item b { display: block; font-size: .98rem; }
.pf-item span { display: block; color: #6b6585; font-size: .87rem; margin-top: 2px; }

/* template: minimal */
.pf.tpl-minimal .pf-ava { background: #1a1430; border-radius: 14px; }
.pf.tpl-minimal .pf-role { color: #1a1430; }
.pf.tpl-minimal .pf-sec h2 { color: #1a1430; border-color: #e6e3ef; }
.pf.tpl-minimal .pf-links a { background: #1a1430; }
.pf.tpl-minimal .pf-chips span { background: #f1f0f5; color: #1a1430; }

/* template: bold */
.pf.tpl-bold { background: linear-gradient(160deg,#fff,#fff7f3); }
.pf.tpl-bold .pf-ava { background: linear-gradient(135deg,#f97316,#db2777); border-radius: 20px; }
.pf.tpl-bold .pf-hero h1 { font-size: 2.1rem; }
.pf.tpl-bold .pf-role { color: #db2777; }
.pf.tpl-bold .pf-sec h2 { color: #db2777; border-color: #fde0ec; }
.pf.tpl-bold .pf-links a { background: linear-gradient(135deg,#f97316,#db2777); }
.pf.tpl-bold .pf-chips span { background: #fdeee6; color: #c2410c; }

/* ---- pricing ---- */
.pb-price-wrap { display: grid; grid-template-columns: minmax(0,360px) 1fr; gap: 34px; align-items: center; max-width: 920px; margin: 0 auto; }
@media (max-width: 760px) { .pb-price-wrap { grid-template-columns: 1fr; } }
.pb-price-card { position: relative; background: #fff; border: 2px solid var(--violet-500); border-radius: 22px; padding: 30px 26px; box-shadow: 0 18px 44px rgba(124,58,237,.16); }
.pb-price-tag { position: absolute; top: -13px; left: 26px; background: var(--grad-brand); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 6px 14px; border-radius: 999px; }
.pb-price-card h3 { margin: 6px 0 8px; }
.pb-price { font-size: 3rem; font-weight: 900; line-height: 1; color: var(--ink); margin-bottom: 18px; }
.pb-price .cur { font-size: 1.6rem; vertical-align: super; margin-right: 2px; }
.pb-price .per { font-size: .9rem; font-weight: 600; color: var(--muted); margin-left: 8px; }
.pb-price-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.pb-price-list li { font-size: .92rem; color: #36304d; }
.pb-price-note h4 { margin: 0 0 14px; }
.pb-steps { padding-left: 20px; margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.pb-steps li { line-height: 1.5; color: #36304d; }

/* ===== Portfolio builder - profile photo + nicer form ===== */
.pb-photo-row { display: flex; align-items: center; gap: 18px; padding: 4px 0 20px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.pb-photo { position: relative; width: 90px; height: 90px; flex: none; border-radius: 50%; overflow: hidden; cursor: pointer; border: 2px dashed #cfc7ee; background: #faf9fe; display: flex; align-items: center; justify-content: center; transition: border-color .15s ease, transform .15s ease; }
.pb-photo:hover { border-color: var(--violet-500); transform: scale(1.03); }
.pb-photo img { width: 100%; height: 100%; object-fit: cover; display: none; }
.pb-photo-ph { display: flex; flex-direction: column; align-items: center; color: var(--violet-600); line-height: 1.1; }
.pb-photo-ph b { font-size: 1.5rem; }
.pb-photo-ph small { font-size: .68rem; font-weight: 700; }
.pb-photo-info b { display: block; font-size: .95rem; }
.pb-photo-info p { margin: 3px 0 8px; font-size: .82rem; color: var(--muted); max-width: 280px; }
.pb-photo-remove { display: none; border: 0; background: none; color: #dc2626; font-weight: 700; font-size: .82rem; cursor: pointer; padding: 0; }
.pb-photo-remove:hover { text-decoration: underline; }
.pb-sub { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--violet-600); margin: 20px 0 12px; }

/* ===== Portfolio preview - redesigned hero with banner ===== */
.pf { background: #fff; min-height: 100%; }
.pf-hero { position: relative; text-align: center; padding-bottom: 6px; }
.pf-banner { position: absolute; top: -34px; left: -30px; right: -30px; height: 128px; background: linear-gradient(135deg,#7c3aed,#6d28d9,#4c1d95); }
.pf-ava { position: relative; z-index: 2; margin: 52px auto 14px; width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 8px 22px rgba(28,16,64,.22); overflow: hidden; background: linear-gradient(135deg,#7c3aed,#4c1d95); color: #fff; font-size: 2rem; }
.pf-ava img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pf-hero h1 { font-size: 1.85rem; margin: 0 0 4px; line-height: 1.12; }

/* template tweaks for the new banner */
.pf.tpl-minimal .pf-banner { background: #1a1430; }
.pf.tpl-minimal .pf-ava { background: #1a1430; border-radius: 16px; }
.pf.tpl-minimal .pf-ava img { border-radius: 13px; }
.pf.tpl-bold { background: linear-gradient(170deg,#fff,#fff7f3); }
.pf.tpl-bold .pf-banner { background: linear-gradient(135deg,#f97316,#db2777); height: 140px; }
.pf.tpl-bold .pf-ava { background: linear-gradient(135deg,#f97316,#db2777); border-radius: 22px; width: 104px; height: 104px; }
.pf.tpl-bold .pf-ava img { border-radius: 19px; }

/* =========================================================
   PORTFOLIO - ULTRA REDESIGN (4 themes, governs preview)
   ========================================================= */
.sw-aurora { background: radial-gradient(circle at 30% 20%, #1e3a8a, #0a0e1a); }
.sw-sunset { background: linear-gradient(135deg,#f97316,#db2777); }
.sw-neural { background: radial-gradient(circle at 30% 20%, #14b8a6, #042f2e); }
.sw-cyber { background: radial-gradient(circle at 30% 20%, #a855f7, #190a2e); }
.sw-royal { background: radial-gradient(circle at 30% 20%, #fbbf24, #0b1437); }
.pb-tpl small { font-weight: 600; color: var(--muted); font-size: .72rem; }
.pb-tpl.active small { color: var(--violet-500); }

.pf { container-type: inline-size; padding: 0; background: #fff; color: #1a1430; min-height: 100%; font-family: Inter, system-ui, sans-serif; }

/* hero */
.pf-hero { position: relative; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 30px; }
.pf-ava { width: 100px; height: 100px; flex: none; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.1rem; font-weight: 800; background: linear-gradient(135deg,#7c3aed,#4c1d95); box-shadow: 0 10px 28px rgba(0,0,0,.2); margin: 0; }
.pf-ava img { width: 100%; height: 100%; object-fit: cover; }
.pf-hid { flex: 1 1 220px; min-width: 200px; }
.pf-hid h1 { font-size: 2.1rem; line-height: 1.05; margin: 0 0 5px; letter-spacing: -.5px; }
.pf-role { font-weight: 700; font-size: 1.05rem; margin: 0 0 12px; }
.pf-contacts { display: flex; flex-wrap: wrap; gap: 7px 16px; font-size: .85rem; align-items: center; justify-content: flex-start; }
.pf-contacts .pf-c { text-decoration: none; color: inherit; }
.pf-hero-links { flex: none; display: flex; flex-direction: column; gap: 8px; }
.pf-hero-links a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: .82rem; padding: 10px 18px; border-radius: 11px; text-decoration: none; white-space: nowrap; }

/* body */
.pf-body { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 4px 30px 34px; }
@container (min-width: 520px) { .pf-body { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.pf-main, .pf-side { display: flex; flex-direction: column; gap: 18px; }
.pf-card { border-radius: 16px; padding: 22px; }
.pf-card h2 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; font-weight: 800; }
.pf-about { line-height: 1.65; margin: 0; font-size: .92rem; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chips span { font-weight: 600; font-size: .8rem; padding: 6px 13px; border-radius: 9px; }
.pf-item { padding: 12px 0; }
.pf-item:first-child { padding-top: 0; }
.pf-item:last-child { padding-bottom: 0; }
.pf-item + .pf-item { border-top: 1px solid rgba(0,0,0,.08); }
.pf-item b { display: block; font-size: .96rem; line-height: 1.25; }
.pf-item span { display: block; font-size: .85rem; margin-top: 3px; }

/* ---------- THEME: Aurora (dark developer) ---------- */
.pf.tpl-aurora { background: radial-gradient(120% 80% at 15% 0%, #16223e 0%, #0b1020 55%, #080b16 100%); color: #e7ecf5; }
.pf.tpl-aurora .pf-ava { border-radius: 18px; background: #18223c; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 14px 36px rgba(0,0,0,.5); }
.pf.tpl-aurora .pf-hid h1 { color: #fff; }
.pf.tpl-aurora .pf-role { color: #3b82f6; }
.pf.tpl-aurora .pf-contacts { color: #9aa6bd; }
.pf.tpl-aurora .pf-hero-links a { background: #2563eb; color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.4); }
.pf.tpl-aurora .pf-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(4px); }
.pf.tpl-aurora .pf-card h2 { color: #3b82f6; }
.pf.tpl-aurora .pf-about { color: #c4cde0; }
.pf.tpl-aurora .pf-chips span { background: rgba(59,130,246,.14); color: #8fbaff; border: 1px solid rgba(59,130,246,.32); }
.pf.tpl-aurora .pf-item + .pf-item { border-color: rgba(255,255,255,.09); }
.pf.tpl-aurora .pf-item b { color: #fff; }
.pf.tpl-aurora .pf-item span { color: #9aa6bd; }

/* ---------- THEME: Modern (violet, light) ---------- */
.pf.tpl-modern { background: #faf9fe; color: #1a1430; }
.pf.tpl-modern .pf-hero { background: linear-gradient(135deg,#7c3aed,#6d28d9,#4c1d95); border-radius: 0 0 26px 26px; color: #fff; box-shadow: 0 14px 34px rgba(76,29,149,.22); }
.pf.tpl-modern .pf-ava { border-radius: 18px; border: 3px solid rgba(255,255,255,.65); background: #fff; color: #6d28d9; }
.pf.tpl-modern .pf-hid h1 { color: #fff; }
.pf.tpl-modern .pf-role { color: #e9d5ff; }
.pf.tpl-modern .pf-contacts { color: #efe9ff; }
.pf.tpl-modern .pf-hero-links a { background: #fff; color: #6d28d9; }
.pf.tpl-modern .pf-card { background: #fff; border: 1px solid #ece7fb; box-shadow: 0 8px 22px rgba(28,16,64,.06); }
.pf.tpl-modern .pf-card h2 { color: #7c3aed; }
.pf.tpl-modern .pf-chips span { background: #f0ecfd; color: #5b21b6; }
.pf.tpl-modern .pf-item + .pf-item { border-color: #ece7fb; }
.pf.tpl-modern .pf-item span { color: #6b6585; }

/* ---------- THEME: Minimal (clean) ---------- */
.pf.tpl-minimal { background: #fff; color: #18181b; }
.pf.tpl-minimal .pf-hero { border-bottom: 1px solid #ececf0; }
.pf.tpl-minimal .pf-ava { border-radius: 50%; background: #18181b; }
.pf.tpl-minimal .pf-ava img { border-radius: 50%; }
.pf.tpl-minimal .pf-role { color: #52525b; }
.pf.tpl-minimal .pf-contacts { color: #52525b; }
.pf.tpl-minimal .pf-hero-links a { background: #18181b; color: #fff; }
.pf.tpl-minimal .pf-card { background: #fafafa; border: 1px solid #ececf0; }
.pf.tpl-minimal .pf-card h2 { color: #18181b; }
.pf.tpl-minimal .pf-chips span { background: #f1f1f4; color: #3f3f46; }
.pf.tpl-minimal .pf-item + .pf-item { border-color: #ececf0; }
.pf.tpl-minimal .pf-item span { color: #71717a; }

/* ---------- THEME: Sunset (bold warm) ---------- */
.pf.tpl-sunset { background: #fff7f3; color: #3a2218; }
.pf.tpl-sunset .pf-hero { background: linear-gradient(135deg,#fb923c,#f97316,#db2777); border-radius: 0 0 28px 28px; color: #fff; box-shadow: 0 14px 34px rgba(219,39,119,.2); }
.pf.tpl-sunset .pf-ava { border-radius: 22px; border: 3px solid rgba(255,255,255,.65); background: #fff; color: #db2777; }
.pf.tpl-sunset .pf-hid h1 { color: #fff; }
.pf.tpl-sunset .pf-role { color: #ffe4d6; }
.pf.tpl-sunset .pf-contacts { color: #ffe9df; }
.pf.tpl-sunset .pf-hero-links a { background: #fff; color: #db2777; }
.pf.tpl-sunset .pf-card { background: #fff; border: 1px solid #fde0d2; box-shadow: 0 8px 22px rgba(219,39,119,.08); }
.pf.tpl-sunset .pf-card h2 { color: #db2777; }
.pf.tpl-sunset .pf-chips span { background: #fdeee6; color: #c2410c; }
.pf.tpl-sunset .pf-item + .pf-item { border-color: #fde0d2; }
.pf.tpl-sunset .pf-item span { color: #8a6a5c; }

/* =========================================================
   PORTFOLIO BUILDER - 6-STEP WIZARD
   ========================================================= */
.pb-wiz { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 8px 26px rgba(28,16,64,.07); }
.pbw-top { margin-bottom: 22px; }
.pbw-badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--violet-600); background: #f0ecfd; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px; }
.pbw-bar { height: 6px; background: #ece7fb; border-radius: 999px; overflow: hidden; }
.pbw-bar i { display: block; height: 100%; width: 16.6%; background: var(--grad-brand); border-radius: 999px; transition: width .35s ease; }

.pbw-step { display: none; animation: pbwIn .28s ease; }
.pbw-step.active { display: block; }
@keyframes pbwIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pbw-title { font-size: 1.5rem; margin: 0 0 4px; }
.pbw-sub { color: var(--muted); margin: 0 0 22px; font-size: .95rem; }
.req { color: #ef4444; }

.pbw-nav { display: flex; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.pbw-nav .grow { flex: 1; }
.btn-back { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-back:hover:not(:disabled) { border-color: var(--violet-400); }
.btn-back:disabled { opacity: .4; cursor: not-allowed; }

/* repeatable entry cards */
.rep-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.rep-row { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fdfcff; }
.rep-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #faf9fe; border-bottom: 1px solid var(--line); }
.rep-ico { width: 30px; height: 30px; border-radius: 8px; background: #f0ecfd; display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.rep-title { flex: 1; font-size: .95rem; }
.rep-del { border: 0; background: none; cursor: pointer; font-size: 1rem; opacity: .55; transition: opacity .15s ease, transform .15s ease; }
.rep-del:hover { opacity: 1; transform: scale(1.12); }
.rep-body { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
@media (max-width: 520px) { .rep-body { grid-template-columns: 1fr; } }
.rep-body .pb-field { margin-bottom: 0; }
.rep-body .pb-field.wide { grid-column: 1 / -1; }

.pb-add { width: 100%; padding: 14px; border: 1.5px dashed #cfc7ee; border-radius: 12px; background: #faf9fe; color: var(--violet-600); font-weight: 700; font-size: .92rem; cursor: pointer; transition: all .15s ease; }
.pb-add:hover { border-color: var(--violet-500); background: #f4f0ff; }

/* skills chip input */
.pb-chipbox { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 54px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: text; }
.pb-chipbox:focus-within { border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }
.pb-chips { display: contents; }
.pb-chip { display: inline-flex; align-items: center; gap: 6px; background: #f0ecfd; color: #5b21b6; font-weight: 600; font-size: .85rem; padding: 6px 6px 6px 12px; border-radius: 999px; }
.pb-chip button { border: 0; background: rgba(124,58,237,.16); color: #5b21b6; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: .9rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.pb-chip button:hover { background: #7c3aed; color: #fff; }
.pb-chipbox input { flex: 1; min-width: 140px; border: 0; outline: none; font-family: inherit; font-size: .94rem; padding: 6px 4px; background: transparent; }
.pb-hint { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }

/* portfolio item description line */
.pf-desc { margin: 6px 0 0; font-size: .85rem; line-height: 1.55; opacity: .9; }

/* ===== Profile photo editor ===== */
.pb-photo-btns { display: flex; gap: 14px; align-items: center; margin-top: 4px; }
.pb-photo-edit { display: none; border: 0; background: none; color: var(--violet-600); font-weight: 700; font-size: .82rem; cursor: pointer; padding: 0; }
.pb-photo-edit:hover { text-decoration: underline; }

.pe-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(12,8,28,.82); backdrop-filter: blur(3px); display: none; align-items: center; justify-content: center; padding: 20px; }
.pe-modal.open { display: flex; }
.pe-box { background: #fff; border-radius: 20px; padding: 24px; width: 100%; max-width: 360px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.pe-box h3 { margin: 0 0 4px; }
.pe-hint { font-size: .8rem; color: var(--muted); margin: 0 0 16px; }
.pe-stage { position: relative; width: 300px; height: 300px; max-width: 100%; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #1a1430; touch-action: none; }
.pe-stage canvas { display: block; width: 300px; height: 300px; max-width: 100%; cursor: grab; }
.pe-stage canvas:active { cursor: grabbing; }
.pe-ring { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.9), inset 0 0 0 4000px rgba(0,0,0,.18); border-radius: 50%; }
.pe-zoom { display: flex; align-items: center; gap: 12px; margin: 18px 2px; font-size: 1rem; }
.pe-zoom input[type="range"] { flex: 1; accent-color: var(--violet-600); }
.pe-actions { display: flex; gap: 12px; }
.pe-actions .btn { flex: 1; justify-content: center; }

/* =========================================================
   PORTFOLIO - AI ambient graphics, animation & bullets
   ========================================================= */
.pf-hero { overflow: hidden; }
.pf-ava, .pf-hid, .pf-hero-links { position: relative; z-index: 2; }

.pf-fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pf-orb { position: absolute; border-radius: 50%; filter: blur(30px); opacity: .5; will-change: transform; }
.pf-orb.o1 { width: 190px; height: 190px; top: -60px; left: -40px; background: #7c3aed; animation: pfFloat 9s ease-in-out infinite; }
.pf-orb.o2 { width: 150px; height: 150px; top: 10px; right: -30px; background: #3b82f6; animation: pfFloat 11s ease-in-out infinite reverse; }
.pf-orb.o3 { width: 130px; height: 130px; bottom: -70px; left: 42%; background: #db2777; animation: pfDrift 13s ease-in-out infinite; }
.pf-grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 72% 28%, #000, transparent 72%);
  mask-image: radial-gradient(circle at 72% 28%, #000, transparent 72%); }

@keyframes pfFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(15px,-18px) scale(1.1); } }
@keyframes pfDrift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-22px,14px); } }
@keyframes pfPulse { 0%,100% { opacity: .35; } 50% { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .pf-orb { animation: none !important; } }

/* theme-tuned orbs/grid */
.pf.tpl-modern .pf-orb, .pf.tpl-sunset .pf-orb { background: #fff; opacity: .16; }
.pf.tpl-minimal .pf-orb { opacity: .12; }
.pf.tpl-minimal .pf-grid { background-image: linear-gradient(rgba(0,0,0,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.045) 1px, transparent 1px); }

/* bullets in experience */
.pf-bullets { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.pf-bullets li { position: relative; padding-left: 18px; font-size: .85rem; line-height: 1.55; opacity: .92; }
.pf-bullets li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 6px; height: 6px; border-radius: 2px; background: #7c3aed; transform: rotate(45deg); }
.pf.tpl-aurora .pf-bullets li::before { background: #3b82f6; }
.pf.tpl-minimal .pf-bullets li::before { background: #18181b; }
.pf.tpl-sunset .pf-bullets li::before { background: #db2777; }

/* micro-interactions */
.pf-card { transition: transform .2s ease, box-shadow .25s ease; }
.pf-card:hover { transform: translateY(-3px); }
.pf.tpl-aurora .pf-card:hover { box-shadow: 0 14px 36px rgba(37,99,235,.18); border-color: rgba(59,130,246,.4); }
.pf-chips span { transition: transform .15s ease, box-shadow .15s ease; }
.pf-chips span:hover { transform: translateY(-2px) scale(1.04); }
.pf-hero-links a { transition: transform .15s ease, box-shadow .2s ease; }
.pf-hero-links a:hover { transform: translateY(-2px); }
.pf-ava { transition: transform .3s ease; }
.pf-hero:hover .pf-ava { transform: scale(1.04) rotate(-1deg); }
.pf.tpl-aurora .pf-ava { box-shadow: 0 0 0 1px rgba(59,130,246,.4), 0 0 30px rgba(59,130,246,.35); animation: pfPulse 4s ease-in-out infinite; }

/* fix: glow the aurora avatar ring (not the photo opacity) */
@keyframes pfGlow {
  0%,100% { box-shadow: 0 0 0 1px rgba(59,130,246,.4), 0 0 20px rgba(59,130,246,.3); }
  50% { box-shadow: 0 0 0 1px rgba(59,130,246,.65), 0 0 38px rgba(59,130,246,.6); }
}
.pf.tpl-aurora .pf-ava { animation: pfGlow 4.2s ease-in-out infinite; }

/* =========================================================
   PORTFOLIO - full-page preview + page-level AI graphics
   ========================================================= */
.pf { position: relative; overflow: hidden; }
.pf-body { position: relative; z-index: 1; }
.pf-hero { z-index: 1; }

/* page-level ambient background (behind all sections) */
.pf-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.pf-bg::before, .pf-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0; }
.pf.tpl-aurora .pf-bg::before { opacity: .5; width: 460px; height: 460px; top: 34%; left: -200px; background: radial-gradient(circle, rgba(37,99,235,.55), transparent 70%); animation: pfDrift 18s ease-in-out infinite; }
.pf.tpl-aurora .pf-bg::after { opacity: .45; width: 400px; height: 400px; bottom: 4%; right: -180px; background: radial-gradient(circle, rgba(219,39,119,.45), transparent 70%); animation: pfFloat 20s ease-in-out infinite; }
.pf.tpl-modern .pf-bg::before { opacity: .5; width: 420px; height: 420px; top: 40%; right: -180px; background: radial-gradient(circle, rgba(124,58,237,.16), transparent 70%); animation: pfFloat 19s ease-in-out infinite; }
.pf.tpl-sunset .pf-bg::before { opacity: .5; width: 420px; height: 420px; top: 40%; left: -180px; background: radial-gradient(circle, rgba(249,115,22,.16), transparent 70%); animation: pfDrift 19s ease-in-out infinite; }

/* animated accent under each section title */
.pf-card h2 { position: relative; padding-bottom: 10px; }
.pf-card h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, currentColor, transparent); }

/* full-page preview overlay */
.pf-full { position: fixed; inset: 0; z-index: 1200; background: #0b0b14; display: none; }
.pf-full.open { display: block; animation: pfFadeIn .25s ease; }
@keyframes pfFadeIn { from { opacity: 0; } to { opacity: 1; } }
.pf-full-top { position: absolute; top: 0; left: 0; right: 0; height: 58px; z-index: 3; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: rgba(12,10,28,.7); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.pf-full-title { color: #fff; font-weight: 800; letter-spacing: .02em; }
.pf-full-actions { display: flex; gap: 10px; }
.pf-full-actions button { border: 0; border-radius: 10px; padding: 9px 16px; font-weight: 700; font-size: .85rem; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.pf-full-dl { background: #2563eb; color: #fff; }
.pf-full-dl:hover { transform: translateY(-1px); }
.pf-full-close { background: rgba(255,255,255,.14); color: #fff; }
.pf-full-close:hover { background: rgba(255,255,255,.3); }
.pf-full-scroll { position: absolute; inset: 58px 0 0; overflow-y: auto; padding: 32px 20px 60px; }
.pf-full .pf-page { max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 110px rgba(0,0,0,.55); }
.pf-full .pf { min-height: auto; }
.pb-fullbtn { width: 100%; justify-content: center; margin-top: 16px; }
@media (max-width: 600px) { .pf-full-scroll { padding: 18px 10px 40px; } }

/* ===== Login: "check your email" guided panel ===== */
.auth-sent { text-align: center; animation: pfFadeIn .3s ease; }
.sent-ico { font-size: 2.7rem; line-height: 1; margin-bottom: 8px; }
.sent-title { font-size: 1.5rem; margin: 0 0 6px; }
.sent-steps { list-style: none; padding: 0; margin: 22px 0; text-align: left; display: flex; flex-direction: column; gap: 13px; }
.sent-steps li { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--ink); line-height: 1.45; }
.sent-steps .sn { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .76rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.sent-tip { font-size: .85rem; color: var(--muted); background: #faf9fe; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 16px; }

/* ===== Officer CRM (admin) ===== */
.crm-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 28px; }
@media (max-width: 760px) { .crm-stats { grid-template-columns: repeat(2, 1fr); } }
.crm-stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: 0 6px 18px rgba(28,16,64,.05); }
.crm-stat b { display: block; font-size: 1.7rem; font-weight: 900; line-height: 1; color: var(--ink); }
.crm-stat span { display: block; font-size: .78rem; color: var(--muted); margin-top: 6px; font-weight: 600; }
.crm-input { padding: 9px 13px; border: 1.5px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .9rem; color: var(--ink); background: #fff; }
.crm-input:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 4px rgba(124,58,237,.1); }

/* ===== CRM enrollments table (admin) ===== */
.crm-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.crm-transfer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crm-sort { display: flex; align-items: center; gap: 8px; }
.crm-check { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink); cursor: pointer; }
.crm-check input { width: 15px; height: 15px; accent-color: var(--violet-600); }
.crm-count { color: var(--muted); }

.crm-table th { white-space: nowrap; }
.crm-head th { background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; border-bottom: 0; }
.crm-filterrow th { padding: 8px 10px; background: #faf9fe; border-bottom: 1px solid var(--line); }
.crm-fil { width: 100%; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: 8px; font-family: inherit; font-size: .82rem; background: #fff; }
.crm-fil:focus { outline: none; border-color: var(--violet-400); box-shadow: 0 0 0 3px rgba(124,58,237,.1); }
.crm-row { width: 16px; height: 16px; accent-color: var(--violet-600); cursor: pointer; }
#selAll { width: 16px; height: 16px; accent-color: #fff; cursor: pointer; }
.crm-name { color: var(--violet-600); font-weight: 700; text-decoration: none; }
.crm-name:hover { text-decoration: underline; }

/* CRM modal */
.crm-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(12,8,28,.78); backdrop-filter: blur(3px); display: none; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.crm-modal.open { display: flex; animation: pfFadeIn .2s ease; }
.crm-box { position: relative; background: #fff; border-radius: 20px; padding: 28px; width: 100%; max-width: 560px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.crm-close { position: absolute; top: 16px; right: 18px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--muted); }
.crm-close:hover { color: var(--ink); }
.cm-app { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.cm-app:last-child { border-bottom: 0; }

/* Job Application modal - 2-column field grid */
#jobModal .adm-form { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { #jobModal .adm-form { grid-template-columns: 1fr; } }

/* ===== Client enrollment page tabs ===== */
.ctabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.ctab { border: 0; background: none; padding: 12px 20px; font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: color .15s ease, border-color .15s ease; }
.ctab:hover { color: var(--ink); }
.ctab.active { color: var(--violet-600); border-bottom-color: var(--violet-600); }
.cpanel { display: none; }

/* CRM stats: 6 across */
.crm-stats { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1000px) { .crm-stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .crm-stats { grid-template-columns: repeat(2, 1fr); } }
.lead-status { min-width: 110px; }

/* =========================================================
   CRM APP SHELL (admin) - left sidebar layout
   ========================================================= */
.crm-shell { display: flex; align-items: stretch; min-height: 100vh; }
.crm-side { width: 240px; flex: none; background: linear-gradient(180deg,#2a1065,#1a1040); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.crm-brand { display: block; padding: 18px 18px 14px; }
.crm-brand img { height: 30px; background: #fff; border-radius: 8px; padding: 5px 9px; }
.crm-nav { flex: 1; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.cnav { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px; color: rgba(255,255,255,.82); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .15s ease, color .15s ease; }
.cnav span:first-child { width: 18px; text-align: center; }
.cnav:hover { background: rgba(255,255,255,.09); color: #fff; }
.cnav.active { background: rgba(255,255,255,.18); color: #fff; }
.cnav-badge { margin-left: auto; background: rgba(255,255,255,.22); border-radius: 999px; padding: 2px 9px; font-size: .72rem; font-weight: 800; min-width: 22px; text-align: center; }
.crm-side-foot { padding: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.crm-side-foot #dashUser { display: block; opacity: .8; font-size: .8rem; margin-bottom: 10px; word-break: break-all; }
.crm-side-foot .btn-logout { width: 100
/* ===== CRM APP SHELL (admin) - left sidebar ===== */
.crm-shell { display: flex; align-items: stretch; min-height: 100vh; }
.crm-side { width: 240px; flex: none; background: linear-gradient(180deg,#2a1065,#1a1040); color: #fff; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.crm-brand { display: block; padding: 18px 18px 14px; }
.crm-brand img { height: 30px; background: #fff; border-radius: 8px; padding: 5px 9px; }
.crm-nav { flex: 1; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.cnav { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 10px; color: rgba(255,255,255,.82); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .15s ease, color .15s ease; }
.cnav span:first-child { width: 18px; text-align: center; }
.cnav:hover { background: rgba(255,255,255,.09); color: #fff; }
.cnav.active { background: rgba(255,255,255,.18); color: #fff; }
.cnav-badge { margin-left: auto; background: rgba(255,255,255,.22); border-radius: 999px; padding: 2px 9px; font-size: .72rem; font-weight: 800; min-width: 22px; text-align: center; }
.crm-side-foot { padding: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.crm-side-foot #dashUser { display: block; opacity: .8; font-size: .8rem; margin-bottom: 10px; word-break: break-all; }
.crm-side-foot .btn-logout { width: 100%; background: rgba(255,255,255,.14); color: #fff; border: 0; }
.crm-side-foot .btn-logout:hover { background: rgba(255,255,255,.26); }
.crm-body { flex: 1; min-width: 0; background: #faf9fe; display: flex; flex-direction: column; }
.crm-topbar { display: flex; align-items: center; gap: 14px; padding: 16px 26px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.crm-topbar h1 { font-size: 1.3rem; margin: 0; flex: 1; }
.crm-burger { display: none; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--ink); }
.crm-content { padding: 26px; }
.csec[hidden] { display: none; }
.crm-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.crm-quick-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 18px rgba(28,16,64,.05); transition: transform .15s ease, box-shadow .15s ease; }
.crm-quick-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(124,58,237,.14); }
.crm-quick-card b { display: block; font-size: 1rem; margin-bottom: 4px; }
.crm-quick-card span { font-size: .85rem; color: var(--muted); }
@media (max-width: 760px) { .crm-quick { grid-template-columns: 1fr; } }
@media (max-width: 880px) {
  .crm-side { position: fixed; left: 0; top: 0; z-index: 60; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 0 0 50px rgba(0,0,0,.45); }
  .crm-side.open { transform: none; }
  .crm-burger { display: block; }
}
/* ===== CRM alignment polish ===== */
body { margin: 0; }
#adminPage .crm-shell { width: 100%; }
.crm-body { min-width: 0; }
.crm-content { max-width: 1440px; width: 100%; }
.crm-content .dash { width: 100%; }
.crm-content .dash-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.crm-topbar { min-height: 60px; }
.crm-stat { display: flex; flex-direction: column; justify-content: center; }
.crm-side { z-index: 30; }
.crm-toolbar { row-gap: 12px; }
.crm-table th, .crm-table td { vertical-align: middle; }
.crm-table .crm-fil { box-sizing: border-box; }
@media (max-width: 880px) {
  .crm-content { padding: 18px; }
  .crm-topbar { padding: 14px 18px; }
}
/* ===== CRM topbar + quick-card fixes ===== */
.crm-topbar { flex-wrap: nowrap; }
.crm-topbar h1#secTitle, .crm-topbar h1 { font-size: 1.4rem !important; line-height: 1.2 !important; margin: 0 !important; flex: 1; font-weight: 800; }
.crm-topbar .view-link { white-space: nowrap; flex: none; }
.crm-quick-card, .crm-quick-card b { color: var(--ink); }
.crm-quick-card span { color: var(--muted); }
.crm-quick-card:hover b { color: var(--violet-600); }
}

/* ===== Portfolio AI: build-from-resume panel ===== */
.pb-ai { background: linear-gradient(135deg,#f4f0ff,#faf9fe); border: 1.5px solid #e3d9fb; border-radius: 16px; padding: 18px; margin-bottom: 22px; }
.pb-ai-head { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.pb-ai-badge { background: var(--grad-brand); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.pb-ai-sub { font-size: .85rem; color: var(--muted); margin: 6px 0 12px; }
.pb-ai textarea { width: 100%; resize: vertical; margin-bottom: 12px; }
.pb-ai-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pb-ai-status { font-size: .85rem; font-weight: 600; }
/* ===== Portfolio AI: resume upload box ===== */
.pb-ai-upload { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px; border: 2px dashed #cfc7ee; border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s ease, background .15s ease; }
.pb-ai-upload:hover, .pb-ai-upload.over { border-color: var(--violet-500); background: #f7f4ff; }
.pb-ai-up-ico { font-size: 1.7rem; }
.pb-ai-up-name { font-size: .8rem; color: var(--violet-600); font-weight: 600; }
.pb-ai-or { display: flex; align-items: center; text-align: center; color: var(--muted); font-size: .78rem; margin: 12px 0; }
.pb-ai-or::before, .pb-ai-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pb-ai-or span { padding: 0 12px; }
/* ===== Portfolio experience TIMELINE ===== */
.pf-timeline { position: relative; padding: 6px 0; }
.pf-timeline::before { content: ""; position: absolute; left: 13px; top: 0; bottom: 0; width: 2px; background: rgba(124,58,237,.25); }
.pf-tl-item { position: relative; padding: 0 0 20px 40px; }
.pf-tl-item:last-child { padding-bottom: 0; }
.pf-tl-dot { position: absolute; left: 6px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #7c3aed; border: 3px solid #fff; box-shadow: 0 0 0 2px rgba(124,58,237,.35); }
.pf-tl-card { display: block; padding: 14px 16px; border-radius: 12px; background: rgba(124,58,237,.05); border: 1px solid rgba(124,58,237,.12); transition: transform .15s ease, box-shadow .15s ease; }
.pf-tl-card:hover { transform: translateX(3px); box-shadow: 0 8px 22px rgba(124,58,237,.14); }
.pf-tl-ico { font-size: 1.1rem; flex: none; }
.pf-tl-card b { display: block; font-size: .98rem; line-height: 1.25; }
.pf-tl-co { display: block; font-size: .88rem; font-weight: 600; opacity: .85; margin-top: 2px; }
.pf-tl-period { display: block; font-size: .8rem; opacity: .6; margin-top: 3px; }
.pf-langs span { background: rgba(34,211,238,.12) !important; }

/* timeline tuned per theme */
.pf.tpl-aurora .pf-timeline::before { background: rgba(59,130,246,.3); }
.pf.tpl-aurora .pf-tl-dot { background: #3b82f6; border-color: #0b1020; box-shadow: 0 0 0 2px rgba(59,130,246,.4); }
.pf.tpl-aurora .pf-tl-card { background: rgba(255,255,255,.045); border-color: rgba(59,130,246,.25); }
.pf.tpl-minimal .pf-timeline::before { background: #d4d4d8; }
.pf.tpl-minimal .pf-tl-dot { background: #18181b; box-shadow: 0 0 0 2px rgba(0,0,0,.15); }
.pf.tpl-minimal .pf-tl-card { background: #fafafa; border-color: #ececf0; }
.pf.tpl-sunset .pf-timeline::before { background: rgba(219,39,119,.3); }
.pf.tpl-sunset .pf-tl-dot { background: #db2777; box-shadow: 0 0 0 2px rgba(219,39,119,.4); }
.pf.tpl-sunset .pf-tl-card { background: rgba(249,115,22,.06); border-color: rgba(219,39,119,.18); }

/* ============================================================
   Mobile polish - small-screen refinements (kept last so these win)
   ============================================================ */
@media (max-width: 600px) {
  /* Modals: tighter framing, sit near the top, never overflow the viewport */
  .crm-modal { padding: 14px 12px; align-items: flex-start; }
  .crm-box { padding: 22px 18px; }
  .crm-close { top: 12px; right: 14px; }

  /* Enrollment/CRM tabs: let them scroll sideways instead of cramming */
  .ctabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ctabs::-webkit-scrollbar { display: none; }
  .ctab { white-space: nowrap; padding: 12px 14px; font-size: .9rem; }

  /* Dashboard stat tiles: slightly compact so 3 fit comfortably */
  .dash-stats > div { padding: 14px 12px; }
  .dash-stats b { font-size: 1.45rem; }

  /* Journey timeline + touchpoint cards stay readable */
  .ms-step .nm { font-size: .92rem; }
  .tp-item .tp-ttl { font-size: .95rem; }

  /* Comfortable tap targets for small action buttons */
  .adm-btn { padding: 8px 12px; }
}

/* Avoid horizontal page scroll on phones from any stray wide element */
@media (max-width: 480px) {
  html, body { overflow-x: hidden; }
  .dash-readonly { font-size: .74rem; padding: 5px 11px; }
}

/* App / CRM pages - reclaim width and tidy headers on phones */
@media (max-width: 600px) {
  .crm-content { padding: 18px 13px; }
  .crm-topbar { padding: 13px 14px; }
  .crm-topbar h1 { font-size: 1.1rem; }
  .dash-main { padding-left: 14px; padding-right: 14px; }
  /* dashboard top action row: each button on its own full-width line (no clipped text) */
  #dashPage .dash-main > div:first-child { align-items: stretch; }
  #dashPage .dash-main > div:first-child > div:last-child { width: 100%; }
  #dashPage .dash-main > div:first-child .btn { flex: 1 1 100%; justify-content: center; }
  /* client enrollment: action buttons wrap cleanly */
  .cpanel .btn, .cpanel .adm-btn { white-space: nowrap; }
  /* tables never force the page wide - they scroll inside their card */
  .dash, .crm-content .dash { max-width: 100%; }
}