/* ============================================
   OpFlow -- Main Stylesheet
   Swiss Clean | Inter | Dual Accent
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0F2A4A;
  --indigo: #4F46E5;
  --indigo-light: #6366F1;
  --indigo-subtle: #EEF2FF;
  --orange: #EA580C;
  --orange-subtle: #FFF7ED;
  --grey: #6B7280;
  --grey-light: #9CA3AF;
  --border: #E5E7EB;
  --surface: #F3F4F6;
  --bg: #FAFAFA;
  --white: #FFFFFF;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1120px;
  --section-gap: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-light); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: 48px; letter-spacing: -0.03em; }
h2 { font-size: 32px; letter-spacing: -0.02em; }
h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 18px; font-weight: 600; }

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.subtext {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}

/* --- Badges --- */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 3px;
}

.badge-indigo {
  background: var(--indigo-subtle);
  color: var(--indigo);
}

.badge-orange {
  background: var(--orange-subtle);
  color: var(--orange);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1.4;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}
.btn-orange:hover {
  background: #C2410C;
  color: var(--white);
}

.btn-indigo {
  background: var(--indigo);
  color: var(--white);
}
.btn-indigo:hover {
  background: #4338CA;
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--indigo);
  padding: 10px 12px;
}
.btn-ghost:hover {
  background: var(--indigo-subtle);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  transition: background 0.15s;
}

.card:hover {
  background: var(--surface);
}

/* --- Section backgrounds --- */
.bg-surface { background: var(--surface); }
.bg-white { background: var(--bg); }
.bg-orange-subtle { background: var(--orange-subtle); }

/* --- Icons --- */
.icon-container {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-container svg {
  width: 24px;
  height: 24px;
}

.icon-container-indigo {
  background: var(--indigo-subtle);
}

.icon-container-indigo svg {
  stroke: var(--indigo);
}

.icon-container-orange {
  background: var(--orange-subtle);
}

.icon-container-orange svg {
  stroke: var(--orange);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-logo .op { color: var(--navy); }
.nav-logo .flow { color: var(--indigo); }

.nav-logo-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-right: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--indigo);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: var(--section-gap) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  margin-bottom: 20px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 18px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-cta-sub {
  font-size: 14px;
  color: var(--cool-grey);
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero-visual .card {
  padding: 0;
  overflow: hidden;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.before-after-col {
  padding: 28px 24px;
}

.before-after-col:first-child {
  border-right: 1px solid var(--border);
}

.before-after-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.before-after-label.before { color: var(--grey); }
.before-after-label.after { color: var(--indigo); }

.before-after-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  padding: 6px 0;
  color: var(--navy);
}

.before-after-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.before-after-item.manual svg { stroke: var(--grey-light); }
.before-after-item.automated svg { stroke: var(--indigo); }

/* ============================================
   PROBLEM STATEMENT
   ============================================ */
.problems {
  padding: var(--section-gap) 0;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem-card p {
  font-size: 15px;
  line-height: 1.5;
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.calculator {
  padding: var(--section-gap) 0;
  text-align: center;
}

.calculator .calc-layout {
  text-align: left;
}

.calc-layout {
  max-width: 640px;
  margin: 0 auto;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.calc-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--orange);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--orange);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--orange);
}

.calc-slider-value {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  margin-left: 8px;
}

.calc-select {
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  width: 200px;
}

.calc-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  margin-bottom: 24px;
}

.calc-result p {
  font-size: 15px;
  color: var(--grey);
  margin-bottom: 8px;
}

.calc-result .amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--orange);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--section-gap) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.services-col h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.service-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item .icon-container {
  width: 40px;
  height: 40px;
}

.service-item .icon-container svg {
  width: 20px;
  height: 20px;
}

.service-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.service-info p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}

.services-cta {
  margin-top: 32px;
  text-align: center;
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  padding: var(--section-gap) 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: center;
}

.step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.step .icon-container {
  width: 56px;
  height: 56px;
}

.step .icon-container svg {
  width: 28px;
  height: 28px;
}

.step h4 {
  font-size: 16px;
}

.step p {
  font-size: 14px;
  color: var(--grey);
  max-width: 200px;
}

.step-connector {
  width: 80px;
  height: 1px;
  background: var(--border);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
  padding: var(--section-gap) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
  font-style: normal;
}

.testimonial-card .attribution {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-card .business {
  font-size: 13px;
  color: var(--grey);
}

/* ============================================
   CTA SECTION
   ============================================ */
.solutions-callout {
  text-align: center;
}

.solutions-callout-sub {
  max-width: 600px;
  margin: 0 auto 32px;
  color: var(--grey);
  font-size: 16px;
  line-height: 1.6;
}

.solutions-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 720px;
  margin: 0 auto 32px;
}

.section-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.cta-secondary-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.cta-secondary-links a {
  font-size: 14px;
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-secondary-links a:hover {
  color: var(--navy);
}

.solutions-badges a.badge {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.solutions-badges a.badge:hover {
  opacity: 0.75;
}

.cta-section {
  padding: var(--section-gap) 0;
}

.cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 16px;
  color: var(--grey);
  margin-bottom: 28px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 0 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-brand .nav-logo {
  font-size: 18px;
  display: block;
}

.footer-brand .nav-logo .op { color: var(--white); }
.footer-brand .nav-logo .flow { color: var(--white); }

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  padding: 48px 0 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 8px;
}

.page-sub {
  font-size: 18px;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto;
}

.snapshot-benefits {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.snapshot-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--indigo);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--indigo-light);
}

.breadcrumb span {
  color: var(--navy);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-section {
  padding: var(--section-gap) 0;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group .required {
  color: var(--orange);
}

.form-group .optional {
  color: var(--grey);
  font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--indigo);
}

.form-group textarea {
  resize: vertical;
}

.contact-success {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-success h2 {
  margin-bottom: 8px;
}

.contact-success p {
  color: var(--grey);
  font-size: 16px;
}

.contact-location {
  max-width: 560px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--grey);
  text-align: center;
}

.contact-location p {
  margin-bottom: 4px;
}

/* ============================================
   FOOTER EXTENDED (social, subscribe)
   ============================================ */
.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s;
}

.footer-social a:hover {
  color: var(--orange);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-subscribe-form {
  display: flex;
  gap: 6px;
}

.footer-subscribe-form input[type="email"] {
  font-family: var(--font);
  font-size: 13px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  width: 180px;
}

.footer-subscribe-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12px;
}

/* ============================================
   COOKIE CONSENT
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  z-index: 200;
}

.cookie-banner a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

/* ============================================
   SERVICE DETAIL
   ============================================ */
.service-detail {
  padding: var(--section-gap) 0;
}

.service-detail-content {
  max-width: 720px;
}

.service-detail-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.service-detail-content p,
.service-detail-content li {
  line-height: 1.7;
  margin-bottom: 12px;
}

.service-detail-content ul,
.service-detail-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.service-detail-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.service-detail-content th,
.service-detail-content td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.service-detail-content th {
  font-weight: 600;
  background: var(--surface);
}

.service-detail-content strong {
  font-weight: 600;
}

/* ============================================
   SERVICE DETAIL V2 (redesigned)
   ============================================ */
.breadcrumb-bar {
  background: var(--bg);
  padding: 12px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.breadcrumb a { color: var(--grey); }
.breadcrumb span:last-child { color: var(--navy); }

.svc-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.svc-hero-grid {
  display: flex;
  gap: 64px;
  align-items: center;
}

.svc-hero-content {
  flex: 1;
}

.svc-hero-content h1 {
  margin: 16px 0;
}

.svc-hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--grey);
  margin-bottom: 20px;
}

.svc-hero-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.svc-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 400px;
  flex-shrink: 0;
}

.stat-card {
  padding: 24px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.48px;
}

.stat-label {
  font-size: 14px;
  color: var(--grey);
}

/* Service sections */
.svc-section {
  padding: 64px 0;
}

.svc-section h2 {
  margin-bottom: 32px;
}

.svc-section.bg-default { background: var(--bg); }
.svc-section.bg-surface { background: var(--surface); }
.svc-section.bg-white { background: var(--white); }

.section-sub {
  color: var(--grey);
  margin-bottom: 32px;
}

/* Icon card grid */
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.icon-card-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.icon-card {
  padding: 24px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.icon-card-compact {
  padding: 20px;
  gap: 8px;
}

.icon-card-icon {
  color: var(--indigo);
  flex-shrink: 0;
}

.icon-card h3 {
  font-size: 16px;
  font-weight: 600;
}

.icon-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey);
}

.fw-500 { font-weight: 500; }

/* Step cards */
.step-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  padding: 24px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-num {
  font-size: 40px;
  font-weight: 700;
  color: var(--indigo);
  letter-spacing: -1px;
  line-height: 1;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.step-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--grey);
}

/* Audience section */
.svc-audience-grid {
  display: flex;
  gap: 64px;
  align-items: center;
}

.svc-audience-text {
  flex: 1;
}

.svc-audience-text h2 {
  margin-bottom: 16px;
}

.svc-audience-text p {
  line-height: 1.6;
}

.svc-audience-tags {
  width: 400px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industry-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 14px;
}

.industry-tag svg {
  color: var(--indigo);
  flex-shrink: 0;
}

/* Tier cards */
.tier-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
  text-align: left;
}

.tier-card {
  padding: 32px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier-card h3 {
  font-size: 20px;
  font-weight: 600;
}

.tier-price {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1.4px;
  line-height: 1;
}

.tier-period {
  font-size: 14px;
  color: var(--grey);
}

.tier-divider {
  height: 1px;
  background: var(--border);
}

.tier-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.tier-feature svg {
  color: var(--indigo);
  flex-shrink: 0;
}

.tier-popular {
  background: var(--indigo-subtle);
  border: 2px solid var(--indigo);
}

.tier-popular .tier-divider {
  background: var(--indigo);
}

.badge-indigo-solid {
  background: var(--indigo);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
}

/* Testimonial */
.testimonial-heading {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.24px;
}

.testimonial-card {
  padding: 32px;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
}

.testimonial-quote {
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--grey);
}

.testimonial-bar {
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: var(--indigo);
}

/* Service page centred sections */
.svc-centered {
  text-align: center;
}

.section-sub {
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--grey);
  font-size: 16px;
  line-height: 1.6;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.highlight-card {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.highlight-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.testimonial-card {
  max-width: 720px;
  margin: 0 auto;
}

/* Service CTA */
.svc-cta {
  background: var(--orange-subtle);
  padding: 64px 0;
}

.svc-cta h2 {
  margin-bottom: 8px;
}

.svc-cta p {
  color: var(--grey);
  margin-bottom: 24px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* Service V2 responsive */
@media (max-width: 1024px) {
  .svc-hero-grid {
    flex-direction: column;
    gap: 32px;
  }

  .svc-hero-stats {
    width: 100%;
    flex-direction: row;
  }

  .stat-card {
    flex: 1;
  }

  .icon-card-grid,
  .step-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .icon-card-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-audience-grid {
    flex-direction: column;
    gap: 32px;
  }

  .svc-audience-tags {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .industry-tag {
    flex: 1;
    min-width: 180px;
  }

  .tier-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .svc-hero {
    padding: 40px 0;
  }

  .svc-hero-stats {
    flex-direction: column;
  }

  .icon-card-grid,
  .step-card-grid,
  .icon-card-grid-5 {
    grid-template-columns: 1fr;
  }

  .tier-card-grid {
    grid-template-columns: 1fr;
  }

  .svc-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .svc-hero-buttons .btn {
    text-align: center;
  }

  .stat-value {
    font-size: 20px;
  }
}

/* ============================================
   CTA CARD (reusable)
   ============================================ */
.cta-card {
  padding: 32px;
  border-radius: 4px;
  margin-top: 48px;
  max-width: 720px;
}

.cta-card h3 {
  margin-bottom: 8px;
}

.cta-card p {
  color: var(--grey);
  margin-bottom: 16px;
}

/* Share buttons */
.article-share {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey);
  margin-bottom: 12px;
}

.share-buttons {
  display: flex;
  gap: 12px;
}

.share-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s;
}

.share-btn:hover {
  opacity: 0.85;
}

.share-linkedin {
  background: #0A66C2;
  color: white;
}

.share-facebook {
  background: #1877F2;
  color: white;
}

/* Related posts */
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.related-posts h3 {
  margin-bottom: 24px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-post-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.related-post-card:hover {
  border-color: var(--indigo);
}

.related-post-card .badge {
  margin-bottom: 8px;
  display: inline-block;
}

.related-post-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--navy);
}

.related-post-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BLOG
   ============================================ */
.blog-listing {
  padding: var(--section-gap) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.blog-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.blog-date {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
}

.empty-state {
  padding: 48px 0;
  color: var(--grey);
  font-size: 16px;
}

/* ============================================
   ARTICLE (blog + case study)
   ============================================ */
.article-page {
  padding: var(--section-gap) 0;
}

.article-page .container {
  max-width: 720px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.article-body {
  margin-top: 32px;
}

.article-body h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-body p {
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.article-body li {
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 3px solid var(--indigo);
  padding-left: 16px;
  margin: 24px 0;
  color: var(--grey);
  font-style: italic;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}

.article-body th,
.article-body td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.article-body th {
  font-weight: 600;
  background: var(--surface);
}

.article-body table strong {
  font-weight: 600;
}

@media (max-width: 768px) {
  .article-body table {
    font-size: 13px;
    display: block;
    overflow-x: auto;
  }

  .article-body th,
  .article-body td {
    padding: 8px 10px;
    white-space: nowrap;
  }
}

/* ============================================
   CASE STUDIES
   ============================================ */
.case-studies-listing {
  padding: var(--section-gap) 0;
}

.case-studies-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-study-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.case-study-card h3 {
  font-size: 20px;
  font-weight: 600;
}

.case-study-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--grey);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}

.metric-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.metric-label {
  font-size: 13px;
  color: var(--grey);
  margin-top: 4px;
}

.case-study-quote {
  padding: 24px;
  margin: 32px 0;
  font-style: italic;
  line-height: 1.6;
}

.case-study-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
  padding: var(--section-gap) 0;
}

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

.faq-item {
  cursor: pointer;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 24px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--grey);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  content: "\2212";
}

.faq-answer {
  padding: 0 24px 16px;
  color: var(--navy);
  line-height: 1.6;
}

/* ============================================
   ABOUT
   ============================================ */
.about-description {
  padding: var(--section-gap) 0;
}

.about-text {
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

.about-text p {
  margin-bottom: 16px;
}

.about-team {
  padding: var(--section-gap) 0;
}

.founder-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
  max-width: 800px;
}

.founder-photo img {
  width: 280px;
  height: auto;
  border-radius: 4px;
}

.founder-card {
  max-width: 640px;
  margin: 0 auto;
}

.founder-card h3 {
  margin-bottom: 4px;
}

.founder-role {
  font-size: 14px;
  color: var(--grey);
  margin-bottom: 16px;
}

.founder-bio {
  line-height: 1.7;
}

.founder-bio p {
  margin-bottom: 12px;
}

.about-values {
  padding: var(--section-gap) 0;
}

/* ============================================
   SERVICES LISTING
   ============================================ */
.services-full {
  padding: var(--section-gap) 0;
}

.services-full h2 {
  margin-bottom: 24px;
}

.services-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.services-cards-grid > * {
  flex: 0 1 calc(33.333% - 11px);
  min-width: 0;
}

.service-full-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
}

.service-full-card h3 {
  font-size: 18px;
  font-weight: 600;
}

.service-full-card p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
  flex: 1;
}

/* ============================================
   TIER CARDS
   ============================================ */
.tier-section {
  padding: var(--section-gap) 0;
}

.tier-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.tier-grid > * {
  flex: 0 1 calc(33.333% - 11px);
  min-width: 0;
}

.tier-card {
  text-align: center;
  padding: 32px 24px;
}

.tier-card h3 {
  margin-bottom: 8px;
}

.tier-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.tier-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--grey);
}

.tier-features {
  list-style: none;
  margin-bottom: 24px;
}

.tier-features li {
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.tier-features li:last-child {
  border-bottom: none;
}

.tier-card-highlight {
  background: var(--surface);
  border-color: var(--indigo);
  border-width: 2px;
}

/* ============================================
   WORKSHOPS
   ============================================ */
.workshops-formats {
  padding: var(--section-gap) 0;
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.workshop-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.workshop-card ul {
  list-style: none;
  padding: 0;
}

.workshop-card li {
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

.workshop-card li:last-child {
  border-bottom: none;
}

.workshops-takeaways {
  padding: var(--section-gap) 0;
}

.takeaways-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.takeaway-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.takeaway-item p {
  font-size: 14px;
  line-height: 1.5;
}

/* ============================================
   QUIZ
   ============================================ */
.quiz-section {
  padding: var(--section-gap) 0;
}

.quiz-container {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-question h4 {
  margin-bottom: 16px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.15s, border-color 0.15s;
}

.quiz-option:hover {
  background: var(--surface);
}

.quiz-option:has(input:checked) {
  border-color: var(--indigo);
  background: var(--indigo-subtle);
}

.quiz-option input[type="radio"] {
  accent-color: var(--indigo);
}

.quiz-result {
  max-width: 640px;
  margin: 16px auto 0;
  background: var(--white);
  border: 2px solid var(--indigo);
}

.quiz-result h3 {
  margin-bottom: 8px;
}

.quiz-result p {
  color: var(--grey);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ============================================
   UTILITY PAGES (404, thank you)
   ============================================ */
.utility-page {
  padding: 120px 0;
}

.utility-inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.utility-inner h1 {
  margin-bottom: 12px;
}

.utility-inner p {
  color: var(--grey);
  font-size: 16px;
  margin-bottom: 28px;
}

.utility-inner .hero-buttons {
  justify-content: center;
}

/* ============================================
   WAITLIST
   ============================================ */
.waitlist-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.waitlist-pitch {
  padding-top: 8px;
}

.waitlist-pitch h2 {
  font-size: 26px;
  margin-bottom: 16px;
}

.waitlist-pitch p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 16px;
}

.waitlist-points {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.waitlist-points li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  stroke: var(--indigo);
}

.waitlist-contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--grey);
}

.waitlist-contact a {
  color: var(--indigo);
}

.waitlist-form {
  max-width: 560px;
}

.waitlist-form .btn {
  margin-top: 8px;
  padding: 12px 28px;
  font-size: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Tablet */
@media (max-width: 1024px) {
  .hero-grid { gap: 40px; }
  .services-cards-grid > * { flex: 0 1 calc(50% - 8px); }
  .takeaways-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --section-gap: 56px; }

  h1 { font-size: 28px; line-height: 1.2; }
  h2 { font-size: 22px; }
  h3 { font-size: 20px; }

  .container { padding: 0 16px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 16px;
    z-index: 100;
  }
  .nav-hamburger { display: block; }

  /* Hero: headline first, card below */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero-sub { font-size: 16px; }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-buttons .btn { justify-content: center; }

  /* Before/after card */
  .before-after { grid-template-columns: 1fr; }
  .before-after-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  /* Grids to single column */
  .problems-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .services-cards-grid > * { flex: 0 1 100%; }
  .tier-grid > * { flex: 0 1 100%; }
  .workshop-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .takeaways-grid { grid-template-columns: 1fr; }

  /* Steps: vertical */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step-connector {
    width: 1px;
    height: 24px;
    margin: 0 auto;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
    margin-left: 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .footer-subscribe-form { flex-direction: column; width: 100%; }
  .footer-subscribe-form input[type="email"] { width: 100%; }

  /* Founder */
  .founder-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .founder-photo img {
    width: 200px;
    height: auto;
  }

  /* Page elements */
  .page-sub { font-size: 16px; }
  .section-heading { margin-bottom: 32px; }
  .cta-inner h2 { font-size: 24px; }

  /* Calculator */
  .calc-select { width: 100%; }

  /* Tier cards */
  .tier-card { padding: 24px 16px; }
  .tier-price { font-size: 28px; }

  /* Cookie banner */
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 13px;
  }

  /* Utility pages */
  .utility-page { padding: 80px 0; }
}

/* ============================================
   Bot Library Catalogue Page
   ============================================ */

.cat-page-section {
  padding: 48px 24px;
}

.cat-page-category-header {
  margin-bottom: 24px;
}

.cat-page-category-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cat-page-category-header h2 {
  font-size: 24px;
  margin: 0;
}

.cat-page-platforms {
  font-size: 13px;
  color: var(--grey);
  font-style: italic;
  margin: 4px 0 0 36px;
}

/* API disclaimer */
.cat-page-disclaimer {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin-top: 8px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 4px;
  border-left: 3px solid var(--orange);
}

/* Bot card grid */
.cat-page-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cat-page-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.15s;
}

.cat-page-card:hover {
  border-color: var(--indigo);
}

.cat-page-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.cat-page-card-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.cat-page-card-fee {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-subtle);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cat-page-card-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
}

.cat-page-card-features {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-page-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--navy);
}

.cat-page-card-features svg {
  color: var(--indigo);
  flex-shrink: 0;
}

.cat-page-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
  margin-top: auto;
  padding-top: 8px;
  transition: color 0.15s;
}

.cat-page-card-cta:hover {
  color: var(--indigo-light);
}

.cat-page-card-cta svg {
  color: inherit;
}

@media (max-width: 768px) {
  .cat-page-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Sticky sidebar nav */
.cat-page-sidebar {
  position: fixed;
  top: 100px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
}

.cat-page-sidebar-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--grey-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.cat-page-sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

.cat-page-sidebar-link:hover {
  color: var(--navy);
  background: var(--surface);
}

.cat-page-sidebar-link svg {
  color: var(--indigo);
  flex-shrink: 0;
}

/* Hide sidebar on smaller screens */
@media (max-width: 1280px) {
  .cat-page-sidebar {
    display: none;
  }
}

/* Small phones */
@media (max-width: 380px) {
  h1 { font-size: 24px; }
  .nav-logo { font-size: 18px; }
  .nav-logo-icon { width: 24px; height: 24px; }
}

/* ============================================
   Bot Library Catalogue
   ============================================ */

/* Accordion */
.catalogue-accordion {
  border-top: 1px solid var(--border);
  margin-bottom: 32px;
}

.catalogue-category {
  border-bottom: 1px solid var(--border);
}

.catalogue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
}

.catalogue-header:hover {
  background: var(--surface);
}

.catalogue-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalogue-header-left svg {
  color: var(--indigo);
  flex-shrink: 0;
}

.catalogue-category-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.catalogue-chevron {
  color: var(--grey);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.catalogue-category.open .catalogue-chevron {
  transform: rotate(180deg);
}

/* Accordion body */
.catalogue-body {
  display: none;
  padding: 0 24px 16px 60px;
}

.catalogue-category.open .catalogue-body {
  display: block;
}

.catalogue-bot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.catalogue-bot:last-child {
  border-bottom: none;
}

.catalogue-bot-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
}

.catalogue-bot-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  display: none;
}

.catalogue-more {
  font-size: 13px;
  color: var(--indigo);
  font-weight: 500;
  padding: 10px 0 4px;
  margin: 0;
}

/* Unlocked state: descriptions visible */
.catalogue-unlocked .catalogue-bot-desc {
  display: block;
}

.catalogue-unlocked .catalogue-gate {
  display: none;
}

/* Custom bot CTA */
.catalogue-custom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 32px;
  gap: 24px;
}

.catalogue-custom-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.catalogue-custom-text p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
}

.btn-indigo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-indigo:hover {
  background: var(--indigo-light);
}

.btn-indigo svg {
  color: var(--white);
}

/* Cross-links */
.catalogue-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.catalogue-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.catalogue-link-card:hover {
  border-color: var(--indigo);
  background: var(--indigo-subtle);
}

.catalogue-link-card > svg:first-child {
  color: var(--indigo);
  flex-shrink: 0;
}

.catalogue-link-card div {
  flex: 1;
}

.catalogue-link-card strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.catalogue-link-card span {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.4;
}

.catalogue-link-arrow {
  color: var(--grey-light);
  flex-shrink: 0;
}

/* Signup gate */
.catalogue-gate {
  text-align: center;
  padding: 48px 64px;
  background: var(--indigo-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.catalogue-gate svg {
  margin-bottom: 16px;
}

.catalogue-gate h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.catalogue-gate > p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 24px;
}

.catalogue-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.catalogue-form input {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 14px;
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}

.catalogue-form input:focus {
  border-color: var(--indigo);
}

.catalogue-form input[name="first_name"] {
  width: 200px;
}

.catalogue-form input[name="email"] {
  width: 260px;
}

.catalogue-consent {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .catalogue-body {
    padding: 0 16px 16px 44px;
  }

  .catalogue-header {
    padding: 14px 16px;
  }

  .catalogue-form {
    flex-direction: column;
  }

  .catalogue-form input[name="first_name"],
  .catalogue-form input[name="email"] {
    width: 100%;
    max-width: 320px;
  }

  .catalogue-gate {
    padding: 32px 24px;
  }

  .catalogue-custom-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

/* ── Solutions page ───────────────────────────────── */

.sol-section {
  padding: 64px 0;
}

.sol-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.sol-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  scroll-margin-top: 100px;
}

.sol-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.sol-card-icon {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--indigo);
}

.sol-card-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--orange);
  background: rgba(232, 119, 34, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
}

.sol-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.sol-card-problem {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
  margin-bottom: 24px;
}

.sol-card-workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.sol-card-before,
.sol-card-after {
  padding: 16px;
  border-radius: 6px;
}

.sol-card-before {
  background: #fafafa;
  border-left: 3px solid var(--border);
}

.sol-card-after {
  background: #f0f4ff;
  border-left: 3px solid var(--indigo);
}

.sol-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.sol-card-before .sol-label {
  color: var(--grey);
}

.sol-card-after .sol-label {
  color: var(--indigo);
}

.sol-card-before p,
.sol-card-after p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.sol-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.sol-card-bots {
  font-size: 13px;
  color: var(--grey);
}

/* How it works */
.sol-how {
  padding: 64px 0;
  background: var(--surface);
}

.sol-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  text-align: left;
}

.sol-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sol-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--indigo);
  color: var(--white);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.sol-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  margin: 4px 0 0;
}

/* CTA */
.sol-cta {
  padding: 80px 0;
}

.sol-cta h2 {
  margin-bottom: 12px;
}

.sol-cta p {
  font-size: 16px;
  color: var(--grey);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.sol-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .sol-card-workflow {
    grid-template-columns: 1fr;
  }

  .sol-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .sol-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Catalogue search and filter */
.cat-filter-bar { padding: 32px 0 0; background: var(--white); }
.cat-filter-controls { display: flex; flex-direction: column; gap: 16px; }
.cat-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font);
  background: var(--white);
  color: var(--navy);
}
.cat-search-input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1); }
.cat-search-input::placeholder { color: var(--grey); }
.cat-filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  font-size: 14px;
  font-family: var(--font);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}
.cat-filter-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.cat-filter-btn.active {
  background: var(--indigo);
  color: var(--white);
  border-color: var(--indigo);
}
.cat-no-results {
  text-align: center;
  padding: 48px 0;
  color: var(--grey);
}
.cat-no-results a { color: var(--indigo); }

.cat-gate-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}

.cat-gate-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--grey);
}

.cat-gate-perk svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ============================================
   INTEGRATIONS STRIP
   ============================================ */
.integrations {
  padding: 36px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}

.integrations-label {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-light);
  margin-bottom: 24px;
}

.integrations-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.integrations-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: integrations-scroll 50s linear infinite;
  padding: 4px 0;
}

.integrations-track:hover {
  animation-play-state: paused;
}

@keyframes integrations-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.integration-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  opacity: 0.38;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
}

.integration-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  color: var(--navy);
}

.integration-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: block;
}

.integration-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* ============================================
   BOT CARE NOTE
   ============================================ */
.bot-care-note {
  padding: var(--section-gap) 0;
}

.bot-care-note-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
}

.bot-care-note-inner .icon-container {
  flex-shrink: 0;
}

.bot-care-note-inner h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.bot-care-note-inner p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .bot-care-note-inner {
    flex-direction: column;
    gap: 16px;
  }
}

/* ============================================
   AUTOMATION FLOWS SECTION
   ============================================ */
.flows-section {
  padding: var(--section-gap) 0;
}

.flows-header {
  text-align: center;
  margin-bottom: 16px;
}

.flows-header h2 {
  margin: 12px 0 16px;
}

.flows-intro {
  font-size: 16px;
  color: var(--grey);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

.flows-count-block {
  text-align: center;
  margin: 32px 0 48px;
}

.flows-count-block h3 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.flows-count-block p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 20px;
}

.flows-count-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.flows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.flow-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.flow-card-category {
  font-size: 10px;
  font-weight: 600;
  color: var(--indigo);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.flow-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.flow-card-desc {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.5;
  margin: 0;
}

.flow-card-time {
  font-size: 13px;
  color: var(--grey);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

.flow-pills {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}

.flow-pill {
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
}

.flow-pill-trigger {
  background: var(--indigo-subtle);
  color: var(--indigo);
  font-weight: 600;
}

.flow-pill-action {
  background: var(--surface);
  color: var(--grey);
}

.flow-pill-result {
  background: var(--orange-subtle);
  color: var(--orange);
  font-weight: 600;
}

.flow-logos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flow-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

.flow-logos-more {
  font-size: 11px;
  color: var(--grey-light);
}

.flow-card-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--indigo);
  margin-top: 4px;
}

.flow-card-cta:hover {
  color: var(--indigo-light);
}

@media (max-width: 768px) {
  .flows-grid {
    grid-template-columns: 1fr;
  }

  .flows-count-links {
    flex-direction: column;
    align-items: center;
  }

  .flow-pills {
    grid-template-columns: 1fr;
  }
}
