/* ============================================================
   MargBooks — Software Pages Shared CSS
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; color: #2d2d2d; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- HERO ---- */
.sp-hero {
  background: linear-gradient(118deg, #eff6ff 0%, #f0f7ff 55%, #dbeafe 100%);
  padding: 36px 20px 52px;
}
.sp-hero-inner { max-width: 1250px; margin: 0 auto; }
.sp-breadcrumb {
  font-size: 12.5px; color: #888; margin-bottom: 22px;
}
.sp-breadcrumb a { color: #1a73e8; font-weight: 600; }
.sp-breadcrumb a:hover { text-decoration: underline; }
.sp-breadcrumb span { color: #555; }

.sp-hero-grid {
  display: grid; grid-template-columns: 55% 45%; gap: 32px; align-items: center;
}
.sp-hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #c5d9f8; border-radius: 22px;
  padding: 6px 16px; font-size: 12.5px; font-weight: 700; color: #1a73e8;
  margin-bottom: 16px; box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.sp-hero-h1 {
  font-size: 38px; font-weight: 800; line-height: 1.22; color: #1a1a1a; margin-bottom: 14px;
}
.sp-green { color: #1a73e8; }
.sp-hero-desc { font-size: 15px; color: #555; margin-bottom: 20px; max-width: 500px; line-height: 1.75; }
.sp-hero-checks { margin-bottom: 24px; }
.sp-hero-checks li {
  font-size: 14px; color: #444; padding: 6px 0; border-bottom: 1px solid #e8f0fe;
  display: flex; align-items: flex-start; gap: 8px;
}
.sp-hero-checks li:last-child { border-bottom: none; }
.sp-hero-btns { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sp-btn-red {
  padding: 13px 30px; background: #e8192c; color: #fff; border: none; border-radius: 7px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: background .18s, transform .15s;
}
.sp-btn-red:hover { background: #c0141f; transform: translateY(-1px); }
.sp-btn-outline {
  padding: 13px 30px; background: #fff; color: #1a73e8; border: 2px solid #1a73e8; border-radius: 7px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: all .18s; display: inline-flex; align-items: center;
}
.sp-btn-outline:hover { background: #1a73e8; color: #fff; }
.sp-trust-row {
  display: flex; align-items: center; gap: 12px; font-size: 13px; color: #666; flex-wrap: wrap;
}
.sp-trust-row span:nth-child(even) { color: #ccc; }

/* Hero mock card */
.sp-mock-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,115,232,0.16);
}
.sp-mock-bar {
  background: #1a73e8; padding: 10px 16px;
  display: flex; align-items: center; gap: 6px;
}
.sp-mock-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.sp-mock-dot.r { background: #e8192c; }
.sp-mock-dot.y { background: #f5a623; }
.sp-mock-dot.g { background: #27ae60; }
.sp-mock-title { font-size: 11px; font-weight: 700; color: #fff; margin-left: 6px; }
.sp-mock-body { padding: 16px; }
.sp-mock-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
.sp-kpi { background: #f8faff; border-radius: 8px; padding: 10px; text-align: center; }
.sp-kpi-val { font-size: 16px; font-weight: 800; color: #1a73e8; }
.sp-kpi-lab { font-size: 10px; color: #999; margin-top: 2px; }
.sp-mock-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 13px; color: #555;
}
.sp-mock-row:last-child { border-bottom: none; }
.sp-mock-total { font-weight: 700; color: #1a1a1a; font-size: 14px; }
.sp-val-green { color: #1a73e8; font-weight: 700; }
.sp-val-badge {
  background: #e8f0fe; color: #1a73e8; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
}

/* ---- SECTIONS ---- */
.sp-section { padding: 56px 20px; }
.sp-bg { background: #f8faff; }
.sp-container { max-width: 1250px; margin: 0 auto; }
.sp-sec-head { text-align: center; margin-bottom: 36px; }
.sp-sec-label { font-size: 12.5px; font-weight: 700; color: #1a73e8; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.sp-sec-title { font-size: 28px; font-weight: 800; color: #1a1a1a; line-height: 1.3; margin-bottom: 10px; }
.sp-sec-sub { font-size: 14.5px; color: #666; max-width: 580px; margin: 0 auto; line-height: 1.7; }

/* Features grid */
.sp-feat-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
}
.sp-feat-card {
  background: #fff; border: 1.5px solid #ebebeb; border-radius: 14px;
  padding: 24px 18px; text-align: center; transition: all .22s; cursor: default;
}
.sp-feat-card:hover { border-color: #1a73e8; box-shadow: 0 6px 24px rgba(26,115,232,.1); transform: translateY(-3px); }
.sp-feat-icon {
  width: 56px; height: 56px; background: #e8f0fe; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 14px;
}
.sp-feat-card h3 { font-size: 14px; font-weight: 700; color: #1a1a1a; margin-bottom: 7px; }
.sp-feat-card p { font-size: 12.5px; color: #666; line-height: 1.6; }

/* Why choose */
.sp-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.sp-why-list { margin: 18px 0 26px; }
.sp-why-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #444; padding: 9px 0; border-bottom: 1px solid #f0f0f0;
}
.sp-why-list li:last-child { border-bottom: none; }
.sp-why-tick { color: #1a73e8; font-weight: 800; font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.sp-stat-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.sp-stat-item {
  background: #fff; border: 1.5px solid #e8f0fe; border-radius: 14px;
  padding: 24px 18px; text-align: center; box-shadow: 0 2px 12px rgba(26,115,232,.08);
}
.sp-stat-num { font-size: 32px; font-weight: 900; color: #1a73e8; }
.sp-stat-lab { font-size: 13px; color: #777; margin-top: 4px; }

/* Pricing strip */
.sp-pricing-strip {
  background: linear-gradient(135deg, #1a73e8 0%, #1558b0 100%);
  padding: 44px 20px;
}
.sp-btn-white {
  padding: 13px 32px; background: #fff; color: #1a73e8; border: none; border-radius: 7px;
  font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'Poppins', sans-serif;
  transition: all .18s;
}
.sp-btn-white:hover { background: #e8f0fe; }
.sp-btn-outline-white {
  padding: 13px 32px; background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); border-radius: 7px;
  font-size: 15px; font-weight: 700; font-family: 'Poppins', sans-serif;
  transition: all .18s; display: inline-block;
}
.sp-btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* Testimonials */
.sp-testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.sp-testi-card {
  background: #fff; border: 1.5px solid #ebebeb; border-radius: 14px;
  padding: 24px; transition: box-shadow .2s;
}
.sp-testi-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.09); }
.sp-stars { color: #f5a623; font-size: 14px; margin-bottom: 10px; }
.sp-testi-card p { font-size: 13.5px; color: #555; line-height: 1.75; margin-bottom: 16px; font-style: italic; }
.sp-testi-author { display: flex; align-items: center; gap: 10px; }
.sp-testi-av {
  width: 42px; height: 42px; border-radius: 50%; background: #e8f0fe;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #1a73e8; flex-shrink: 0;
}
.sp-testi-author strong { font-size: 14px; color: #1a1a1a; display: block; }
.sp-testi-author small { font-size: 12px; color: #999; }

/* CTA */
.sp-cta { background: #f8faff; padding: 54px 20px; text-align: center; }
.sp-cta h2 { font-size: 28px; font-weight: 800; color: #1a1a1a; margin-bottom: 8px; }
.sp-cta p { font-size: 15px; color: #666; margin-bottom: 24px; }

/* Footer */
.sp-footer { background:#1558b0; padding: 44px 20px 0; }
.sp-footer-inner {
  max-width: 1250px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 32px;
}
.sp-footer-logo { font-size: 24px; font-weight: 900; color: #fff; }
.sp-footer-head { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.15); }
.sp-footer-inner a { display: block; font-size: 13px; color: rgba(255,255,255,.65); padding: 4px 0; transition: color .15s; }
.sp-footer-inner a:hover { color: #1a73e8; }
.sp-footer-bottom {
  max-width: 1250px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0;
  font-size: 12px; color: rgba(255,255,255,.45); text-align: center;
}
.sp-footer-bottom a { color: rgba(255,255,255,.45); transition: color .15s; }
.sp-footer-bottom a:hover { color: #1a73e8; }

/* Modal */
.modal-bg {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 2000; align-items: center; justify-content: center;
}
.modal-bg.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 14px; padding: 28px 26px;
  max-width: 440px; width: 95%; position: relative;
  animation: mIn .25s ease;
}
@keyframes mIn { from { opacity:0; transform:scale(.93) } to { opacity:1; transform:scale(1) } }
.modal-x {
  position: absolute; top: 12px; right: 12px; width: 28px; height: 28px;
  background: #f0f0f0; border: none; border-radius: 50%; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.modal-x:hover { background: #e0e0e0; }
.modal-top-bar {
  background: #1a73e8; color: #fff; border-radius: 8px;
  padding: 10px 14px; font-size: 13.5px; font-weight: 700; text-align: center; margin-bottom: 14px;
}
.minput:focus { border-color: #1a73e8; }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 22px; left: 18px; width: 52px; height: 52px;
  background: #25d366; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 26px; cursor: pointer; z-index: 999;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); text-decoration: none;
  animation: waPulse 2.5s infinite; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes waPulse { 0%,100%{box-shadow:0 4px 16px rgba(37,211,102,.4)} 50%{box-shadow:0 4px 28px rgba(37,211,102,.7)} }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .sp-feat-grid { grid-template-columns: repeat(2,1fr); }
  .sp-why-grid { grid-template-columns: 1fr; }
  .sp-hero-grid { grid-template-columns: 1fr; }
  .sp-hero-right { display: none; }
  .sp-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sp-hero-h1 { font-size: 28px; }
  .sp-testi-grid { grid-template-columns: 1fr; }
  .sp-stat-box { grid-template-columns: 1fr 1fr; }
  .sp-footer-inner { grid-template-columns: 1fr; }
  .sp-sec-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .sp-hero-h1 { font-size: 24px; }
  .sp-feat-grid { grid-template-columns: 1fr 1fr; }
}
