/* ================================================================
   KwikestCRM — product-sales-crm.css
   Sales Management CRM product page styles.
================================================================ */


/* ----------------------------------------------------------------
   PAGE HERO
---------------------------------------------------------------- */
.sales-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a1040 40%, #0c1628 100%);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.sales-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6,182,212,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6,182,212,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

.sales-hero-glow-1 {
  position: absolute;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(6,182,212,.22) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  animation: float-glow 7s ease-in-out infinite;
  pointer-events: none;
}

.sales-hero-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(79,70,229,.2) 0%, transparent 70%);
  bottom: -60px;
  left: 5%;
  animation: float-glow 9s ease-in-out infinite reverse;
  pointer-events: none;
}

.sales-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6,182,212,.15);
  border: 1px solid rgba(6,182,212,.35);
  color: #67e8f9;
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
  letter-spacing: .04em;
}

.sales-hero-title {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.sales-hero-subtitle {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.7);
  line-height: 1.78;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.sales-gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #818cf8 60%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero stat pills */
.sales-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 8px 18px;
  backdrop-filter: blur(8px);
}

.sales-stat-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
}

.sales-stat-label {
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  font-weight: 500;
}


/* ----------------------------------------------------------------
   HERO DASHBOARD VISUAL
---------------------------------------------------------------- */
.sales-hero-dashboard {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  backdrop-filter: blur(20px);
}

.shd-topbar {
  background: rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.shd-dot { width: 10px; height: 10px; border-radius: 50%; }
.shd-dot.r { background: #ff5f56; }
.shd-dot.y { background: #ffbd2e; }
.shd-dot.g { background: #27c93f; }

.shd-url {
  flex: 1;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  margin-left: 10px;
}

.shd-body {
  padding: 18px;
  background: linear-gradient(180deg, #0f172a 0%, #0d1b2e 100%);
}

/* Mini KPI inside hero */
.shd-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.shd-kpi {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.shd-kpi-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 3px;
}

.shd-kpi-lbl {
  font-size: .62rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Pipeline stage bar */
.pipeline-stage-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.ps-label {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  width: 70px;
  flex-shrink: 0;
  font-weight: 500;
}

.ps-track {
  flex: 1;
  height: 7px;
  background: rgba(255,255,255,.07);
  border-radius: 100px;
  overflow: hidden;
}

.ps-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1.5s ease;
}

.ps-count {
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  width: 20px;
  text-align: right;
  flex-shrink: 0;
}

/* Lead row inside hero */
.lead-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  transition: var(--transition);
}

.lead-row:hover { background: rgba(255,255,255,.08); }

.lead-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.lead-name {
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  flex: 1;
}

.lead-source {
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}

.lead-score-badge {
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

.lsb-hot  { background: rgba(239,68,68,.2); color: #fca5a5; }
.lsb-warm { background: rgba(245,158,11,.2); color: #fcd34d; }
.lsb-cold { background: rgba(59,130,246,.2); color: #93c5fd; }

.lead-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}


/* ----------------------------------------------------------------
   BREADCRUMB
---------------------------------------------------------------- */
.breadcrumb-wrap {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.breadcrumb {
  margin: 0;
  font-size: .82rem;
}

.breadcrumb-item a {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb-item.active { color: var(--text-muted); }

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   OVERVIEW NAV
---------------------------------------------------------------- */
.overview-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  position: sticky;
  top: 72px;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.overview-strip-inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.overview-strip-inner::-webkit-scrollbar { display: none; }

.overview-nav-link {
  flex-shrink: 0;
  padding: 16px 20px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.overview-nav-link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary-light);
}

.overview-nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}


/* ----------------------------------------------------------------
   MODULE SECTIONS
---------------------------------------------------------------- */
.module-section         { padding: 100px 0; }
.module-section.alt     { background: var(--surface); }
.module-section.dark    { background: var(--gradient-dark); }

.module-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  margin-right: 10px;
  flex-shrink: 0;
}

.module-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.module-heading.light { color: var(--white); }

.module-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2rem;
}

.module-desc.light { color: rgba(255,255,255,.7); }


/* ----------------------------------------------------------------
   FEATURE DETAIL CARDS
---------------------------------------------------------------- */
.feature-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.feature-detail-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-detail-card:hover::before { transform: scaleX(1); }

.fdc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.fdc-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.fdc-desc {
  font-size: .875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.fdc-points { list-style: none; padding: 0; margin: 0; }

.fdc-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .825rem;
  color: var(--text-secondary);
  padding: 4px 0;
  line-height: 1.5;
}

.fdc-points li i {
  color: var(--accent-green);
  font-size: .72rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* Dark card variant */
.feature-detail-card.dark-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.1);
}

.feature-detail-card.dark-card:hover {
  border-color: rgba(6,182,212,.4);
  background: rgba(255,255,255,.08);
}

.feature-detail-card.dark-card .fdc-title { color: var(--white); }
.feature-detail-card.dark-card .fdc-desc  { color: rgba(255,255,255,.6); }
.feature-detail-card.dark-card .fdc-points li { color: rgba(255,255,255,.6); }


/* ----------------------------------------------------------------
   MODULE 1 — ACTIVITY CONTROL CENTER DASHBOARD
---------------------------------------------------------------- */
.dashboard-mockup-full {
  background: #0f172a;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dmf-header {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dmf-title {
  font-size: .9rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.dmf-tabs {
  display: flex;
  gap: 4px;
}

.dmf-tab {
  padding: 4px 12px;
  border-radius: 6px;
  font-size: .72rem;
  font-weight: 600;
  cursor: default;
  color: rgba(255,255,255,.4);
}

.dmf-tab.active {
  background: rgba(79,70,229,.3);
  color: var(--primary-light);
}

.dmf-body { padding: 18px; }

/* KPI cards inside dashboard */
.dmf-kpi-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.dmf-kpi-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px 12px;
}

.dmf-kpi-icon {
  font-size: .85rem;
  margin-bottom: 6px;
}

.dmf-kpi-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 3px;
}

.dmf-kpi-lbl {
  font-size: .62rem;
  color: rgba(255,255,255,.4);
  line-height: 1.3;
}

.dmf-kpi-change {
  font-size: .62rem;
  font-weight: 700;
  margin-top: 4px;
}

.kpi-up   { color: #10b981; }
.kpi-down { color: #f87171; }

/* Chart row */
.dmf-chart-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.dmf-chart-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 14px;
}

.dmf-chart-label {
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Donut chart mock */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.donut-chart {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

.donut-legend { flex: 1; }

.donut-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .65rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 5px;
}

.donut-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Activity feed */
.activity-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.activity-feed-item:last-child { border-bottom: none; }

.af-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.af-text {
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
  flex: 1;
}

.af-text strong { color: white; }

.af-time {
  font-size: .62rem;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
  flex-shrink: 0;
}


/* ----------------------------------------------------------------
   MODULE 2 — LEAD LOGGING & AI
---------------------------------------------------------------- */
.lead-source-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.lead-source-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ls-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

.ls-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.ls-desc {
  font-size: .825rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* AI chatbot mockup */
.chatbot-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.chatbot-header {
  background: var(--gradient-primary);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: white;
}

.chatbot-name {
  font-size: .85rem;
  font-weight: 700;
  color: white;
}

.chatbot-status {
  font-size: .7rem;
  color: rgba(255,255,255,.75);
}

.chatbot-body { padding: 16px; }

.chat-bubble {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: flex-end;
}

.chat-bubble.bot { justify-content: flex-start; }
.chat-bubble.user { justify-content: flex-end; }

.bubble-text {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .78rem;
  line-height: 1.5;
}

.bot .bubble-text {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-primary);
}

.user .bubble-text {
  background: var(--gradient-primary);
  border-bottom-right-radius: 4px;
  color: white;
}

.bubble-time {
  font-size: .62rem;
  color: var(--text-muted);
  align-self: flex-end;
  white-space: nowrap;
  margin-bottom: 2px;
}

.chatbot-cta-strip {
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.chatbot-input-mock {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 14px;
  font-size: .75rem;
  color: var(--text-muted);
}

.chatbot-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .78rem;
  flex-shrink: 0;
}

/* Auto-log animation */
.auto-log-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-size: .78rem;
  font-weight: 600;
  color: #065f46;
  margin-top: 12px;
}

.auto-log-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}


/* ----------------------------------------------------------------
   MODULE 3 — SALES PROCESS WORKFLOW
---------------------------------------------------------------- */
.workflow-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 23px;
  top: 48px;
  height: calc(100% + 8px);
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(79,70,229,.1));
}

.ws-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.ws-content {
  padding-bottom: 32px;
  flex: 1;
}

.ws-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ws-desc {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 10px;
}

.ws-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary-xlight);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
}


/* ----------------------------------------------------------------
   MODULE 4 — LEAD ASSIGNMENT
---------------------------------------------------------------- */
.assign-toggle-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.assign-toggle-header {
  display: flex;
  border-bottom: 1px solid var(--border);
}

.assign-tab {
  flex: 1;
  padding: 14px;
  text-align: center;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
}

.assign-tab.active {
  background: var(--primary-xlight);
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.assign-body { padding: 20px; }

.assign-rule-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  transition: var(--transition);
}

.assign-rule-item:hover {
  border-color: var(--primary-light);
  background: var(--primary-xlight);
}

.ari-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

.ari-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.ari-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 100px;
  background: var(--accent-green);
  color: white;
}

/* Exec card */
.exec-assign-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.exec-assign-card:hover {
  border-color: var(--primary);
  background: var(--primary-xlight);
}

.exec-avatar-sm {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.exec-name-sm { font-size: .82rem; font-weight: 700; color: var(--text-primary); }
.exec-load { font-size: .72rem; color: var(--text-muted); }

.exec-workload-bar {
  width: 60px;
  height: 5px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 3px;
}

.exec-workload-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--gradient-primary);
}


/* ----------------------------------------------------------------
   MODULE 5 — MEETING MANAGEMENT
---------------------------------------------------------------- */
.calendar-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cal-header {
  background: var(--gradient-primary);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cal-month {
  font-size: .9rem;
  font-weight: 700;
  color: white;
}

.cal-nav {
  display: flex;
  gap: 4px;
}

.cal-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: .75rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.cal-nav-btn:hover { background: rgba(255,255,255,.3); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 12px;
}

.cal-day-name {
  text-align: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px;
  text-transform: uppercase;
}

.cal-day {
  text-align: center;
  font-size: .75rem;
  padding: 6px 4px;
  border-radius: 7px;
  cursor: default;
  transition: var(--transition);
  color: var(--text-secondary);
  position: relative;
}

.cal-day.has-event { font-weight: 700; color: var(--primary); }

.cal-day.has-event::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
}

.cal-day.today {
  background: var(--gradient-primary);
  color: white;
  font-weight: 700;
}

.cal-day.today::after { background: rgba(255,255,255,.8); }
.cal-day.other-month { opacity: .3; }

/* Meeting item card */
.meeting-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  transition: var(--transition);
  background: var(--white);
}

.meeting-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.meeting-time-block {
  text-align: center;
  min-width: 48px;
  flex-shrink: 0;
}

.mt-time {
  font-size: .78rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

.mt-date { font-size: .65rem; color: var(--text-muted); }

.meeting-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  flex-shrink: 0;
}

.meeting-info { flex: 1; }
.meeting-title { font-size: .875rem; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.meeting-client { font-size: .775rem; color: var(--text-secondary); margin-bottom: 6px; }

.meeting-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.meeting-tag {
  font-size: .65rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: var(--primary-xlight);
  color: var(--primary);
}

/* Outcome badge */
.outcome-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ob-positive  { background: #d1fae5; color: #065f46; }
.ob-followup  { background: #fef3c7; color: #92400e; }
.ob-pending   { background: #e0e7ff; color: #3730a3; }
.ob-cancelled { background: #fee2e2; color: #991b1b; }


/* ----------------------------------------------------------------
   MODULE 6 — LEAD RESULTS & PIPELINE
---------------------------------------------------------------- */
.result-card {
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}

.result-card:hover { transform: translateY(-4px); }

.result-card.won {
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #6ee7b7;
}

.result-card.lost {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  border: 1px solid #fca5a5;
}

.result-card.hold {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border: 1px solid #fcd34d;
}

.rc-icon {
  font-size: 2.5rem;
  margin-bottom: 14px;
}

.rc-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.result-card.won  .rc-title { color: #065f46; }
.result-card.lost .rc-title { color: #991b1b; }
.result-card.hold .rc-title { color: #92400e; }

.rc-count {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 4px;
}

.result-card.won  .rc-count { color: #10b981; }
.result-card.lost .rc-count { color: #ef4444; }
.result-card.hold .rc-count { color: #f59e0b; }

.rc-pct {
  font-size: .8rem;
  font-weight: 600;
}

.result-card.won  .rc-pct { color: #059669; }
.result-card.lost .rc-pct { color: #dc2626; }
.result-card.hold .rc-pct { color: #d97706; }

/* Pipeline visual */
.pipeline-funnel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.pf-stage {
  margin-bottom: 10px;
  position: relative;
}

.pf-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.pf-stage-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pf-stage-meta {
  font-size: .75rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

.pf-bar-track {
  height: 10px;
  background: var(--surface);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.pf-bar-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1.5s ease;
}

.pf-total-strip {
  display: flex;
  justify-content: space-between;
  padding: 14px 0 0;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}

.pf-total-item { text-align: center; }
.pf-total-val { font-size: 1rem; font-weight: 800; color: var(--text-primary); font-family: var(--font-display); }
.pf-total-lbl { font-size: .68rem; color: var(--text-muted); }


/* ----------------------------------------------------------------
   MODULE 7 — EXECUTIVE PERFORMANCE
---------------------------------------------------------------- */
.exec-perf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  transition: var(--transition);
}

.exec-perf-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.ep-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.ep-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.ep-name { font-size: .9rem; font-weight: 700; color: var(--text-primary); margin-bottom: 2px; }
.ep-role { font-size: .75rem; color: var(--text-muted); }

.ep-rank {
  margin-left: auto;
  font-size: .8rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-display);
}

.ep-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.ep-metric {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 8px 4px;
}

.ep-metric-val {
  font-size: .9rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.ep-metric-lbl {
  font-size: .62rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.ep-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.ep-progress-track {
  height: 6px;
  background: var(--surface);
  border-radius: 100px;
  overflow: hidden;
}

.ep-progress-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--gradient-primary);
  transition: width 1.5s ease;
}

.ep-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 10px;
}

.epb-gold   { background: #fef3c7; color: #92400e; }
.epb-silver { background: #f1f5f9; color: #475569; }
.epb-bronze { background: #ffedd5; color: #9a3412; }


/* ----------------------------------------------------------------
   COMMON FEATURES MODULE
---------------------------------------------------------------- */
.common-feat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  height: 100%;
  transition: var(--transition);
}

.common-feat-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.cfc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.cfc-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.cfc-desc  { font-size: .875rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }

.cfc-points { list-style: none; padding: 0; margin: 0 0 14px; }

.cfc-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .825rem;
  color: var(--text-secondary);
  padding: 4px 0;
}

.cfc-points li i { color: var(--accent-green); font-size: .72rem; margin-top: 4px; flex-shrink: 0; }

.cfc-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.cfc-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Payroll table mock */
.payroll-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.payroll-header {
  background: var(--gradient-primary);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.payroll-title {
  font-size: .85rem;
  font-weight: 700;
  color: white;
}

.payroll-month {
  font-size: .75rem;
  color: rgba(255,255,255,.75);
}

.payroll-body { padding: 8px; }

.payroll-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 8px;
  align-items: center;
  margin-bottom: 3px;
}

.payroll-row.header-row { background: var(--surface); }
.payroll-row:not(.header-row):hover { background: var(--primary-xlight); }

.pr-cell {
  font-size: .75rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-cell.col-head {
  font-weight: 700;
  color: var(--text-muted);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pr-cell.amount { font-weight: 700; color: var(--primary); }

.payroll-footer {
  background: var(--surface);
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pf-label { font-size: .78rem; font-weight: 700; color: var(--text-primary); }
.pf-total { font-size: 1rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }


/* ----------------------------------------------------------------
   INLINE CTA BANNER
---------------------------------------------------------------- */
.inline-cta-banner {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.inline-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
    radial-gradient(circle at 90% 50%, rgba(255,255,255,.06) 0%, transparent 50%);
  pointer-events: none;
}

.icb-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: white;
  margin-bottom: 6px;
  font-family: var(--font-display);
}

.icb-subtitle { font-size: .9rem; color: rgba(255,255,255,.75); }
.icb-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* Industries pill */
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.industry-pill:hover {
  background: var(--primary-xlight);
  border-color: var(--primary-light);
  color: var(--primary);
}

.industry-pill i { color: var(--primary); }

/* Testimonial */
.product-testimonial {
  background: var(--surface);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 28px 32px;
}

.pt-text {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.pt-author { display: flex; align-items: center; gap: 12px; }

.pt-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  color: white;
  flex-shrink: 0;
}

.pt-name { font-size: .9rem; font-weight: 700; color: var(--text-primary); }
.pt-role { font-size: .78rem; color: var(--text-muted); }


/* ----------------------------------------------------------------
   RESPONSIVE
---------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .sales-hero     { padding: 130px 0 72px; }
  .module-section { padding: 72px 0; }
  .dmf-kpi-row    { grid-template-columns: repeat(3, 1fr); }
  .dmf-chart-row  { grid-template-columns: 1fr; }
  .inline-cta-banner { padding: 32px 24px; }

  .payroll-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .payroll-row > .pr-cell:nth-child(4),
  .payroll-row > .pr-cell:nth-child(5) { display: none; }
}

@media (max-width: 767.98px) {
  .sales-hero     { padding: 110px 0 60px; }
  .module-section { padding: 56px 0; }
  .overview-strip { top: 60px; }
  .dmf-kpi-row    { grid-template-columns: repeat(2, 1fr); }
  .inline-cta-banner { padding: 24px 20px; text-align: center; justify-content: center; }
  .icb-actions    { justify-content: center; width: 100%; }
  .ep-metrics     { grid-template-columns: repeat(3, 1fr); }
}