/* ==============================================
   MLM DEMO PAGE — SCOPED STYLES
   css/mlm-demo-page.css
   Extracted from mlm-demo.html internal <style> block
   ============================================== */

/* ─── Reset / base ─────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{font-family:'Inter',sans-serif;color:#1e293b;background:#fff;line-height:1.6;}
.container{max-width:1200px;margin:0 auto;padding:0 1.5rem;}
img{max-width:100%;display:block;}
a{text-decoration:none;}

/* ─── Utility ──────────────────────────────── */
.sec{padding:5rem 0;}
.sec-alt{background:#f8fafc;}
.sec-dark{background:#0f172a;}
.tag-pill{display:inline-flex;align-items:center;gap:.4rem;border-radius:50px;padding:.3rem .9rem;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;margin-bottom:1rem;}
.tag-blue{background:#dbeafe;color:#1d4ed8;}
.tag-green{background:#dcfce7;color:#15803d;}
.tag-purple{background:#ede9fe;color:#6d28d9;}
.tag-orange{background:#fff7ed;color:#c2410c;}
.tag-white{background:rgba(255,255,255,.12);color:#93c5fd;border:1px solid rgba(255,255,255,.2);}
.sec-label{font-size:clamp(1.6rem,3vw,2.25rem);font-weight:900;color:#0f172a;line-height:1.2;font-family:'Plus Jakarta Sans',sans-serif;}
.sec-label span{color:#2563eb;}
.sec-sub{font-size:1.0625rem;color:#475569;max-width:640px;line-height:1.7;margin-top:.6rem;}
.center-text{text-align:center;}
.center-text .sec-sub{margin-left:auto;margin-right:auto;}

/* ─── Buttons ──────────────────────────────── */
.btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:9px;padding:.8rem 1.75rem;font-size:.9375rem;font-weight:700;cursor:pointer;border:2px solid transparent;transition:all .2s;text-decoration:none;}
.btn-primary{background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;}
.btn-primary:hover{opacity:.9;transform:translateY(-2px);box-shadow:0 8px 24px rgba(37,99,235,.35);}
.btn-white{background:#fff;color:#1e3a5f;}
.btn-white:hover{background:#f1f5f9;transform:translateY(-2px);}
.btn-outline-white{background:transparent;color:#fff;border-color:rgba(255,255,255,.4);}
.btn-outline-white:hover{background:rgba(255,255,255,.1);border-color:#fff;}
.btn-whatsapp{background:linear-gradient(135deg,#25d366,#128c7e);color:#fff;}
.btn-whatsapp:hover{opacity:.9;transform:translateY(-2px);}
.btn-lg{padding:.95rem 2.25rem;font-size:1rem;border-radius:10px;}
.btn-full{width:100%;justify-content:center;}

/* ─── Breadcrumb ───────────────────────────── */
.breadcrumb-bar{background:#f8fafc;border-bottom:1px solid #e2e8f0;padding:.75rem 0;}
.breadcrumb-bar ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;font-size:.875rem;}
.breadcrumb-bar li{display:flex;align-items:center;gap:.35rem;color:#64748b;}
.breadcrumb-bar li:last-child{color:#1e3a5f;font-weight:600;}
.breadcrumb-bar a{color:#2563eb;}
.breadcrumb-bar a:hover{text-decoration:underline;}
.breadcrumb-sep{color:#cbd5e1;font-size:.65rem;}

/* ─── Hero ─────────────────────────────────── */
.hero{background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 45%,#1d4ed8 100%);padding:5.5rem 0 4rem;overflow:hidden;position:relative;}
.hero::before{content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");pointer-events:none;}
.hero-inner{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center;position:relative;z-index:1;}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:50px;padding:.4rem 1.1rem;font-size:.8rem;font-weight:600;color:#93c5fd;margin-bottom:1.25rem;backdrop-filter:blur(4px);}
.hero h1{font-size:clamp(2rem,4vw,3rem);font-weight:900;color:#fff;line-height:1.15;font-family:'Plus Jakarta Sans',sans-serif;margin-bottom:1.1rem;}
.hero h1 span{background:linear-gradient(90deg,#60a5fa,#a78bfa);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}
.hero-desc{font-size:1.0625rem;color:#cbd5e1;line-height:1.7;margin-bottom:1.75rem;}
.hero-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;}
.hero-trust-row{display:flex;flex-wrap:wrap;gap:1.25rem;}
.hero-trust-item{display:flex;align-items:center;gap:.45rem;font-size:.8125rem;color:#94a3b8;}
.hero-trust-item i{color:#22c55e;}

/* ─── Hero countdown ───────────────────────── */
.hero-urgency{background:rgba(239,68,68,.1);border:1px solid rgba(239,68,68,.3);border-radius:12px;padding:1rem 1.25rem;margin-top:1.5rem;display:flex;align-items:center;gap:.75rem;}
.hero-urgency i{color:#f87171;font-size:1.1rem;flex-shrink:0;}
.hero-urgency p{font-size:.875rem;color:#fca5a5;line-height:1.5;}
.hero-urgency strong{color:#fff;}

/* ─── Hero form card ───────────────────────── */
.hero-form-card{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 24px 64px rgba(0,0,0,.3);}
.hero-form-card h2{font-size:1.35rem;font-weight:800;color:#1e3a5f;margin-bottom:.3rem;}
.hero-form-card p.sub{font-size:.875rem;color:#64748b;margin-bottom:1.5rem;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.fgroup{margin-bottom:1rem;}
.fgroup label{display:block;font-size:.8125rem;font-weight:600;color:#374151;margin-bottom:.35rem;}
.fgroup label .req{color:#e53935;}
.fgroup input,.fgroup select,.fgroup textarea{width:100%;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:9px;font-size:.9375rem;font-family:inherit;outline:none;transition:border-color .2s,box-shadow .2s;background:#fff;color:#1e293b;}
.fgroup input:focus,.fgroup select:focus,.fgroup textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.1);}
.fgroup textarea{resize:vertical;}
.form-privacy{font-size:.78rem;color:#94a3b8;text-align:center;margin-top:.75rem;display:flex;align-items:center;justify-content:center;gap:.35rem;}

/* form success */
.form-success-box{display:none;text-align:center;padding:2rem 1rem;}
.success-icon-wrap{width:80px;height:80px;background:linear-gradient(135deg,#22c55e,#16a34a);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.25rem;box-shadow:0 8px 24px rgba(34,197,94,.35);}
.success-icon-wrap i{font-size:2rem;color:#fff;}

/* ─── Stats strip ──────────────────────────── */
.stats-strip{background:#1e3a5f;padding:2rem 0;}
.stats-strip-inner{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem;}
.stat-block{text-align:center;}
.stat-block .num{display:block;font-size:2rem;font-weight:900;color:#60a5fa;font-family:'Plus Jakarta Sans',sans-serif;}
.stat-block .lbl{font-size:.8rem;color:#94a3b8;margin-top:.2rem;}

/* ─── What's in the demo ───────────────────── */
.demo-modules-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2.5rem;}
.demo-mod-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.75rem 1.5rem;transition:all .25s;position:relative;overflow:hidden;}
.demo-mod-card::after{content:'';position:absolute;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#2563eb,#6366f1);transform:scaleX(0);transform-origin:left;transition:transform .3s;}
.demo-mod-card:hover{border-color:#2563eb;box-shadow:0 8px 28px rgba(37,99,235,.1);transform:translateY(-4px);}
.demo-mod-card:hover::after{transform:scaleX(1);}
.mod-icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:1rem;}
.demo-mod-card h3{font-size:1rem;font-weight:700;color:#1e3a5f;margin-bottom:.5rem;}
.demo-mod-card p{font-size:.875rem;color:#64748b;line-height:1.65;}
.demo-mod-badge{display:inline-block;background:#dbeafe;color:#1d4ed8;border-radius:20px;padding:.15rem .6rem;font-size:.7rem;font-weight:700;margin-top:.65rem;}

/* ─── How the demo works ───────────────────── */
.steps-track{position:relative;margin-top:3rem;}
.steps-track::before{content:'';position:absolute;left:28px;top:0;bottom:0;width:2px;background:linear-gradient(180deg,#2563eb,#6366f1,#2563eb);opacity:.25;}
.step-item{display:flex;gap:1.5rem;align-items:flex-start;margin-bottom:2.5rem;position:relative;}
.step-num{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#1d4ed8,#6366f1);color:#fff;font-size:1.25rem;font-weight:900;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 4px 16px rgba(37,99,235,.3);position:relative;z-index:1;}
.step-content h3{font-size:1.1rem;font-weight:700;color:#1e3a5f;margin-bottom:.4rem;}
.step-content p{font-size:.9375rem;color:#475569;line-height:1.7;}
.step-content .step-time{display:inline-flex;align-items:center;gap:.35rem;background:#f1f5f9;border-radius:20px;padding:.2rem .7rem;font-size:.78rem;font-weight:600;color:#64748b;margin-top:.5rem;}

/* ─── Demo agenda timeline ─────────────────── */
.agenda-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06);}
.agenda-header{background:linear-gradient(135deg,#1e3a5f,#1d4ed8);color:#fff;padding:1.25rem 1.5rem;}
.agenda-header h3{font-size:1.1rem;font-weight:700;}
.agenda-header p{font-size:.85rem;color:#93c5fd;margin-top:.2rem;}
.agenda-item{display:flex;gap:1rem;align-items:flex-start;padding:1rem 1.5rem;border-bottom:1px solid #f1f5f9;}
.agenda-item:last-child{border-bottom:none;}
.agenda-time{font-size:.78rem;font-weight:700;color:#2563eb;background:#eff6ff;border-radius:6px;padding:.2rem .6rem;white-space:nowrap;flex-shrink:0;margin-top:2px;}
.agenda-topic h4{font-size:.9375rem;font-weight:600;color:#1e3a5f;margin-bottom:.2rem;}
.agenda-topic p{font-size:.8125rem;color:#64748b;line-height:1.55;}

/* ─── Live demo screenshots ─────────────────── */
.mockup-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-top:2.5rem;}
.mockup-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.07);}
.mockup-topbar{padding:.75rem 1.25rem;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f1f5f9;}
.mockup-topbar h4{font-size:.9rem;font-weight:700;color:#1e3a5f;display:flex;align-items:center;gap:.5rem;}
.mockup-topbar .live-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;animation:pulse 1.5s infinite;}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.6;transform:scale(1.25);}}
.mockup-body{padding:1.25rem;}

/* mini dashboard */
.mini-kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin-bottom:1rem;}
.mini-kpi{background:#f8fafc;border-radius:8px;padding:.65rem .5rem;text-align:center;}
.mini-kpi .k-val{font-size:.95rem;font-weight:800;color:#1e3a5f;}
.mini-kpi .k-lbl{font-size:.65rem;color:#64748b;margin-top:.1rem;}
.mini-kpi .k-up{font-size:.65rem;color:#16a34a;font-weight:600;}
.mini-bar-row{margin-bottom:.5rem;}
.mini-bar-label{display:flex;justify-content:space-between;font-size:.72rem;color:#64748b;margin-bottom:.2rem;}
.mini-bar{height:7px;background:#e2e8f0;border-radius:99px;overflow:hidden;}
.mini-bar-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,#2563eb,#6366f1);}

/* genealogy tree */
.tree-wrap{display:flex;flex-direction:column;align-items:center;gap:.75rem;}
.tree-node{display:flex;align-items:center;gap:.4rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;padding:.4rem .7rem;font-size:.75rem;font-weight:600;color:#1d4ed8;white-space:nowrap;}
.tree-node.root{background:#1d4ed8;color:#fff;border-color:#1d4ed8;font-size:.8rem;}
.tree-node.green{background:#dcfce7;color:#15803d;border-color:#bbf7d0;}
.tree-row{display:flex;gap:.75rem;justify-content:center;}
.tree-connector{width:2px;height:16px;background:#bfdbfe;margin:0 auto;}

/* wallet */
.wallet-balance{background:linear-gradient(135deg,#1d4ed8,#6366f1);border-radius:10px;padding:1rem;color:#fff;text-align:center;margin-bottom:.85rem;}
.wallet-balance .w-label{font-size:.72rem;color:#93c5fd;margin-bottom:.2rem;}
.wallet-balance .w-amount{font-size:1.5rem;font-weight:900;}
.wallet-txn{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;border-bottom:1px solid #f1f5f9;font-size:.78rem;}
.wallet-txn:last-child{border-bottom:none;}
.wallet-txn .txn-type{color:#475569;}
.wallet-txn .txn-amt{font-weight:700;}
.wallet-txn .txn-amt.cr{color:#16a34a;}
.wallet-txn .txn-amt.dr{color:#dc2626;}
.wallet-status{font-size:.68rem;border-radius:20px;padding:.15rem .5rem;font-weight:600;}
.ws-paid{background:#dcfce7;color:#15803d;}
.ws-pend{background:#fef9c3;color:#92400e;}

/* admin kpi */
.admin-kpi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.6rem;}
.admin-kpi{background:#f8fafc;border-radius:10px;padding:.75rem;display:flex;align-items:center;gap:.65rem;}
.admin-kpi-icon{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:.9rem;flex-shrink:0;}
.admin-kpi .ak-val{font-size:1rem;font-weight:800;color:#1e3a5f;}
.admin-kpi .ak-lbl{font-size:.68rem;color:#64748b;}
.admin-kpi .ak-trend{font-size:.65rem;font-weight:600;margin-top:.1rem;}
.ak-up{color:#16a34a;} .ak-dn{color:#dc2626;}

/* ─── Plans demo pills ─────────────────────── */
.plans-demo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:2.5rem;}
.plan-demo-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.5rem 1.25rem;text-align:center;transition:all .25s;cursor:default;}
.plan-demo-card:hover{border-color:#2563eb;box-shadow:0 6px 24px rgba(37,99,235,.1);transform:translateY(-3px);}
.plan-demo-card.hot{border-color:#2563eb;box-shadow:0 4px 20px rgba(37,99,235,.12);position:relative;}
.plan-hot-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);background:#2563eb;color:#fff;font-size:.68rem;font-weight:700;padding:.2rem .8rem;border-radius:20px;white-space:nowrap;text-transform:uppercase;}
.plan-demo-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;margin:0 auto .85rem;}
.plan-demo-card h3{font-size:.9375rem;font-weight:700;color:#1e3a5f;margin-bottom:.4rem;}
.plan-demo-card p{font-size:.8125rem;color:#64748b;line-height:1.6;}
.plan-demo-link{display:inline-flex;align-items:center;gap:.3rem;color:#2563eb;font-size:.8125rem;font-weight:600;margin-top:.75rem;text-decoration:none;}
.plan-demo-link:hover{text-decoration:underline;}

/* ─── Testimonials ─────────────────────────── */
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2.5rem;}
.review-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:1.75rem;transition:box-shadow .2s;}
.review-card:hover{box-shadow:0 8px 28px rgba(0,0,0,.09);}
.review-stars{color:#f59e0b;font-size:1rem;letter-spacing:1px;margin-bottom:.75rem;}
.review-quote{font-size:.9rem;color:#475569;line-height:1.75;font-style:italic;margin-bottom:1.25rem;}
.review-author{display:flex;align-items:center;gap:.85rem;}
.review-avatar{width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:700;color:#fff;flex-shrink:0;}
.review-name{font-size:.9rem;font-weight:700;color:#1e3a5f;}
.review-role{font-size:.78rem;color:#64748b;}

/* ─── FAQ ──────────────────────────────────── */
.faq-list{margin-top:2.5rem;display:flex;flex-direction:column;gap:.75rem;}
.faq-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;}
.faq-q{width:100%;text-align:left;background:none;border:none;padding:1.25rem 1.5rem;font-size:.9375rem;font-weight:600;color:#1e3a5f;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;font-family:inherit;}
.faq-q:hover{background:#f8fafc;}
.faq-q i{color:#2563eb;transition:transform .3s;flex-shrink:0;}
.faq-a{padding:0 1.5rem;max-height:0;overflow:hidden;transition:max-height .35s ease,padding .3s;font-size:.9375rem;color:#475569;line-height:1.75;}
.faq-item.open .faq-a{max-height:500px;padding-bottom:1.25rem;}
.faq-item.open .faq-q i{transform:rotate(180deg);}

/* ─── Why trust us ─────────────────────────── */
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin-top:2.5rem;}
.trust-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:1.5rem 1.25rem;text-align:center;transition:all .2s;}
.trust-card:hover{border-color:#2563eb;box-shadow:0 4px 20px rgba(37,99,235,.08);}
.trust-icon{width:52px;height:52px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin:0 auto 1rem;}
.trust-card h3{font-size:.9375rem;font-weight:700;color:#1e3a5f;margin-bottom:.4rem;}
.trust-card p{font-size:.8125rem;color:#64748b;line-height:1.6;}

/* ─── CTA strip ────────────────────────────── */
.cta-strip{background:linear-gradient(135deg,#1e3a5f,#1d4ed8);padding:5rem 0;text-align:center;}
.cta-strip h2{font-size:clamp(1.6rem,3vw,2.25rem);font-weight:900;color:#fff;margin-bottom:.85rem;font-family:'Plus Jakarta Sans',sans-serif;}
.cta-strip p{color:#cbd5e1;font-size:1.0625rem;max-width:560px;margin:0 auto 2rem;}
.cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:1.75rem;}
.cta-trust-pills{display:flex;flex-wrap:wrap;justify-content:center;gap:1.5rem;}
.cta-trust-pills span{font-size:.8125rem;color:#94a3b8;display:flex;align-items:center;gap:.35rem;}
.cta-trust-pills span i{color:#22c55e;}

/* ─── Internal links ───────────────────────── */
.intlinks-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2rem;}
.ilink{display:flex;align-items:center;gap:.6rem;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:.85rem 1rem;color:#1e3a5f;font-size:.875rem;font-weight:600;text-decoration:none;transition:all .2s;}
.ilink:hover{border-color:#2563eb;color:#2563eb;background:#eff6ff;}
.ilink i{color:#2563eb;font-size:.875rem;}

/* ─── Prose ────────────────────────────────── */
.prose h3{font-size:1.125rem;font-weight:700;color:#1e3a5f;margin:1.5rem 0 .55rem;}
.prose p{font-size:.9375rem;color:#475569;line-height:1.75;margin-bottom:.9rem;}
.prose strong{color:#1e3a5f;}
.prose ul{padding-left:1.4rem;margin-bottom:.9rem;}
.prose ul li{font-size:.9375rem;color:#475569;line-height:1.7;margin-bottom:.3rem;}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:start;}

/* ─── Responsive ───────────────────────────── */
@media(max-width:1024px){
  .demo-modules-grid{grid-template-columns:repeat(2,1fr);}
  .plans-demo-grid{grid-template-columns:repeat(2,1fr);}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .reviews-grid{grid-template-columns:repeat(2,1fr);}
  .intlinks-grid{grid-template-columns:repeat(2,1fr);}
  .mockup-grid{grid-template-columns:1fr;}
}
@media(max-width:768px){
  .hero-inner{grid-template-columns:1fr;}
  .hero{padding:4.5rem 0 3rem;}
  .two-col{grid-template-columns:1fr;gap:2rem;}
  .demo-modules-grid{grid-template-columns:1fr;}
  .plans-demo-grid{grid-template-columns:1fr;}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .reviews-grid{grid-template-columns:1fr;}
  .stats-strip-inner{grid-template-columns:repeat(2,1fr);}
  .intlinks-grid{grid-template-columns:repeat(2,1fr);}
  .form-row-2{grid-template-columns:1fr;}
}
@media(max-width:480px){
  .trust-grid{grid-template-columns:1fr;}
  .stats-strip-inner{grid-template-columns:1fr;}
  .intlinks-grid{grid-template-columns:1fr;}
}
