/* clit-cv — shared design system (plain CSS, no build step) */

:root {
  --brand-ink: #1e1b3a;
  --brand-primary: #4f2ec9;
  --brand-primary-dark: #37209a;
  --brand-accent: #f5a524;
  --brand-accent-dark: #d6890f;
  --brand-violet: #7c3aed;
  --brand-bg: #f6f5fb;
  --brand-muted: #6b6685;
  --brand-border: #e6e3f3;
  --brand-gradient: linear-gradient(120deg, #4f2ec9 0%, #7c3aed 55%, #a855f7 100%);
  --brand-radius: 1rem;
}

body {
  font-family: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
  background-color: var(--brand-bg);
  color: var(--brand-ink);
}

.font-display,
h1, h2, h3, .navbar-brand {
  font-family: 'Poppins', 'Hind Siliguri', system-ui, sans-serif;
}

a { text-decoration: none; }

/* ---------- Navbar ---------- */
.site-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--brand-border);
}
.site-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand-ink);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.site-navbar .brand-mark {
  width: 34px;
  height: 34px;
  border-radius: .6rem;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
}
.site-navbar .nav-link {
  font-weight: 500;
  color: var(--brand-ink);
}
.site-navbar .nav-link.active {
  color: var(--brand-primary);
  font-weight: 700;
}
.btn-brand {
  background: var(--brand-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(79, 46, 201, .28);
}
.btn-brand:hover {
  color: #fff;
  filter: brightness(1.06);
  box-shadow: 0 10px 24px rgba(79, 46, 201, .38);
}
.btn-outline-brand {
  border: 1.5px solid var(--brand-primary);
  color: var(--brand-primary);
  font-weight: 600;
  background: #fff;
}
.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: #fff;
}

/* ---------- Mobile drawer ---------- */
.site-drawer { width: 300px; }
.site-drawer .offcanvas-header { padding: 1.25rem; }
.drawer-link {
  color: var(--brand-ink);
  font-weight: 500;
  padding: .65rem .75rem;
  border-radius: .6rem;
}
.drawer-link:hover { background: var(--brand-bg); }
.drawer-link.active { background: var(--brand-bg); color: var(--brand-primary); font-weight: 700; }

/* ---------- Hero ---------- */
.gradient-hero {
  background: var(--brand-gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.gradient-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(255,255,255,.14) 0, transparent 40%),
                     radial-gradient(circle at 85% 80%, rgba(255,255,255,.12) 0, transparent 45%);
  pointer-events: none;
}
.gradient-hero .lead { color: rgba(255,255,255,.88); }
.hero-trust-item {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 2rem;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  color: #fff;
}
.hero-eyebrow-badge {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 2rem;
  padding: .65rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  color: #fff;
}
.hero-highlight-badge {
  background: rgba(245, 165, 36, .18);
  border: 1px solid rgba(245, 165, 36, .55);
  border-radius: 2rem;
  padding: .65rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

/* ---------- Hero device mockup ---------- */
.mockup-frame {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 12, 60, .28);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem .9rem;
  background: #f1eefb;
  border-bottom: 1px solid var(--brand-border);
}
.mockup-bar span:not(.mockup-bar-label) {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-bar span:nth-child(1) { background: #ef4444; }
.mockup-bar span:nth-child(2) { background: #f59e0b; }
.mockup-bar span:nth-child(3) { background: #22c55e; }
.mockup-bar-label {
  margin-left: .5rem;
  font-size: .72rem;
  color: var(--brand-muted);
  font-weight: 600;
}
.mockup-body {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.mockup-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--brand-ink);
  padding: 2.25rem 0;
}
.stats-band-value {
  font-family: 'Poppins', 'Hind Siliguri', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.stats-band-label {
  color: rgba(255, 255, 255, .65);
  font-size: .85rem;
  margin-top: .25rem;
}
@media (max-width: 575.98px) {
  .stats-band-value { font-size: 1.6rem; }
}

/* ---------- Sections ---------- */
.section-pad { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* ---------- Step / feature cards ---------- */
.step-card, .feature-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform .18s ease, box-shadow .18s ease;
}
.step-card:hover, .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(31, 20, 92, .08);
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1rem;
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: .75rem;
  background: #efe9fd;
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

/* ---------- Stat cards (dashboard) ---------- */
.stat-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}
.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  background: var(--brand-gradient);
}
.stat-card .stat-value { font-size: 1.55rem; font-weight: 700; color: var(--brand-ink); line-height: 1.1; }
.stat-card .stat-label { color: var(--brand-muted); font-size: .85rem; }

/* ---------- Template preview cards ---------- */
.tpl-card {
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tpl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(31, 20, 92, .1);
}
.tpl-frame-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f2f0fa;
  border-bottom: 1px solid var(--brand-border);
}
.tpl-frame-wrap iframe {
  position: absolute;
  top: 0;
  left: 50%;
  width: 800px;
  height: 1040px;
  border: 0;
  background: #fff;
  transform: translateX(-50%) scale(.335);
  transform-origin: top center;
  pointer-events: none;
}
.tpl-frame-wrap.tpl-frame-sm {
  height: 150px;
}
.tpl-frame-wrap.tpl-frame-sm iframe {
  transform: translateX(-50%) scale(.2);
}

/* ---------- Full-size live preview (template show page) ---------- */
.paper-preview {
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 20px 50px rgba(31, 20, 92, .14);
  overflow-x: auto;
  overflow-y: hidden;
}
.paper-preview > div { min-width: 700px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-ink);
  color: rgba(255,255,255,.72);
}
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.site-footer .trust-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: .6rem;
  padding: .6rem .9rem;
  font-size: .82rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ---------- Misc ---------- */
.badge-soft {
  background: #efe9fd;
  color: var(--brand-primary);
  font-weight: 600;
}
.text-brand { color: var(--brand-primary); }
.bg-brand-soft { background: var(--brand-bg); }

[x-cloak] { display: none !important; }

@media (max-width: 575.98px) {
  .section-pad { padding-top: 2.75rem; padding-bottom: 2.75rem; }
  .gradient-hero h1 { font-size: 1.85rem; }
}

/* ---------- Support widget ---------- */
.support-whatsapp-btn {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  z-index: 1040;
  transition: transform .15s ease;
}
.support-whatsapp-btn:hover { color: #fff; transform: scale(1.08); }

/* ---------- Developer credit ---------- */
.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.72);
}
.dev-credit img { height: 22px; width: auto; border-radius: .3rem; }
