:root {
      /* Modern SaaS Palette */
      --brand-primary: #4f46e5;    /* Indigo */
      --brand-dark: #3730a3;
      --brand-light: #e0e7ff;
      --accent: #0ea5e9;           /* Sky Blue */
      --surface-bg: #f8fafc;
      --surface-card: #ffffff;
      --text-main: #0f172a;        /* Slate 900 */
      --text-muted: #64748b;       /* Slate 500 */
      --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
      --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
      --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
      --radius-md: 0.75rem;
      --radius-lg: 1rem;
      --radius-xl: 1.5rem;
    }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--text-main);
      background-color: var(--surface-bg);
      line-height: 1.6;
    }

    h1, h2, h3, h4, h5, h6 {
      letter-spacing: -0.025em;
      font-weight: 700;
    }

    a { text-decoration: none; }

    /* Button Overrides */
    .btn-primary {
      background-color: var(--brand-primary);
      border-color: var(--brand-primary);
      padding: 0.6rem 1.4rem;
      font-weight: 600;
      border-radius: 0.5rem;
      transition: all 0.2s ease;
    }
    .btn-primary:hover {
      background-color: var(--brand-dark);
      border-color: var(--brand-dark);
      transform: translateY(-1px);
    }
    .btn-outline-primary {
      color: var(--brand-primary);
      border-color: var(--brand-primary);
      padding: 0.6rem 1.4rem;
      font-weight: 600;
      border-radius: 0.5rem;
    }
    .btn-outline-primary:hover {
      background-color: var(--brand-light);
      color: var(--brand-primary);
      border-color: var(--brand-primary);
    }

    /* Navbar */
    .navbar {
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow-sm);
    }
    .nav-link {
      font-weight: 500;
      color: var(--text-muted);
    }
    .nav-link:hover, .nav-link.active {
      color: var(--brand-primary);
    }

    /* Hero Section */
    .hero {
      position: relative;
      background: radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
                  radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 40%);
      overflow: hidden;
      padding-top: 5rem;
      padding-bottom: 5rem;
    }
    
    /* CSS MOCKUP: Dashboard */
    .css-dashboard {
      background: #fff;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-xl);
      border: 1px solid rgba(0,0,0,0.05);
      overflow: hidden;
      display: flex;
      height: 400px; /* Fixed height for visual consistency */
      position: relative;
      font-family: sans-serif;
    }
    
    /* Dashboard Sidebar */
    .db-sidebar {
      width: 60px;
      background: #f1f5f9;
      border-right: 1px solid #e2e8f0;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 1rem;
      gap: 1rem;
    }
    .db-icon { width: 32px; height: 32px; border-radius: 8px; background: #cbd5e1; }
    .db-icon.active { background: var(--brand-primary); }

    /* Dashboard Main */
    .db-main {
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    /* Dashboard Header */
    .db-header {
      height: 50px;
      border-bottom: 1px solid #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.5rem;
    }
    .db-title { width: 100px; height: 12px; background: #e2e8f0; border-radius: 4px; }
    .db-user { width: 28px; height: 28px; border-radius: 50%; background: #94a3b8; }

    /* Dashboard Kanban Board */
    .db-content {
      flex: 1;
      padding: 1.5rem;
      display: flex;
      gap: 1rem;
      background: #fafafa;
    }
    .db-col {
      flex: 1;
      background: #f1f5f9; /* Column bg */
      border-radius: 8px;
      padding: 0.75rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }
    .db-col-header {
      height: 8px;
      width: 50%;
      background: #cbd5e1;
      border-radius: 4px;
      margin-bottom: 0.5rem;
    }
    .db-card {
      background: #fff;
      padding: 0.75rem;
      border-radius: 6px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.05);
      border: 1px solid #e2e8f0;
    }
    .db-line { height: 6px; border-radius: 3px; background: #e2e8f0; margin-bottom: 6px; }
    .db-line.short { width: 60%; }
    .db-tag { width: 40px; height: 14px; border-radius: 10px; background: #dbeafe; margin-top: 8px; }

    /* Floating Stats Cards (Overlay on Hero) */
    .stat-card {
      position: absolute;
      background: white;
      padding: 1rem;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-lg);
      border: 1px solid rgba(0,0,0,0.05);
      animation: float 6s ease-in-out infinite;
      z-index: 2;
    }
    .stat-card.top-right { top: 20px; right: -20px; }
    .stat-card.bottom-left { bottom: 40px; left: -20px; animation-delay: 2s; }
    
    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0px); }
    }

    /* Cards */
    .feature-card, .benefit-card, .pricing-card {
      background: var(--surface-card);
      border: 1px solid rgba(0,0,0,0.04);
      border-radius: var(--radius-lg);
      transition: all 0.3s ease;
      height: 100%;
      padding: 2rem;
    }
    .feature-card:hover, .benefit-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(79, 70, 229, 0.1);
    }
    
    /* Integration Tiles Hover */
    .integration-tile {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .integration-tile:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg) !important;
        border-color: var(--brand-light) !important;
    }

    /* Section Spacing */
    section {
      padding: 5rem 0;
      scroll-margin-top: 80px;
    }
    .bg-soft { background-color: #f1f5f9; }

    /* Icons inside cards */
    .icon-box {
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: var(--brand-light);
      color: var(--brand-primary);
      margin-bottom: 1.5rem;
      font-size: 1.5rem;
    }

    /* Comparison Table */
    .table-modern {
      border-collapse: separate;
      border-spacing: 0;
      width: 100%;
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
    }
    .table-modern th, .table-modern td {
      border: 1px solid #e2e8f0;
      padding: 1rem;
      background: white;
    }
    .table-modern th { background: #f8fafc; font-weight: 600; }
    .table-modern .highlight-col { background: #f0f9ff; border-color: #bae6fd; }
    
    /* Interactive Pricing Box */
    .pricing-teaser {
        background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
        border: 1px solid #e2e8f0;
        border-radius: var(--radius-xl);
        padding: 3rem;
        position: relative;
        overflow: hidden;
    }
    .pricing-teaser::before {
        content: '';
        position: absolute;
        top: 0; right: 0;
        width: 200px; height: 200px;
        background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        transform: translate(30%, -30%);
    }

    /* Footer */
    footer {
      background-color: #fff;
      border-top: 1px solid #e2e8f0;
    }

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #822f2f;
    background-color: var(--bs-nav-pills-link-active-bg);
}

/* Keyword landing page */
.keyword-page {
  --lp-ink: #10233c;
  --lp-muted: #5d6b7c;
  --lp-line: #d5dde6;
  --lp-soft: #eef3f7;
  --lp-accent: #0f766e;
  --lp-accent-soft: #d9f3ee;
  --lp-highlight: #f59e0b;
}

.keyword-page .hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(180deg, #fcfdfd 0%, #f4f8fb 100%);
}

.keyword-page .display-4,
.keyword-page .display-5,
.keyword-page .display-6,
.keyword-page h1,
.keyword-page h2,
.keyword-page h3 {
  color: var(--lp-ink);
}

.keyword-page .text-muted,
.keyword-page p,
.keyword-page li {
  color: var(--lp-muted) !important;
}

.keyword-page .text-primary,
.keyword-page .nav-link:hover,
.keyword-page .nav-link.active {
  color: var(--lp-accent) !important;
}

.keyword-page .btn-primary {
  background-color: var(--lp-accent);
  border-color: var(--lp-accent);
}

.keyword-page .btn-primary:hover {
  background-color: #0b5d57;
  border-color: #0b5d57;
}

.keyword-page .btn-outline-primary {
  color: var(--lp-accent);
  border-color: rgba(15, 118, 110, 0.35);
}

.keyword-page .btn-outline-primary:hover {
  background-color: var(--lp-accent-soft);
  color: var(--lp-accent);
  border-color: var(--lp-accent);
}

.keyword-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 118, 110, 0.12);
  color: var(--lp-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.keyword-hero-copy {
  max-width: 38rem;
}

.keyword-hero-copy .lead {
  font-size: 1.08rem;
  line-height: 1.75;
}

.keyword-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(16, 35, 60, 0.12);
}

.keyword-proof strong {
  display: block;
  font-size: 1.35rem;
  color: var(--lp-ink);
}

.keyword-proof span {
  display: block;
  font-size: 0.92rem;
  color: var(--lp-muted);
}

.hero-panel {
  position: relative;
  padding: 2rem;
  border-radius: 1.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfa 100%);
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 28px 60px -42px rgba(16, 35, 60, 0.55);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto 1.5rem 1.1rem auto;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 72%);
}

.panel-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent);
}

.panel-list,
.signal-list,
.process-list,
.compare-points,
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-list li,
.signal-list li,
.compare-points li,
.faq-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(16, 35, 60, 0.08);
}

.panel-list li:last-child,
.signal-list li:last-child,
.compare-points li:last-child,
.faq-list li:last-child {
  border-bottom: 0;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.metric-strip > div {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 35, 60, 0.08);
}

.metric-strip strong {
  display: block;
  color: var(--lp-ink);
}

.section-shell {
  background: #fff;
  border: 1px solid rgba(16, 35, 60, 0.08);
  border-radius: 1.5rem;
  padding: 2rem;
}

.section-shell.soft {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.section-intro {
  max-width: 44rem;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent);
}

.feature-rows {
  display: grid;
  gap: 1rem;
}

.feature-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(16, 35, 60, 0.08);
}

.feature-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.feature-row h3 {
  margin: 0;
  font-size: 1.05rem;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
}

.signal-grid .signal-list {
  background: var(--lp-soft);
  border-radius: 1.15rem;
  padding: 0.35rem 1rem;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-list li {
  padding: 1.25rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(16, 35, 60, 0.08);
}

.process-list span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 0.9rem;
  background: var(--lp-accent-soft);
  color: var(--lp-accent);
  font-weight: 700;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.use-case-block {
  padding: 1.4rem;
  border-radius: 1.15rem;
  background: #fff;
  border: 1px solid rgba(16, 35, 60, 0.08);
}

.integration-band {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.integration-band span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: var(--lp-soft);
  color: var(--lp-ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
}

.compare-card {
  padding: 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(16, 35, 60, 0.08);
  background: #fff;
}

.compare-card.highlight {
  background: linear-gradient(180deg, #f5fbfa 0%, #ffffff 100%);
  border-color: rgba(15, 118, 110, 0.18);
}

.faq-panel {
  background: #fff;
  border: 1px solid rgba(16, 35, 60, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
}

.keyword-cta {
  background: linear-gradient(135deg, #14324b 0%, #0f766e 100%);
  border-radius: 2rem;
}

@media (max-width: 991.98px) {
  .keyword-proof,
  .metric-strip,
  .process-list,
  .compare-grid,
  .feature-row,
  .use-case-grid,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin-top: 1rem;
  }
}
