/* ═══════════════════════════════════════════════════════════════
   PragatiCRM — Demo page styles (loads after css/home.css)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero / layout ─────────────────────────────────────────────── */
.demo-book-hero{padding:9rem 0 5rem;position:relative;overflow:hidden;
  background:
    radial-gradient(900px 460px at 85% 0%,rgba(240,122,48,.12),transparent 60%),
    radial-gradient(700px 420px at -5% 100%,rgba(30,58,95,.06),transparent 55%),
    var(--bg)}
.demo-book-hero::before{content:'';position:absolute;inset:0;
  background-image:linear-gradient(rgba(60,38,15,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(60,38,15,.045) 1px,transparent 1px);
  background-size:44px 44px;
  -webkit-mask-image:radial-gradient(700px 480px at 30% 10%,#000 20%,transparent 75%);
  mask-image:radial-gradient(700px 480px at 30% 10%,#000 20%,transparent 75%);
  pointer-events:none}
.demo-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 490px;gap:3.5rem;grid-template-areas:"intro form" "side form";align-items:start}
.demo-intro{grid-area:intro}
.demo-form-col{grid-area:form;position:sticky;top:96px}
.demo-side{grid-area:side;margin-top:2.5rem}
.demo-intro h1{margin:1.1rem 0 1rem;font-size:clamp(2rem,3.4vw,2.9rem);line-height:1.14}
.demo-intro-sub{font-size:1.08rem;color:var(--ink-2);max-width:480px;margin-bottom:1.5rem}
.demo-lottie{display:flex;justify-content:center;margin:.5rem 0 0}
.demo-lottie dotlottie-player{width:620px;height:620px;max-width:100%;margin:-4.5rem 0 -3.5rem;pointer-events:none;filter:drop-shadow(0 18px 30px rgba(60,38,15,.12))}

/* ─── Form card ─────────────────────────────────────────────────── */
.demo-form-card{background:var(--bg-card);border-radius:var(--r-lg);padding:2.25rem;border:1px solid var(--line);box-shadow:var(--shadow-lg)}
.demo-form-head{display:flex;align-items:center;gap:.75rem;margin-bottom:1.5rem}
.demo-form-head-icon{width:44px;height:44px;border-radius:12px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.demo-form-head-icon svg{width:22px;height:22px;color:var(--brand)}
.demo-form-head h3{font-size:1.15rem;margin-bottom:.1rem}
.demo-form-head p{font-size:.78rem;color:var(--muted)}
.form-group{margin-bottom:1.15rem}
.form-label{display:block;font-size:.84rem;font-weight:600;color:var(--ink);margin-bottom:.4rem}
.form-label span{color:var(--red);margin-left:.15rem}
.form-input,.form-select,.form-textarea{width:100%;padding:.75rem 1rem;border:1.5px solid var(--line-2);border-radius:12px;font-size:.9rem;color:var(--ink);background:var(--bg);font-family:'Inter',sans-serif;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;outline:none}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--brand);background:var(--bg-card);box-shadow:0 0 0 4px var(--brand-soft)}
.form-input::placeholder,.form-textarea::placeholder{color:#A38D77}
.form-textarea{min-height:96px;resize:vertical;line-height:1.6}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-hint{font-size:.74rem;color:var(--muted);margin-top:.35rem}
.submit-btn{width:100%;padding:1.05rem;background:linear-gradient(180deg,#E05E14,#C94D08);color:#fff;border:none;border-radius:14px;font-size:1rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;font-family:'Inter',sans-serif;box-shadow:0 1px 2px rgba(60,38,15,.2),0 8px 20px rgba(212,82,10,.28),inset 0 1px 0 rgba(255,255,255,.22)}
.submit-btn:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(60,38,15,.18),0 14px 30px rgba(212,82,10,.36),inset 0 1px 0 rgba(255,255,255,.22)}
.submit-btn:active{transform:scale(.98);transition-duration:.16s}
.submit-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}
.form-footnote{text-align:center;font-size:.75rem;color:var(--muted);margin-top:.8rem}
.success-msg{display:none;text-align:center;padding:2rem;background:var(--green-soft);border-radius:var(--r);border:1px solid #BFE8D2;margin-top:1rem}
.success-msg h3{color:var(--green);margin-bottom:.5rem}
.success-msg p{color:var(--ink-2);font-size:.9rem}

/* ─── Steps / promise / alternatives ────────────────────────────── */
.demo-side h3{font-size:1.2rem;margin-bottom:1.4rem}
.what-happens{display:flex;flex-direction:column;gap:0}
.wh-item{display:flex;align-items:flex-start;gap:1rem;font-size:.9rem;position:relative;padding-bottom:1.4rem}
.wh-item:not(:last-child)::before{content:'';position:absolute;left:14px;top:32px;bottom:2px;width:2px;background:repeating-linear-gradient(180deg,var(--line-2) 0 5px,transparent 5px 10px)}
.wh-step{width:30px;height:30px;border-radius:50%;background:linear-gradient(180deg,#E05E14,#C94D08);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:700;flex-shrink:0;margin-top:1px;position:relative;z-index:1;box-shadow:0 4px 10px rgba(212,82,10,.3)}
.wh-text{color:var(--ink-2);line-height:1.6}
.wh-text strong{color:var(--ink)}
.promise-card{background:var(--brand-softer);border-radius:var(--r);padding:1.4rem 1.5rem;border:1px solid #F5DFC9;margin-top:1.25rem}
.promise-card h4{font-size:.9rem;color:var(--ink);margin-bottom:.5rem;font-family:'Inter',sans-serif;font-weight:700}
.promise-card p{font-size:.86rem;color:var(--ink-2);line-height:1.65}
.alt-options{margin-top:1.25rem;padding:1.4rem 1.5rem;background:var(--bg-card);border-radius:var(--r);border:1px solid var(--line)}
.alt-options h4{font-size:.9rem;font-weight:700;color:var(--ink);margin-bottom:.75rem}
.alt-row{display:flex;align-items:flex-start;gap:.85rem;padding:.75rem 0;border-bottom:1px solid var(--line)}
.alt-row:last-child{border-bottom:none;padding-bottom:0}
.alt-icon{width:34px;height:34px;border-radius:10px;background:var(--brand-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.alt-icon svg{width:17px;height:17px;color:var(--brand)}
.alt-text{font-size:.85rem;color:var(--ink-2);flex:1;line-height:1.55}
.alt-text a{color:var(--brand-text);font-weight:600}
.alt-text a:hover{text-decoration:underline;text-underline-offset:3px}

/* ─── FAQ mini section ──────────────────────────────────────────── */
.demo-faq{padding:4.5rem 0;background:var(--bg-warm);border-top:1px solid var(--line)}

/* ─── Responsive ────────────────────────────────────────────────── */
@media(max-width:1024px){
  .demo-book-hero{padding:8rem 0 3.5rem}
  .demo-grid{grid-template-columns:1fr;gap:2.5rem;grid-template-areas:"intro" "form" "side"}
  .demo-form-col{position:static}
  .demo-side{margin-top:0}
  .demo-lottie dotlottie-player{width:460px;height:460px;margin:-3rem 0 -2.5rem}
}
@media(max-width:768px){
  .demo-book-hero{padding:7.5rem 0 2.5rem}
  .demo-form-card{padding:1.5rem}
  .form-row{grid-template-columns:1fr}
  .demo-lottie dotlottie-player{width:340px;height:340px;margin:-2rem 0 -1.5rem}
}
