:root{
  --brand-primary:#3B2082;
  --brand-secondary:#4C3494;
  --accent:#A78BFA;
  --bg:#F5F3FF;
  --card:#FFFFFF;
  --border:#E8E3F5;
  --muted:#6B5A9E;
  --heading:#3B2082;
  --success:#059669;
  --warning:#D97706;
  --error:#DC2626;
  --info:#2563EB;
  --radius:16px;
}
@media (prefers-reduced-motion: reduce){
  .zh-fade, .zh-card, .zh-stat, .zh-pulse{animation:none !important; transition:none !important;}
}

.zh-page{background:var(--bg); font-family:'DM Sans',sans-serif; color:var(--muted); overflow-x:hidden;}
.zh-page h1,.zh-page h2,.zh-page h3{font-family:'Instrument Serif',serif; font-weight:400; color:var(--heading); letter-spacing:-0.01em; line-height:1.25;}
/* Card/section titles read better in the body sans-serif at this size than
   the display italic serif — reserved for the big hero/brand moments instead. */
.zh-section-head h2,.zh-card h3,.zhbd-step h3,.zh-price-card h3{
  font-family:'DM Sans',sans-serif; font-weight:700; line-height:1.35; letter-spacing:-0.005em;
}
.zh-wrap{max-width:1160px;margin:0 auto;padding:0 28px;}
.zh-page a{text-decoration:none;}

/* HERO */
.zh-hero{padding:150px 0 100px;position:relative;}
.zh-hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:56px;align-items:center;}
.zh-eyebrow{
  display:inline-block;font-size:13px;font-weight:600;color:var(--brand-primary);
  background:#EDE8FB;border:1px solid var(--border);padding:6px 14px;border-radius:99px;
  opacity:0;animation:zhUp .7s ease forwards;
}
.zh-hero h1{font-size:50px;line-height:1.1;margin:22px 0 20px;opacity:0;animation:zhUp .8s ease .12s forwards;}
.zh-hero h1 em{font-style:italic;color:var(--accent);}
.zh-hero p{font-size:17px;max-width:480px;margin-bottom:30px;opacity:0;animation:zhUp .8s ease .24s forwards;}
.zh-actions{display:flex;gap:14px;opacity:0;animation:zhUp .8s ease .36s forwards;}
.zh-btn-primary{
  background:var(--brand-primary);color:#fff;padding:14px 26px;border-radius:12px;font-weight:600;font-size:14.5px;
  display:inline-block;transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.zh-btn-primary:hover{background:var(--brand-secondary);transform:translateY(-3px);box-shadow:0 12px 26px rgba(59,32,130,0.25);}
.zh-btn-ghost{
  border:1.5px solid var(--border);color:var(--brand-primary);padding:14px 26px;border-radius:12px;font-weight:600;font-size:14.5px;
  display:inline-block;transition:border-color .2s ease, background .2s ease;background:#fff;
}
.zh-btn-ghost:hover{border-color:var(--accent);background:#FAF9FF;}

@keyframes zhUp{from{opacity:0;transform:translateY(16px);} to{opacity:1;transform:translateY(0);}}

/* SIGNATURE PUNCH-IN CARD */
.zh-punch-card{
  background:var(--card);border-radius:20px;padding:26px;border:1px solid var(--border);
  box-shadow:0 24px 50px rgba(59,32,130,0.12);opacity:0;animation:zhUp 1s ease .4s forwards;
}
.zh-punch-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;}
.zh-punch-head span{font-weight:600;color:var(--heading);font-size:14px;}
.zh-badge-live{font-size:11px;color:var(--success);background:#ECFDF5;padding:4px 10px;border-radius:99px;font-weight:600;}
.zh-geofence{
  position:relative;height:150px;background:var(--bg);border-radius:14px;
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;overflow:hidden;
}
.zh-pulse-ring{
  position:absolute;width:90px;height:90px;border-radius:50%;border:2px solid var(--accent);
  animation:zhPulse 2.4s ease-out infinite;
}
.zh-pulse-ring.delay{animation-delay:1.2s;}
@keyframes zhPulse{
  0%{transform:scale(0.4);opacity:0.8;}
  100%{transform:scale(2.2);opacity:0;}
}
.zh-pin{
  width:14px;height:14px;background:var(--brand-primary);border-radius:50%;position:relative;z-index:2;
  box-shadow:0 0 0 5px #fff;
}
.zh-verify-row{display:flex;align-items:center;gap:10px;background:var(--bg);border-radius:12px;padding:12px 14px;}
.zh-check{
  width:22px;height:22px;border-radius:50%;background:var(--success);color:#fff;display:flex;
  align-items:center;justify-content:center;font-size:13px;flex-shrink:0;
}
.zh-verify-row .txt{font-size:13.5px;color:var(--heading);font-weight:500;}
.zh-verify-row .sub{font-size:12px;color:var(--muted);}

/* DIFFERENTIATORS */
.zh-section{padding:90px 0;}
.zh-section-head{max-width:620px;margin-bottom:50px;}
.zh-section-head .zh-eyebrow-dark{color:var(--accent);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:0.08em;display:block;margin-bottom:12px;}
.zh-section-head h2{font-size:32px;}
.zh-section-head p{margin-top:14px;font-size:16px;}
.zh-section-head .zh-icon{flex-shrink:0;}

.zh-diff-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;}
.zh-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:30px;
  transition:transform .35s cubic-bezier(.16,.84,.44,1), box-shadow .35s ease, border-color .35s ease;
}
.zh-card:hover{transform:translateY(-6px) scale(1.015);box-shadow:0 20px 40px rgba(59,32,130,0.16);border-color:var(--accent);}
.zh-card .zh-icon{
  width:46px;height:46px;border-radius:12px;background:#EDE8FB;color:var(--brand-primary);
  display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:16px;
  transition:transform .35s cubic-bezier(.16,.84,.44,1), background .35s ease, color .35s ease;
}
.zh-card:hover .zh-icon{transform:scale(1.12) rotate(-4deg);background:var(--brand-primary);color:#fff;}
.zh-card h3{font-size:18px;margin-bottom:8px;}
.zh-card p{font-size:14.5px;line-height:1.55;}
.zh-card .zh-tag{
  display:inline-block;margin-top:14px;font-size:12px;font-weight:600;color:var(--info);
  background:#EFF4FF;padding:4px 10px;border-radius:8px;
}

/* PRICING MODEL COMPARISON */
.zh-pricing-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.zh-price-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:32px;}
.zh-price-card.featured{border:2px solid var(--accent);position:relative;}
.zh-price-card .zh-pill{
  font-size:11.5px;font-weight:700;color:var(--brand-primary);background:#EDE8FB;
  padding:4px 12px;border-radius:99px;display:inline-block;margin-bottom:14px;
}
.zh-price-card h3{font-size:22px;margin-bottom:10px;}
.zh-price-card ul{list-style:none;margin:20px 0;padding:0;}
.zh-price-card li{font-size:14.5px;padding:8px 0;border-bottom:1px solid var(--border);display:flex;gap:10px;}
.zh-price-card li:last-child{border-bottom:none;}
.zh-price-card li:before{content:"✓";color:var(--success);font-weight:700;}

/* STATS */
.zh-stats-band{background:var(--brand-primary);}
.zh-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center;padding:64px 0;}
.zh-stat{color:#fff;}
.zh-stat .num{font-family:'Instrument Serif',serif;font-size:40px;color:var(--accent);}
.zh-stat .lbl{font-size:13px;color:#D8CFF5;margin-top:6px;}

/* FAQ */
.zh-faq-list{display:flex;flex-direction:column;gap:12px;}
.zh-faq-item{
  background:var(--card);border:1px solid var(--border);border-radius:14px;
  padding:18px 22px;
}
.zh-faq-item summary{
  cursor:pointer;font-weight:600;color:var(--heading);font-size:15.5px;
  list-style:none;display:flex;justify-content:space-between;align-items:center;
}
.zh-faq-item summary::-webkit-details-marker{display:none;}
.zh-faq-item summary::marker{content:"";}
.zh-faq-item summary::after{content:"+";font-size:20px;color:var(--accent);font-weight:400;margin-left:12px;flex-shrink:0;}
.zh-faq-item[open] summary::after{content:"–";}
.zh-faq-item p{margin-top:12px;font-size:14.5px;}

/* CTA */
.zh-cta{
  background:linear-gradient(120deg,var(--brand-primary),var(--brand-secondary));
  border-radius:24px;padding:60px;text-align:center;color:#fff;
}
.zh-cta h2{color:#fff;font-size:30px;margin-bottom:14px;}
.zh-cta p{color:#E4DBFA;margin-bottom:26px;}
.zh-cta .zh-btn-primary{background:#fff;color:var(--brand-primary);}
.zh-cta .zh-btn-primary:hover{background:var(--accent);color:#fff;}

/* reveal on scroll */
.zh-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease, transform .7s ease;}
.zh-reveal.in{opacity:1;transform:translateY(0);}

/* Two-column card grids: left column slides in from the left, right column
   from the right, each with its own stagger delay set inline per card
   (see page-features.php / page-security.php) — a livelier entrance than a
   flat fade-up for content that's visually already split into two lanes. */
.zh-reveal-left,.zh-reveal-right{
  opacity:0;transition:opacity .8s cubic-bezier(.16,.84,.44,1), transform .8s cubic-bezier(.16,.84,.44,1);
}
.zh-reveal-left{transform:translateX(-48px);}
.zh-reveal-right{transform:translateX(48px);}
.zh-reveal-left.in,.zh-reveal-right.in{opacity:1;transform:translateX(0);}
@media (prefers-reduced-motion: reduce){
  .zh-reveal-left,.zh-reveal-right{animation:none !important;transition:none !important;}
}

/* BOOK A DEMO — multi-step wizard */
.zhbd-wrap{display:grid;grid-template-columns:0.85fr 1.15fr;min-height:calc(100vh - 70px);}
.zhbd-side{
  background:var(--brand-primary);color:#fff;padding:60px 48px;display:flex;flex-direction:column;
  justify-content:center;gap:40px;
}
.zhbd-side img{max-height:none;width:auto;}
.zhbd-side .zhbd-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.zhbd-side .zh-stat .num{font-size:32px;}
.zhbd-side p.zhbd-note{color:#D8CFF5;font-size:14.5px;line-height:1.6;max-width:360px;}

.zhbd-main{padding:60px 48px;display:flex;flex-direction:column;justify-content:center;}
.zhbd-main-inner{max-width:560px;width:100%;margin:0 auto;}
.zhbd-main h1{font-size:30px;margin:14px 0 8px;}
.zhbd-main>.zhbd-main-inner>p{margin-bottom:28px;color:var(--muted);}

.zhbd-progress{display:flex;align-items:center;gap:10px;margin:24px 0 30px;}
.zhbd-progress .zhbd-dot{
  width:28px;height:28px;border-radius:50%;background:var(--border);color:var(--muted);
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;flex-shrink:0;
  transition:background .25s ease,color .25s ease;
}
.zhbd-progress .zhbd-line{flex:1;height:2px;background:var(--border);transition:background .25s ease;}
.zhbd-progress .zhbd-dot.done,.zhbd-progress .zhbd-dot.active{background:var(--brand-primary);color:#fff;}
.zhbd-progress .zhbd-line.done{background:var(--brand-primary);}

.zhbd-card{padding:34px;}
.zhbd-step h3{font-size:19px;margin-bottom:6px;}
.zhbd-step>p.muted{color:var(--muted);font-size:14px;margin-bottom:22px;}

.zhbd-modules-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:26px;}
.zhbd-module-card{
  position:relative;border:1.5px solid var(--border);border-radius:14px;padding:18px 16px;cursor:pointer;
  text-align:center;transition:border-color .2s ease,background .2s ease,transform .15s ease;user-select:none;
}
.zhbd-module-card:hover{border-color:var(--accent);transform:translateY(-2px);}
.zhbd-module-card.selected{border-color:var(--brand-primary);background:#F5F3FF;}
.zhbd-module-card .zhbd-module-icon{font-size:24px;margin-bottom:8px;}
.zhbd-module-card .zhbd-module-label{font-size:13.5px;font-weight:600;color:var(--heading);}
.zhbd-module-card .zhbd-check{
  position:absolute;top:8px;right:8px;width:20px;height:20px;border-radius:50%;background:var(--brand-primary);
  color:#fff;font-size:11px;display:none;align-items:center;justify-content:center;
}
.zhbd-module-card.selected .zhbd-check{display:flex;}

.zhbd-select{
  width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;font-family:'DM Sans',sans-serif;
  font-size:14.5px;color:var(--heading);background:#fff;margin-bottom:24px;
}

.zhbd-recap{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.zhbd-recap .zhbd-chip{
  background:#EDE8FB;color:var(--brand-primary);font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:99px;
}
.zhbd-recap .zhbd-chip.empty{background:var(--bg);color:var(--muted);font-weight:500;}

.zhbd-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
.zhbd-field label{font-size:13px;font-weight:600;color:var(--heading);display:block;margin-bottom:6px;}
.zhbd-field input,.zhbd-field select{
  width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:10px;font-family:'DM Sans',sans-serif;
  font-size:14.5px;
}
.zhbd-privacy{display:flex;align-items:flex-start;gap:10px;font-size:13.5px;color:var(--muted);margin:20px 0;}
.zhbd-privacy input{margin-top:3px;}

.zhbd-step-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:8px;}
.zhbd-trust{list-style:none;margin:22px 0 0;padding:18px;background:var(--bg);border-radius:12px;}
.zhbd-trust li{font-size:13.5px;color:var(--heading);padding:4px 0;display:flex;gap:8px;}
.zhbd-trust li:before{content:"✓";color:var(--success);font-weight:700;}

@media (max-width:860px){
  .zh-hero-grid{grid-template-columns:1fr;}
  .zh-diff-grid{grid-template-columns:1fr;}
  .zh-pricing-grid{grid-template-columns:1fr;}
  .zh-stats-grid{grid-template-columns:1fr 1fr;}
  .zhbd-wrap{grid-template-columns:1fr;}
  .zhbd-side{padding:36px 24px;}
  .zhbd-side .zhbd-stats{grid-template-columns:1fr 1fr;}
  .zhbd-main{padding:36px 24px;}
  .zhbd-modules-grid{grid-template-columns:1fr;}
  .zhbd-field-grid{grid-template-columns:1fr;}
}
