/* ============================================================
   SmartChemist — Marketing / public pages design system (.hp)
   Shared by the home page and all marketing pages so they read
   as one consistent design. Scoped under .hp to avoid touching
   dashboard/auth chrome. Colour tokens come from pharma-public.css.
   ============================================================ */

.hp { --hp-grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%); }

/* ------------------------------------------------------------
   Buttons on gradient / dark surfaces.
   The theme's .pub-btn-primary is the SAME blue→purple gradient as
   these sections, so it camouflages against them. On any dark surface
   the primary action becomes solid white with brand-coloured text, and
   the secondary gets a properly visible white border.
   ------------------------------------------------------------ */
/* NOTE: pharma-public.css sets `color:#ffffff !important` on .pub-btn-primary,
   so the text colour here must also be !important to win. */
.hp .hp-hero .pub-btn-primary,
.hp .hp-banner .pub-btn-primary,
.hp .hp-cta .pub-btn-primary,
.hp .hp-article-header .pub-btn-primary,
.hp .hp-inline-cta .pub-btn-primary,
.hp .hp-auth-promo .pub-btn-primary {
  background: #ffffff;
  background-image: none;
  color: #2563eb !important;
  border: none;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .22);
}
.hp .hp-hero .pub-btn-primary:hover,
.hp .hp-banner .pub-btn-primary:hover,
.hp .hp-cta .pub-btn-primary:hover,
.hp .hp-article-header .pub-btn-primary:hover,
.hp .hp-inline-cta .pub-btn-primary:hover,
.hp .hp-auth-promo .pub-btn-primary:hover {
  background: #f1f5f9;
  color: #1d4ed8 !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .3);
}

.hp .hp-hero .pub-btn-outline-light,
.hp .hp-banner .pub-btn-outline-light,
.hp .hp-cta .pub-btn-outline-light,
.hp .hp-article-header .pub-btn-outline-light,
.hp .hp-auth-promo .pub-btn-outline-light {
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .75);
  color: #ffffff;
}
.hp .hp-hero .pub-btn-outline-light:hover,
.hp .hp-banner .pub-btn-outline-light:hover,
.hp .hp-cta .pub-btn-outline-light:hover,
.hp .hp-article-header .pub-btn-outline-light:hover,
.hp .hp-auth-promo .pub-btn-outline-light:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #2563eb;
}

.hp .hp-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase;
  color:var(--primary); background:rgba(37,99,235,.08);
  padding:7px 16px; border-radius:999px;
}
.hp .hp-section { padding:70px 0; }
.hp .hp-section.tight { padding:48px 0; }
.hp .hp-section.bg { background:var(--bg); }
.hp .hp-center { text-align:center; }
.hp .hp-h2 { font-size:2rem; font-weight:800; color:var(--text-dark); margin:14px 0 10px; line-height:1.2; }
.hp .hp-sub { color:var(--text-muted); font-size:1.02rem; max-width:620px; margin:0 auto; }

/* HERO (home) */
.hp .hp-hero {
  position:relative; overflow:hidden;
  background:var(--hp-grad); color:#fff;
  padding:76px 0 88px; text-align:center;
}
.hp .hp-hero::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 80% 0%, rgba(255,255,255,.16), transparent 55%);
  pointer-events:none;
}
.hp .hp-hero > .pub-container { position:relative; z-index:1; }
.hp .hp-hero .hp-eyebrow { color:#fff; background:rgba(255,255,255,.16); backdrop-filter:blur(6px); }
.hp .hp-hero h1 { font-size:2.9rem; font-weight:800; line-height:1.12; margin:20px 0 16px; color:#fff; }
.hp .hp-hero h1 span { background:linear-gradient(90deg,#a5f3fc,#fef08a); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp .hp-hero p.lead { font-size:1.18rem; opacity:.94; max-width:660px; margin:0 auto 26px; }
.hp .hp-hero-cta { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hp .hp-microline { margin-top:16px; font-size:13.5px; opacity:.9; }
.hp .hp-microline i { margin-right:5px; }
.hp .hp-trust-badges {
  display:flex; flex-wrap:wrap; justify-content:center; gap:12px 26px;
  margin-top:26px; font-size:14px; font-weight:600;
}
.hp .hp-trust-badges span { display:inline-flex; align-items:center; gap:8px; opacity:.95; }
.hp .hp-hero-shot {
  margin:44px auto 0; max-width:900px;
  border-radius:16px; overflow:hidden;
  box-shadow:0 40px 80px rgba(15,23,42,.45); border:1px solid rgba(255,255,255,.25);
  background:#fff;
}
.hp .hp-hero-shot img { display:block; width:100%; height:auto; }

/* BANNER (compact hero for sub-pages) */
.hp .hp-banner {
  position:relative; overflow:hidden;
  background:var(--hp-grad); color:#fff;
  padding:64px 0 68px; text-align:center;
}
.hp .hp-banner::after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 80% 0%, rgba(255,255,255,.16), transparent 55%);
  pointer-events:none;
}
.hp .hp-banner > .pub-container { position:relative; z-index:1; }
.hp .hp-banner .hp-eyebrow { color:#fff; background:rgba(255,255,255,.16); backdrop-filter:blur(6px); }
.hp .hp-banner h1 { font-size:2.4rem; font-weight:800; line-height:1.15; margin:18px 0 14px; color:#fff; }
.hp .hp-banner h1 span { background:linear-gradient(90deg,#a5f3fc,#fef08a); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp .hp-banner p.lead { font-size:1.12rem; opacity:.94; max-width:640px; margin:0 auto 22px; }

/* LIVE ACTIVITY */
.hp .hp-activity {
  display:flex; flex-wrap:wrap; justify-content:center; gap:12px 18px;
  margin-top:-30px; position:relative; z-index:3;
}
.hp .hp-activity .pill {
  background:var(--white); border:1px solid var(--border); border-radius:999px;
  padding:10px 18px; font-size:13.5px; font-weight:600; color:var(--text-dark);
  box-shadow:var(--shadow-sm); display:inline-flex; align-items:center; gap:9px;
}
.hp .hp-activity .pill i { color:var(--primary); }

/* STATS */
.hp .hp-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.hp .hp-stats.cols-3 { grid-template-columns:repeat(3,1fr); }
.hp .hp-stats .num { font-size:2.3rem; font-weight:800; background:var(--hp-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hp .hp-stats .lbl { color:var(--text-muted); font-size:13.5px; font-weight:600; margin-top:2px; }

/* FEATURE GRID */
.hp .hp-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hp .hp-grid.cols-2 { grid-template-columns:repeat(2,1fr); }
.hp .hp-fcard {
  background:var(--white); border:1px solid var(--border); border-radius:14px;
  padding:26px; box-shadow:var(--shadow-sm); transition:transform .2s ease, box-shadow .2s ease;
}
.hp .hp-fcard:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.hp .hp-fcard .ic {
  width:52px; height:52px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  font-size:21px; color:#fff; background:var(--hp-grad); margin-bottom:16px;
  box-shadow:0 8px 20px rgba(37,99,235,.28);
}
.hp .hp-fcard h4 { font-size:1.06rem; font-weight:700; color:var(--text-dark); margin:0 0 7px; }
.hp .hp-fcard p { color:var(--text-muted); font-size:14px; margin:0; line-height:1.6; }
.hp .hp-fcard ul { list-style:none; padding:0; margin:14px 0 0; }
.hp .hp-fcard ul li { display:flex; align-items:center; gap:9px; padding:5px 0; font-size:13.5px; color:var(--text-dark); font-weight:500; }
.hp .hp-fcard ul li i { color:#16a34a; font-size:12px; }

/* SPOTLIGHT */
.hp .hp-spot { display:grid; grid-template-columns:1fr 1fr; gap:44px; align-items:center; }
.hp .hp-spot + .hp-spot { margin-top:56px; }
.hp .hp-spot img { width:100%; border-radius:14px; box-shadow:var(--shadow-md); border:1px solid var(--border); }
.hp .hp-spot h3 { font-size:1.5rem; font-weight:800; color:var(--text-dark); margin:12px 0 10px; }
.hp .hp-spot p { color:var(--text-muted); line-height:1.7; }
.hp .hp-spot ul { list-style:none; padding:0; margin:16px 0 0; }
.hp .hp-spot ul li { display:flex; align-items:center; gap:10px; padding:8px 0; font-weight:600; color:var(--text-dark); font-size:14.5px; }
.hp .hp-spot ul li i { color:#16a34a; }
.hp .hp-spot .shot-fallback {
  aspect-ratio:16/10; border-radius:14px; border:1px solid var(--border);
  background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(124,58,237,.10));
  display:flex; align-items:center; justify-content:center; color:var(--primary); font-size:3rem;
}

/* ROI */
.hp .hp-roi-card {
  max-width:640px; margin:0 auto; background:var(--white);
  border:1px solid var(--border); border-radius:18px; padding:32px; box-shadow:var(--shadow-md);
}
.hp .hp-roi-card label { display:block; font-weight:600; font-size:14px; color:var(--text-dark); margin-bottom:10px; }
.hp .hp-roi-card label i { color:var(--primary); margin-right:6px; }
.hp .hp-roi-card .roi-slider, .hp .hp-roi-card input[type=range] {
  -webkit-appearance:none; width:100%; height:6px; border-radius:999px;
  background:linear-gradient(90deg,#2563eb,#7c3aed); outline:none;
}
.hp .hp-roi-card input[type=range]::-webkit-slider-thumb {
  -webkit-appearance:none; width:20px; height:20px; border-radius:50%;
  background:#fff; border:3px solid var(--primary); cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,.2);
}
.hp .hp-roi-row { margin-bottom:24px; }
.hp .hp-roi-result {
  margin-top:8px; background:linear-gradient(135deg,rgba(37,99,235,.07),rgba(124,58,237,.07));
  border:1px dashed rgba(37,99,235,.35); border-radius:14px; padding:20px; text-align:center;
}
.hp .hp-roi-result h3 { font-size:1.05rem; font-weight:700; color:var(--text-dark); margin:0 0 10px; }
.hp .hp-roi-result .money { display:flex; justify-content:center; gap:34px; flex-wrap:wrap; }
.hp .hp-roi-result .money div span { display:block; font-size:12.5px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.5px; }
.hp .hp-roi-result .money strong { font-size:1.7rem; font-weight:800; color:var(--primary); }

/* STEPS */
.hp .hp-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hp .hp-steps.cols-4 { grid-template-columns:repeat(4,1fr); }
.hp .hp-step { position:relative; background:var(--white); border:1px solid var(--border); border-radius:14px; padding:30px 24px; text-align:center; box-shadow:var(--shadow-sm); }
.hp .hp-step .n { width:46px; height:46px; margin:0 auto 14px; border-radius:50%; background:var(--hp-grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; box-shadow:0 8px 18px rgba(37,99,235,.3); }
.hp .hp-step h4 { font-weight:700; color:var(--text-dark); margin:0 0 6px; font-size:1.05rem; }
.hp .hp-step p { color:var(--text-muted); font-size:14px; margin:0; }

/* TESTIMONIALS */
.hp .hp-quotes { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.hp .hp-quote { background:var(--white); border:1px solid var(--border); border-radius:14px; padding:26px; box-shadow:var(--shadow-sm); }
.hp .hp-quote .stars { color:#f59e0b; font-size:13px; margin-bottom:12px; }
.hp .hp-quote p { color:var(--text-dark); font-size:14.5px; line-height:1.7; margin:0 0 18px; }
.hp .hp-quote .who { display:flex; align-items:center; gap:12px; }
.hp .hp-quote .av { width:42px; height:42px; border-radius:50%; background:var(--hp-grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.hp .hp-quote .who strong { display:block; font-size:14px; color:var(--text-dark); }
.hp .hp-quote .who span { font-size:12.5px; color:var(--text-muted); }

/* PRICING toggle + cards */
.hp .hp-toggle { display:flex; align-items:center; justify-content:center; gap:14px; margin:8px 0 34px; }
.hp .hp-toggle .tl { font-weight:600; color:var(--text-muted); }
.hp .hp-toggle .tl.active { color:var(--text-dark); }
.hp .hp-toggle .save-badge { background:#16a34a; color:#fff; font-size:11px; font-weight:700; padding:2px 8px; border-radius:999px; margin-left:6px; }
.hp .switch { position:relative; display:inline-block; width:52px; height:28px; }
.hp .switch input { opacity:0; width:0; height:0; }
.hp .switch .slider { position:absolute; inset:0; cursor:pointer; background:#cbd5e1; border-radius:999px; transition:.3s; }
.hp .switch .slider:before { content:""; position:absolute; height:20px; width:20px; left:4px; top:4px; background:#fff; border-radius:50%; transition:.3s; }
.hp .switch input:checked + .slider { background:var(--primary); }
.hp .switch input:checked + .slider:before { transform:translateX(24px); }
.hp .hp-plans { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:stretch; }
.hp .hp-plan { position:relative; background:var(--white); border:1px solid var(--border); border-radius:18px; padding:30px 26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column; }
.hp .hp-plan.featured { border:2px solid var(--primary); box-shadow:var(--shadow-md); }
.hp .hp-plan .badge-pop { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--hp-grad); color:#fff; font-size:11px; font-weight:700; letter-spacing:.5px; padding:5px 16px; border-radius:999px; }
.hp .hp-plan h3 { font-size:1.15rem; font-weight:800; color:var(--text-dark); margin:0 0 4px; }
.hp .hp-plan .plan-price { font-size:2.2rem; font-weight:800; color:var(--text-dark); margin:8px 0 2px; }
.hp .hp-plan .plan-price span { font-size:.95rem; font-weight:600; color:var(--text-muted); }
.hp .hp-plan .save-yearly { font-size:12.5px; color:#16a34a; font-weight:700; margin-top:2px; }
.hp .hp-plan .gst { font-size:12.5px; color:var(--text-muted); margin-bottom:14px; }
.hp .hp-plan .meta { font-size:13.5px; color:var(--text-dark); font-weight:600; margin-bottom:14px; line-height:1.9; }
.hp .hp-plan .meta i { color:var(--primary); width:18px; }
.hp .hp-plan .feat { list-style:none; padding:0; margin:0 0 22px; }
.hp .hp-plan .feat div { padding:7px 0; border-bottom:1px solid var(--border); font-size:13.5px; }
.hp .hp-plan .feat div.on { color:var(--text-dark); }
.hp .hp-plan .feat div.off { color:#cbd5e1; }
.hp .hp-plan .feat i { margin-right:8px; }
.hp .hp-plan .feat div.on i { color:#16a34a; }
.hp .hp-plan .feat div.off i { color:#cbd5e1; }
.hp .hp-plan .feat .inherit { border-bottom:none; padding:4px 0 10px; font-size:12.5px; font-weight:600; color:var(--text-muted); }
.hp .hp-plan .feat .inherit strong { color:var(--text-dark); }
.hp .hp-plan .cta { margin-top:auto; }
.hp .hp-plan .trial-note { text-align:center; font-size:12.5px; color:var(--text-muted); margin-top:10px; }

/* FAQ (self-contained, no JS) */
.hp .hp-faq { max-width:820px; margin:0 auto; }
.hp .hp-faq .cat { font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.6px; color:var(--primary); margin:26px 0 12px; }
.hp .hp-faq .cat:first-child { margin-top:0; }
.hp .hp-faq details { background:var(--white); border:1px solid var(--border); border-radius:12px; margin-bottom:12px; box-shadow:var(--shadow-sm); overflow:hidden; }
.hp .hp-faq summary { list-style:none; cursor:pointer; padding:18px 22px; font-weight:700; color:var(--text-dark); font-size:15px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.hp .hp-faq summary::-webkit-details-marker { display:none; }
.hp .hp-faq summary .chev { transition:transform .2s ease; color:var(--primary); flex-shrink:0; }
.hp .hp-faq details[open] summary .chev { transform:rotate(180deg); }
.hp .hp-faq .ans { padding:0 22px 20px; color:var(--text-muted); line-height:1.7; font-size:14.5px; }

/* PROSE / LEGAL (privacy, terms, long-form) */
.hp .hp-prose { max-width:820px; margin:0 auto; background:var(--white); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow-sm); padding:38px 40px; }
.hp .hp-prose .updated { font-size:13px; color:var(--text-muted); margin-bottom:24px; }
.hp .hp-prose h2 { font-size:1.25rem; font-weight:800; color:var(--text-dark); margin:26px 0 10px; }
.hp .hp-prose h2:first-child { margin-top:0; }
.hp .hp-prose h3 { font-size:1.05rem; font-weight:700; color:var(--text-dark); margin:20px 0 8px; }
.hp .hp-prose p, .hp .hp-prose li { color:var(--text-muted); line-height:1.8; font-size:15px; }
.hp .hp-prose ul { padding-left:20px; margin:10px 0 16px; }
.hp .hp-prose a { color:var(--primary); }

/* FORM CARD (contact, book demo) */
.hp .hp-form-card { background:var(--white); border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow-md); padding:32px; }
.hp .hp-form-card h3 { font-size:1.25rem; font-weight:800; color:var(--text-dark); margin:0 0 6px; }
.hp .hp-form-card .sub { color:var(--text-muted); font-size:14px; margin-bottom:22px; }
.hp .hp-form-card .form-group { margin-bottom:16px; }
.hp .hp-form-card label { font-weight:600; font-size:13.5px; color:var(--text-dark); margin-bottom:6px; display:block; }
.hp .hp-form-card .form-control,
.hp .hp-form-card input[type=text],
.hp .hp-form-card input[type=email],
.hp .hp-form-card input[type=tel],
.hp .hp-form-card textarea,
.hp .hp-form-card select {
  width:100%; border:1px solid var(--border); border-radius:10px; padding:11px 14px;
  font-size:14.5px; color:var(--text-dark); background:var(--white); transition:border-color .15s ease, box-shadow .15s ease;
}
.hp .hp-form-card .form-control:focus,
.hp .hp-form-card input:focus,
.hp .hp-form-card textarea:focus,
.hp .hp-form-card select:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.hp .hp-form-card textarea { min-height:120px; resize:vertical; }
.hp .hp-form-card .help-block { color:#ef4444; font-size:12.5px; margin-top:5px; }
.hp .hp-form-card .has-error .form-control,
.hp .hp-form-card .has-error input,
.hp .hp-form-card .has-error textarea { border-color:#ef4444; }

/* INFO CARD (contact details, side content) */
.hp .hp-info { display:flex; flex-direction:column; gap:16px; }
.hp .hp-info .row-item { display:flex; gap:14px; align-items:flex-start; background:var(--white); border:1px solid var(--border); border-radius:12px; padding:16px 18px; box-shadow:var(--shadow-sm); }
.hp .hp-info .row-item .ic { width:42px; height:42px; flex-shrink:0; border-radius:11px; background:var(--hp-grad); color:#fff; display:flex; align-items:center; justify-content:center; font-size:16px; }
.hp .hp-info .row-item strong { display:block; font-size:14px; color:var(--text-dark); }
.hp .hp-info .row-item span, .hp .hp-info .row-item a { font-size:13.5px; color:var(--text-muted); text-decoration:none; }
.hp .hp-info .row-item a:hover { color:var(--primary); }

/* two-column layout helper */
.hp .hp-two { display:grid; grid-template-columns:1fr 1fr; gap:36px; align-items:start; }
.hp .hp-two.lean-left { grid-template-columns:1.3fr 1fr; }
.hp .hp-two.lean-right { grid-template-columns:1fr 1.3fr; }

/* FINAL CTA */
.hp .hp-cta { background:var(--hp-grad); color:#fff; border-radius:20px; padding:56px 30px; text-align:center; box-shadow:var(--shadow-md); }
.hp .hp-cta h2 { font-size:2rem; font-weight:800; color:#fff; margin:0 0 12px; }
.hp .hp-cta p { opacity:.94; font-size:1.05rem; margin:0 0 24px; }
.hp .hp-cta .hp-cta-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   BLOG
   ============================================================ */
/* Category filter pills */
.hp .hp-blogfilters { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; }
.hp .hp-blogfilters a {
  padding:8px 18px; border-radius:999px; font-size:13.5px; font-weight:600;
  color:var(--text-muted); background:var(--white); border:1px solid var(--border);
  text-decoration:none; transition:all .15s ease; box-shadow:var(--shadow-sm);
}
.hp .hp-blogfilters a:hover { color:var(--primary); border-color:var(--primary); }
.hp .hp-blogfilters a.active { color:#fff; background:var(--hp-grad); border-color:transparent; }

/* Blog card grid */
.hp .hp-blogcard {
  display:flex; flex-direction:column; background:var(--white); border:1px solid var(--border);
  border-radius:16px; box-shadow:var(--shadow-sm); overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease;
}
.hp .hp-blogcard:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.hp .hp-blogcard .thumb { aspect-ratio:16/9; background:var(--hp-grad); position:relative; overflow:hidden; }
.hp .hp-blogcard .thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.hp .hp-blogcard .thumb .thumb-fallback { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.9); font-size:2.4rem; }
.hp .hp-blogcard .body { padding:22px 22px 24px; display:flex; flex-direction:column; flex:1; }
.hp .hp-blogcard .chip { align-self:flex-start; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; color:var(--primary); background:rgba(37,99,235,.09); padding:4px 11px; border-radius:999px; margin-bottom:12px; text-decoration:none; }
.hp .hp-blogcard h3 { font-size:1.12rem; font-weight:800; line-height:1.3; margin:0 0 10px; }
.hp .hp-blogcard h3 a { color:var(--text-dark); text-decoration:none; }
.hp .hp-blogcard h3 a:hover { color:var(--primary); }
.hp .hp-blogcard .excerpt { color:var(--text-muted); font-size:14px; line-height:1.6; margin:0 0 16px; }
.hp .hp-blogcard .card-foot { display:flex; align-items:center; justify-content:space-between; margin-top:auto; }
.hp .hp-blogcard .who { display:flex; align-items:center; gap:9px; }
.hp .hp-blogcard .who .av { width:30px; height:30px; border-radius:50%; background:var(--hp-grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:12px; }
.hp .hp-blogcard .who span { font-size:12.5px; color:var(--text-muted); font-weight:600; }
.hp .hp-blogcard .readmore { font-size:13px; font-weight:700; color:var(--primary); text-decoration:none; white-space:nowrap; }

/* Pagination (matches LinkPager option classes) */
.hp .blog-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; list-style:none; padding:0; margin:40px 0 0; }
.hp .blog-pagination-item { list-style:none; }
.hp .blog-pagination-link { display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 12px; border-radius:10px; border:1px solid var(--border); background:var(--white); color:var(--text-dark); font-weight:600; font-size:14px; text-decoration:none; transition:all .15s ease; }
.hp .blog-pagination-link:hover { border-color:var(--primary); color:var(--primary); }
.hp .blog-pagination-item.active .blog-pagination-link { background:var(--hp-grad); color:#fff; border-color:transparent; }
.hp .blog-pagination-item.disabled .blog-pagination-link { opacity:.45; pointer-events:none; }

/* ---- Article (single post) ---- */
.hp .hp-article-header { position:relative; overflow:hidden; background:var(--hp-grad); color:#fff; padding:70px 0; }
.hp .hp-article-header.has-bg { background-size:cover; background-position:center; }
.hp .hp-article-header::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 80% 0%, rgba(255,255,255,.14), transparent 55%); pointer-events:none; }
.hp .hp-article-header > .pub-container { position:relative; z-index:1; }
.hp .hp-article-header .chip { display:inline-block; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:#fff; background:rgba(255,255,255,.18); backdrop-filter:blur(6px); padding:5px 13px; border-radius:999px; text-decoration:none; margin-bottom:16px; }
.hp .hp-article-header h1 { font-size:2.4rem; font-weight:800; line-height:1.18; color:#fff; margin:0 0 20px; max-width:820px; }
.hp .hp-byline { display:flex; align-items:center; gap:12px; }
.hp .hp-byline .av { width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.22); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; }
.hp .hp-byline .name { font-weight:700; font-size:14.5px; }
.hp .hp-byline .meta { font-size:13px; opacity:.9; }

.hp .hp-article { display:grid; grid-template-columns:300px 1fr; gap:40px; align-items:start; }
.hp .hp-sidebar { position:sticky; top:90px; display:flex; flex-direction:column; gap:18px; }
.hp .hp-sidebar-box { background:var(--white); border:1px solid var(--border); border-radius:14px; box-shadow:var(--shadow-sm); padding:20px; }
.hp .hp-sidebar-box .box-title { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.4px; color:var(--text-dark); margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.hp .hp-sidebar-box .box-title i { color:var(--primary); }
.hp .hp-toc-list, .hp .hp-cat-list { list-style:none; padding:0; margin:0; }
.hp .hp-toc-list li, .hp .hp-cat-list li { margin-bottom:8px; }
.hp .hp-toc-list a { color:var(--text-muted); text-decoration:none; font-size:13.5px; line-height:1.5; }
.hp .hp-toc-list a:hover { color:var(--primary); }
.hp .hp-cat-list a { display:flex; justify-content:space-between; align-items:center; color:var(--text-dark); text-decoration:none; font-size:14px; font-weight:600; padding:4px 0; }
.hp .hp-cat-list a:hover { color:var(--primary); }
.hp .hp-cat-list a span { font-size:12px; font-weight:700; color:var(--text-muted); background:var(--bg); border-radius:999px; padding:1px 9px; }
.hp .hp-related-item { display:flex; justify-content:space-between; align-items:center; gap:10px; color:var(--text-dark); text-decoration:none; font-size:13.5px; font-weight:600; line-height:1.4; padding:9px 0; border-bottom:1px solid var(--border); }
.hp .hp-related-item:last-child { border-bottom:none; }
.hp .hp-related-item:hover { color:var(--primary); }
.hp .hp-related-item i { color:var(--primary); flex-shrink:0; }
.hp .hp-inline-cta { background:var(--hp-grad); color:#fff; border-radius:14px; padding:22px; box-shadow:var(--shadow-md); }
.hp .hp-inline-cta h4 { font-size:1.05rem; font-weight:800; color:#fff; margin:0 0 8px; }
.hp .hp-inline-cta p { font-size:13.5px; opacity:.94; margin:0 0 16px; }

/* Article body (renders admin-authored HTML) */
.hp .hp-article-content { color:var(--text-dark); font-size:16px; line-height:1.85; }
.hp .hp-article-content > *:first-child { margin-top:0; }
.hp .hp-article-content h2 { font-size:1.5rem; font-weight:800; color:var(--text-dark); margin:34px 0 12px; scroll-margin-top:90px; }
.hp .hp-article-content h3 { font-size:1.2rem; font-weight:700; color:var(--text-dark); margin:26px 0 10px; }
.hp .hp-article-content p { margin:0 0 18px; color:var(--text-muted); }
.hp .hp-article-content ul, .hp .hp-article-content ol { margin:0 0 18px; padding-left:24px; color:var(--text-muted); }
.hp .hp-article-content li { margin-bottom:8px; line-height:1.7; }
.hp .hp-article-content a { color:var(--primary); }
.hp .hp-article-content img { max-width:100%; height:auto; border-radius:12px; margin:10px 0; border:1px solid var(--border); }
.hp .hp-article-content blockquote { border-left:4px solid var(--primary); background:var(--bg); border-radius:0 10px 10px 0; padding:14px 20px; margin:0 0 18px; color:var(--text-dark); font-style:italic; }
.hp .hp-article-content pre { background:#0f172a; color:#e2e8f0; border-radius:12px; padding:16px 18px; overflow-x:auto; margin:0 0 18px; font-size:13.5px; }
.hp .hp-article-content code { background:var(--bg); border-radius:6px; padding:2px 6px; font-size:.9em; }
.hp .hp-article-content pre code { background:none; padding:0; }

.hp .hp-tagrow { display:flex; flex-wrap:wrap; gap:8px; }
.hp .hp-tagrow .chip { font-size:12px; font-weight:600; color:var(--text-muted); background:var(--bg); border:1px solid var(--border); border-radius:999px; padding:4px 12px; }
.hp .hp-tagrow .chip i { color:var(--primary); margin-right:5px; }
.hp .hp-share { display:flex; align-items:center; gap:12px; margin-top:30px; padding-top:22px; border-top:1px solid var(--border); flex-wrap:wrap; }
.hp .hp-share span { font-weight:700; color:var(--text-dark); font-size:14px; }
.hp .hp-share a { width:38px; height:38px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:var(--bg); color:var(--text-dark); text-decoration:none; transition:all .15s ease; }
.hp .hp-share a:hover { background:var(--hp-grad); color:#fff; }
.hp .hp-authorbio { display:flex; gap:16px; align-items:flex-start; background:var(--bg); border:1px solid var(--border); border-radius:14px; padding:22px; margin-top:30px; }
.hp .hp-authorbio .av { width:52px; height:52px; border-radius:50%; background:var(--hp-grad); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:18px; flex-shrink:0; }
.hp .hp-authorbio .name { font-weight:800; color:var(--text-dark); margin-bottom:4px; }
.hp .hp-authorbio p { color:var(--text-muted); font-size:14px; line-height:1.7; margin:0; }

/* ============================================================
   AUTH PAGES (login, register, reset, etc.)
   ============================================================ */
.hp .hp-auth-wrap { min-height:calc(100vh - 200px); display:flex; align-items:center; justify-content:center; padding:36px 0; }
.hp .hp-auth-card {
  width:100%; max-width:960px; display:grid; grid-template-columns:1fr 1fr;
  background:var(--white); border:1px solid var(--border); border-radius:22px;
  overflow:hidden; box-shadow:var(--shadow-md);
}
.hp .hp-auth-card.single { max-width:460px; grid-template-columns:1fr; }

/* Promo (gradient) panel */
.hp .hp-auth-promo { position:relative; overflow:hidden; background:var(--hp-grad); color:#fff; padding:44px 38px; display:flex; flex-direction:column; }
.hp .hp-auth-promo::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 85% 0%, rgba(255,255,255,.18), transparent 55%); pointer-events:none; }
.hp .hp-auth-promo > * { position:relative; z-index:1; }
.hp .hp-auth-promo .brand { display:inline-flex; align-items:center; gap:10px; font-weight:800; font-size:1.15rem; }
.hp .hp-auth-promo .brand img { height:30px; width:auto; }
.hp .hp-auth-promo h2 { font-size:1.55rem; font-weight:800; color:#fff; line-height:1.2; margin:30px 0 10px; }
.hp .hp-auth-promo .sub { opacity:.92; font-size:.98rem; line-height:1.55; margin:0 0 22px; }
.hp .hp-auth-promo ul { list-style:none; padding:0; margin:0; }
.hp .hp-auth-promo ul li { padding:6px 0; font-size:14px; font-weight:500; opacity:.96; display:flex; gap:9px; align-items:center; }
.hp .hp-auth-promo ul li i { color:#a5f3fc; }
.hp .hp-auth-promo .promo-note { margin-top:22px; background:rgba(255,255,255,.14); border-radius:12px; padding:12px 16px; backdrop-filter:blur(6px); }
.hp .hp-auth-promo .promo-note .t { font-size:.78rem; opacity:.85; }
.hp .hp-auth-promo .promo-note .b { font-size:.86rem; font-weight:600; margin-top:2px; }
.hp .hp-auth-promo .promo-trust { margin-top:auto; padding-top:22px; font-size:13px; opacity:.9; }

/* Form panel */
.hp .hp-auth-form { padding:40px 40px; }
.hp .hp-auth-form .head { margin-bottom:22px; }
.hp .hp-auth-form .head h3 { font-size:1.5rem; font-weight:800; color:var(--text-dark); margin:0 0 4px; }
.hp .hp-auth-form .head p { color:var(--text-muted); font-size:14px; margin:0; }
.hp .hp-auth-form .form-group { margin-bottom:16px; }
.hp .hp-auth-form label,
.hp .hp-auth-form .form-label { font-weight:600; font-size:13.5px; color:var(--text-dark); margin-bottom:6px; display:block; }
.hp .hp-auth-form .form-control,
.hp .hp-auth-form input[type=text],
.hp .hp-auth-form input[type=email],
.hp .hp-auth-form input[type=tel],
.hp .hp-auth-form input[type=password] {
  width:100%; border:1px solid var(--border); border-radius:10px; padding:11px 14px;
  font-size:14.5px; color:var(--text-dark); background:var(--white);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.hp .hp-auth-form .form-control:focus,
.hp .hp-auth-form input:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(37,99,235,.15); }
.hp .hp-auth-form .help-block,
.hp .hp-auth-form .invalid-feedback { color:#ef4444; font-size:12.5px; margin-top:5px; display:block; }
.hp .hp-auth-form .has-error .form-control,
.hp .hp-auth-form .has-error input,
.hp .hp-auth-form .is-invalid { border-color:#ef4444 !important; }
.hp .hp-auth-form small.text-muted { color:var(--text-muted); font-size:12.5px; }

/* input groups (+91, .smartchemist.in) */
.hp .hp-auth-form .input-group { display:flex; align-items:stretch; }
.hp .hp-auth-form .input-group > .form-control { border-radius:0; }
.hp .hp-auth-form .input-group > .form-control:first-child { border-top-left-radius:10px; border-bottom-left-radius:10px; }
.hp .hp-auth-form .input-group > .form-control:last-child { border-top-right-radius:10px; border-bottom-right-radius:10px; }
.hp .hp-auth-form .input-group-text { display:flex; align-items:center; padding:0 13px; font-size:14px; font-weight:600; color:var(--text-muted); background:var(--bg); border:1px solid var(--border); white-space:nowrap; }
.hp .hp-auth-form .input-group > .input-group-text:first-child { border-top-left-radius:10px; border-bottom-left-radius:10px; border-right:none; }
.hp .hp-auth-form .input-group > .input-group-text:last-child { border-top-right-radius:10px; border-bottom-right-radius:10px; border-left:none; }

/* password field with eye toggle */
.hp .hp-auth-form .pw-wrap { position:relative; }
.hp .hp-auth-form .pw-wrap .form-control { padding-right:42px; }
.hp .hp-auth-form .toggle-password { position:absolute; right:12px; top:50%; transform:translateY(-50%); cursor:pointer; opacity:.5; font-size:16px; user-select:none; line-height:1; }
.hp .hp-auth-form .toggle-password:hover { opacity:.8; }
.hp .hp-auth-form .password-strength { font-size:12px; font-weight:700; margin-top:6px; }
.hp .hp-auth-form .password-strength.weak { color:#ef4444; }
.hp .hp-auth-form .password-strength.medium { color:#f59e0b; }
.hp .hp-auth-form .password-strength.strong { color:#16a34a; }

/* misc form helpers */
.hp .hp-auth-form .form-check { display:inline-flex; align-items:center; gap:7px; font-size:13.5px; color:var(--text-dark); }
.hp .hp-auth-form .form-check-input { width:15px; height:15px; }
.hp .hp-auth-form .auth-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.hp .hp-auth-form .grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.hp .hp-auth-form .link, .hp .hp-auth-form a.link { color:var(--primary); font-weight:600; text-decoration:none; font-size:13.5px; }
.hp .hp-auth-form .link:hover { text-decoration:underline; }
.hp .hp-auth-form .submit-btn { width:100%; justify-content:center; margin-top:4px; }
.hp .hp-auth-form .auth-foot { text-align:center; margin-top:18px; font-size:13.5px; color:var(--text-muted); }
.hp .hp-auth-form .auth-foot a { color:var(--primary); font-weight:700; text-decoration:none; }
.hp .hp-auth-form .auth-divider { height:1px; background:var(--border); margin:18px 0; border:0; }
.hp .hp-auth-form .info-note { text-align:left; background:rgba(37,99,235,.06); border:1px solid rgba(37,99,235,.18); border-radius:10px; padding:11px 13px; margin-bottom:16px; font-size:12.5px; color:var(--text-dark); line-height:1.5; }
.hp .hp-auth-form .trial-pill { display:inline-flex; align-items:center; gap:7px; background:linear-gradient(90deg,#f59e0b,#d97706); color:#fff; font-size:12px; font-weight:700; padding:5px 13px; border-radius:999px; margin-bottom:12px; }
.hp .hp-auth-form .success-badge { width:72px; height:72px; margin:0 auto 8px; border-radius:20px; background:linear-gradient(135deg,#22c55e,#16a34a); color:#fff; display:flex; align-items:center; justify-content:center; font-size:30px; box-shadow:0 12px 26px rgba(22,163,74,.3); }

/* RESPONSIVE */
@media (max-width:900px){
  .hp .hp-grid, .hp .hp-grid.cols-2, .hp .hp-quotes, .hp .hp-plans, .hp .hp-steps, .hp .hp-steps.cols-4 { grid-template-columns:1fr; }
  .hp .hp-two, .hp .hp-two.lean-left, .hp .hp-two.lean-right { grid-template-columns:1fr; gap:24px; }
  .hp .hp-spot { grid-template-columns:1fr; gap:24px; }
  .hp .hp-spot.rev > div:first-child { order:2; }
  .hp .hp-stats, .hp .hp-stats.cols-3 { grid-template-columns:repeat(2,1fr); gap:28px; }
  .hp .hp-hero h1 { font-size:2.1rem; }
  .hp .hp-banner h1 { font-size:1.85rem; }
  .hp .hp-prose { padding:26px 22px; }
  .hp .hp-article { grid-template-columns:1fr; gap:28px; }
  .hp .hp-sidebar { position:static; order:2; }
  .hp .hp-article-header h1 { font-size:1.8rem; }
  .hp .hp-auth-card { grid-template-columns:1fr; max-width:460px; }
  .hp .hp-auth-promo { display:none; }
}
