/* ========================================
   SalesProMax — Shared Styles
   Brand Colors from Logo:
   Navy:    #0a2e5c  (deep blue from S)
   Blue:    #1a6bbf  (medium blue from P)
   Teal:    #178a6a  (green-teal from M arrow)
   Green:   #1aaa6a  (bright green bars)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --navy: #0a2e5c;
  --blue: #1a6bbf;
  --teal: #178a6a;
  --green: #1aaa6a;
  --cyan: #16b8ff;
  --ink: #0d1f36;
  --muted: #5b6e85;
  --line: #dce6f2;
  --sky: #f0f7ff;
  --white: #fff;
  --bg: #f7faff;
  --shadow: 0 22px 60px rgba(10, 46, 92, 0.12);
  --radius: 22px;
  --gradient-primary: linear-gradient(135deg, #0a2e5c, #1a6bbf);
  --gradient-accent: linear-gradient(135deg, #1a6bbf, #178a6a);
  --gradient-text: linear-gradient(90deg, #0a2e5c, #1a6bbf, #178a6a);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, 92%); margin: auto; }

/* ========================================
   SHARED NAVIGATION
   ======================================== */
.spm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #e2ecf7;
  transition: box-shadow 0.3s;
}
.spm-nav.scrolled {
  box-shadow: 0 6px 24px rgba(10, 46, 92, 0.08);
}
.spm-nav-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.spm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.spm-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.spm-navlinks {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.spm-navlinks a {
  color: #2d4560;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.2s;
  white-space: nowrap;
}
.spm-navlinks a:hover,
.spm-navlinks a.active {
  color: var(--blue);
  background: #edf4ff;
}

/* Solutions dropdown */
.spm-solutions-wrap {
  position: relative;
}
.spm-solutions-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #2d4560;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}
.spm-solutions-trigger:hover {
  color: var(--blue);
  background: #edf4ff;
}
.spm-solutions-trigger .chev {
  font-size: 10px;
  transition: transform 0.25s;
}
.spm-solutions-wrap.open .chev {
  transform: rotate(180deg);
}
.spm-mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(860px, calc(100vw - 40px));
  background: #fff;
  border: 1px solid #e0eaf5;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 24px 65px rgba(10, 46, 92, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 90;
}
.spm-solutions-wrap.open .spm-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.spm-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 0;
}
.spm-mega-col {
  padding: 0 22px;
  border-right: 1px solid #e8eff8;
}
.spm-mega-col:first-child { padding-left: 0; }
.spm-mega-col:last-child { border-right: 0; padding-right: 0; }
.spm-mega-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 14px;
}
.spm-mega-item {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.15s;
}
.spm-mega-item:hover {
  color: var(--blue);
  background: #f0f6ff;
  padding-left: 14px;
}

/* Nav Actions */
.spm-nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* Buttons */
.spm-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.spm-btn:hover {
  transform: translateY(-2px);
}
.spm-btn-outline {
  background: #fff;
  border: 1.5px solid #bfcfdf;
  color: var(--navy);
}
.spm-btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 6px 18px rgba(26, 107, 191, 0.12);
}
.spm-btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(26, 107, 191, 0.25);
}
.spm-btn-primary:hover {
  box-shadow: 0 14px 40px rgba(26, 107, 191, 0.35);
}
.spm-btn-dark {
  background: var(--gradient-primary);
  color: #fff;
}
.spm-btn-white {
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.spm-btn-white:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Mobile Toggle */
.spm-mobile-toggle {
  display: none;
  border: 0;
  background: #edf4ff;
  color: var(--navy);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

/* Mobile Menu Overlay */
.spm-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 46, 92, 0.6);
  z-index: 200;
  backdrop-filter: blur(4px);
}
.spm-mobile-menu.open { display: flex; }
.spm-mobile-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(360px, 85vw);
  background: #fff;
  padding: 24px;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(10, 46, 92, 0.2);
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.spm-mobile-panel .spm-mobile-close {
  float: right;
  background: #edf4ff;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  color: var(--navy);
}
.spm-mobile-panel .spm-mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 50px;
}
.spm-mobile-panel .spm-mobile-nav-links a {
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  border-radius: 12px;
  transition: 0.15s;
}
.spm-mobile-panel .spm-mobile-nav-links a:hover {
  background: #edf4ff;
  color: var(--blue);
}
.spm-mobile-panel .spm-mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* ========================================
   SHARED FOOTER
   ======================================== */
.spm-footer {
  background: linear-gradient(180deg, #061e3d, #031226);
  color: #a8bed8;
  padding: 60px 0 60px;
}
.spm-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}
.spm-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.spm-footer-brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.spm-footer-brand span {
  font-weight: 900;
  font-size: 20px;
  color: #fff;
}
.spm-footer p {
  font-size: 14px;
  max-width: 340px;
  line-height: 1.65;
  color: #8ea4be;
}
.spm-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.spm-footer-links a {
  display: block;
  font-size: 13.5px;
  padding: 5px 0;
  color: #8ea4be;
  transition: color 0.2s, padding-left 0.2s;
}
.spm-footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}
.spm-footer-social {
  display: flex;
  gap: 12px;
}
.spm-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #8ea4be;
  transition: all 0.2s;
  font-size: 14px;
}
.spm-footer-social a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   SHARED MODAL
   ======================================== */
.spm-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 20, 46, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.spm-modal.show { display: flex; }
.spm-modal-card {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  width: min(520px, 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.spm-modal-card h3 {
  font-size: 26px;
  margin-bottom: 6px;
  color: var(--navy);
}
.spm-modal-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}
.spm-modal-close {
  float: right;
  border: 0;
  background: #edf4ff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 16px;
  color: var(--navy);
  transition: 0.2s;
}
.spm-modal-close:hover {
  background: var(--blue);
  color: #fff;
}
.spm-form { display: grid; gap: 12px; }
.spm-form input,
.spm-form select,
.spm-form textarea {
  width: 100%;
  border: 1.5px solid #d5dfeb;
  border-radius: 12px;
  padding: 13px 14px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.spm-form input:focus,
.spm-form select:focus,
.spm-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 107, 191, 0.12);
}

/* ========================================
   SHARED SECTION STYLES
   ======================================== */
.spm-section { padding: 90px 0; }
.spm-section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.spm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #eaf3ff, #e0f5f0);
  border: 1px solid #c8ddf5;
  color: var(--blue);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.spm-section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 16px 0;
  color: var(--navy);
}
.spm-section-head p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}
.spm-gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========================================
   CTA BANNER
   ======================================== */
.spm-cta-banner {
  padding: 76px 0;
  background: var(--gradient-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.spm-cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(23, 138, 106, 0.15);
  right: -150px;
  top: -150px;
  pointer-events: none;
}
.spm-cta-box {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.spm-cta-box h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}
.spm-cta-box p {
  color: #b8d6f0;
  margin-top: 8px;
  max-width: 600px;
  font-size: 16px;
}

/* ========================================
   GLOBAL PREMIUM HOVER EFFECTS (ALL PAGES)
   ======================================== */

/* Cards & Containers Hover Lifting */
.module,
.module-list > div,
.feature,
.feature-card,
.why-card,
.pillar,
.pp-card,
.pp-res,
.module-card,
.platform-card,
.solution-card,
.benefit-card,
.use-case-card,
.flow-step,
.stage-card,
.lead-card,
.action-card,
.testimonial-card,
.stat-card,
.hero-card,
.pricing-card,
.card,
article.card,
article.s .card,
.mini-point,
.mini-points > div {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease !important;
  will-change: transform, box-shadow;
  cursor: pointer;
}

.module:hover,
.module-list > div:hover,
.feature:hover,
.feature-card:hover,
.why-card:hover,
.pillar:hover,
.pp-card:hover,
.pp-res:hover,
.module-card:hover,
.platform-card:hover,
.solution-card:hover,
.benefit-card:hover,
.use-case-card:hover,
.flow-step:hover,
.stage-card:hover,
.testimonial-card:hover,
.pricing-card:hover,
.card:hover,
article.card:hover,
article.s .card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 24px 50px rgba(10, 46, 92, 0.14), 0 4px 14px rgba(10, 46, 92, 0.05) !important;
  border-color: rgba(26, 107, 191, 0.42) !important;
}

/* Solution Hero Mini-Points Hover */
.mini-point:hover,
.mini-points > div:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 36px rgba(10, 46, 92, 0.12) !important;
  border-color: rgba(26, 107, 191, 0.45) !important;
  background: #ffffff !important;
}

/* Image Showcase Hover */
.image-showcase {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.image-showcase:hover {
  transform: translateY(-6px) scale(1.015);
}
.image-showcase img {
  transition: filter 0.4s ease, box-shadow 0.4s ease !important;
}
.image-showcase:hover img {
  filter: drop-shadow(0 20px 40px rgba(10, 46, 92, 0.16));
}

/* Pipeline Stage Hover */
.pipeline .stage {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}
.pipeline .stage:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(26, 107, 191, 0.25);
  background: var(--blue) !important;
  color: #fff !important;
}

/* Interactive Tags Hover */
.tag,
.tagrow .tag,
.tags .tag {
  transition: all 0.2s ease !important;
  cursor: pointer;
}
.tag:hover,
.tagrow .tag:hover,
.tags .tag:hover {
  background: #dbe9ff !important;
  color: var(--navy) !important;
  transform: translateY(-2px);
}

/* Card Icons micro-animation on hover */
.module-icon,
.pp-ic,
.feature-icon,
.platform-icon,
.solution-icon,
.flow-icon,
.why-ic {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease !important;
}

.module:hover .module-icon,
.module-list > div:hover .module-icon {
  transform: scale(1.15) translateY(-2px);
  background: var(--blue) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(26, 107, 191, 0.32);
}

.feature:hover .num,
.why-card:hover .why-ic {
  transform: scale(1.12) translateY(-2px);
}

.pp-card:hover .pp-ic,
.feature-card:hover .feature-icon,
.module-card:hover .module-icon,
.platform-card:hover .platform-icon,
.solution-card:hover .solution-icon,
.card:hover .flow-icon {
  transform: scale(1.12) translateY(-2px);
}

/* Specific PPP card color accent glows on hover */
.pp-card.b:hover {
  border-color: rgba(26, 107, 191, 0.45) !important;
  box-shadow: 0 24px 50px rgba(26, 107, 191, 0.18) !important;
}
.pp-card.g:hover {
  border-color: rgba(18, 163, 119, 0.45) !important;
  box-shadow: 0 24px 50px rgba(18, 163, 119, 0.18) !important;
}
.pp-card.v:hover {
  border-color: rgba(109, 63, 214, 0.45) !important;
  box-shadow: 0 24px 50px rgba(109, 63, 214, 0.18) !important;
}

/* Smaller stats & KPI boxes hover */
.pp-kpi,
.pp-box,
.stat-box,
.metric-box,
.pp-stat {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
}

.pp-kpi:hover,
.pp-box:hover,
.stat-box:hover,
.metric-box:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(10, 46, 92, 0.1) !important;
  border-color: #b8d4f7 !important;
}

/* Interactive Learn More / Links */
.pp-more,
.learn-more,
.card-link,
a.more-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s ease, color 0.25s ease !important;
}

.pp-card:hover .pp-more,
.feature-card:hover .learn-more,
.card:hover .card-link {
  gap: 10px;
  transform: translateX(3px);
}

/* Global Button Hover & Active States */
.spm-btn,
.btn {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              color 0.25s ease,
              border-color 0.25s ease !important;
}

.spm-btn:hover,
.btn:hover {
  transform: translateY(-2.5px);
}

.spm-btn:active,
.btn:active {
  transform: translateY(0);
}

.spm-btn-primary:hover,
.btn.primary:hover {
  box-shadow: 0 12px 30px rgba(23, 105, 255, 0.38) !important;
  filter: brightness(1.05);
}

.spm-btn-outline:hover,
.btn.outline:hover {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  background: #edf5ff !important;
  box-shadow: 0 8px 22px rgba(10, 46, 92, 0.08) !important;
}

/* PPP Framework Orbit Interactive Glow */
.pp-c {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}

.pp-c:hover {
  transform: scale(1.06) translateY(-2px) !important;
  box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .5), 0 28px 60px rgba(30, 60, 140, .35) !important;
}

/* Mega menu item smooth hover */
.spm-mega-item {
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease !important;
  border-radius: 8px;
  padding: 6px 10px;
}

.spm-mega-item:hover {
  background: #edf4ff !important;
  color: var(--blue) !important;
  transform: translateX(4px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
  .spm-navlinks { display: none; }
  .spm-mobile-toggle { display: block; }
  .spm-nav-actions .spm-btn-outline { display: none; }
  .spm-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .spm-cta-box { flex-direction: column; align-items: flex-start; }
  .spm-mega-menu { display: none !important; }
}
@media (max-width: 620px) {
  .spm-nav-inner { height: 64px; }
  .spm-logo img { height: 40px; }
  .spm-section { padding: 64px 0; }
  .spm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .spm-cta-box h2 { font-size: 28px; }
}
