/* ============================================================
   KODLY CRM PAGE — Stylesheet
   Extends: css/style.css (must be loaded first)
   All styles extracted from kodly-crm-elementor file.
   Zero inline styles in HTML.
============================================================ */

/* ── CRM CSS Variables ── */
:root {
  --k-primary:    #2A2B77;
  --k-primary-dk: #1e1f5c;
  --k-primary-lt: #3d3fa0;
  --k-accent:     #4f51c8;
  --k-accent2:    #7c7ee8;
  --k-bg:         #ffffff;
  --k-bg-soft:    #f5f6ff;
  --k-bg-card:    #ffffff;
  --k-border:     #e0e0f5;
  --k-text:       #1a1a2e;
  --k-muted:      #6b6b8a;
  --k-green:      #10B981;
  --k-amber:      #F59E0B;
  --k-purple:     #7C3AED;
  --k-r:          14px;
  --k-r-lg:       22px;
}

/* ── Base Scope ── */
.kodly-wrap * { box-sizing: border-box; }
.kodly-wrap { font-family: 'DM Sans', sans-serif; color: var(--k-text); background: var(--k-bg); line-height: 1.6; }
.kodly-wrap h1, .kodly-wrap h2, .kodly-wrap h3, .kodly-wrap h4 { font-family: 'DM Sans', sans-serif; }
.kodly-wrap a { text-decoration: none; }
.kodly-wrap p { margin: 0; }

/* ── Layout ── */
.k-section      { padding: 90px 0; background: var(--k-bg); }
.k-section-soft { padding: 90px 0; background: var(--k-bg-soft); }
.k-container    { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.k-divider      { height: 1px; background: linear-gradient(90deg, transparent, var(--k-border), transparent); }

/* ── Tag / Badge ── */
.k-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(42,43,119,0.08);
  border: 1px solid rgba(42,43,119,0.2);
  color: var(--k-primary);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 40px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.k-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--k-primary);
  display: inline-block;
}

/* ── Section Headings ── */
.k-section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: var(--k-text);
}
.k-section-sub {
  font-size: 17px;
  color: var(--k-muted);
  font-weight: 400;
  max-width: 560px;
  line-height: 1.75;
  margin: 0;
}
.k-highlight {
  background: linear-gradient(135deg, var(--k-primary), var(--k-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.k-center { text-align: center; }
.k-center .k-section-sub { margin: 0 auto; }
.k-center-mb { margin-bottom: 56px; }
.k-center-mb-48 { margin-bottom: 48px; }
.k-center-mb-52 { margin-bottom: 52px; }

/* ── Buttons ── */
.k-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.k-btn-primary {
  background: var(--k-primary);
  color: #fff;
  box-shadow: 0 6px 24px rgba(42,43,119,0.25);
}
.k-btn-primary:hover {
  background: var(--k-primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(42,43,119,0.35);
  color: #fff;
}
.k-btn-outline {
  background: transparent;
  color: var(--k-primary);
  border: 2px solid var(--k-primary);
}
.k-btn-outline:hover {
  background: var(--k-primary);
  color: #fff;
  transform: translateY(-2px);
}
.k-btn-white {
  background: #fff;
  color: var(--k-primary);
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.k-btn-white:hover {
  background: #f0f1ff;
  transform: translateY(-2px);
  color: var(--k-primary);
}
.k-btn-ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.k-btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  color: #fff;
}
.k-btn-lg    { padding: 16px 36px; font-size: 16px; }
.k-btn-block { width: 100%; justify-content: center; }

/* ── HERO ── */
.k-hero {
  padding: 100px 0 80px;
  background: linear-gradient(160deg, #f0f1ff 0%, #ffffff 60%);
  position: relative;
  overflow: hidden;
}
.k-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,43,119,0.06), transparent 70%);
  pointer-events: none;
}
.k-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.k-hero h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  color: var(--k-text);
}
.k-hero-sub {
  font-size: 18px;
  color: var(--k-muted);
  line-height: 1.75;
  margin-bottom: 34px;
  max-width: 480px;
}
.k-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

/* Hero stats grid */
.k-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.k-stat-card {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r);
  padding: 20px 22px;
  box-shadow: 0 2px 16px rgba(42,43,119,0.06);
}
.k-stat-num { font-size: 28px; font-weight: 800; color: var(--k-primary); line-height: 1; }
.k-stat-lbl { font-size: 12px; color: var(--k-muted); margin-top: 4px; }

/* Trust items */
.k-trust { display: flex; gap: 20px; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.k-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--k-muted);
  font-weight: 500;
}
.k-trust-item::before { content: '✓'; color: var(--k-green); font-weight: 700; font-size: 13px; }

/* Hero dashboard visual */
.k-hero-visual { position: relative; }
.k-dash-panel {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  padding: 22px;
  box-shadow: 0 8px 40px rgba(42,43,119,0.1);
}
.k-dash-topbar { display: flex; gap: 7px; margin-bottom: 18px; }
.k-dash-dot    { width: 10px; height: 10px; border-radius: 50%; }
.k-d1 { background: #FF5F57; }
.k-d2 { background: #FFBD2E; }
.k-d3 { background: #28CA40; }

.k-dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.k-kpi {
  background: var(--k-bg-soft);
  border: 1px solid var(--k-border);
  border-radius: 10px;
  padding: 12px;
}
.k-kpi-val { font-size: 18px; font-weight: 800; color: var(--k-primary); }
.k-kpi-lbl { font-size: 10px; color: var(--k-muted); margin-top: 2px; }
.k-kpi-up  { font-size: 10px; color: var(--k-green); }

.k-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 65px;
  margin-bottom: 14px;
}
.k-cb {
  border-radius: 4px 4px 0 0;
  flex: 1;
  background: linear-gradient(180deg, var(--k-primary), rgba(42,43,119,0.2));
}

/* Bar heights — utility classes replace inline styles */
.k-h-30 { height: 30%; }
.k-h-45 { height: 45%; }
.k-h-58 { height: 58%; }
.k-h-50 { height: 50%; }
.k-h-72 { height: 72%; }
.k-h-88 { height: 88%; }
.k-h-100 { height: 100%; }
.k-h-25 { height: 25%; }
.k-h-38 { height: 38%; }
.k-h-44 { height: 44%; }
.k-h-49 { height: 49%; }
.k-h-56 { height: 56%; }
.k-h-63 { height: 63%; }
.k-h-71 { height: 71%; }
.k-h-75 { height: 75%; }
.k-h-86 { height: 86%; }

.k-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.k-pipe {
  background: var(--k-bg-soft);
  border: 1px solid var(--k-border);
  border-radius: 8px;
  padding: 8px;
  font-size: 10px;
}
.k-pipe-lbl { color: var(--k-muted); margin-bottom: 3px; }
.k-pipe-num { font-size: 14px; font-weight: 800; color: var(--k-text); }
.k-pipe-num--green { color: var(--k-green); }

/* Floating notification cards */
.k-float { position: relative; }
.k-float-card {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r);
  padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(42,43,119,0.12);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.k-float-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--k-primary), var(--k-accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.k-float-avatar--green  { background: linear-gradient(135deg, var(--k-green), #047857); }
.k-float-label { font-size: 10px; color: var(--k-muted); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 2px; }
.k-float-title { font-size: 12px; font-weight: 600; color: var(--k-text); }
.k-float-sub   { font-size: 11px; color: var(--k-muted); }
.k-notif-dot   { width: 8px; height: 8px; border-radius: 50%; background: var(--k-green); margin-left: auto; }

/* ── FEATURES GRID ── */
.k-feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.k-feat-card {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  padding: 22px;
  transition: all 0.3s;
  cursor: default;
}
.k-feat-card:hover {
  border-color: rgba(42,43,119,0.3);
  box-shadow: 0 12px 36px rgba(42,43,119,0.1);
  transform: translateY(-4px);
}
.k-feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(42,43,119,0.08);
  border: 1px solid rgba(42,43,119,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.k-feat-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 7px; color: var(--k-text); }
.k-feat-card p  { font-size: 12px; color: var(--k-muted); line-height: 1.65; }
.k-feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
  color: var(--k-primary);
  background: rgba(42,43,119,0.07);
  border: 1px solid rgba(42,43,119,0.15);
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ── AI AUTOMATION ── */
.k-ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.k-ai-sub { margin-bottom: 36px; }
.k-flow   { display: flex; flex-direction: column; gap: 0; }
.k-flow-item { display: flex; gap: 14px; position: relative; }
.k-flow-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 42px;
  width: 1px;
  height: calc(100% - 6px);
  background: linear-gradient(180deg, rgba(42,43,119,0.3), transparent);
}
.k-flow-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: rgba(42,43,119,0.08);
  border: 1px solid rgba(42,43,119,0.18);
}
.k-flow-body { padding-bottom: 28px; }
.k-flow-body--last { padding-bottom: 0; }
.k-flow-body h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--k-text); }
.k-flow-body p  { font-size: 13px; color: var(--k-muted); line-height: 1.65; }

/* Workflow panel */
.k-workflow-panel {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  padding: 22px;
  box-shadow: 0 6px 32px rgba(42,43,119,0.08);
}
.k-workflow-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--k-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
}
.k-wf-nodes     { display: flex; flex-direction: column; gap: 0; }
.k-wf-connector { width: 1px; height: 14px; background: linear-gradient(180deg, rgba(42,43,119,0.35), rgba(42,43,119,0.05)); margin: 0 auto; }
.k-wf-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--k-bg-soft);
  border: 1px solid var(--k-border);
  border-radius: 10px;
  padding: 10px 12px;
}
.k-wf-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; background: rgba(42,43,119,0.08); }
.k-wf-text { font-size: 12px; font-weight: 600; color: var(--k-text); }
.k-wf-sub  { font-size: 10px; color: var(--k-muted); }
.k-wf-badge { margin-left: auto; font-size: 9px; font-weight: 800; padding: 2px 7px; border-radius: 10px; text-transform: uppercase; white-space: nowrap; }
.k-badge-live { background: rgba(16,185,129,0.1); color: var(--k-green); border: 1px solid rgba(16,185,129,0.2); }
.k-badge-ai   { background: rgba(42,43,119,0.08); color: var(--k-primary); border: 1px solid rgba(42,43,119,0.2); }
.k-badge-auto { background: rgba(124,58,237,0.08); color: var(--k-purple); border: 1px solid rgba(124,58,237,0.2); }

/* ── INDUSTRIES ── */
.k-ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.k-ind-card {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.k-ind-card:hover { border-color: rgba(42,43,119,0.3); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(42,43,119,0.1); }
.k-ind-img { height: 100px; display: flex; align-items: center; justify-content: center; font-size: 42px; background: var(--k-bg-soft); }
.k-ind-body { padding: 18px; }
.k-ind-body h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--k-text); }
.k-ind-body p  { font-size: 12px; color: var(--k-muted); }
.k-ind-outs    { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.k-ind-out { font-size: 11px; color: var(--k-muted); display: flex; align-items: center; gap: 6px; }
.k-ind-out::before { content: '✓'; color: var(--k-green); font-weight: 700; font-size: 10px; }

/* ── COMPARISON TABLE ── */
.k-comp-wrap {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(42,43,119,0.07);
}
.k-comp-table { width: 100%; border-collapse: collapse; }
.k-comp-table th {
  padding: 18px 22px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  background: var(--k-bg-soft);
  border-bottom: 1px solid var(--k-border);
  color: var(--k-text);
}
.k-comp-table th:first-child { width: 40%; }
.k-comp-table th.k-col-kodly { color: var(--k-primary); text-align: center; }
.k-comp-table th.k-col-trad  { color: var(--k-muted);    text-align: center; }
.k-comp-table td { padding: 13px 22px; font-size: 13px; border-bottom: 1px solid rgba(42,43,119,0.06); color: var(--k-text); }
.k-comp-table td.k-col-kodly { text-align: center; background: rgba(42,43,119,0.03); }
.k-comp-table td.k-col-trad  { text-align: center; color: var(--k-muted); }
.k-comp-table tr:hover td    { background: var(--k-bg-soft); }
.k-comp-table tr:hover td.k-col-kodly { background: rgba(42,43,119,0.05); }
.k-check { color: var(--k-green); font-size: 16px; font-weight: 700; }
.k-cross { color: #d1d1e0; font-size: 16px; }
.k-kodly-badge { display: inline-block; background: var(--k-primary); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 20px; margin-left: 6px; }

/* ── RESULTS ── */
.k-results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.k-result-card {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(42,43,119,0.05);
}
.k-result-num { font-size: 34px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.k-result-num--gradient { background: linear-gradient(135deg, var(--k-primary), var(--k-accent2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.k-result-num--green  { color: var(--k-green); }
.k-result-num--amber  { color: var(--k-amber); }
.k-result-num--purple { color: var(--k-purple); }
.k-result-num--primary{ color: var(--k-primary); }
.k-result-lbl { font-size: 12px; color: var(--k-muted); }

.k-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.k-chart-panel {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  padding: 22px;
}
.k-chart-title { font-size: 13px; font-weight: 700; color: var(--k-text); margin-bottom: 4px; }
.k-chart-val   { font-size: 26px; font-weight: 800; color: var(--k-primary); margin-bottom: 14px; }
.k-chart-val--green { color: var(--k-green); }
.k-chart-bars2 { display: flex; align-items: flex-end; gap: 7px; height: 75px; }
.k-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.k-bar     { border-radius: 4px 4px 0 0; width: 100%; }
.k-bar-lbl { font-size: 9px; color: var(--k-muted); }

/* Bar color variants */
.k-bar--blue-30  { background: linear-gradient(180deg, rgba(42,43,119,0.5),  rgba(42,43,119,0.1));  }
.k-bar--blue-44  { background: linear-gradient(180deg, rgba(42,43,119,0.55), rgba(42,43,119,0.1));  }
.k-bar--blue-56  { background: linear-gradient(180deg, rgba(42,43,119,0.6),  rgba(42,43,119,0.1));  }
.k-bar--blue-49  { background: linear-gradient(180deg, rgba(42,43,119,0.6),  rgba(42,43,119,0.1));  }
.k-bar--blue-71  { background: linear-gradient(180deg, rgba(42,43,119,0.7),  rgba(42,43,119,0.1));  }
.k-bar--blue-86  { background: linear-gradient(180deg, rgba(42,43,119,0.8),  rgba(42,43,119,0.15)); }
.k-bar--blue-100 { background: linear-gradient(180deg, var(--k-primary),     rgba(42,43,119,0.2));  }
.k-bar--grn-25   { background: linear-gradient(180deg, rgba(16,185,129,0.5),  rgba(16,185,129,0.1)); }
.k-bar--grn-38   { background: linear-gradient(180deg, rgba(16,185,129,0.55), rgba(16,185,129,0.1)); }
.k-bar--grn-50   { background: linear-gradient(180deg, rgba(16,185,129,0.6),  rgba(16,185,129,0.1)); }
.k-bar--grn-63   { background: linear-gradient(180deg, rgba(16,185,129,0.65), rgba(16,185,129,0.1)); }
.k-bar--grn-75   { background: linear-gradient(180deg, rgba(16,185,129,0.7),  rgba(16,185,129,0.1)); }
.k-bar--grn-88   { background: linear-gradient(180deg, rgba(16,185,129,0.8),  rgba(16,185,129,0.15));}
.k-bar--grn-100  { background: linear-gradient(180deg, var(--k-green),        rgba(16,185,129,0.2)); }

/* ── TESTIMONIALS ── */
.k-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.k-testi-card {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  padding: 26px;
  transition: all 0.3s;
}
.k-testi-card:hover { border-color: rgba(42,43,119,0.25); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(42,43,119,0.08); }
.k-testi-stars { color: var(--k-amber); font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.k-testi-quote { font-size: 13px; color: var(--k-muted); line-height: 1.75; font-style: italic; margin-bottom: 18px; }
.k-testi-author { display: flex; align-items: center; gap: 10px; }
.k-testi-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.k-testi-av--blue   { background: linear-gradient(135deg, var(--k-primary), var(--k-accent2)); }
.k-testi-av--amber  { background: linear-gradient(135deg, var(--k-amber), #B45309); }
.k-testi-av--green  { background: linear-gradient(135deg, var(--k-green), #047857); }
.k-testi-av--purple { background: linear-gradient(135deg, var(--k-purple), #6D28D9); }
.k-testi-av--pink   { background: linear-gradient(135deg, #F472B6, #BE185D); }
.k-testi-av--primary{ background: linear-gradient(135deg, var(--k-primary), var(--k-accent)); }
.k-testi-name { font-size: 13px; font-weight: 700; color: var(--k-text); }
.k-testi-role { font-size: 11px; color: var(--k-muted); }

/* ── PRICING ── */
.k-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.k-price-card {
  background: #fff;
  border: 1px solid var(--k-border);
  border-radius: var(--k-r-lg);
  padding: 34px 28px;
  position: relative;
  transition: all 0.3s;
}
.k-price-card.k-featured {
  border-color: var(--k-primary);
  box-shadow: 0 0 0 1px var(--k-primary), 0 16px 48px rgba(42,43,119,0.14);
}
.k-price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--k-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.k-price-name { font-size: 12px; color: var(--k-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.k-price-val  { font-size: 46px; font-weight: 800; line-height: 1; margin-bottom: 4px; color: var(--k-text); }
.k-price-val span { font-size: 18px; font-weight: 400; color: var(--k-muted); vertical-align: top; margin-top: 8px; display: inline-block; }
.k-price-per  { font-size: 12px; color: var(--k-muted); margin-bottom: 22px; }
.k-price-divider { height: 1px; background: var(--k-border); margin-bottom: 20px; }
.k-price-feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.k-pf-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--k-text); }
.k-pf-check { color: var(--k-green); font-size: 13px; flex-shrink: 0; font-weight: 700; }
.k-featured .k-price-name { color: var(--k-primary); }
.k-featured .k-price-val  { color: var(--k-primary); }

/* ── CTA SECTION ── */
.k-cta-section {
  padding: 110px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--k-primary) 0%, var(--k-accent) 100%);
  position: relative;
  overflow: hidden;
}
.k-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,255,255,0.08), transparent);
  pointer-events: none;
}
.k-cta-inner    { position: relative; z-index: 2; }
.k-cta-title-wrap { max-width: 680px; margin: 0 auto 16px; }
.k-cta-section .k-section-title  { color: #fff; }
.k-cta-section .k-section-sub    { color: rgba(255,255,255,0.72); margin: 0 auto 36px; }
.k-cta-section .k-tag {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
  margin: 0 auto 18px;
  display: inline-flex;
}
.k-cta-section .k-tag-dot { background: #fff; }
.k-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.k-cta-trust { display: flex; gap: 20px; align-items: center; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.k-cta-trust-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; }
.k-cta-trust-item::before { content: '✓'; color: rgba(255,255,255,0.9); font-weight: 700; }

/* ── Scroll animation ── */
.k-anim-ready { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.k-anim-ready.k-visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .k-feat-grid    { grid-template-columns: repeat(3, 1fr); }
  .k-results-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .k-container  { padding: 0 20px; }
  .k-section, .k-section-soft { padding: 60px 0; }
  .k-hero       { padding: 70px 0 60px; }
  .k-hero-grid, .k-ai-grid { grid-template-columns: 1fr; gap: 36px; }
  .k-hero-visual { display: none; }
  .k-feat-grid  { grid-template-columns: repeat(2, 1fr); }
  .k-ind-grid   { grid-template-columns: 1fr; }
  .k-testi-grid { grid-template-columns: 1fr; }
  .k-pricing-grid { grid-template-columns: 1fr; }
  .k-results-grid { grid-template-columns: repeat(2, 1fr); }
  .k-charts-row   { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .k-feat-grid    { grid-template-columns: 1fr; }
  .k-results-grid { grid-template-columns: 1fr 1fr; }
}


/* ============================================================
   KODLY INDUSTRY CRM PAGES
   Shared by: dental-crm.html, roofing-crm.html, hvac-crm.html
   Pattern extracted from kodly-crm-elementor__1_.html
   Zero inline styles.
============================================================ */

/* ── Variables ── */
.kcrm {
  --teal:       #2A2B77;
  --teal-light: #DFE0EB;
  --teal-mid:   #4A4B8B;
  --teal-dark:  #1F205E;
  --ink:        #2C2C2A;
  --muted:      #5F5E5A;
  --ghost:      #F4F3EF;
  --border:     rgba(0,0,0,0.09);
  --white:      #ffffff;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 15px;
}
.kcrm *, .kcrm *::before, .kcrm *::after { box-sizing: border-box; }
.kcrm h1, .kcrm h2, .kcrm h3, .kcrm h4 { font-family: 'DM Sans', sans-serif; font-weight: 500; line-height: 1.15; margin: 0; }
.kcrm p { margin: 0; }
.kcrm a { text-decoration: none; }

/* ── Pulse dot animation ── */
@keyframes kcrm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}
.kcrm .pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-mid);
  display: inline-block;
  animation: kcrm-pulse 2s infinite;
}
.kcrm .pulse-dot--sm { width: 6px; height: 6px; }

/* ── HERO ── */
.kcrm .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0 60px;
}
.kcrm .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.kcrm .hero h1 {
  font-size: 52px;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  color: var(--ink);
}
.kcrm .hero h1 em { font-style: italic; color: var(--teal-mid); }
.kcrm .hero-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 34px;
  font-weight: 300;
}
.kcrm .hero-btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.kcrm .btn-primary {
  background: var(--teal);
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
  display: inline-block;
  text-decoration: none;
}
.kcrm .btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); color: #fff; }

.kcrm .btn-ghost {
  color: var(--teal);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

/* Hero stats */
.kcrm .hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
  flex-wrap: wrap;
}
.kcrm .stat-item__num {
  font-size: 34px;
  font-weight: 500;
  color: var(--teal-dark);
  line-height: 1;
}
.kcrm .stat-item__lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: .7px;
}

/* ── Dashboard card ── */
.kcrm .dash-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 56px rgba(42,43,119,0.09);
}
.kcrm .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.kcrm .card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}
.kcrm .card-title i { font-size: 14px; color: var(--teal-mid); }
.kcrm .live-badge {
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Appointment list */
.kcrm .appt-list { display: flex; flex-direction: column; gap: 9px; }
.kcrm .appt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--ghost);
  border-radius: 12px;
}
.kcrm .appt-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
}
.kcrm .appt-info { flex: 1; min-width: 0; }
.kcrm .appt-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.kcrm .appt-type { font-size: 12px; color: var(--muted); }
.kcrm .appt-time { font-size: 12px; color: var(--teal); font-weight: 500; white-space: nowrap; }

/* Metrics row */
.kcrm .metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}
.kcrm .metric-mini {
  background: var(--ghost);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.kcrm .metric-mini__val {
  font-size: 22px;
  font-weight: 500;
  color: var(--teal-dark);
}
.kcrm .metric-mini__key {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── Section shared ── */
.kcrm .sec { padding: 80px 0; }
.kcrm .sec--no-top { padding-top: 0; }
.kcrm .sec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--teal-mid);
  font-weight: 500;
  margin-bottom: 12px;
}
.kcrm .sec-title {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -.8px;
  margin-bottom: 14px;
  color: var(--ink);
}
.kcrm .sec-sub {
  font-size: 17px;
  color: var(--muted);
  font-weight: 300;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 52px;
}
.kcrm .sec-title--mb-40 { margin-bottom: 40px; }

/* ── Features grid ── */
.kcrm .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.kcrm .feat-card {
  background: var(--ghost);
  border-radius: 20px;
  padding: 30px 26px;
  transition: transform .2s;
}
.kcrm .feat-card:hover { transform: translateY(-4px); }
.kcrm .feat-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 21px;
}
.kcrm .feat-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 9px; letter-spacing: -.3px; }
.kcrm .feat-card p  { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── How it works ── */
.kcrm .hiw {
  background: var(--teal-dark);
  padding: 80px 48px;
  border-radius: 24px;
  margin: 0 0 80px;
}
.kcrm .hiw .sec-label { color: #5DCAA5; }
.kcrm .hiw .sec-title { color: #fff; margin-bottom: 52px; }
.kcrm .steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.kcrm .step-num {
  font-size: 48px;
  font-weight: 500;
  color: rgba(255,255,255,.18);
  line-height: 1;
  margin-bottom: 14px;
}
.kcrm .step-item h4 { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.kcrm .step-item p  { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.65; font-weight: 300; }

/* ── Integrations ── */
.kcrm .integration-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.kcrm .pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 40px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.kcrm .pill i { font-size: 18px; color: var(--teal-mid); }

/* ── Testimonials ── */
.kcrm .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.kcrm .testi-card {
  background: var(--ghost);
  border-radius: 20px;
  padding: 28px;
}
.kcrm .testi-stars { color: #EF9F27; font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.kcrm .testi-text  { font-size: 15px; color: var(--ink); line-height: 1.7; margin-bottom: 20px; font-style: italic; font-weight: 300; }
.kcrm .testi-author { display: flex; align-items: center; gap: 10px; }
.kcrm .testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  flex-shrink: 0;
}
.kcrm .testi-name { font-size: 13px; font-weight: 500; }
.kcrm .testi-role { font-size: 12px; color: var(--muted); }

/* ── CTA Banner ── */
.kcrm .cta-banner {
  background: var(--teal);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  margin: 0 0 80px;
}
.kcrm .cta-banner h2 {
  font-size: 44px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.1;
}
.kcrm .cta-banner h2 em { font-style: italic; color: #9FE1CB; }
.kcrm .cta-banner p { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 32px; font-weight: 300; }
.kcrm .cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.kcrm .btn-white {
  background: #fff;
  color: var(--teal-dark);
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}
.kcrm .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.15); color: var(--teal-dark); }
.kcrm .btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 14px 30px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  border: 1.5px solid rgba(255,255,255,.45);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  display: inline-block;
  transition: all .2s;
}
.kcrm .btn-outline-white:hover { border-color: #fff; color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .kcrm .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 40px; }
  .kcrm .hero h1 { font-size: 36px; }
  .kcrm .features-grid, .kcrm .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .kcrm .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .kcrm .features-grid, .kcrm .testimonial-grid, .kcrm .steps-grid { grid-template-columns: 1fr; }
  .kcrm .sec-title { font-size: 30px; }
  .kcrm .cta-banner h2 { font-size: 30px; }
  .kcrm .hiw { padding: 48px 24px; }
  .kcrm .hero-stats { flex-wrap: wrap; gap: 24px; }
}
