/* ── CRM HERO ── */
.crm-hero {
  background: linear-gradient(160deg, #fff8f5 0%, #fff 45%, #f0f4ff 100%);
  padding: 72px 0 0;
  overflow: hidden;
}

.crm-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 0;
}

.crm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-2);
  margin-bottom: 20px;
}

.crm-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}

.crm-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

.crm-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.crm-social-proof {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem; color: var(--text-2);
}

.avatar-stack { display: flex; }
.av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  margin-left: -8px;
}
.av:first-child { margin-left: 0; }
.av:last-child { background: #e8e8f0; color: var(--text-3); }

/* CRM mockup */
.crm-hero-visual { align-self: flex-end; }

.crm-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 40px rgba(0,0,0,.12);
  overflow: hidden;
}

.pipeline-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 16px;
  gap: 10px;
  background: #f8f8fc;
  min-height: 280px;
}

.pipeline-col { display: flex; flex-direction: column; gap: 8px; }

.col-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase; letter-spacing: .05em;
  padding: 0 4px 8px;
  border-bottom: 2px solid var(--border);
}
.col-header.won { border-color: #10b981; color: #065f46; }
.col-count {
  background: var(--border);
  color: var(--text-3);
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
}

.deal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  position: relative;
  transition: box-shadow .15s;
}
.deal-card:hover { box-shadow: var(--shadow-sm); }
.deal-card.hot { border-left: 3px solid var(--brand); }
.deal-card.won-card { border-left: 3px solid #10b981; background: #f0fdf4; }

.deal-name { font-size: 0.78rem; font-weight: 600; margin-bottom: 4px; }
.deal-meta { display: flex; gap: 6px; font-size: 0.68rem; color: var(--text-3); }
.deal-meta span:first-child { font-weight: 600; color: var(--text-2); }

.deal-owner {
  position: absolute; top: 8px; right: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 0.6rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--text);
  color: #fff;
  padding: 32px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.stat-item { text-align: center; }
.stat-big { font-size: 2rem; font-weight: 900; color: var(--brand); margin-bottom: 4px; }
.stat-desc { font-size: 0.82rem; color: #aaa; }
.stat-divider { width: 1px; background: #ffffff15; height: 48px; margin: 0 auto; }

/* ── FEATURES ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.feature-row:last-child { border-bottom: none; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-tag {
  display: inline-block;
  background: color-mix(in srgb, var(--fc) 12%, white);
  color: var(--fc);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 16px;
}

.feature-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.feature-text p { font-size: 0.95rem; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }

.feature-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.feature-list li {
  font-size: 0.88rem;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.feature-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--brand);
  font-weight: 700;
}

/* Feature visual cards */
.fv-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.fv-header {
  font-size: 0.8rem; font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

.fv-footer {
  display: flex; justify-content: space-between;
  font-size: 0.78rem; color: var(--text-3);
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border);
}
.brand-link { color: var(--brand); font-weight: 600; cursor: pointer; }

/* Lead inbox */
.lead-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  transition: background .15s;
}
.lead-item.new { background: var(--brand-light); border-color: #ffd5b8; }
.lead-item:hover { background: var(--surface); }

.lead-source {
  width: 32px; height: 32px; border-radius: 8px;
  font-size: 0.62rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lead-source.web  { background: #dbeafe; color: #1d4ed8; }
.lead-source.wa   { background: #dcfce7; color: #16a34a; }
.lead-source.email{ background: #fef9c3; color: #a16207; }

.lead-name { font-size: 0.82rem; font-weight: 600; }
.lead-detail { font-size: 0.72rem; color: var(--text-3); }

.lead-score {
  margin-left: auto; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
}
.lead-score.high { background: #dcfce7; color: #166534; }
.lead-score.med  { background: #fef9c3; color: #854d0e; }
.lead-score.low  { background: #fee2e2; color: #991b1b; }

/* Pipeline mini */
.pipeline-mini { display: flex; flex-direction: column; gap: 10px; }
.pm-stage { display: flex; align-items: center; gap: 10px; }
.pm-label { font-size: 0.72rem; color: var(--text-3); width: 84px; flex-shrink: 0; }
.pm-bar {
  height: 26px; border-radius: 6px;
  display: flex; align-items: center;
  padding: 0 10px;
  font-size: 0.72rem; font-weight: 700; color: #fff;
  transition: width .5s ease;
}
.won-bar { background: #10b981 !important; }

/* Workflow */
.workflow { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.wf-step {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  width: 100%;
}
.wf-step.trigger { background: #fff8f5; border-color: #ffd5b8; }
.wf-step.action  { background: #f0f4ff; border-color: #c7d2fe; }
.wf-step.cond    { background: #fdf4ff; border-color: #e9d5ff; }

.wf-icon { font-size: 1.2rem; flex-shrink: 0; }
.wf-step strong { display: block; font-size: 0.82rem; font-weight: 600; }
.wf-step small  { font-size: 0.72rem; color: var(--text-3); }

.wf-arrow {
  font-size: 0.72rem; color: var(--text-3);
  padding: 4px 0 4px 18px;
  font-weight: 500;
}

/* Reports */
.report-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 14px;
}
.report-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}
.rs-num { font-size: 1.1rem; font-weight: 800; }
.rs-label { font-size: 0.68rem; color: var(--text-3); margin-top: 2px; }
.rs-change { font-size: 0.72rem; font-weight: 600; margin-top: 4px; }
.rs-change.up   { color: #16a34a; }
.rs-change.down { color: #16a34a; }

.report-bar-chart {
  display: flex; align-items: flex-end; gap: 6px; height: 60px;
  background: var(--surface); border-radius: 8px; padding: 8px;
  border: 1px solid var(--border);
}
.rb {
  flex: 1; background: #e0e0f0; border-radius: 4px 4px 0 0;
  position: relative; display: flex; justify-content: center;
}
.rb.active { background: var(--brand); }
.rb span {
  position: absolute; bottom: -18px;
  font-size: 0.65rem; color: var(--text-3);
}

/* ── MINI FEATURES ── */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mini-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  transition: box-shadow .2s, transform .2s;
}
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mini-icon { font-size: 1.6rem; margin-bottom: 12px; }
.mini-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 8px; }
.mini-card p  { font-size: 0.82rem; color: var(--text-2); line-height: 1.6; }

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: box-shadow .2s;
}
.testi-card:hover { box-shadow: var(--shadow); }

.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 14px; }
.testi-card p { font-size: 0.88rem; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; font-style: italic; }

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.85rem; }
.testi-author small  { font-size: 0.75rem; color: var(--text-3); }

/* ── FAQ ── */
.faq-list {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  background: none; border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  text-align: left; gap: 16px;
}
.faq-q svg {
  width: 18px; height: 18px;
  stroke: var(--text-3); stroke-width: 2; fill: none;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform .2s;
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }

.faq-a {
  font-size: 0.9rem; color: var(--text-2); line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .crm-hero-inner { grid-template-columns: 1fr; }
  .crm-hero-visual { display: none; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; direction: ltr !important; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stat-divider { display: none; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .pipeline-board { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .mini-grid { grid-template-columns: 1fr 1fr; }
  .report-grid { grid-template-columns: 1fr 1fr; }
}
