/* =====================
   SOCORA.AI — Main Styles
   ===================== */

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-faint: rgba(37, 99, 235, 0.08);
  --primary-border: rgba(37, 99, 235, 0.22);
  --dark: #1E293B;
  --darker: #0F172A;
  --bg: #FFFFFF;
  --bg-soft: #F8FAFC;
  --text: #0F172A;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 56px rgba(0,0,0,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAV ──────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.logo .ai { color: var(--primary); }

.logo-img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
  display: block;
  margin-right: 0.45rem;
}

footer .logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a,
.nav-links button {
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
  transition: color 0.18s, background 0.18s;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a:hover,
.nav-links button:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-nav {
  background: var(--primary);
  color: white !important;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background 0.18s, transform 0.15s;
  display: inline-block;
}
.btn-nav:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-trigger::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.4rem;
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 200;
}

/* Invisible bridge fills the gap so hover doesn't break */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text) !important;
  background: none;
}

.dropdown-menu a:hover {
  background: var(--bg-soft) !important;
  color: var(--primary) !important;
}

.dd-icon {
  font-size: 1rem;
  width: 24px;
  text-align: center;
}

.dd-soon {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

.nav-hamburger svg { width: 22px; height: 22px; }

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.5rem 1rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 0.7rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  display: block;
}

.nav-mobile a:last-child { border-bottom: none; }

.nav-mobile .btn-nav-mobile {
  display: block;
  margin-top: 0.75rem;
  background: var(--primary);
  color: white !important;
  text-align: center;
  padding: 0.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: none;
}

/* ── HERO ─────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 0 0;
  background: #D7E6FD;
  position: relative;
  overflow: hidden;
}

.hero-trust-strip {
  align-self: stretch;
  width: 100%;
  margin-top: 3.5rem;
  padding: 1.5rem 0;
  position: relative;
  z-index: 1;
}
.hero-trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2.5rem;
  text-align: center;
}
.hero-trust-strip .trust-item {
  font-size: 1rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.032) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary-faint);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.045em;
}

.text-orange { color: var(--primary); }

.hero-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--primary);
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 0 1px rgba(37,99,235,0.35), 0 6px 20px rgba(37,99,235,0.28);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(37,99,235,0.45), 0 10px 30px rgba(37,99,235,0.38);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-faint);
}

/* ── WORKFLOW CANVAS (modern redesign) ─────────────── */

/* Container */
.workflow-canvas {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(37,99,235,0.06),
    0 8px 32px rgba(0,0,0,0.07),
    0 32px 72px rgba(0,0,0,0.06);
}

/* macOS-style topbar */
.wf-topbar {
  background: rgba(248,250,252,0.9);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.wf-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.wf-dot.r { background: #FC685B; }
.wf-dot.y { background: #FDBC40; }
.wf-dot.g { background: #34C84A; }

.wf-title {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.3rem;
  flex: 1;
  letter-spacing: -0.01em;
}

/* Canvas body — dot grid */
.wf-body {
  flex: 1;
  padding: 1.75rem 1.5rem;
  background-color: #F8FAFC;
  background-image:
    radial-gradient(circle, rgba(148,163,184,0.35) 1px, transparent 1px);
  background-size: 20px 20px;
}

.wf-flow {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.wf-flow::-webkit-scrollbar { display: none; }

/* Node card */
.wf-node {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 0.6rem 0.9rem 0.6rem 0.75rem;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 2px 6px rgba(0,0,0,0.05);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: default;
}

.wf-node:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

/* Left accent bar */
.wf-node::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  border-radius: 12px 0 0 12px;
}

.wf-node.trigger::before   { background: var(--primary); }
.wf-node.agent::before     { background: #3B82F6; }
.wf-node.condition::before { background: #8B5CF6; }
.wf-node.action::before    { background: #10B981; }
.wf-node.output::before    { background: #06B6D4; }

/* Pulsing active state */
.wf-node.running {
  border-color: rgba(249,115,22,0.4);
  box-shadow:
    0 0 0 3px rgba(249,115,22,0.1),
    0 4px 16px rgba(0,0,0,0.08);
  animation: node-pulse 2s ease-in-out infinite;
}

@keyframes node-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(249,115,22,0.1), 0 4px 16px rgba(0,0,0,0.08); }
  50%       { box-shadow: 0 0 0 5px rgba(249,115,22,0.18), 0 4px 16px rgba(0,0,0,0.08); }
}

/* Node icon square */
.wf-icon-sq {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wf-icon-sq svg { width: 14px; height: 14px; }

.wf-node.trigger   .wf-icon-sq { background: #FFF7ED; color: #EA580C; }
.wf-node.agent     .wf-icon-sq { background: #EFF6FF; color: #3B82F6; }
.wf-node.condition .wf-icon-sq { background: #FAF5FF; color: #7C3AED; }
.wf-node.action    .wf-icon-sq { background: #F0FDF4; color: #059669; }
.wf-node.output    .wf-icon-sq { background: #F0F9FF; color: #0284C7; }

/* Node text */
.wf-node-text { display: flex; flex-direction: column; gap: 0.06rem; }

.wf-node-kind {
  font-size: 0.57rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1;
}

.wf-node.trigger   .wf-node-kind { color: #EA580C; }
.wf-node.agent     .wf-node-kind { color: #3B82F6; }
.wf-node.condition .wf-node-kind { color: #7C3AED; }
.wf-node.action    .wf-node-kind { color: #059669; }
.wf-node.output    .wf-node-kind { color: #0284C7; }

.wf-node-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.015em;
  white-space: nowrap;
  line-height: 1.2;
}

/* SVG Connector */
.wf-conn {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: 44px;
}

.wf-conn svg {
  width: 44px; height: 20px;
  overflow: visible;
}

/* Animated flow dot */
.wf-conn-dot {
  position: absolute;
  top: 50%; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  transform: translate(-50%, -50%);
  animation: flow-along 2.4s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(37,99,235,0.5);
}

@keyframes flow-along {
  0%   { left: 4px;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 40px; opacity: 0; }
}

/* Canvas footer */
.wf-footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wf-metrics { display: flex; gap: 1.5rem; }

.wf-metric { display: flex; flex-direction: column; gap: 0.05rem; }

.wf-metric-val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
}

.wf-metric-lbl {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wf-live-badge {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: #166534;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 5px rgba(22,163,74,0.7);
  animation: pulse-live 1.6s ease-in-out infinite;
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── STATS BAR ─────────────────────────────────────── */
.stats-bar {
  background: var(--dark);
  padding: 22px 0;
}

.stats-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-item { flex: 1; min-width: 140px; text-align: center; }

.stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  line-height: 1.45;
}

/* ── SHARED SECTION STYLES ─────────────────────────── */
section { padding: 72px 0; }

.section-tag {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1.18;
  margin-bottom: 0.7rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.78;
  max-width: 580px;
}

.section-header { margin-bottom: 2.75rem; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ── PILLARS (RCP) ─────────────────────────────────── */
.pillars-section { background: white; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.pillar-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  flex-shrink: 0;
}
.pillar-icon svg { width: 20px; height: 20px; }
.pillar-icon.revenue      { background: #FFF7ED; color: #EA580C; }
.pillar-icon.satisfaction { background: #FFF1F2; color: #E11D48; }
.pillar-icon.productivity { background: #F0FDF4; color: #16A34A; }

.pillar-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}
.pillar-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.agent-list { display: flex; flex-direction: column; gap: 0.8rem; }

.agent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
}
.agent-name { font-weight: 600; color: var(--text); line-height: 1.4; flex: 1; }
.agent-stat {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  background: var(--primary-faint);
  border: 1px solid var(--primary-border);
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  flex-shrink: 0;
}

.pillar-stat-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.pillar-stat-num {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
}

.pillar-stat-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: auto;
  padding-top: 1.5rem;
  transition: gap 0.18s;
}
.pillar-link:hover { gap: 0.5rem; }

/* ── SUITE SECTIONS (Front-desk / Back-office / Custom) ── */
.suite-section.suite-primary   { background: white; }
.suite-section.suite-secondary { background: var(--bg-soft); }
.suite-section.suite-teaser    { background: white; padding-bottom: 0; }

.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.suite-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.suite-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.suite-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-faint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.suite-icon svg { width: 18px; height: 18px; }

.suite-card-title {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.suite-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Back-office — lighter, secondary treatment */
.suite-grid-secondary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.suite-card-secondary {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
}
.suite-card-secondary .suite-icon { margin-bottom: 0; width: 36px; height: 36px; }
.suite-card-secondary .suite-icon svg { width: 16px; height: 16px; }
.suite-card-secondary .suite-card-title { font-size: 0.9rem; }

/* Front-desk suite preview (hero) */
.fd-preview-body { padding: 1.75rem 1.75rem; display: flex; flex-direction: column; }
.fd-preview-list { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 1.25rem; }
.fd-preview-item { display: flex; align-items: center; gap: 1rem; }
.fd-preview-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--primary-faint);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fd-preview-icon svg { width: 19px; height: 19px; }
.fd-preview-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.2rem; }
.fd-preview-name { font-weight: 700; font-size: 0.98rem; color: var(--text); letter-spacing: -0.01em; }
.fd-preview-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Custom — teaser pair + moved demo */
.suite-teaser-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.suite-teaser-box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.teaser-card {
  border: 1px dashed var(--primary-border);
  background: var(--primary-faint);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.teaser-card-title {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.teaser-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Trust strip */
.trust-strip {
  padding: 28px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 2.5rem;
  text-align: center;
}
.trust-item {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item strong { color: var(--text); font-weight: 700; }

/* ── HOW IT WORKS ──────────────────────────────────── */
.how-it-works { background: var(--bg-soft); }

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card { display: flex; flex-direction: column; }

.step-num {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px rgba(37,99,235,0.28);
  flex-shrink: 0;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.step-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.72; }

/* Canvas mockup (How It Works section) */
.canvas-mockup {
  margin-top: 3rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 32px 64px rgba(0,0,0,0.05);
}

.mockup-topbar {
  padding: 0.65rem 1rem;
  background: rgba(248,250,252,0.9);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.m-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.m-dot.r { background: #FC685B; }
.m-dot.y { background: #FDBC40; }
.m-dot.g { background: #34C84A; }
.m-title { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; margin-left: 0.3rem; letter-spacing: -0.01em; }

.mockup-body {
  padding: 1.75rem 1.5rem;
  background-color: #F8FAFC;
  background-image: radial-gradient(circle, rgba(148,163,184,0.35) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.mockup-body::-webkit-scrollbar { display: none; }

/* ── INDUSTRY CARDS ────────────────────────────────── */
.industries-section { background: var(--bg-soft); }

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.industry-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--primary-border);
}

.industry-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-faint);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.industry-name { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 0.2rem; }
.industry-sub  { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-bottom: 0.9rem; }
.industry-pain { font-size: 0.85rem; color: var(--text-muted); line-height: 1.68; margin-bottom: 1.2rem; flex: 1; }

.industry-agents { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.5rem; }
.industry-agent {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
}
.industry-agent::before { content: '→'; color: var(--primary); font-weight: 700; font-size: 0.75rem; }

.industry-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: gap 0.18s;
}
.industry-cta:hover { gap: 0.5rem; }

/* ── DEMO SECTION ──────────────────────────────────── */
.demo-section { background: white; }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.demo-input-box {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.demo-box-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.demo-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
}

.demo-output {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.demo-output-bar {
  padding: 0.65rem 1rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.demo-output-body {
  padding: 1.4rem;
  background: var(--bg-soft);
  position: relative;
}

.demo-flow {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.demo-flow-node {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  line-height: 1.2;
}

.demo-flow-connector {
  width: 2px;
  height: 16px;
  background: #CBD5E1;
  margin-left: 1.1rem;
}

.demo-flow-branch {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  position: relative;
  margin-top: 0;
}

.demo-flow-branch-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.demo-branch-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  padding: 0 0.5rem;
}

.demo-caption {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── INTEGRATIONS ──────────────────────────────────── */
.integrations-strip { background: white; padding: 64px 0; }

.int-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.int-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  min-height: 72px;
  cursor: default;
}
.int-card:hover {
  border-color: var(--primary-border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.int-icon-box {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap 0.18s;
}
.view-all-link:hover { gap: 0.6rem; }

/* ── PRICING TEASER ────────────────────────────────── */
.pricing-teaser { background: white; padding: 64px 0; text-align: center; }
.pricing-teaser .section-title { margin-bottom: 0.75rem; }
.pricing-teaser .lead {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

/* ── FINAL CTA ─────────────────────────────────────── */
.final-cta {
  background: var(--dark);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.045em;
  margin-bottom: 0.75rem;
}
.final-cta p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
  margin-bottom: 2.25rem;
  line-height: 1.72;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: white;
  color: var(--darker);
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.28); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.28);
  transition: border-color 0.18s, background 0.18s;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.07); }

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--darker);
  padding: 60px 0 28px;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 190px;
}

.footer-col h4 {
  font-size: 0.73rem;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col ul a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.52);
  transition: color 0.18s;
}
.footer-col ul a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.22); }

/* ── INNER PAGE HERO ───────────────────────────────── */
.page-hero {
  padding: 112px 0 52px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(37,99,235,0.09) 0%, transparent 55%),
    var(--bg-soft);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--text);
  max-width: 720px;
  margin-bottom: 1.1rem;
}

.page-hero .hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.78;
  margin-bottom: 2rem;
}

/* ── CARD GRID ─────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.card-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ── PAIN STRIP ────────────────────────────────────── */
.pain-strip { background: var(--bg-soft); padding: 64px 0; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pain-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.pain-item .pain-icon { font-size: 1.5rem; }
.pain-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
.pain-item strong { color: var(--text); }

/* ── PROSE SECTION ─────────────────────────────────── */
.prose-section { background: var(--bg-soft); }
.prose-container { max-width: 760px; margin: 0 auto; }
.prose-container h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; margin: 2rem 0 0.75rem; color: var(--text); }
.prose-container h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin: 1.5rem 0 0.5rem; color: var(--text); }
.prose-container p  { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; }
.prose-container ul { padding-left: 1.25rem; list-style: disc; }
.prose-container ul li { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 0.4rem; }

/* ── FADE-UP ───────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-sub { max-width: 100%; }
  .pillars-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-row { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .suite-grid-secondary { grid-template-columns: 1fr; }
  .suite-teaser-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
  .stats-inner { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .suite-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero { padding: 80px 0 44px; }
  .final-cta { padding: 52px 0; }
  .wf-row { flex-wrap: wrap; }
  .industry-grid { grid-template-columns: 1fr; }
}

/* Custom teaser: keep the generated-agent flow inside the canvas (no clipping) */
.suite-teaser .wf-flow { overflow-x: visible; gap: 0; }
.suite-teaser .wf-node { flex: 1 1 0; min-width: 0; }
.suite-teaser .wf-node-name { white-space: normal; }
.suite-teaser .wf-conn { width: 26px; }
.suite-teaser .wf-conn svg { width: 26px; }
