/* =============================================================
   Revo — Main Stylesheet
   ============================================================= */

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

:root {
  --ink:        #0d0d0d;
  --ink-2:      #1a1a1a;
  --ink-3:      #2e2e2e;
  --muted:      #717171;
  --muted-2:    #a0a0a0;
  --border:     #e8e8e8;
  --surface:    #f5f5f5;
  --white:      #ffffff;
  --blue:       #2563eb;
  --blue-dim:   #eff4ff;
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =============================================================
   NAVIGATION
   ============================================================= */
nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(5vw, 24px);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  border-radius: 7px;
  display: grid;
  place-items: center;
}

.logo-mark svg { display: block; }

.logo-text {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}

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

/* ── Nav dropdown ── */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: color 0.15s;
  padding: 0;
}

.nav-dropdown-trigger:hover { color: var(--ink); }

.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-trigger { color: var(--ink); }
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.875rem);
  left: 50%;
  transform: translateX(-50%);
  background: #111118;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,0,0,0.4);
  list-style: none;
  min-width: 180px;
  padding: 0.375rem;
  display: none;
  z-index: 200;
}

.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 7px;
  transition: background 0.12s, color 0.12s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-dropdown-menu li a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.nav-dropdown-menu li a svg { flex-shrink: 0; color: rgba(255,255,255,0.3); }

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

/* ── Hamburger (mobile) ── */
.nav-hamburger {
  display: flex;          /* visible by default; hidden on wide screens below */
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.15s;
}
.nav-hamburger:hover { background: var(--surface); }

.ham-line {
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
nav.nav-open .ham-line-1 { transform: translate(0px, 5px) rotate(45deg); }
nav.nav-open .ham-line-2 { opacity: 0; transform: scaleX(0); }
nav.nav-open .ham-line-3 { transform: translate(0px, -5px) rotate(-45deg); }

.btn-ghost {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.btn-ghost:hover { background: var(--surface); color: var(--ink); }

.btn-dark {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  transition: opacity 0.15s, transform 0.15s;
  letter-spacing: -0.01em;
}

.btn-dark:hover { opacity: 0.82; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px max(5vw, 24px) 80px;
  position: relative;
  isolation: isolate;
}

/* Dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #d4d4d4 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  z-index: -2;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 40%, transparent 100%);
}

/* Blue glow */
.hero::after {
  content: '';
  position: absolute;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.07) 0%, transparent 70%);
  top: 20%; left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 2.25rem;
}

.eyebrow-dot {
  width: 5px; height: 5px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}

.hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  max-width: 820px;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero h1 .word-accent { color: var(--blue); }

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--muted);
  font-weight: 400;
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.75rem;
  letter-spacing: -0.01em;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(13,13,13,0.18);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--white);
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline:hover { border-color: var(--ink-3); color: var(--ink); }

/* Hero metrics bar */
.hero-metrics {
  display: flex;
  gap: 0;
  margin-top: 5.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}

.metric {
  padding: 1.5rem 2.75rem;
  border-right: 1px solid var(--border);
  text-align: left;
}

.metric:last-child { border-right: none; }

.metric-val {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.metric-lbl {
  font-size: 0.8125rem;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}

/* =============================================================
   LOGOS STRIP
   ============================================================= */
.logos-strip {
  padding: 3.5rem max(5vw, 24px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.logos-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
  margin-bottom: 2rem;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.logo-placeholder {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--muted-2);
  opacity: 0.5;
}

/* =============================================================
   SHARED SECTION LAYOUT
   ============================================================= */
section.block {
  padding: 8rem max(5vw, 24px);
}

section.block.alt { background: var(--surface); }

.eyebrow-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.eyebrow-sm::before {
  content: '';
  display: block;
  width: 16px; height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
}

.block-title {
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
  max-width: 580px;
  margin-bottom: 1rem;
}

.block-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 4rem;
  letter-spacing: -0.01em;
}

/* =============================================================
   MODULAR BUILDER SECTION
   ============================================================= */
.modular-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.modular-copy .block-sub { margin-bottom: 2rem; }

.modular-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modular-points li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mp-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px; height: 22px;
  background: var(--ink);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--white);
}

.modular-points strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.modular-points p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Builder card */
.modular-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.05);
}

.builder-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.builder-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.builder-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

.builder-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.builder-count span {
  color: var(--blue);
  font-weight: 600;
}

/* Module chip toggles */
.builder-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.b-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
  font-family: inherit;
}

.b-chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  transform: translateY(-1px);
}

.b-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.b-chip svg { flex-shrink: 0; }

/* Preview panel */
.builder-preview {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.preview-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 32px;
}

.preview-slot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--blue-dim);
  border: 1px solid rgba(37,99,235,0.2);
  border-radius: 6px;
  padding: 0.25rem 0.625rem;
  animation: slotIn 0.2s ease;
}

@keyframes slotIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.preview-slot-dot {
  width: 5px; height: 5px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

.preview-empty {
  font-size: 0.8125rem;
  color: var(--muted-2);
  font-style: italic;
}

.builder-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  transition: opacity 0.15s, transform 0.15s;
}

.builder-cta:hover { opacity: 0.82; transform: translateY(-1px); }

@media (max-width: 1024px) {
  .modular-layout { grid-template-columns: 1fr; gap: 3rem; }
}

/* =============================================================
   MODULES GRID
   ============================================================= */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mod-card {
  background: var(--white);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.18s;
  cursor: default;
}

.mod-card:hover { background: #fafafa; }

.mod-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  flex-shrink: 0;
}

.mod-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.mod-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: -0.25rem;
}

.mod-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--blue);
  background: var(--blue-dim);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  align-self: flex-start;
}

/* =============================================================
   FEATURES ROW
   ============================================================= */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 4rem;
}

.feat {
  background: var(--white);
  padding: 2.5rem 2rem;
}

.feat-icon {
  width: 36px; height: 36px;
  background: var(--surface);
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: var(--ink-3);
}

.feat-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.feat-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* =============================================================
   HOW IT WORKS
   ============================================================= */
.steps-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity 0.2s;
}

.step-item:first-child { padding-top: 0; }
.step-item:last-child  { border-bottom: none; padding-bottom: 0; }

.step-num-badge {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.step-item.active .step-num-badge {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.step-head {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.step-item.active .step-desc {
  max-height: 120px;
  opacity: 1;
}

/* Visual panel */
.steps-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.vis-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.vis-panel.active {
  opacity: 1;
  transform: none;
}

.vis-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.vis-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vis-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.vis-value {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.vis-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.vis-badge.green { background: #dcfce7; color: #16a34a; }
.vis-badge.blue  { background: var(--blue-dim); color: var(--blue); }

.vis-bar-track {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.vis-bar-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.8s ease;
}

.vis-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.vis-pill {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--ink-3);
}

.vis-pill.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.vis-row-list { display: flex; flex-direction: column; gap: 0.75rem; }

.vis-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.vis-row-name { color: var(--ink-3); }

/* =============================================================
   COMPARISON TABLE
   ============================================================= */
.vs-wrap { overflow-x: auto; }

.vs-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.vs-table thead tr { border-bottom: 2px solid var(--border); }

.vs-table th {
  padding: 0 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--muted);
}

.vs-table th:first-child { text-align: left; }

.vs-table th.th-revo { color: var(--ink); }

.th-revo-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.th-revo-badge {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.vs-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.vs-table td:first-child {
  text-align: left;
  color: var(--ink-3);
  font-weight: 450;
}

.vs-table tbody tr:last-child td { border-bottom: none; }
.vs-table tbody tr:hover td { background: #fafafa; }
.vs-table td.td-revo { background: #f8f9ff; }
.vs-table tr:hover td.td-revo { background: #f3f5ff; }

.icon-yes  { color: #16a34a; }
.icon-no   { color: #d1d5db; }
.icon-part { color: #d97706; font-size: 0.8125rem; font-weight: 500; }

/* =============================================================
   TESTIMONIALS
   ============================================================= */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.testi-stars { color: #f59e0b; font-size: 0.8125rem; letter-spacing: 2px; }

.testi-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-3);
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.testi-role {
  font-size: 0.75rem;
  color: var(--muted-2);
}

/* =============================================================
   CTA BLOCK
   ============================================================= */
.cta-block { padding: 6rem max(5vw, 24px); }

.cta-inner {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 6rem max(6vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(37,99,235,0.2) 0%, transparent 65%);
  top: -100px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-inner h2 {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--white);
  max-width: 620px;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.cta-inner p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin: 0 auto 2.75rem;
  line-height: 1.7;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.cta-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-md);
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-white:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem max(5vw, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-left { display: flex; align-items: center; gap: 1.5rem; }

footer .logo-text { font-size: 0.9rem; }

.footer-copy {
  font-size: 0.8125rem;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* =============================================================
   LEGAL & CONTACT PAGES
   ============================================================= */

.page-hero {
  padding: 6rem 2rem 3.5rem;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.page-hero-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.625rem;
}
.page-hero-sub  { font-size: 1rem; color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.6; }
.page-hero-meta { font-size: 0.78rem; color: var(--muted-2); margin-top: 0.75rem; }

/* ── Legal prose ── */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 3.5rem 2rem 6rem; }

.legal-section { margin-bottom: 2.75rem; }

.legal-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.legal-section p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 0.875rem;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  margin: 0 0 0.875rem 1.25rem;
  padding: 0;
}
.legal-section li {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.4rem;
}
.legal-section a           { color: var(--blue); text-decoration: none; }
.legal-section a:hover     { text-decoration: underline; }

/* ── Contact layout ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.75rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.contact-info-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted-2);
  margin-bottom: 0.2rem;
}
.contact-info-val {
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}
.contact-info-val a        { color: var(--ink); text-decoration: none; }
.contact-info-val a:hover  { color: var(--blue); }
.contact-info-sub          { font-size: 0.75rem; color: var(--muted); margin-top: 0.15rem; }

.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.5rem;
}
.contact-notice svg { flex-shrink: 0; margin-top: 0.1rem; color: var(--muted-2); }

/* ── Contact form ── */
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
}
.contact-form-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group   { margin-bottom: 1rem; }
.form-label   { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-3); margin-bottom: 0.375rem; }
.form-required { color: #dc2626; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.6rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%23717171' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-footer   { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.form-privacy  { font-size: 0.75rem; color: var(--muted); max-width: 360px; line-height: 1.5; }
.form-privacy a { color: var(--blue); text-decoration: none; }
.form-privacy a:hover { text-decoration: underline; }
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}
.form-submit:hover { background: var(--ink-2); }

/* ── Map ── */
.contact-map-wrap  { border-top: 1px solid var(--border); }
.contact-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem max(5vw, 24px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-map-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.contact-map-label svg { color: var(--muted-2); flex-shrink: 0; }
.contact-map-ext {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.15s;
}
.contact-map-ext:hover { opacity: 0.75; }
.contact-map-frame {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
  filter: grayscale(15%);
}

/* ── Module quick links strip ── */
.contact-modules-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem max(5vw, 24px);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.contact-modules-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.contact-modules-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-modules-links a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  transition: color 0.12s, border-color 0.12s;
}
.contact-modules-links a:hover { color: var(--ink); border-color: var(--ink-3); }

@media (max-width: 768px) {
  .contact-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row       { grid-template-columns: 1fr; }
  .form-footer    { flex-direction: column; align-items: flex-start; }
  .contact-modules-strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* =============================================================
   SCROLL REVEAL ANIMATION
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .modules-grid    { grid-template-columns: repeat(2, 1fr); }
  .features-row    { grid-template-columns: 1fr 1fr; }
  .steps-layout    { grid-template-columns: 1fr; gap: 3rem; }
  .steps-visual    { height: 360px; }
  .testi-grid      { grid-template-columns: 1fr 1fr; }
}

/* Desktop: hide hamburger, show full nav */
@media (min-width: 1025px) {
  .nav-hamburger { display: none; }
}

/* Reduce nav gap on mid-range screens before full collapse */
@media (max-width: 1100px) {
  .nav-links { gap: 1.25rem; }
}

@media (max-width: 1024px) {
  .nav-links   { display: none; }
  .nav-actions { display: none; }
}

/* =============================================================
   MOBILE DRAWER NAV
   ============================================================= */

/* Overlay / backdrop */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Drawer panel */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88vw, 400px);
  background: #fff;
  z-index: 301;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: -24px 0 64px rgba(0,0,0,0.12);
}
.mobile-drawer.active {
  transform: translateX(0);
}

/* Drawer header */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  height: 60px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: #fff;
}

.mobile-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.mobile-drawer-close:hover {
  background: var(--border);
  transform: rotate(90deg);
}

/* Scrollable body */
.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1rem;
}

/* Single nav item wrapper */
.mobile-nav-item { display: block; }

/* Plain link */
.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.015em;
  transition: background 0.12s, color 0.12s;
  border-radius: 0;
}
.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: var(--surface);
  color: var(--blue);
}
.mobile-nav-link.nav-active { color: var(--blue); font-weight: 600; }
.mobile-nav-trigger.nav-active { color: var(--blue); font-weight: 600; }
.mobile-subnav a.nav-active { color: var(--blue); font-weight: 600; }

/* Dropdown trigger */
.mobile-nav-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: none;
  font-family: inherit;
  letter-spacing: -0.015em;
  cursor: pointer;
  text-align: left;
  transition: background 0.12s, color 0.12s;
}
.mobile-nav-trigger:hover,
.mobile-nav-trigger:focus-visible {
  background: var(--surface);
  color: var(--blue);
}
.mobile-nav-trigger .mob-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.25s ease;
  color: var(--muted);
}
.mobile-nav-item.open .mobile-nav-trigger .mob-chevron {
  transform: rotate(180deg);
  background: var(--blue-dim);
  color: var(--blue);
}

/* Sub-menu */
.mobile-subnav {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.375rem 0;
}
.mobile-nav-item.open .mobile-subnav { display: block; }

.mobile-subnav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.12s, background 0.12s;
  border-radius: 0;
}
.mobile-subnav a:hover {
  color: var(--blue);
  background: var(--blue-dim);
}
.mobile-subnav a svg { color: var(--muted-2); flex-shrink: 0; }

/* Section divider */
.mobile-nav-divider {
  height: 1px;
  background: var(--border);
  margin: 0.375rem 1.375rem;
}

/* Drawer footer */
.mobile-drawer-footer {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex-shrink: 0;
  background: #fff;
}

.mobile-drawer-tagline {
  font-size: 0.72rem;
  color: var(--muted-2);
  text-align: center;
  padding-bottom: 0.25rem;
  letter-spacing: 0.01em;
}
.mobile-drawer-tagline span {
  color: var(--blue);
  font-weight: 600;
}

.mobile-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.15s, transform 0.15s;
}
.mobile-cta-primary:hover { opacity: 0.84; transform: translateY(-1px); }

.mobile-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: -0.02em;
  border: 1px solid var(--border);
  transition: background 0.15s;
}
.mobile-cta-secondary:hover { background: var(--border); }

/* Stagger-in animation */
@keyframes mobItemIn {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: translateX(0); }
}
.mobile-drawer.active .mobile-nav-item {
  animation: mobItemIn 0.28s ease both;
}
.mobile-drawer.active .mobile-nav-item:nth-child(1) { animation-delay: 0.04s; }
.mobile-drawer.active .mobile-nav-item:nth-child(2) { animation-delay: 0.09s; }
.mobile-drawer.active .mobile-nav-item:nth-child(3) { animation-delay: 0.13s; }
.mobile-drawer.active .mobile-nav-item:nth-child(4) { animation-delay: 0.16s; }
.mobile-drawer.active .mobile-nav-item:nth-child(5) { animation-delay: 0.19s; }
.mobile-drawer.active .mobile-nav-item:nth-child(6) { animation-delay: 0.21s; }
.mobile-drawer.active .mobile-nav-item:nth-child(7) { animation-delay: 0.23s; }

@media (max-width: 680px) {
  .hero-metrics    { flex-direction: column; }
  .metric          { border-right: none; border-bottom: 1px solid var(--border); }
  .metric:last-child { border-bottom: none; }
  .modules-grid    { grid-template-columns: 1fr; }
  .features-row    { grid-template-columns: 1fr; }
  .testi-grid      { grid-template-columns: 1fr; }
}

/* =============================================================
   Car Rental Module — Styles
   ============================================================= */

/* ── HERO ── */
.cr-hero {
  padding: 5rem max(5vw, 24px) 5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.cr-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.cr-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.cr-breadcrumb:hover { color: var(--ink); }

.cr-h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--ink);
  margin: 1.25rem 0;
}

.cr-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.25rem;
  letter-spacing: -0.01em;
}

.cr-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.cr-trust-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cr-trust-logos {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cr-trust-logos span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
}

/* ── Dashboard mockup ── */
.cr-dash-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08);
}

.cr-dash-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cr-dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.cr-dash-dot.red    { background: #f87171; }
.cr-dash-dot.yellow { background: #fbbf24; }
.cr-dash-dot.green  { background: #4ade80; }

.cr-dash-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.5rem;
  letter-spacing: -0.01em;
}

.cr-dash-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }

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

.cr-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.875rem;
}

.cr-stat-label {
  font-size: 0.6875rem;
  color: var(--muted-2);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.cr-stat-val {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.cr-stat-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  display: inline-block;
}

.cr-stat-badge.up      { background: #dcfce7; color: #16a34a; }
.cr-stat-badge.neutral { background: var(--surface); color: var(--muted); border: 1px solid var(--border); }

.cr-res-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.cr-res-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
}

.cr-res-count {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-dim);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.cr-res-list { display: flex; flex-direction: column; }

.cr-res-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

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

.cr-res-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink-3);
  flex-shrink: 0;
}

.cr-res-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cr-res-name   { font-size: 0.8125rem; font-weight: 500; color: var(--ink); }
.cr-res-detail { font-size: 0.6875rem; color: var(--muted-2); }

.cr-res-status {
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.2rem 0.5rem;
  border-radius: 5px;
  flex-shrink: 0;
}

.cr-res-status.confirmed { background: #dcfce7; color: #16a34a; }
.cr-res-status.pending   { background: var(--blue-dim); color: var(--blue); }

.cr-fleet-bar { padding: 0.25rem 0; }

.cr-fleet-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.cr-fleet-pct { font-weight: 600; color: var(--ink); }

.cr-fleet-track {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.cr-fleet-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
  transition: width 1s ease;
}

/* ── STATS BAR ── */
.cr-stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.cr-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 max(5vw, 24px);
  flex-wrap: wrap;
}

.cr-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 1.5rem 3rem;
}

.cr-stat-pill strong {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.cr-stat-pill span {
  font-size: 0.8125rem;
  color: var(--muted-2);
  text-align: center;
}

.cr-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── BEFORE / AFTER ── */
.cr-vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.cr-vs-col {
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.cr-vs-before {
  background: #fff5f5;
  border: 1px solid #fecaca;
}

.cr-vs-after {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.cr-vs-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.cr-vs-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cr-vs-before ul li {
  font-size: 0.9rem;
  color: #991b1b;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.cr-vs-before ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #f87171;
  font-weight: 600;
}

.cr-vs-after ul li {
  font-size: 0.9rem;
  color: #14532d;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.cr-vs-after ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16a34a;
  font-weight: 700;
}

/* ── FEATURES DEEP DIVE ── */
.cr-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.cr-feat-card {
  background: var(--white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.15s;
}

.cr-feat-card:hover { background: #fafafa; }

.cr-feat-large {
  grid-column: span 2;
}

.cr-feat-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  flex-shrink: 0;
}

.cr-feat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.cr-feat-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── DASHBOARD TABS ── */
.cr-dash-tabs-wrap {
  margin-top: 1rem;
}

.cr-dash-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  align-self: flex-start;
  width: fit-content;
  margin-bottom: 2rem;
}

.cr-tab {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  border-right: 1px solid var(--border);
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: -0.01em;
  transition: background 0.15s, color 0.15s;
}

.cr-tab:last-child { border-right: none; }

.cr-tab:hover { color: var(--ink); background: var(--white); }

.cr-tab.active {
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--blue);
}

.cr-tab-panel { display: none; }
.cr-tab-panel.active { display: block; }

.cr-tab-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.cr-tab-text h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}

.cr-tab-text p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cr-tab-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cr-tab-list li {
  font-size: 0.875rem;
  color: var(--ink-3);
  padding-left: 1.25rem;
  position: relative;
}

.cr-tab-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 600;
}

.cr-tab-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-mini-dash {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.cr-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
}

.cr-mini-label { color: var(--muted); }
.cr-mini-val   { font-weight: 600; letter-spacing: -0.02em; }
.cr-mini-val.green { color: #16a34a; }
.cr-mini-val.blue  { color: var(--blue); }

.cr-mini-bar-wrap { display: flex; flex-direction: column; gap: 0.35rem; }
.cr-mini-bar-label { font-size: 0.75rem; color: var(--muted-2); }
.cr-mini-bar { height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.cr-mini-fill { height: 100%; background: var(--blue); border-radius: 3px; }

.cr-nb-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.cr-nb-row:last-child { border-bottom: none; }

.cr-nb-plate {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: monospace;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.cr-nb-model { flex: 1; color: var(--ink-3); }

/* ── OWNER APP ── */
.cr-app-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 1rem;
}

/* Phone shell */
.cr-phone-wrap {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.cr-phone {
  width: 240px;
  background: var(--ink);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
  position: relative;
}

.cr-phone-notch {
  width: 60px;
  height: 6px;
  background: var(--ink-2);
  border-radius: 3px;
  margin: 0 auto 10px;
}

.cr-phone-screen {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-height: 420px;
}

.cr-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cr-app-greeting {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.cr-app-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.5625rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cr-app-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.cr-app-stat { display: flex; flex-direction: column; gap: 2px; }

.cr-app-stat-val {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.cr-app-stat-lbl {
  font-size: 0.5625rem;
  color: var(--muted-2);
  font-weight: 500;
}

.cr-app-green { color: #16a34a; }

.cr-app-notif-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cr-app-notif {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.625rem;
}

.cr-app-notif-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cr-app-notif-dot.blue   { background: var(--blue); }
.cr-app-notif-dot.green  { background: #16a34a; }
.cr-app-notif-dot.orange { background: #f59e0b; }

.cr-app-notif-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cr-app-notif-body span:first-child {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--ink);
}

.cr-app-notif-time {
  font-size: 0.5625rem;
  color: var(--muted-2);
}

.cr-app-util-bar { display: flex; flex-direction: column; gap: 0.35rem; }

.cr-app-util-label {
  font-size: 0.625rem;
  color: var(--muted-2);
}

.cr-app-util-pct {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  align-self: flex-end;
  margin-top: -1.1rem;
}

.cr-app-util-track {
  height: 5px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.cr-app-util-fill {
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
}

/* Feature list */
.cr-app-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cr-app-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cr-app-feat-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--ink-3);
  flex-shrink: 0;
  margin-top: 2px;
}

.cr-app-feature-list li div strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 0.2rem;
}

.cr-app-feature-list li div p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Store badges */
.cr-app-badges {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.cr-store-badge {
  display: block;
  transition: transform 0.15s, opacity 0.15s;
}

.cr-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.cr-store-badge img {
  height: 168px;
  width: auto;
  display: block;
}

.cr-badge-appstore img {
  height: 115px;
  padding: 0 12px;
  margin-top: 27px;
}

@media (max-width: 1024px) {
  .cr-app-inner            { grid-template-columns: 1fr; justify-items: center; gap: 3rem; }
  .cr-app-text             { text-align: center; width: 100%; }
  .cr-app-text .block-title { text-align: center; }
  .cr-app-text .block-sub  { margin: 0 auto; text-align: center !important; }
  .cr-app-badges           { justify-content: center; }
  .cr-app-feature-list li  { text-align: left; }
}

@media (max-width: 680px) {
  .cr-phone      { width: 200px; }
  .cr-phone-screen { min-height: 360px; }

  .cr-app-feature-list { gap: 1rem; }

  /* Stack badges vertically and scale down */
  .cr-app-badges        { flex-direction: column; align-items: center; gap: 0.5rem; }
  .cr-store-badge img   { height: 100px; }
  .cr-badge-appstore img { height: 70px; margin-top: 16px; }
}

/* ── THEMES ── */
.cr-themes-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: stretch;
}

.cr-theme-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: default;
}

.cr-theme-card:hover {
  border-color: var(--ink-3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cr-theme-preview {
  background: #1e293b;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 120px;
}

.cr-tp-2 { background: #0f172a; }
.cr-tp-3 { background: #1a1a2e; }
.cr-tp-4 { background: #16213e; }

.cr-theme-mock-nav {
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.cr-theme-mock-hero {
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 5px;
  flex: 1;
}

.cr-theme-mock-cards {
  display: flex;
  gap: 0.375rem;
}

.cr-theme-mock-card {
  flex: 1;
  height: 18px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}

.cr-theme-name {
  padding: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}

.cr-theme-badge {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.cr-theme-more {
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  gap: 0.5rem;
}

.cr-theme-more span {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.cr-theme-more p {
  font-size: 0.8125rem;
  color: var(--muted-2);
  line-height: 1.5;
}

/* ── PRICING ── */
.cr-pricing-grid,
.cr-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: start;
}

.cr-plan {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.cr-plan-featured {
  border-color: var(--ink);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
}

.cr-plan-popular {
  background: var(--ink);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.4rem;
}

.cr-plan-header {
  padding: 2rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cr-plan-name {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cr-plan-price {
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cr-plan-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}

.cr-plan-sub {
  font-size: 0.8125rem;
  color: var(--muted-2);
}

.cr-plan-features {
  list-style: none;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.cr-plan-features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--ink-3);
}

.cr-plan-features li svg { flex-shrink: 0; }

.cr-plan-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  padding: 1rem 2rem;
  transition: opacity 0.15s;
  letter-spacing: -0.01em;
}

.cr-plan-cta:hover { opacity: 0.82; }

.cr-plan-cta-outline {
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--border);
}

.cr-plan-cta-outline:hover { background: var(--surface); opacity: 1; }

/* ── FAQ ── */
.cr-faq-list {
  max-width: 720px;
  margin: 2rem auto 0;
}

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

.cr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}

.cr-faq-q:hover { color: var(--blue); }

.cr-faq-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--muted-2);
}

.cr-faq-item.active .cr-faq-icon { transform: rotate(180deg); }

.cr-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.cr-faq-item.active .cr-faq-a {
  max-height: 200px;
  padding-bottom: 1.25rem;
}

.cr-faq-a p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* =============================================================
   Vendo — E-commerce Module Styles
   ============================================================= */

/* ── Why Vendo — pain/solution layout ── */
.vendo-why-section { overflow: visible; }

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

.vendo-pain-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow: hidden;
  background: var(--surface);
}

.vendo-pain-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.vendo-pain-text {
  font-size: 0.9rem;
  color: var(--ink-3);
  line-height: 1.55;
}

/* diagonal strikethrough overlay */
.vendo-pain-strike {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom right,
      transparent calc(50% - 0.5px),
      #ef444430 calc(50% - 0.5px),
      #ef444430 calc(50% + 0.5px),
      transparent calc(50% + 0.5px)
    );
}

.vendo-answer-strip {
  margin-top: 1.5rem;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--blue-dim);
}

.vendo-answer-badge {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.vendo-answer-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 2rem;
  flex: 1;
}

.vendo-answer-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: var(--ink);
  line-height: 1.4;
}

.vendo-answer-list li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

@media (max-width: 1024px) {
  .vendo-pain-grid { grid-template-columns: 1fr; }
  .vendo-answer-strip { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .vendo-answer-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .vendo-answer-list { grid-template-columns: 1fr; }
}

.vendo-hero {
  padding: 5rem max(5vw, 24px) 5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.vendo-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.vendo-h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--ink);
  margin: 1.25rem 0;
}

.vendo-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.25rem;
  letter-spacing: -0.01em;
}

/* ── Storefront mockup ── */
.vendo-store-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.08);
}

.vendo-store-topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vendo-store-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.vendo-store-dot {
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--blue);
}

.vendo-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #16a34a;
  background: #dcfce7;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.vendo-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s infinite;
}

/* Product grid */
.vendo-prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.vendo-prod-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.vendo-prod-thumb {
  height: 56px;
}

.vendo-thumb-1 { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.vendo-thumb-2 { background: linear-gradient(135deg, #fce7f3, #fbcfe8); }
.vendo-thumb-3 { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }

.vendo-prod-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0.4rem 0.5rem;
}

.vendo-prod-name {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--ink);
}

.vendo-prod-price {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}

/* Order feed */
.vendo-order-feed {
  border-top: 1px solid var(--border);
  margin: 0 1rem;
}

.vendo-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-3);
}

.vendo-order-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  border-top: 1px solid var(--border);
}

/* ── Themes ── */
.vendo-themes-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: stretch;
}

.vendo-theme-preview {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 130px;
}

.vendo-tp-1 { background: #f8fafc; border-bottom: 1px solid var(--border); }
.vendo-tp-2 { background: #1e293b; }
.vendo-tp-3 { background: #0f172a; }

.vendo-theme-mock-topbar {
  height: 7px;
  background: rgba(0,0,0,0.08);
  border-radius: 3px;
}

.vendo-tp-2 .vendo-theme-mock-topbar,
.vendo-tp-3 .vendo-theme-mock-topbar { background: rgba(255,255,255,0.15); }

.vendo-theme-mock-hero {
  height: 28px;
  background: rgba(0,0,0,0.06);
  border-radius: 5px;
}

.vendo-tp-2 .vendo-theme-mock-hero,
.vendo-tp-3 .vendo-theme-mock-hero { background: rgba(255,255,255,0.08); }

.vendo-theme-mock-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  flex: 1;
}

.vendo-theme-mock-product {
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
  min-height: 20px;
}

.vendo-tp-2 .vendo-theme-mock-product,
.vendo-tp-3 .vendo-theme-mock-product { background: rgba(255,255,255,0.1); }

/* ── 4-column pricing ── */
.vendo-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
  align-items: start;
}

/* Vendo responsive */
@media (max-width: 1100px) {
  .vendo-pricing-grid  { grid-template-columns: 1fr 1fr; }
  .vendo-themes-grid   { grid-template-columns: 1fr 1fr; }
  .vendo-theme-featured { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .vendo-hero-inner    { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .vendo-pricing-grid  { grid-template-columns: 1fr; }
  .vendo-themes-grid   { grid-template-columns: 1fr 1fr; }
  .vendo-prod-grid     { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   Taxi Flow — Dispatch System Styles
   ============================================================= */

/* ── Hero ── */
.taxi-hero {
  padding: 5rem max(5vw, 24px) 4rem;
  background: linear-gradient(170deg, #f0fdfa 0%, var(--white) 50%);
}

.taxi-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.taxi-h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 1rem 0;
}

.taxi-accent { color: #0d9488; }

.taxi-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 2rem;
}

/* ── Hero Dashboard Mockup ── */
.taxi-dash-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
}

.taxi-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.taxi-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.taxi-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0d9488;
}

.taxi-live-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.taxi-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d9488;
  animation: pulse 2s ease-in-out infinite;
}

/* Two-panel body */
.taxi-dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.75rem 1rem 1rem;
}

.taxi-fleet-panel {
  border-right: 1px solid var(--border);
  padding-right: 0.75rem;
  margin-right: 0.75rem;
}

.taxi-rides-panel { display: flex; flex-direction: column; gap: 0.35rem; }

.taxi-panel-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.5rem;
}

/* Fleet grid */
.taxi-fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.taxi-driver-card {
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.taxi-driver-card.on-trip   { background: #f0fdfa; border: 1px solid #99f6e4; }
.taxi-driver-card.available { background: #f0fdf4; border: 1px solid #bbf7d0; }
.taxi-driver-card.offline   { background: var(--surface); border: 1px solid var(--border); }

.taxi-driver-id {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.taxi-driver-status {
  font-size: 0.62rem;
  color: var(--muted);
}

.taxi-driver-card.on-trip   .taxi-driver-status { color: #0d9488; }
.taxi-driver-card.available .taxi-driver-status { color: #16a34a; }

.taxi-ride-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.25rem;
}

/* ── Why Taxi Flow — Cost of Chaos Diptych ── */
.taxi-why-section { overflow: visible; }

.taxi-why-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

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

.taxi-metric-card {
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-md);
}

.taxi-metric-bad {
  background: #fff8f8;
  border: 1px solid #fecaca;
}

.taxi-metric-good {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
}

.taxi-metric-val {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.taxi-metric-bad  .taxi-metric-val { color: #dc2626; }
.taxi-metric-good .taxi-metric-val { color: #0d9488; }

.taxi-metric-sub {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
}

.taxi-why-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
}

.taxi-why-divider::before,
.taxi-why-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.taxi-why-pill {
  background: #0d9488;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ── Three-role dashboard ── */
.taxi-roles-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  align-items: start;
}

.taxi-role-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}

.taxi-role-dispatch {
  border-color: #0d9488;
  box-shadow: 0 0 0 1px #0d9488;
}

.taxi-role-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.taxi-role-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}

.taxi-role-icon.dispatch {
  background: #0d9488;
  border-color: #0d9488;
  color: #fff;
}

.taxi-role-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.taxi-role-sub {
  font-size: 0.67rem;
  color: var(--muted);
}

.taxi-role-body {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.taxi-role-caption {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

/* Driver view */
.taxi-drv-ride {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.taxi-drv-status-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #0d9488;
}

.taxi-drv-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d9488;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.taxi-drv-route {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.taxi-drv-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink);
  font-weight: 500;
}

.taxi-drv-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.taxi-drv-dot.pickup  { background: #2563eb; }
.taxi-drv-dot.dropoff { background: #0d9488; }

.taxi-drv-connector {
  width: 1px;
  height: 10px;
  background: var(--border);
  margin-left: 3.5px;
}

.taxi-drv-fare {
  font-size: 0.72rem;
  color: var(--muted);
}

.taxi-drv-fare strong { color: var(--ink); }

.taxi-drv-earnings {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.taxi-drv-earn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.taxi-drv-earn-label { color: var(--muted); }
.taxi-drv-earn-val   { font-weight: 700; color: var(--ink); }

/* Dispatcher view */
.taxi-disp-fleet-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.taxi-disp-fleet-chip {
  font-size: 0.67rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid;
}

.taxi-disp-fleet-chip.on-trip   { background: #f0fdfa; border-color: #99f6e4; color: #0d9488; }
.taxi-disp-fleet-chip.available { background: #f0fdf4; border-color: #bbf7d0; color: #16a34a; }
.taxi-disp-fleet-chip.offline   { background: var(--surface); border-color: var(--border); color: var(--muted); }

.taxi-disp-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.taxi-disp-ride {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.taxi-disp-id {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  min-width: 2.5rem;
}

.taxi-disp-route {
  flex: 1;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.taxi-disp-queued {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.6rem;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  gap: 0.5rem;
}

.taxi-disp-queue-text {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--ink-3);
}

.taxi-disp-queue-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}

.taxi-disp-assign-btn {
  font-size: 0.67rem;
  font-weight: 700;
  color: #0d9488;
  background: var(--white);
  border: 1px solid #0d9488;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
  cursor: default;
}

/* Owner view */
.taxi-own-metric {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.taxi-own-metric-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.taxi-own-metric-val {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}

.taxi-own-bar-wrap { display: flex; flex-direction: column; gap: 0.35rem; }

.taxi-own-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

.taxi-own-bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.taxi-own-bar-fill {
  height: 100%;
  background: #0d9488;
  border-radius: 999px;
}

.taxi-own-top { display: flex; flex-direction: column; gap: 0.4rem; }

.taxi-own-driver-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ── Roles grid responsive ── */
@media (max-width: 1100px) {
  .taxi-roles-grid { grid-template-columns: 1fr 1fr; }
  .taxi-role-dispatch { grid-column: span 2; }
}

@media (max-width: 680px) {
  .taxi-roles-grid { grid-template-columns: 1fr; }
  .taxi-role-dispatch { grid-column: span 1; }
}

/* ── Dispatch Flow ── */
.taxi-flow-wrap { margin-top: 2.5rem; }

.taxi-flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.taxi-flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  position: relative;
}

.taxi-flow-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d9488;
  margin-bottom: 0.75rem;
}

.taxi-flow-num {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 0.2rem;
}

.taxi-flow-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.taxi-flow-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.taxi-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
  margin-top: 1.5rem;
  color: #0d9488;
  flex-shrink: 0;
}

/* ── Themes ── */
.taxi-themes-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.taxi-theme-featured { grid-column: span 1; }

.taxi-theme-preview {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 160px;
}

/* Racer — dark, dynamic */
.taxi-tp-1 { background: #0a0a0a; border: 1px solid #1a1a1a; }
.taxi-tp-1 .taxi-theme-topbar { height: 12px; background: #0d9488; border-radius: 3px; }
.taxi-tp-1 .taxi-theme-hero   { height: 32px; background: #111; border-radius: 3px; border: 1px solid #1e1e1e; }
.taxi-tp-1 .taxi-theme-form   { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.taxi-tp-1 .taxi-theme-field  { height: 12px; background: #1a1a1a; border-radius: 3px; }
.taxi-tp-1 .taxi-theme-btn    { height: 14px; background: #0d9488; border-radius: 3px; margin-top: 2px; }

/* Fleet — clean, white */
.taxi-tp-2 { background: #f8f9fa; border: 1px solid #e9ecef; }
.taxi-tp-2 .taxi-theme-topbar { height: 12px; background: #212529; border-radius: 3px; }
.taxi-tp-2 .taxi-theme-hero   { height: 32px; background: #dee2e6; border-radius: 3px; }
.taxi-tp-2 .taxi-theme-form   { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.taxi-tp-2 .taxi-theme-field  { height: 12px; background: #e9ecef; border-radius: 3px; border: 1px solid #ced4da; }

/* City — minimal, warm */
.taxi-tp-3 { background: #fffbf0; border: 1px solid #fde68a; }
.taxi-tp-3 .taxi-theme-topbar { height: 12px; background: #92400e; border-radius: 3px; }
.taxi-tp-3 .taxi-theme-hero   { height: 32px; background: #fef3c7; border-radius: 3px; }
.taxi-tp-3 .taxi-theme-form   { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.taxi-tp-3 .taxi-theme-field  { height: 12px; background: #fde68a; border-radius: 3px; }

/* ── Taxi Responsive ── */
@media (max-width: 1100px) {
  .taxi-themes-grid  { grid-template-columns: 1fr 1fr; }
  .taxi-theme-featured { grid-column: span 2; }
  .taxi-flow-steps   { flex-wrap: wrap; gap: 0.5rem; }
  .taxi-flow-step    { flex-basis: calc(50% - 0.25rem); }
  .taxi-flow-arrow   { display: none; }
}

@media (max-width: 1024px) {
  .taxi-hero-inner   { grid-template-columns: 1fr; }
  .taxi-metric-row   { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .taxi-themes-grid  { grid-template-columns: 1fr; }
  .taxi-theme-featured { grid-column: span 1; }
  .taxi-dash-body    { grid-template-columns: 1fr; }
  .taxi-fleet-panel  { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; margin-right: 0; padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
  .taxi-flow-step    { flex-basis: 100%; }
}

/* =============================================================
   Hera — Real Estate CRM Styles
   ============================================================= */

/* ── Hero ── */
.hera-hero {
  padding: 5rem max(5vw, 24px) 4rem;
  background: linear-gradient(170deg, #fdf8f0 0%, var(--white) 55%);
}

.hera-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

.hera-h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 1rem 0;
}

.hera-accent {
  color: #d97706;
}

.hera-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 2rem;
}

/* ── Hero Dashboard Mockup ── */
.hera-hero-visual { position: relative; }

.hera-dash-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.07), 0 2px 8px rgba(0,0,0,0.04);
}

.hera-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.hera-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.hera-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d97706;
}

.hera-status-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.hera-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Two-panel body */
.hera-dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0.75rem 1rem 1rem;
}

.hera-prop-panel,
.hera-lead-panel {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hera-prop-panel {
  border-right: 1px solid var(--border);
  padding-right: 0.75rem;
  margin-right: 0.75rem;
}

.hera-panel-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.25rem;
}

.hera-prop-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.hera-prop-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hera-prop-dot.available { background: #16a34a; }
.hera-prop-dot.sold      { background: #2563eb; }
.hera-prop-dot.reserved  { background: #d97706; }

.hera-prop-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.hera-prop-address {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

.hera-prop-sub {
  font-size: 0.65rem;
  color: var(--muted);
}

.hera-prop-price {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-3);
}

.hera-lead-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.25rem;
}

/* ── Why Hera — Deal Stage Split Cards ── */
.hera-why-section { overflow: visible; }

.hera-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border);
}

.hera-stage-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.hera-stage-top {
  flex: 1;
  padding: 1.5rem;
  background: #fff8f8;
}

.hera-stage-pain-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #dc2626;
  margin-bottom: 0.5rem;
}

.hera-stage-pain-text {
  font-size: 0.85rem;
  color: #6b2020;
  line-height: 1.55;
}

.hera-stage-divider {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  background: var(--ink);
  color: var(--white);
}

.hera-stage-num {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
}

.hera-stage-divider > span:last-child {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hera-stage-bottom {
  flex: 1;
  padding: 1.5rem;
  background: #f0f7ff;
}

.hera-stage-fix-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #1d4ed8;
  margin-bottom: 0.5rem;
}

.hera-stage-fix-text {
  font-size: 0.85rem;
  color: #1e3a5f;
  line-height: 1.55;
}

/* ── Lead Sources Hub ── */
.hera-sources-wrap {
  margin-top: 2.5rem;
}

.hera-sources-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 780px;
  margin: 0 auto;
}

.hera-sources-left,
.hera-sources-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hera-source-node {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.hera-source-icon {
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.hera-source-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.hera-source-count {
  font-size: 0.72rem;
  color: var(--muted);
}

.hera-sources-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hera-hub {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hera-hub-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed #d97706;
  opacity: 0.5;
  animation: spin 18s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hera-hub-core {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
}

.hera-hub-core span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}

.hera-hub-pills {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-items: center;
}

.hera-hub-pill {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #92400e;
  border: 1px solid #fcd34d;
  white-space: nowrap;
}

/* ── Hera Themes Grid ── */
.hera-themes-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hera-theme-featured {
  grid-column: span 1;
}

.hera-theme-preview {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 160px;
}

/* Vista — light, clean */
.hera-tp-1 { background: #f8f9fa; border: 1px solid #e9ecef; }
.hera-tp-1 .hera-theme-topbar  { height: 12px; background: #fff; border-radius: 3px; border: 1px solid #dee2e6; }
.hera-tp-1 .hera-theme-search  { height: 10px; background: #e9ecef; border-radius: 3px; width: 70%; }
.hera-tp-1 .hera-theme-cards   { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1; }
.hera-tp-1 .hera-theme-prop-card { background: #fff; border-radius: 3px; border: 1px solid #dee2e6; min-height: 36px; }

/* Meridian — dark luxury */
.hera-tp-2 { background: #1a1a2e; border: 1px solid #2d2d4e; }
.hera-tp-2 .hera-theme-topbar  { height: 12px; background: #16213e; border-radius: 3px; }
.hera-tp-2 .hera-theme-search  { height: 10px; background: #0f3460; border-radius: 3px; width: 65%; }
.hera-tp-2 .hera-theme-cards   { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1; }
.hera-tp-2 .hera-theme-prop-card { background: #16213e; border-radius: 3px; min-height: 36px; }

/* District — warm minimal */
.hera-tp-3 { background: #fef9f5; border: 1px solid #f0e8de; }
.hera-tp-3 .hera-theme-topbar  { height: 12px; background: #fff; border-radius: 3px; border: 1px solid #f0e8de; }
.hera-tp-3 .hera-theme-search  { height: 10px; background: #f5e6d3; border-radius: 3px; width: 60%; }
.hera-tp-3 .hera-theme-cards   { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1; }
.hera-tp-3 .hera-theme-prop-card { background: #fff; border-radius: 3px; border: 1px solid #f0e8de; min-height: 36px; }

/* ── Hera Responsive ── */
@media (max-width: 1100px) {
  .hera-themes-grid { grid-template-columns: 1fr 1fr; }
  .hera-theme-featured { grid-column: span 2; }
}

@media (max-width: 1024px) {
  .hera-hero-inner     { grid-template-columns: 1fr; }
  .hera-stage-grid     { grid-template-columns: 1fr; gap: 0; }
  .hera-stage-card:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
  .hera-stage-card:last-child  { border-radius: 0 0 var(--radius-md) var(--radius-md); }
  .hera-sources-grid   { grid-template-columns: 1fr; gap: 1.5rem; }
  .hera-sources-center { flex-direction: row; justify-content: center; }
  .hera-sources-left,
  .hera-sources-right  { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .hera-themes-grid    { grid-template-columns: 1fr; }
  .hera-theme-featured { grid-column: span 1; }
  .hera-dash-body      { grid-template-columns: 1fr; }
  .hera-prop-panel     { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; margin-right: 0; padding-bottom: 0.75rem; margin-bottom: 0.75rem; }
}

/* =============================================================
   PMS Module — Styles
   ============================================================= */

.pms-hero {
  padding: 5rem max(5vw, 24px) 5rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.pms-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.pms-h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--ink);
  margin: 1.25rem 0;
}

.pms-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.25rem;
  letter-spacing: -0.01em;
}

/* Room grid in hero mockup */
.pms-room-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.375rem;
}

.pms-room {
  border-radius: 6px;
  padding: 0.375rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.pms-room.occupied  { background: #eff4ff; border: 1px solid #bfdbfe; }
.pms-room.available { background: #f0fdf4; border: 1px solid #bbf7d0; }
.pms-room.cleaning  { background: #fff7ed; border: 1px solid #fed7aa; }

.pms-room-num {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink);
  font-family: monospace;
  letter-spacing: 0.02em;
}

.pms-room-status {
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--muted);
}

/* Channel Manager section */
.pms-channel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 1rem;
}

.pms-channel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.pms-channel-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

.pms-channel-list li svg { flex-shrink: 0; }

.pms-channel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* Hub diagram */
.pms-channel-hub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  margin-bottom: 1.5rem;
}

.pms-hub-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  z-index: 1;
}

.pms-hub-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.pms-node-1 { top: 0;    left: 0; }
.pms-node-2 { top: 0;    right: 0; }
.pms-node-3 { bottom: 0; left: 50%; transform: translateX(-50%); }

.pms-node-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

.pms-node-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.pms-node-dot.blue   { background: #3b82f6; }
.pms-node-dot.yellow { background: #f59e0b; }
.pms-node-dot.green  { background: #16a34a; }

.pms-hub-line {
  position: absolute;
  background: var(--border);
  z-index: 0;
}

.pms-line-1 { width: 2px; height: 60px; top: 28px;  left: calc(50% - 80px); transform: rotate(-30deg); }
.pms-line-2 { width: 2px; height: 60px; top: 28px;  right: calc(50% - 80px); transform: rotate(30deg); }
.pms-line-3 { width: 2px; height: 55px; bottom: 22px; left: 50%; }

/* Sync pills */
.pms-sync-pills {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pms-sync-pill {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.625rem 0.875rem;
}

.pms-sync-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.pms-sync-dot.green { background: #16a34a; }

/* PMS Responsive */
@media (max-width: 1024px) {
  .pms-hero-inner     { grid-template-columns: 1fr; }
  .pms-channel-inner  { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .pms-room-grid { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   REDENT — Dental Management
   Accent: #0891b2 (cyan-600)
   ============================================================= */

/* ── Hero ── */
.redent-hero {
  background: linear-gradient(160deg, #ecfeff 0%, #f0f9ff 50%, #fff 100%);
  padding: 120px max(5vw, 24px) 80px;
}

.redent-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.redent-h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin: 1rem 0 1.25rem;
}

.redent-accent { color: #0891b2; }

.redent-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.redent-btn-primary {
  background: #0891b2 !important;
  box-shadow: 0 2px 12px rgba(8, 145, 178, 0.32) !important;
}
.redent-btn-primary:hover { background: #0e7490 !important; }

/* ── Hero Visual ── */
.redent-hero-visual { display: flex; justify-content: center; }

.redent-dash-mock {
  width: 100%;
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}

.redent-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  background: #0891b2;
}

.redent-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
}

.redent-dash-dot {
  width: 8px; height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
}

.redent-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 0.25rem 0.625rem;
}

.redent-live-dot {
  width: 5px; height: 5px;
  background: #86efac;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.redent-dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  min-height: 200px;
}

.redent-appt-panel,
.redent-patient-panel {
  padding: 0.875rem;
}

.redent-appt-panel { border-right: 1px solid var(--border); }

.redent-panel-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.625rem;
}

.redent-appt-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border);
}
.redent-appt-row:last-child { border-bottom: none; }

.redent-appt-time {
  font-size: 0.65rem;
  font-weight: 600;
  color: #0891b2;
  min-width: 36px;
}

.redent-patient-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.redent-patient-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #0891b2, #0e7490);
  border-radius: 50%;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.redent-patient-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.redent-patient-meta {
  font-size: 0.68rem;
  color: var(--muted);
}

.redent-patient-plan-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 600;
  color: #0891b2;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
  white-space: nowrap;
}

/* Mini odontogram */
.redent-mini-odont {
  margin: 0.5rem 0;
}

.redent-odont-row {
  display: flex;
  gap: 3px;
}

.redent-tooth {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.redent-tooth.treated { background: #a5f3fc; border-color: #0891b2; }
.redent-tooth.active  { background: #0891b2; border-color: #0e7490; }

.redent-odont-label {
  font-size: 0.62rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* Treatment steps in hero */
.redent-treat-steps {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.redent-treat-step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  color: var(--muted);
}
.redent-treat-step.done  { color: var(--ink-3); }
.redent-treat-step.active { color: #0891b2; font-weight: 600; }

.redent-step-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}
.redent-step-dot.done   { background: #0891b2; }
.redent-step-dot.active { background: #0891b2; box-shadow: 0 0 0 2px rgba(8,145,178,0.25); }

/* ── Why Redent — Patient Journey ── */
.redent-why-section {
  background: var(--surface);
}

.redent-journey {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 3rem;
}

.redent-journey-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.redent-journey-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0891b2;
}

.redent-journey-icon {
  color: #0891b2;
}

.redent-journey-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.redent-journey-problem,
.redent-journey-solution {
  border-radius: 8px;
  padding: 0.75rem;
}

.redent-journey-problem {
  background: #fff5f5;
  border: 1px solid #fecaca;
}

.redent-journey-solution {
  background: #ecfeff;
  border: 1px solid #a5f3fc;
}

.redent-journey-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.375rem;
}
.redent-journey-label.bad  { color: #dc2626; }
.redent-journey-label.good { color: #0891b2; }

.redent-journey-problem p,
.redent-journey-solution p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

.redent-journey-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  padding-top: 3.5rem;
  color: var(--muted-2);
}

/* ── Dashboard — Chair Grid ── */
.redent-chair-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.redent-role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.redent-role-doctor {
  border-color: #0891b2;
  box-shadow: 0 0 0 1px #0891b2;
}

.redent-role-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.redent-role-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.redent-role-icon.doctor {
  background: #0891b2;
  border-color: #0891b2;
  color: white;
}

.redent-role-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
}

.redent-role-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

.redent-role-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.redent-role-caption {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* Receptionist queue */
.redent-queue-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.redent-queue-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.redent-queue-row:last-of-type { border-bottom: none; }

.redent-time-chip {
  font-size: 0.65rem;
  font-weight: 600;
  color: #0891b2;
  background: #ecfeff;
  border-radius: 4px;
  padding: 0.15rem 0.35rem;
  white-space: nowrap;
}

.redent-queue-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-3);
  flex: 1;
}

.redent-status-sched {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.15rem 0.5rem;
}

.redent-walk-in {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #0891b2;
  font-weight: 500;
  padding: 0.5rem 0.625rem;
  background: #ecfeff;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.25rem;
}

.redent-walk-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #0891b2;
  flex-shrink: 0;
}

/* Doctor view */
.redent-active-patient {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem;
  background: var(--surface);
  border-radius: 8px;
}

.redent-patient-avatar.sm {
  width: 28px; height: 28px;
  font-size: 0.6rem;
}

.redent-patient-name-sm {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.redent-doctor-odont {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
}

.redent-odont-strip {
  display: flex;
  gap: 4px;
}

.redent-odont-tooth {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.3rem 0.1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.redent-odont-tooth span {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--muted);
}

.redent-odont-tooth.treated {
  background: #cffafe;
  border-color: #67e8f9;
}
.redent-odont-tooth.treated span { color: #0e7490; }

.redent-odont-tooth.active {
  background: #0891b2;
  border-color: #0891b2;
}
.redent-odont-tooth.active span { color: white; }

.redent-odont-strip-label {
  font-size: 0.6rem;
  color: var(--muted);
  margin-top: 0.375rem;
  text-align: center;
}

.redent-plan-steps {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.redent-plan-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.redent-plan-step.done   { color: var(--ink-3); }
.redent-plan-step.active { color: #0891b2; font-weight: 600; }

.redent-plan-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.redent-plan-dot.pending { border-color: var(--muted-2); }

.redent-anamnesis-flag {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  color: #0891b2;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 6px;
  padding: 0.4rem 0.625rem;
}

/* Owner metrics */
.redent-own-metric {
  margin-bottom: 0.25rem;
}
.redent-own-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.redent-own-val {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.redent-own-bar-wrap {
  margin: 0.75rem 0;
}
.redent-own-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.375rem;
}
.redent-own-bar-track {
  height: 6px;
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.redent-own-bar-fill {
  height: 100%;
  background: #0891b2;
  border-radius: 6px;
}


.redent-own-proc-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.375rem;
}
.redent-proc-icon {
  width: 28px; height: 28px;
  background: #ecfeff;
  border: 1px solid #a5f3fc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0891b2;
  flex-shrink: 0;
}

/* ── Odontogram Showcase ── */
.redent-odont-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.redent-jaw-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  align-self: flex-start;
  padding-left: 0.5rem;
}

.redent-jaw { width: 100%; }

.redent-jaw-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0.5rem 0;
  flex-wrap: nowrap;
}

.redent-jaw-midline {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin: 0 4px;
  flex-shrink: 0;
}

.redent-jaw-upper .redent-jaw-inner {
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.75rem;
}
.redent-jaw-lower .redent-jaw-inner {
  border-top: 2px solid var(--border);
  padding-top: 0.75rem;
}

/* Full tooth shape */
.redent-full-tooth {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s;
}
.redent-full-tooth:hover { transform: scale(1.1); }

.redent-jaw-lower .redent-full-tooth { flex-direction: column-reverse; }

.redent-tooth-crown {
  width: 22px; height: 18px;
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  border-radius: 5px 5px 3px 3px;
  transition: background 0.15s, border-color 0.15s;
}

.redent-tooth-root {
  width: 8px; height: 12px;
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 0 0 4px 4px;
  border-top: none;
}

.redent-tooth-root.lower {
  border-radius: 4px 4px 0 0;
  border-bottom: none;
  border-top: 1px solid #d1d5db;
}

.redent-jaw-lower .redent-tooth-crown {
  border-radius: 3px 3px 5px 5px;
}

.redent-tooth-num {
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--muted-2);
  margin-top: 3px;
}

.redent-jaw-lower .redent-tooth-num {
  margin-top: 0;
  margin-bottom: 3px;
}

/* Tooth states */
.redent-full-tooth.treated .redent-tooth-crown {
  background: #cffafe;
  border-color: #0891b2;
}
.redent-full-tooth.treated .redent-tooth-root {
  background: #e0f7fa;
  border-color: #67e8f9;
}

.redent-full-tooth.active .redent-tooth-crown {
  background: #0891b2;
  border-color: #0e7490;
}
.redent-full-tooth.active .redent-tooth-root {
  background: #a5f3fc;
  border-color: #67e8f9;
}
.redent-full-tooth.active .redent-tooth-num { color: #0891b2; }

.redent-full-tooth.problem .redent-tooth-crown {
  background: #fee2e2;
  border-color: #f87171;
}
.redent-full-tooth.problem .redent-tooth-root {
  background: #fef2f2;
  border-color: #fca5a5;
}

.redent-full-tooth.missing .redent-tooth-crown {
  background: #f9fafb;
  border-color: #d1d5db;
  border-style: dashed;
  opacity: 0.4;
}
.redent-full-tooth.missing .redent-tooth-root {
  opacity: 0.3;
}

/* Legend */
.redent-odont-legend {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  width: 100%;
}

.redent-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.redent-legend-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  border: 1.5px solid transparent;
}
.redent-legend-dot.healthy  { background: #f9fafb; border-color: #d1d5db; }
.redent-legend-dot.treated  { background: #cffafe; border-color: #0891b2; }
.redent-legend-dot.active   { background: #0891b2; border-color: #0e7490; }
.redent-legend-dot.problem  { background: #fee2e2; border-color: #f87171; }
.redent-legend-dot.missing  { background: #f9fafb; border-color: #d1d5db; border-style: dashed; opacity: 0.6; }

/* ── Themes ── */
.redent-themes-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.redent-theme-featured { position: relative; }

.redent-theme-preview {
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.875rem;
  border: 1px solid var(--border);
  position: relative;
}

.redent-theme-topbar {
  height: 22px;
  background: currentColor;
}

.redent-theme-hero {
  height: 65px;
  margin: 0.5rem;
  border-radius: 8px;
  background: currentColor;
  opacity: 0.18;
}

.redent-theme-form {
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.redent-theme-field {
  height: 10px;
  border-radius: 4px;
  background: currentColor;
  opacity: 0.12;
}

.redent-theme-btn {
  height: 13px;
  width: 50%;
  border-radius: 4px;
  margin-top: 2px;
}

/* Pearl — clean teal + white */
.redent-tp-1 { color: #0891b2; background: #f0f9ff; }
.redent-tp-1 .redent-theme-topbar { background: #0891b2; }
.redent-tp-1 .redent-theme-btn    { background: #0891b2; }

/* Ivory — warm white + gold accent */
.redent-tp-2 { color: #92400e; background: #fffbeb; }
.redent-tp-2 .redent-theme-topbar { background: #d97706; }

/* Clinic — dark minimal */
.redent-tp-3 { color: #1e293b; background: #f8fafc; }
.redent-tp-3 .redent-theme-topbar { background: #1e293b; }

/* ── Redent Responsive ── */
@media (max-width: 1100px) {
  .redent-hero-inner  { grid-template-columns: 1fr; }
  .redent-chair-grid  { grid-template-columns: 1fr 1fr; }
  .redent-role-doctor { grid-column: span 2; }
  .redent-journey     { grid-template-columns: 1fr 1fr; }
  .redent-journey-connector { display: none; }
  .redent-themes-grid { grid-template-columns: 1fr 1fr 1fr; }
  .redent-theme-featured { grid-column: span 2; }
  .redent-odont-showcase .redent-jaw-inner { gap: 3px; }
  .redent-full-tooth { min-width: 0; }
}

@media (max-width: 768px) {
  .redent-journey     { grid-template-columns: 1fr; }
  .redent-dash-body   { grid-template-columns: 1fr; }
  .redent-appt-panel  { border-right: none; border-bottom: 1px solid var(--border); }
  .redent-chair-grid  { grid-template-columns: 1fr; }
  .redent-role-doctor { grid-column: span 1; }
  .redent-themes-grid { grid-template-columns: 1fr 1fr; }
  .redent-theme-featured { grid-column: span 2; }
  .redent-odont-showcase { padding: 1rem; }
  .redent-jaw-inner { gap: 2px; }
  .redent-tooth-crown { width: 16px; height: 14px; }
  .redent-tooth-root { width: 6px; height: 9px; }
  .redent-tooth-num { font-size: 0.48rem; }
}

@media (max-width: 480px) {
  .redent-themes-grid { grid-template-columns: 1fr; }
  .redent-theme-featured { grid-column: span 1; }
  .redent-jaw-midline { display: none; }
}

/* =============================================================
   ERP — Business Operating System
   Accent: #7c3aed (violet-600)
   ============================================================= */

/* ── Hero ── */
.erp-hero {
  background: linear-gradient(160deg, #f5f3ff 0%, #faf5ff 50%, #fff 100%);
  padding: 120px max(5vw, 24px) 80px;
}

.erp-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.erp-h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--ink);
  margin: 1rem 0 1.25rem;
}

.erp-accent { color: #7c3aed; }

.erp-desc {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.erp-btn-primary {
  background: #7c3aed !important;
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.32) !important;
}
.erp-btn-primary:hover { background: #6d28d9 !important; }

/* ── Hero Visual ── */
.erp-hero-visual { display: flex; justify-content: center; }

.erp-dash-mock {
  width: 100%;
  max-width: 540px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}

.erp-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #1e1b4b;
}

.erp-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 0.8125rem;
  font-weight: 600;
}

.erp-dash-dot {
  width: 8px; height: 8px;
  background: #7c3aed;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.3);
}

.erp-module-pills {
  display: flex;
  gap: 0.375rem;
}

.erp-mod-pill {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
  letter-spacing: 0.03em;
}
.erp-mod-pill.active {
  color: white;
  background: #7c3aed;
}

.erp-dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  min-height: 190px;
}

.erp-sales-panel,
.erp-feed-panel {
  padding: 0.875rem;
}

.erp-sales-panel { border-right: 1px solid var(--border); }

.erp-panel-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.625rem;
}

/* Pipeline mini */
.erp-pipeline-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4px;
}

.erp-pipe-col { display: flex; flex-direction: column; gap: 4px; }

.erp-pipe-header {
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  margin-bottom: 2px;
}

.erp-pipe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.3rem 0.4rem;
  font-size: 0.62rem;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.erp-pipe-card span { font-size: 0.6rem; color: var(--muted); }
.erp-pipe-card.hot { border-color: #7c3aed; background: #f5f3ff; }
.erp-pipe-card.hot span { color: #7c3aed; }
.erp-pipe-card.won { border-color: #16a34a; background: #f0fdf4; }
.erp-pipe-card.won span { color: #16a34a; }

/* Activity feed */
.erp-feed-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.erp-feed-row:last-child { border-bottom: none; }

.erp-feed-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.erp-feed-dot.violet { background: #7c3aed; }
.erp-feed-dot.green  { background: #16a34a; }
.erp-feed-dot.orange { background: #f59e0b; }
.erp-feed-dot.blue   { background: #2563eb; }

/* ── Why ERP — Fragmented tools vs unified ── */
.erp-why-section { background: var(--surface); }

.erp-why-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
}

.erp-chaos-side,
.erp-unified-side {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.erp-chaos-label { margin-bottom: 1.25rem; }

.erp-chaos-badge {
  display: inline-flex;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
}
.erp-chaos-badge.bad  { color: #dc2626; background: #fef2f2; border: 1px solid #fecaca; }
.erp-chaos-badge.good { color: #7c3aed; background: #f5f3ff; border: 1px solid #ddd6fe; }

/* Scattered tool cards */
.erp-tools-scatter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.erp-tool-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.72rem;
  color: var(--ink-3);
  position: relative;
}
.erp-tool-card svg { color: var(--muted); flex-shrink: 0; }

.erp-tool-x {
  position: absolute;
  top: -5px; right: -5px;
  width: 15px; height: 15px;
  background: #dc2626;
  color: white;
  font-size: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Cost items */
.erp-chaos-cost {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}



.erp-cost-val {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.erp-cost-val.bad  { color: #dc2626; }
.erp-cost-val.good { color: #7c3aed; }

.erp-cost-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Divider with arrow */
.erp-why-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.erp-why-arrow {
  color: var(--muted-2);
}

.erp-why-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 20px;
  padding: 0.3rem 0.875rem;
  white-space: nowrap;
}

/* Hub layout */
.erp-modules-hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.erp-hub-center {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #7c3aed;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.625rem 1rem;
  border-radius: 10px;
  letter-spacing: -0.01em;
}

.erp-hub-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.erp-hub-node {
  font-size: 0.72rem;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 6px;
  padding: 0.3rem 0.625rem;
}

/* ── Module Map ── */
.erp-module-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.erp-mod-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.erp-mod-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.erp-mod-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
}

.erp-mod-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.erp-mod-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}

.erp-mod-connects {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border);
}
.erp-mod-connects span {
  font-size: 0.65rem;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
}

/* Tinted module cards */
.erp-mod-sales       .erp-mod-icon { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; }
.erp-mod-sales       .erp-mod-connects span { color: #2563eb; background: #eff6ff; }
.erp-mod-buying      .erp-mod-icon { background: #fff7ed; border-color: #fed7aa; color: #ea580c; }
.erp-mod-buying      .erp-mod-connects span { color: #ea580c; background: #fff7ed; }
.erp-mod-stock       .erp-mod-icon { background: #f0fdf4; border-color: #bbf7d0; color: #16a34a; }
.erp-mod-stock       .erp-mod-connects span { color: #16a34a; background: #f0fdf4; }
.erp-mod-manufacturing .erp-mod-icon { background: #fafafa; border-color: #e5e7eb; color: var(--ink-3); }
.erp-mod-accounting  .erp-mod-icon { background: #fef3c7; border-color: #fde68a; color: #d97706; }
.erp-mod-accounting  .erp-mod-connects span { color: #d97706; background: #fef3c7; }
.erp-mod-hr          .erp-mod-icon { background: #fdf2f8; border-color: #f5d0fe; color: #a21caf; }
.erp-mod-hr          .erp-mod-connects span { color: #a21caf; background: #fdf2f8; }
.erp-mod-assets      .erp-mod-icon { background: #f0fdfa; border-color: #99f6e4; color: #0d9488; }
.erp-mod-fiscal      .erp-mod-icon { background: #fef2f2; border-color: #fecaca; color: #dc2626; }
.erp-mod-fiscal      .erp-mod-connects span { color: #dc2626; background: #fef2f2; }
.erp-mod-payroll     .erp-mod-icon { background: #f5f3ff; border-color: #ddd6fe; color: #7c3aed; }

/* ── Dashboard — Three Departments ── */
.erp-dept-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.erp-dept-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.erp-dept-featured {
  border-color: #7c3aed;
  box-shadow: 0 0 0 1px #7c3aed;
}

.erp-dept-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 1rem 1.125rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.erp-dept-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.erp-dept-icon.featured {
  background: #7c3aed;
  border-color: #7c3aed;
  color: white;
}

.erp-dept-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink);
}
.erp-dept-sub {
  font-size: 0.7rem;
  color: var(--muted);
}

.erp-live-tag {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #7c3aed;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  border-radius: 20px;
  padding: 0.2rem 0.5rem;
}

.erp-live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7c3aed;
  animation: pulse 2s infinite;
}

.erp-dept-body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.erp-dept-caption {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* Sales dept */
.erp-dept-metric-label { font-size: 0.7rem; color: var(--muted); margin-bottom: 0.2rem; }
.erp-dept-metric-val {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.erp-pipeline-mini-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.erp-pipe-bar-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.erp-pipe-bar-lbl {
  font-size: 0.68rem;
  color: var(--muted);
  min-width: 52px;
}
.erp-pipe-bar-track {
  flex: 1;
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.erp-pipe-bar-fill {
  height: 100%;
  border-radius: 4px;
}
.erp-pipe-bar-count {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-3);
  min-width: 14px;
  text-align: right;
}

/* Stock dept */
.erp-stock-rows { display: flex; flex-direction: column; gap: 0.4rem; }

.erp-stock-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.erp-stock-name {
  font-size: 0.68rem;
  color: var(--ink-3);
  min-width: 130px;
  flex-shrink: 0;
}

.erp-stock-bar-track {
  flex: 1;
  height: 6px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.erp-stock-bar {
  height: 100%;
  background: #7c3aed;
  border-radius: 4px;
}
.erp-stock-bar.low { background: #dc2626; }

.erp-stock-qty {
  font-size: 0.68rem;
  font-weight: 600;
  min-width: 36px;
  text-align: right;
}
.erp-stock-qty.ok  { color: var(--ink-3); }
.erp-stock-qty.low { color: #dc2626; }

.erp-stock-alert {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  color: #d97706;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 0.4rem 0.625rem;
}

/* HR dept */
.erp-hr-stats {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.erp-hr-stat {
  flex: 1;
  text-align: center;
  padding: 0.625rem 0.5rem;
  border-right: 1px solid var(--border);
}
.erp-hr-stat:last-child { border-right: none; }

.erp-hr-stat-val {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.erp-hr-stat-lbl {
  font-size: 0.65rem;
  color: var(--muted);
}

.erp-payroll-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.erp-payroll-label { font-size: 0.72rem; color: var(--muted); }
.erp-payroll-val { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }

.erp-payroll-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--ink-3);
}
.erp-payroll-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

.erp-dept-recent-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.375rem;
}
.erp-dept-recent-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--ink-3);
  padding: 0.25rem 0;
  border-bottom: 1px solid var(--border);
}
.erp-dept-recent-row:last-child { border-bottom: none; }

/* ── ERP Responsive ── */
@media (max-width: 1100px) {
  .erp-hero-inner   { grid-template-columns: 1fr; }
  .erp-why-grid     { grid-template-columns: 1fr; }
  .erp-why-divider  { flex-direction: row; padding: 1rem 0; }
  .erp-why-arrow    { transform: rotate(0deg); }
  .erp-module-map   { grid-template-columns: repeat(2, 1fr); }
  .erp-dept-grid    { grid-template-columns: 1fr 1fr; }
  .erp-dept-featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .erp-dash-body     { grid-template-columns: 1fr; }
  .erp-sales-panel   { border-right: none; border-bottom: 1px solid var(--border); }
  .erp-dept-grid     { grid-template-columns: 1fr; }
  .erp-dept-featured { grid-column: span 1; }
  .erp-module-map    { grid-template-columns: 1fr; }
  .erp-tools-scatter { grid-template-columns: 1fr; }
}

/* ── Car Rental Responsive ── */
@media (max-width: 1100px) {
  .cr-themes-grid { grid-template-columns: 1fr 1fr 1fr; }
  .cr-theme-card.cr-theme-featured { grid-column: span 2; }
  .cr-theme-more { grid-column: span 3; flex-direction: row; justify-content: space-between; align-items: center; text-align: left; }
}

@media (max-width: 1024px) {
  .cr-hero-inner      { grid-template-columns: 1fr; }
  .cr-dash-mock       { max-width: 560px; }
  .cr-vs-grid         { grid-template-columns: 1fr; }
  .cr-features-grid   { grid-template-columns: 1fr 1fr; }
  .cr-feat-large      { grid-column: span 2; }
  .cr-tab-content     { grid-template-columns: 1fr; }
  .cr-pricing-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .cr-stat-row        { grid-template-columns: 1fr 1fr; }
  .cr-stats-inner     { flex-direction: column; gap: 0; }
  .cr-stat-divider    { width: 80%; height: 1px; }
  .cr-stat-pill       { padding: 1.25rem 2rem; }
  .cr-features-grid   { grid-template-columns: 1fr; }
  .cr-feat-large      { grid-column: span 1; }
  .cr-themes-grid     { grid-template-columns: 1fr 1fr; }
  .cr-theme-card.cr-theme-featured { grid-column: span 2; }
  .cr-theme-more      { grid-column: span 2; }
  .cr-pricing-grid,
  .cr-plans-grid      { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ═══════════════════════════════════════════════════════
   DEALERSHIP (Revo Auto)  —  accent: #c2410c
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.deal-hero {
  background: linear-gradient(160deg, #fff7ed 0%, #fffbf5 55%, #fff 100%);
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}
.deal-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.deal-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 1.25rem 0 1rem;
}
.deal-accent { color: #c2410c; }
.deal-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.deal-btn-primary { background: #c2410c; border-color: #c2410c; }
.deal-btn-primary:hover { background: #9a3412; border-color: #9a3412; }

/* ── Hero dashboard mock ── */
.deal-hero-visual { display: flex; justify-content: center; }
.deal-dash-mock {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.deal-dash-topbar {
  background: #1c0a00;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.deal-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.deal-dash-dot {
  width: 8px;
  height: 8px;
  background: #c2410c;
  border-radius: 50%;
}
.deal-live-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #86efac;
  background: rgba(134,239,172,0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.deal-live-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
.deal-dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.deal-inv-panel {
  padding: 0.875rem;
  border-right: 1px solid var(--border);
}
.deal-orders-panel {
  padding: 0.875rem;
}
.deal-panel-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}
.deal-vehicle-list { display: flex; flex-direction: column; gap: 0.45rem; }
.deal-vehicle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.deal-vehicle-thumb {
  width: 36px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}
.deal-thumb-1 { background: linear-gradient(135deg, #1e3a5f 0%, #2d5a9e 100%); }
.deal-thumb-2 { background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6e 100%); }
.deal-thumb-3 { background: linear-gradient(135deg, #1a3a1a 0%, #2d662d 100%); }
.deal-thumb-4 { background: linear-gradient(135deg, #3a1a1a 0%, #7a2828 100%); }
.deal-thumb-5 { background: linear-gradient(135deg, #2a1a3a 0%, #5a2d7a 100%); }

.deal-vstatus {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.deal-vstatus.available {
  background: #dcfce7;
  color: #15803d;
}
.deal-vstatus.reserved {
  background: #fef3c7;
  color: #92400e;
}
.deal-vstatus.sold {
  background: #f1f5f9;
  color: #64748b;
}
.deal-order-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.deal-order-row:last-child { border-bottom: none; }
.deal-status-sched {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #ede9fe;
  color: #6d28d9;
  flex-shrink: 0;
}

/* ── Why section — leaking sales funnel ── */
.deal-why-section { background: #fff7ed; }
.deal-funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.deal-funnel-stage {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto auto 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem 1rem;
  align-items: start;
  position: relative;
}
.deal-funnel-step {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}
.deal-funnel-icon {
  width: 40px;
  height: 40px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c2410c;
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
}
.deal-funnel-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  grid-column: 3 / 5;
  grid-row: 1;
  align-self: end;
}
.deal-funnel-leak {
  background: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  grid-column: 3;
  grid-row: 2;
}
.deal-funnel-fix {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  grid-column: 4;
  grid-row: 2;
}
.deal-funnel-leak p,
.deal-funnel-fix p {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.deal-leak-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #dc2626;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.deal-fix-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: #c2410c;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.deal-funnel-arrow {
  color: #c2410c;
  opacity: 0.45;
  padding: 0.25rem 0;
}

/* ── Three-role dashboard ── */
.deal-roles-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.deal-role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.deal-role-service {
  border-color: #c2410c;
  box-shadow: 0 0 0 1px #c2410c, 0 8px 24px rgba(194,65,12,0.08);
}
.deal-role-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.deal-role-icon {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.deal-role-icon.service {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #c2410c;
}
.deal-role-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.deal-role-sub {
  font-size: 0.7rem;
  color: var(--muted);
}
.deal-role-body { padding: 1rem; }
.deal-role-caption {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.deal-pipe-summary {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.875rem;
}
.deal-pipe-stat { display: flex; flex-direction: column; align-items: center; }
.deal-pipe-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.deal-pipe-lbl {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.2rem;
}
.deal-role-list-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.deal-cust-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.deal-cust-row:last-of-type { border-bottom: none; }
.deal-appt-today { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.deal-appt-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-sm);
}
.deal-appt-time {
  font-size: 0.7rem;
  font-weight: 700;
  color: #c2410c;
  flex-shrink: 0;
  width: 34px;
}
.deal-bay-status {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.deal-bay-chip {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.deal-bay-chip.busy {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #92400e;
}
.deal-bay-chip.free {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}
.deal-mgr-metric { margin-bottom: 0.875rem; }
.deal-mgr-label {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.deal-mgr-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
}
.deal-mgr-bar-wrap { margin-bottom: 0.75rem; }
.deal-mgr-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.deal-mgr-bar-track {
  height: 6px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
}
.deal-mgr-bar-fill {
  height: 100%;
  background: #c2410c;
  border-radius: 999px;
}
.deal-mgr-model-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #fff7ed;
  border-radius: var(--radius-md);
  border: 1px solid #fed7aa;
  margin-top: 0.4rem;
}
.deal-model-icon {
  width: 28px;
  height: 28px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c2410c;
  flex-shrink: 0;
}

/* ── Vehicle Inventory Showcase ── */
.deal-inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.deal-inv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.deal-inv-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.deal-inv-card-sold { opacity: 0.65; }
.deal-inv-card-img {
  height: 120px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
}
.deal-car-1 { background: linear-gradient(135deg, #1e3a5f 0%, #2d5a9e 100%); }
.deal-car-2 { background: linear-gradient(135deg, #1a1a2e 0%, #4a4a6e 100%); }
.deal-car-3 { background: linear-gradient(135deg, #1a3a1a 0%, #2d662d 100%); }
.deal-car-4 { background: linear-gradient(135deg, #3a1a1a 0%, #7a2828 100%); }
.deal-car-5 { background: linear-gradient(135deg, #2a1a3a 0%, #5a2d7a 100%); }
.deal-inv-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.deal-inv-badge.available { background: #dcfce7; color: #15803d; }
.deal-inv-badge.reserved  { background: #fef3c7; color: #92400e; }
.deal-inv-badge.sold      { background: #f1f5f9; color: #64748b; }
.deal-inv-year {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.deal-inv-card-body { padding: 0.875rem; }
.deal-inv-make {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.deal-inv-model {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.1rem 0 0.5rem;
}
.deal-inv-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.625rem;
}
.deal-inv-specs span {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
}
.deal-inv-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.deal-inv-actions { display: flex; gap: 0.4rem; }
.deal-inv-btn {
  flex: 1;
  padding: 0.45rem 0.5rem;
  background: #c2410c;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.deal-inv-btn:hover:not([disabled]) { background: #9a3412; }
.deal-inv-btn-ghost {
  padding: 0.45rem 0.6rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.deal-inv-btn-ghost:hover { border-color: var(--ink); }
.deal-inv-more {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  gap: 0.35rem;
}
.deal-inv-more-count {
  font-size: 2.5rem;
  font-weight: 800;
  color: #c2410c;
  line-height: 1;
}
.deal-inv-more > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.deal-inv-more p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Themes grid ── */
.deal-themes-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.deal-theme-featured { grid-column: 1; }
.deal-theme-preview {
  height: 140px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}
.deal-tp-1 { background: linear-gradient(160deg, #1c0a00 0%, #3b1300 100%); }
.deal-tp-2 { background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%); }
.deal-tp-3 { background: linear-gradient(160deg, #052e16 0%, #14532d 100%); }
.deal-theme-topbar {
  height: 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
.deal-theme-hero {
  height: 40px;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
}
.deal-theme-cards {
  display: flex;
  gap: 4px;
  flex: 1;
}
.deal-theme-card-sm {
  flex: 1;
  background: rgba(255,255,255,0.09);
  border-radius: 3px;
}

/* ── Dealership Responsive ── */
@media (max-width: 1024px) {
  .deal-hero-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
  .deal-dash-mock     { max-width: 540px; }
  .deal-roles-grid    { grid-template-columns: 1fr 1fr; }
  .deal-role-service  { grid-column: span 2; order: -1; }
  .deal-inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-themes-grid   { grid-template-columns: 1fr 1fr; }
  .deal-theme-featured { grid-column: span 2; }
  .deal-funnel-stage  { grid-template-columns: auto auto 1fr 1fr; }
}

@media (max-width: 768px) {
  .deal-dash-body     { grid-template-columns: 1fr; }
  .deal-inv-panel     { border-right: none; border-bottom: 1px solid var(--border); }
  .deal-roles-grid    { grid-template-columns: 1fr; }
  .deal-role-service  { grid-column: span 1; order: 0; }
  .deal-funnel-stage  { grid-template-columns: auto 1fr; grid-template-rows: auto auto auto auto; }
  .deal-funnel-step   { grid-column: 1; grid-row: 1; }
  .deal-funnel-icon   { grid-column: 2; grid-row: 1 / 3; }
  .deal-funnel-name   { grid-column: 1 / 3; grid-row: 2; }
  .deal-funnel-leak   { grid-column: 1 / 3; grid-row: 3; }
  .deal-funnel-fix    { grid-column: 1 / 3; grid-row: 4; }
  .deal-inventory-grid { grid-template-columns: 1fr 1fr; }
  .deal-themes-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .deal-inventory-grid { grid-template-columns: 1fr; }
  .deal-themes-grid    { grid-template-columns: 1fr; }
  .deal-theme-featured { grid-column: span 1; }
}

/* ═══════════════════════════════════════════════════════
   PLATFORM (Revo Platform / Custom Instance)  —  accent: #1e40af
   ═══════════════════════════════════════════════════════ */

/* ── Hero ── */
.plat-hero {
  background: linear-gradient(160deg, #eff6ff 0%, #f8faff 55%, #fff 100%);
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}
.plat-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.plat-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 1.25rem 0 1rem;
}
.plat-accent { color: #1e40af; }
.plat-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.plat-btn-primary { background: #1e40af; border-color: #1e40af; }
.plat-btn-primary:hover { background: #1e3a8a; border-color: #1e3a8a; }

/* ── Hero dashboard mock ── */
.plat-hero-visual { display: flex; justify-content: center; }
.plat-dash-mock {
  width: 100%;
  max-width: 500px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.plat-dash-topbar {
  background: #0f172a;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plat-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}
.plat-dash-dot {
  width: 8px;
  height: 8px;
  background: #1e40af;
  border-radius: 50%;
}
.plat-instance-url {
  font-size: 0.68rem;
  color: #94a3b8;
  font-family: monospace;
}
.plat-dash-body {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 0;
}
.plat-mod-panel {
  padding: 0.875rem;
  border-right: 1px solid var(--border);
}
.plat-mod-panel-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}
.plat-mod-list { display: flex; flex-direction: column; gap: 0.5rem; }
.plat-mod-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
}
.plat-mod-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.plat-mod-dot.on       { background: #22c55e; }
.plat-mod-dot.updating { background: #f59e0b; animation: pulse 1.2s ease-in-out infinite; }
.plat-mod-dot.off      { background: #cbd5e1; }
.plat-mod-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.plat-mod-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
}
.plat-mod-ver {
  font-size: 0.6rem;
  color: var(--muted);
  font-family: monospace;
}
.plat-mod-badge {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  flex-shrink: 0;
}
.plat-mod-badge.on {
  background: #dcfce7;
  color: #15803d;
}
.plat-mod-progress {
  flex: 1;
  height: 4px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.plat-mod-progress-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 999px;
  transition: width 0.4s;
}
.plat-mod-install-btn {
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
}
.plat-mod-row.off .plat-mod-name { color: var(--muted); }
.plat-stats-panel {
  padding: 0.875rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fafbfc;
}
.plat-stat-item { display: flex; flex-direction: column; gap: 0.1rem; }
.plat-stat-val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.plat-stat-lbl {
  font-size: 0.6rem;
  color: var(--muted);
}

/* ── Why section ── */
.plat-why-section { background: #f8faff; }
.plat-why-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.plat-saas-side,
.plat-revo-side {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.plat-revo-side {
  border-color: #1e40af;
  box-shadow: 0 0 0 1px #1e40af, 0 8px 24px rgba(30,64,175,0.08);
}
.plat-side-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  display: inline-block;
}
.plat-side-label.bad  { background: #fff5f5; color: #dc2626; }
.plat-side-label.good { background: #eff6ff; color: #1e40af; }
.plat-cost-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0.75rem;
}
.plat-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  gap: 0.5rem;
}
.plat-cost-row:last-child { border-bottom: none; }
.plat-cost-row.muted .plat-cost-name { color: #94a3b8; }
.plat-cost-row.muted .plat-cost-price { color: #94a3b8; }
.plat-cost-name { font-size: 0.78rem; color: var(--ink); }
.plat-cost-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #dc2626;
  flex-shrink: 0;
}
.plat-cost-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 2px solid #fee2e2;
  margin-bottom: 0.875rem;
}
.plat-cost-total span:first-child { font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.plat-cost-total-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #dc2626;
}
.plat-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.plat-tag {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.plat-tag.bad  { background: #fff5f5; color: #dc2626; border: 1px solid #fecaca; }
.plat-tag.good { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.plat-why-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.plat-why-arrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #1e40af;
}
.plat-why-pill {
  font-size: 0.68rem;
  font-weight: 700;
  background: #1e40af;
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plat-hub-visual {
  margin-bottom: 1rem;
}
.plat-hub-center {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #1e40af;
  color: #fff;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.plat-hub-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.plat-hub-node {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
}
.plat-revo-price-card {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  margin-bottom: 0.875rem;
}
.plat-revo-price-val {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e40af;
}
.plat-revo-price-sub {
  font-size: 0.65rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ── Module Catalog ── */
.plat-catalog-bg { background: #fafbff; }
.plat-cat-block { margin-top: 2.5rem; }
.plat-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.plat-cat-pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.plat-cat-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.plat-cat-pill {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  margin-left: auto;
}
.plat-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.875rem;
}
.plat-cat-grid-wide {
  grid-template-columns: repeat(4, 1fr);
}
.plat-mod-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: box-shadow 0.2s;
}
.plat-mod-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.plat-mod-card-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}
.plat-mod-card-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.plat-mod-card-desc {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.plat-mod-card-badge {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  width: fit-content;
  margin-top: 0.25rem;
}
.plat-mod-card-badge.required { background: #fef3c7; color: #92400e; }
.plat-mod-card-badge.optional { background: #f1f5f9; color: #475569; }

/* ── Three-role dashboard ── */
.plat-roles-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.plat-role-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.plat-role-featured {
  border-color: #1e40af;
  box-shadow: 0 0 0 1px #1e40af, 0 8px 24px rgba(30,64,175,0.08);
}
.plat-role-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--border);
}
.plat-role-icon {
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  flex-shrink: 0;
}
.plat-role-icon.featured {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}
.plat-role-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}
.plat-role-sub {
  font-size: 0.7rem;
  color: var(--muted);
}
.plat-role-body { padding: 1rem; }
.plat-role-caption {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--border);
}
.plat-module-version-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.plat-ver-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.plat-ver-row:last-child { border-bottom: none; }
.plat-ver-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  font-family: monospace;
  flex: 1;
}
.plat-ver-tag {
  font-size: 0.6rem;
  color: var(--muted);
  font-family: monospace;
}
.plat-ver-status {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}
.plat-ver-status.ok     { background: #dcfce7; color: #15803d; }
.plat-ver-status.update { background: #fef3c7; color: #92400e; }
.plat-server-stats { display: flex; flex-direction: column; gap: 0.5rem; }
.plat-srv-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.plat-srv-lbl { font-size: 0.65rem; color: var(--muted); width: 28px; }
.plat-srv-track {
  flex: 1;
  height: 5px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
}
.plat-srv-fill { height: 100%; border-radius: 999px; }
.plat-srv-val { font-size: 0.65rem; font-weight: 600; color: var(--ink); width: 28px; text-align: right; }
.plat-mod-usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.875rem;
}
.plat-mod-usage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 0.5rem;
}
.plat-mod-usage-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.plat-mod-usage-lbl {
  font-size: 0.6rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.15rem;
}
.plat-activity-feed { display: flex; flex-direction: column; gap: 0.5rem; }
.plat-act-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}
.plat-act-row:last-child { border-bottom: none; }
.plat-act-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.plat-api-key-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.625rem;
  margin-bottom: 0.875rem;
}
.plat-api-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  flex-shrink: 0;
}
.plat-api-value {
  font-size: 0.65rem;
  font-family: monospace;
  color: var(--ink);
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}
.plat-api-copy {
  font-size: 0.6rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.plat-webhook-feed { margin-bottom: 0.875rem; }
.plat-webhook-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}
.plat-hook-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
}
.plat-hook-row:last-child { border-bottom: none; }
.plat-hook-method {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.15rem 0.35rem;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 3px;
  font-family: monospace;
}
.plat-hook-event {
  font-size: 0.65rem;
  color: var(--ink);
  font-family: monospace;
  flex: 1;
}
.plat-hook-status {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.plat-hook-status.ok   { background: #dcfce7; color: #15803d; }
.plat-hook-status.fail { background: #fee2e2; color: #dc2626; }
.plat-endpoint-count {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: #eff6ff;
  border-radius: var(--radius-md);
  border: 1px solid #bfdbfe;
}
.plat-ep-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1e40af;
  line-height: 1;
  flex-shrink: 0;
}
.plat-ep-lbl { font-size: 0.7rem; color: #1e40af; line-height: 1.4; }

/* ── Platform Responsive ── */
@media (max-width: 1100px) {
  .plat-cat-grid       { grid-template-columns: repeat(3, 1fr); }
  .plat-cat-grid-wide  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .plat-hero-inner  { grid-template-columns: 1fr; gap: 2.5rem; }
  .plat-dash-mock   { max-width: 540px; }
  .plat-why-grid    { grid-template-columns: 1fr; gap: 1.5rem; }
  .plat-why-center  { flex-direction: row; justify-content: center; }
  .plat-why-arrow-wrap { flex-direction: row; }
  .plat-roles-grid  { grid-template-columns: 1fr 1fr; }
  .plat-role-featured { grid-column: span 2; order: -1; }
}

@media (max-width: 768px) {
  .plat-dash-body       { grid-template-columns: 1fr; }
  .plat-stats-panel     { flex-direction: row; flex-wrap: wrap; border-top: 1px solid var(--border); }
  .plat-roles-grid      { grid-template-columns: 1fr; }
  .plat-role-featured   { grid-column: span 1; order: 0; }
  .plat-cat-grid        { grid-template-columns: repeat(2, 1fr); }
  .plat-cat-grid-wide   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .plat-cat-grid        { grid-template-columns: 1fr; }
  .plat-cat-grid-wide   { grid-template-columns: 1fr; }
  .plat-mod-usage-grid  { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   TOUR & TRAVEL
   ============================================================= */

.tour-hero {
  background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf8 55%, #fff 100%);
  padding: 5rem 2rem 4rem;
}
.tour-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.tour-h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 1rem 0;
  color: var(--ink);
}
.tour-accent  { color: #059669; }
.tour-desc    { font-size: 1.05rem; color: var(--muted); line-height: 1.7; max-width: 480px; margin-bottom: 2rem; }
.tour-btn-primary { background: #059669; border-color: #059669; }

/* ── Hero dashboard mockup ── */
.tour-hero-visual { perspective: 800px; }
.tour-dash-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
  font-size: 0.78rem;
}
.tour-dash-topbar {
  background: #022c22;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tour-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}
.tour-dash-dot     { width: 8px; height: 8px; background: #059669; border-radius: 50%; }
.tour-live-pill    { display: flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: #6ee7b7; background: rgba(110,231,183,0.12); padding: 0.2rem 0.55rem; border-radius: 999px; }
.tour-live-dot     { width: 5px; height: 5px; background: #34d399; border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }
.tour-dash-body    { display: grid; grid-template-columns: 1fr 112px; }
.tour-res-panel    { padding: 0.75rem; border-right: 1px solid var(--border); }
.tour-panel-label  { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted-2); margin-bottom: 0.5rem; }
.tour-res-row      { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0; border-bottom: 1px solid var(--border); }
.tour-res-row:last-child { border-bottom: none; }
.tour-res-itin     { font-size: 0.72rem; font-weight: 600; color: var(--ink); }
.tour-res-meta     { font-size: 0.63rem; color: var(--muted); margin-top: 0.08rem; }
.tour-status-badge { font-size: 0.6rem; font-weight: 600; padding: 0.15rem 0.45rem; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.tour-status-badge.submitted { background: #dcfce7; color: #15803d; }
.tour-status-badge.checkin   { background: #d1fae5; color: #065f46; }
.tour-status-badge.draft     { background: #f1f5f9; color: #64748b; }
.tour-stats-panel  { padding: 0.875rem 0.75rem; display: flex; flex-direction: column; justify-content: space-between; }
.tour-quick-stat   { text-align: center; }
.tour-quick-val    { font-size: 1.05rem; font-weight: 800; color: var(--ink); }
.tour-quick-lbl    { font-size: 0.6rem; color: var(--muted); margin-top: 0.1rem; line-height: 1.3; }
.tour-quick-divider { height: 1px; background: var(--border); margin: 0.25rem 0; }

/* ── Why section ── */
.tour-why-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.tour-why-side       { display: flex; flex-direction: column; gap: 0.75rem; }
.tour-why-item       { padding: 0.875rem 1rem; border-radius: var(--radius-md); border: 1px solid; }
.tour-why-item.bad   { background: #fff5f5; border-color: #fecaca; }
.tour-why-item.good  { background: #f0fdf4; border-color: #bbf7d0; }
.tour-why-item-label { font-size: 0.75rem; font-weight: 700; margin-bottom: 0.3rem; }
.tour-why-item.bad  .tour-why-item-label { color: #dc2626; }
.tour-why-item.good .tour-why-item-label { color: #059669; }
.tour-why-item p     { font-size: 0.72rem; color: var(--muted); margin: 0; line-height: 1.5; }
.tour-why-center     { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding-top: 1rem; position: sticky; top: 80px; }
.tour-why-arrow      { font-size: 1.4rem; color: var(--muted-2); line-height: 1; }
.tour-why-pill       { display: inline-flex; align-items: center; gap: 0.4rem; background: #059669; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.4rem 0.875rem; border-radius: 999px; white-space: nowrap; }

/* ── Roles grid ── */
.tour-roles-grid     { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 1.25rem; }
.tour-role-card      { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.tour-role-featured  { border-color: #059669; box-shadow: 0 0 0 1px #059669, 0 8px 24px rgba(5,150,105,0.08); }
.tour-role-header    { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border-bottom: 1px solid var(--border); }
.tour-role-icon      { width: 32px; height: 32px; border-radius: var(--radius-sm); background: var(--surface); display: flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; }
.tour-role-icon.featured { background: #059669; color: #fff; }
.tour-role-name      { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.tour-role-sub       { font-size: 0.7rem; color: var(--muted); }
.tour-role-body      { padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.tour-role-caption   { font-size: 0.72rem; color: var(--muted); line-height: 1.5; margin-top: auto; padding-top: 0.625rem; border-top: 1px solid var(--border); }

/* Travel agent role */
.tour-res-mini       { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.4rem 0.5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.tour-res-mini-name  { font-size: 0.72rem; font-weight: 600; color: var(--ink); }
.tour-res-mini-date  { font-size: 0.63rem; color: var(--muted); margin-top: 0.06rem; }

/* Tour manager role */
.tour-mgr-kpi-row    { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.tour-mgr-kpi        { background: var(--surface); border-radius: var(--radius-sm); padding: 0.5rem 0.6rem; }
.tour-mgr-kpi-val    { font-size: 1rem; font-weight: 800; color: var(--ink); }
.tour-mgr-kpi-lbl    { font-size: 0.62rem; color: var(--muted); margin-top: 0.1rem; }
.tour-checkin-item   { display: flex; align-items: center; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.tour-checkin-item:last-child { border-bottom: none; }
.tour-checkin-name   { font-size: 0.72rem; font-weight: 600; color: var(--ink); }
.tour-checkin-itin   { font-size: 0.63rem; color: var(--muted); }

/* Owner role */
.tour-own-rev-val    { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.tour-own-rev-badge  { display: inline-flex; align-items: center; font-size: 0.65rem; font-weight: 600; color: #16a34a; background: #dcfce7; padding: 0.15rem 0.4rem; border-radius: 4px; margin-left: 0.35rem; vertical-align: middle; }
.tour-own-top-name   { font-size: 0.78rem; font-weight: 700; color: var(--ink); }
.tour-own-top-meta   { font-size: 0.68rem; color: var(--muted); margin-top: 0.1rem; }

/* ── Itinerary showcase (unique section) ── */
.tour-itin-showcase  { margin-top: 3rem; }
.tour-itin-bar       { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 0.875rem 1.25rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.tour-itin-bar-left  { display: flex; align-items: center; gap: 0.875rem; }
.tour-itin-ref       { font-size: 0.7rem; font-weight: 700; color: var(--muted-2); font-family: monospace; }
.tour-itin-name      { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.tour-itin-dur       { font-size: 0.72rem; color: var(--muted); background: #fff; border: 1px solid var(--border); padding: 0.15rem 0.5rem; border-radius: 4px; }
.tour-itin-bar-right { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tour-itin-chip      { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; color: var(--ink); background: #fff; border: 1px solid var(--border); padding: 0.2rem 0.6rem; border-radius: 999px; }
.tour-itin-chip-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tour-itin-chip-dot.fixed { background: #059669; }
.tour-itin-chip-dot.guide { background: #8b5cf6; }
.tour-itin-chip-dot.price { background: #f59e0b; }

.tour-days-grid      { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tour-day-card       { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.tour-day-header     { background: #f0fdf4; border-bottom: 1px solid var(--border); padding: 0.875rem 1rem; display: flex; align-items: flex-start; justify-content: space-between; }
.tour-day-num        { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: #059669; }
.tour-day-title      { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-top: 0.15rem; }
.tour-activity-list  { padding: 0.875rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.tour-activity-row   { display: flex; align-items: flex-start; gap: 0.6rem; }
.tour-activity-time  { font-size: 0.67rem; font-weight: 700; color: #059669; flex-shrink: 0; width: 36px; padding-top: 0.1rem; }
.tour-activity-label { font-size: 0.75rem; color: var(--ink); line-height: 1.4; }
.tour-activity-add .tour-activity-label { color: var(--muted-2); font-style: italic; }

.tour-itin-types     { display: flex; gap: 0.625rem; flex-wrap: wrap; margin-top: 1.75rem; justify-content: center; }
.tour-itin-type-badge { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; padding: 0.35rem 0.875rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); }
.tour-itin-type-badge .dot        { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tour-itin-type-badge .dot.fixed  { background: #059669; }
.tour-itin-type-badge .dot.custom { background: #3b82f6; }
.tour-itin-type-badge .dot.daily  { background: #f59e0b; }
.tour-itin-type-badge .dot.guide  { background: #8b5cf6; }
.tour-itin-type-badge .dot.self   { background: #06b6d4; }
.tour-itin-type-badge .dot.virtual { background: #94a3b8; }

/* ── Booking website themes ── */
.tour-themes-grid    { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; }
.tour-theme-preview  { border-radius: var(--radius-md) var(--radius-md) 0 0; height: 130px; padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; overflow: hidden; }
.tour-theme-featured .tour-theme-preview { height: 180px; }
.tour-tp-1           { background: linear-gradient(140deg, #022c22 0%, #065f46 100%); }
.tour-tp-2           { background: linear-gradient(140deg, #1a2e1a 0%, #166534 100%); }
.tour-tp-3           { background: linear-gradient(140deg, #2c1a0e 0%, #78350f 100%); }
.tour-theme-topbar   { height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; width: 70%; }
.tour-theme-hero-strip { height: 40px; background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); }
.tour-theme-cards    { display: flex; flex-direction: column; gap: 0.35rem; margin-top: auto; }
.tour-theme-card-strip { height: 18px; background: rgba(255,255,255,0.12); border-radius: 4px; }
.tour-theme-card-strip.short { width: 65%; }

/* ── Featured plan accent ── */
.tour-plan-featured  { border-color: #059669; }
.tour-plan-featured .cr-plan-popular { background: #059669; }
.tour-plan-cta       { background: #059669; color: #fff; border: none; }
.tour-plan-cta:hover { background: #047857; }

@media (max-width: 960px) {
  .tour-hero-inner     { grid-template-columns: 1fr; }
  .tour-hero-visual    { display: none; }
  .tour-why-cols       { grid-template-columns: 1fr; }
  .tour-why-center     { flex-direction: row; position: static; padding: 0; }
  .tour-why-arrow      { transform: rotate(90deg); }
  .tour-roles-grid     { grid-template-columns: 1fr; }
  .tour-role-featured  { order: -1; }
  .tour-days-grid      { grid-template-columns: 1fr; }
  .tour-themes-grid    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .tour-itin-bar       { flex-direction: column; align-items: flex-start; }
  .tour-themes-grid    { grid-template-columns: 1fr; }
  .tour-itin-types     { gap: 0.4rem; }
}

/* =============================================================
   SCROLL TO TOP
   ============================================================= */
#scrollTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}
#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  animation: scrollTopBob 2.4s ease-in-out infinite;
}
#scrollTop:hover {
  animation-play-state: paused;
  box-shadow: 0 6px 20px rgba(0,0,0,0.26);
}
@keyframes scrollTopBob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* =============================================================
   HOME 2
   ============================================================= */

/* ── Hero ── */
.h2-hero {
  background: var(--ink);
  color: var(--white);
  padding: 120px max(5vw,24px) 80px;
  overflow: hidden;
}
.h2-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.h2-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,0.85);
}
.h2-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pilldotpulse 2s ease-in-out infinite;
}
@keyframes pilldotpulse {
  0%,100% { opacity:1; } 50% { opacity:0.4; }
}
.h2-headline {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.h2-headline-accent {
  color: transparent;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}
.h2-subtext {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 480px;
}
.h2-hero-cta {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.h2-trust-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.h2-trust-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.h2-trust-item svg { color: #4ade80; }

/* OS Panel */
.h2-os-panel {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.h2-os-topbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.h2-os-dots {
  display: flex;
  gap: 5px;
}
.h2-os-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.h2-os-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.h2-os-body { padding: 1.25rem; }
.h2-os-stat-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.h2-os-stat {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}
.h2-os-stat-val {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
}
.h2-os-stat-lbl {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.h2-os-module-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.h2-os-mod {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  cursor: default;
}
.h2-os-mod-on {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
}
.h2-os-mod-add {
  border-style: dashed;
  color: rgba(255,255,255,0.25);
}
.h2-os-activity { display: flex; flex-direction: column; gap: 0.5rem; }
.h2-os-activity-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}
.h2-os-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  flex-shrink: 0;
}
.h2-os-badge.green  { background: rgba(74,222,128,0.15); color: #4ade80; }
.h2-os-badge.blue   { background: rgba(96,165,250,0.15); color: #60a5fa; }
.h2-os-badge.purple { background: rgba(167,139,250,0.15); color: #a78bfa; }

/* ── Stats bar ── */
.h2-stats-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.25rem max(5vw,24px);
}
.h2-stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.h2-stat-item { text-align: center; }
.h2-stat-val {
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.h2-stat-lbl {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2px;
}
.h2-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Problem / Solution ── */
.h2-prob-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.h2-prob-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
}
.h2-prob-label-bad  { background: #fee2e2; color: #dc2626; }
.h2-prob-label-good { background: #dcfce7; color: #16a34a; }
.h2-tool-pile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.h2-tool-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  background: var(--white);
  color: var(--muted);
}
.h2-tool-pill-more {
  background: var(--surface);
  font-weight: 500;
  color: var(--muted-2);
}
.h2-prob-pain, .h2-prob-win { display: flex; flex-direction: column; gap: 0.5rem; }
.h2-pain-row, .h2-win-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.h2-pain-row { color: #b91c1c; }
.h2-win-row  { color: #15803d; }
.h2-prob-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h2-revo-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--white);
  margin-bottom: 1.25rem;
}
.h2-revo-card-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.h2-revo-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.h2-revo-module-tags span {
  padding: 3px 9px;
  background: var(--surface);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--muted);
}
.h2-revo-card-stat {
  display: flex;
  gap: 1.25rem;
}
.h2-revo-card-stat div {
  display: flex;
  flex-direction: column;
  font-size: 0.8125rem;
}
.h2-revo-card-stat strong { font-size: 1rem; }
.h2-revo-card-stat span { color: var(--muted); }

/* ── Module categories ── */
.h2-cat-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.h2-cat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.h2-cat-header { display: flex; align-items: center; gap: 0.875rem; }
.h2-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h2-cat-name { font-size: 0.9375rem; font-weight: 600; }
.h2-cat-count { font-size: 0.8125rem; color: var(--muted); }
.h2-cat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.h2-cat-list li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 0.875rem;
  position: relative;
}
.h2-cat-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
}
.h2-cat-list a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.h2-cat-list a:hover { color: var(--ink); }
.h2-cat-cta {
  background: var(--ink);
  border-color: transparent;
}
.h2-cat-cta-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 0.75rem;
}
.h2-cat-cta-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
.h2-cat-cta p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  flex: 1;
}

/* ── Platform bento ── */
.h2-bento {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.h2-bento-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.h2-bento-lg { grid-column: span 2; }
.h2-bento-sm { grid-column: span 1; }
.h2-bento-icon {
  width: 42px;
  height: 42px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.h2-bento-title { font-size: 1rem; font-weight: 600; }
.h2-bento-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }
.h2-bento-visual { margin-top: 0.5rem; }
.h2-bento-timeline { display: flex; flex-direction: column; gap: 0.625rem; }
.h2-tl-row { display: flex; align-items: center; gap: 0.625rem; font-size: 0.8125rem; color: var(--muted); }
.h2-tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.h2-tl-dot.blue   { background: #3b82f6; }
.h2-tl-dot.green  { background: #22c55e; }
.h2-tl-dot.purple { background: #a855f7; }
.h2-tl-dot.amber  { background: #f59e0b; }
.h2-bento-mkt { display: flex; gap: 0.75rem; }
.h2-mkt-card {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
}
.h2-mkt-name { font-weight: 600; font-size: 0.875rem; }
.h2-mkt-meta { color: var(--muted); font-size: 0.75rem; }

/* ── Pricing ── */
.h2-plans {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
  align-items: start;
}
.h2-plan {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}
.h2-plan-featured {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink);
}
.h2-plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.h2-plan-name { font-size: 0.9375rem; font-weight: 600; }
.h2-plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.h2-plan-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.h2-plan-desc { font-size: 0.875rem; color: var(--muted); }
.h2-plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.h2-plan-features li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 1.25rem;
  position: relative;
}
.h2-plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7.5l3 3 7-7' stroke='%2316a34a' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.h2-plan-btn {
  display: block;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--border);
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s;
  margin-top: 0.5rem;
}
.h2-plan-btn:hover { background: var(--surface); }
.h2-plan-btn-featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.h2-plan-btn-featured:hover { background: var(--ink-2); }
.h2-plans-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Testimonials ── */
.h2-testi-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.h2-testi-featured {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  background: var(--surface);
}
.h2-testi-stars { color: #f59e0b; font-size: 1.125rem; margin-bottom: 1.25rem; }
.h2-testi-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 2rem;
}
.h2-testi-author { display: flex; align-items: center; gap: 1rem; }
.h2-testi-name { font-size: 0.9375rem; font-weight: 600; }
.h2-testi-role { font-size: 0.8125rem; color: var(--muted); }
.h2-testi-secondary { display: flex; flex-direction: column; gap: 1rem; }
.h2-testi-mini {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--white);
}
.h2-testi-mini p { font-size: 0.9rem; color: var(--ink); line-height: 1.6; margin: 0.5rem 0 1rem; }
.h2-testi-mini-author { display: flex; align-items: center; gap: 0.625rem; }

/* ── CTA ── */
.h2-cta-block {
  background: var(--ink);
  padding: 6rem max(5vw,24px);
}
.h2-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.h2-cta-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.h2-cta-sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
}
.h2-cta-form {
  display: flex;
  gap: 0.625rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}
.h2-cta-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9375rem;
  font-family: inherit;
  outline: none;
}
.h2-cta-input::placeholder { color: rgba(255,255,255,0.35); }
.h2-cta-input:focus { border-color: rgba(255,255,255,0.4); }
.h2-cta-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .h2-hero-inner        { grid-template-columns: 1fr; }
  .h2-os-panel          { display: none; }
  .h2-cat-grid          { grid-template-columns: repeat(2,1fr); }
  .h2-bento             { grid-template-columns: repeat(2,1fr); }
  .h2-bento-lg          { grid-column: span 2; }
  .h2-bento-sm          { grid-column: span 1; }
  .h2-testi-layout      { grid-template-columns: 1fr; }
  .h2-testi-secondary   { display: grid; grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .h2-prob-layout       { grid-template-columns: 1fr; }
  .h2-prob-arrow        { transform: rotate(90deg); }
  .h2-plans             { grid-template-columns: 1fr; }
  .h2-cat-grid          { grid-template-columns: 1fr; }
  .h2-stats-inner       { gap: 1.5rem; }
  .h2-stat-sep          { display: none; }
  .h2-bento             { grid-template-columns: 1fr; }
  .h2-bento-lg,
  .h2-bento-sm          { grid-column: span 1; }
  .h2-testi-secondary   { grid-template-columns: 1fr; }
  .h2-cta-form          { flex-direction: column; }
  .h2-os-module-grid    { grid-template-columns: repeat(2,1fr); }
}

/* =============================================================
   HOME 3
   ============================================================= */

/* ── Slider ── */
.h3-slider {
  position: relative;
  height: calc(100vh - 60px);
  min-height: 560px;
  max-height: 900px;
  overflow: hidden;
  background: #0d0d0d;
}

.h3-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.h3-slide-active {
  opacity: 1;
  pointer-events: auto;
}

/* background fill */
.h3-slide-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.h3-slide-deco {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* content overlay */
.h3-slide-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 max(5vw, 40px);
  color: #fff;
}
.h3-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.h3-slide-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
  color: #fff;
}
.h3-slide-title em {
  font-style: normal;
  color: var(--slide-accent, #60a5fa);
}
.h3-slide-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  max-width: 480px;
}
.h3-slide-ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.h3-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.05);
}
.h3-ghost-btn:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.h3-slide-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
}
.h3-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

/* ── Arrow buttons ── */
.h3-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.h3-arrow:hover {
  background: rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.h3-arrow-prev { left: max(2vw, 20px); }
.h3-arrow-next { right: max(2vw, 20px); }

/* ── Dots ── */
.h3-dots {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}
.h3-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s, width 0.2s;
}
.h3-dot-active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* ── Progress bar ── */
.h3-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}
.h3-progress-fill {
  height: 100%;
  width: 0%;
  background: rgba(255,255,255,0.5);
}

/* ── Module grid ── */
.h3-mod-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.h3-mod-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.h3-mod-card:hover {
  border-color: var(--mod-accent, var(--ink));
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.h3-mod-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.h3-mod-body { flex: 1; }
.h3-mod-name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.h3-mod-desc {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
}
.h3-mod-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  align-self: flex-start;
}

/* ── Steps ── */
.h3-steps {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.h3-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}
.h3-step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  padding: 0 0.5rem;
  flex-shrink: 0;
  margin-top: 2rem;
}
.h3-step-num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--border);
  line-height: 1;
}
.h3-step-title {
  font-size: 1rem;
  font-weight: 600;
}
.h3-step-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .h3-mod-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .h3-slider        { height: 85vh; min-height: 500px; }
  .h3-slide-content { padding: 0 max(4vw, 20px); }
  .h3-arrow         { display: none; }
  .h3-mod-grid      { grid-template-columns: repeat(2, 1fr); }
  .h3-steps         { flex-direction: column; }
  .h3-step-arrow    { transform: rotate(90deg); margin: 0 auto; padding: 0.25rem 0; }
}
@media (max-width: 480px) {
  .h3-mod-grid      { grid-template-columns: 1fr; }
  .h3-slide-title   { font-size: 2rem; }
}


/* =============================================================
   ACS — Aesthetic & Clinical Software
   Accent: #be185d (rose-700)  |  Prefix: acs-
   ============================================================= */

/* ── Hero ── */
.acs-hero {
  background: linear-gradient(160deg, #1a0a10 0%, #2d0818 55%, #1a0a10 100%);
  padding: 5rem max(5vw, 2rem) 4rem;
  overflow: hidden;
  position: relative;
}
.acs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(190,24,93,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.acs-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.acs-h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 1rem 0 1.25rem;
  letter-spacing: -0.03em;
}
.acs-accent { color: #f472b6; }
.acs-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2rem;
}

/* Dashboard mockup */
.acs-hero-visual { position: relative; z-index: 1; }
.acs-dash-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
}
.acs-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.acs-dash-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.acs-dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #be185d;
  animation: pulse 2s ease-in-out infinite;
}
.acs-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f472b6;
  background: rgba(190,24,93,0.15);
  border: 1px solid rgba(190,24,93,0.3);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
  letter-spacing: 0.02em;
}
.acs-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f472b6;
  animation: pulse 1.5s ease-in-out infinite;
}
.acs-dash-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 180px;
}

/* Pipeline panel */
.acs-pipeline-panel {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.acs-stage-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.acs-stage-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  width: 72px;
  flex-shrink: 0;
}
.acs-stage-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.acs-stage-bar {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
}
.acs-stage-count {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  width: 18px;
  text-align: right;
  flex-shrink: 0;
}

/* OR schedule panel */
.acs-ops-panel {
  padding: 1rem;
}
.acs-op-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.acs-op-row:last-child { border-bottom: none; }
.acs-op-time {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  width: 32px;
  flex-shrink: 0;
  padding-top: 1px;
}
.acs-op-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.acs-op-name {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.acs-op-doc {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.4);
}

/* ── Why section ── */
.acs-why-cols {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 3rem;
}
.acs-why-pain-label,
.acs-why-sol-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.acs-why-pain-label { color: #be185d; }
.acs-why-sol-label  { color: #16a34a; }

.acs-pain-card,
.acs-sol-card {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 0.875rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}
.acs-pain-card {
  background: #fff5f7;
  border: 1px solid #fecdd3;
}
.acs-sol-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.acs-pain-icon,
.acs-sol-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.acs-pain-icon { background: #ffe4e6; }
.acs-sol-icon  { background: #dcfce7; }
.acs-pain-card strong,
.acs-sol-card strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.acs-pain-card p,
.acs-sol-card p {
  font-size: 0.775rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.acs-why-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-top: 2.5rem;
  position: sticky;
  top: 80px;
}
.acs-why-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.acs-why-pill {
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}

/* ── Features bento stage pills & nursing flow ── */
.acs-feat-stages {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 1.25rem;
}
.acs-feat-stage {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}
.acs-feat-arrow {
  font-size: 0.75rem;
  color: var(--muted-2);
}

.acs-nursing-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: 1.25rem;
}
.acs-nursing-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.5rem;
  min-width: 56px;
  text-align: center;
}
.acs-nursing-icon { font-size: 1rem; }
.acs-nursing-arrow {
  font-size: 0.875rem;
  color: var(--muted-2);
}

/* ── Roles grid ── */
.acs-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.acs-role-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.acs-role-featured {
  border-color: #be185d;
  box-shadow: 0 0 0 1px rgba(190,24,93,0.2), 0 8px 32px rgba(190,24,93,0.08);
}
.acs-role-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.acs-role-featured .acs-role-header {
  background: linear-gradient(135deg, rgba(190,24,93,0.05), rgba(190,24,93,0.02));
  border-bottom-color: rgba(190,24,93,0.15);
}
.acs-role-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
}
.acs-role-icon-featured {
  background: rgba(190,24,93,0.1);
  color: #be185d;
}
.acs-role-name {
  font-size: 0.875rem;
  font-weight: 700;
}
.acs-role-sub {
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.acs-role-body {
  padding: 1.125rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.acs-role-caption {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* Coordinator sub-components */
.acs-coord-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.acs-coord-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
}
.acs-coord-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.acs-coord-name { flex: 1; font-weight: 500; }
.acs-coord-stage {
  font-size: 0.7rem;
  color: var(--muted);
}
.acs-coord-task {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-3);
  padding: 0.375rem 0.625rem;
  background: var(--surface);
  border-radius: 6px;
}

/* Medical team sub-components */
.acs-med-or-status {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.acs-or-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.775rem;
}
.acs-or-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.175rem 0.45rem;
  border-radius: 5px;
  flex-shrink: 0;
}
.acs-or-procedure { flex: 1; font-weight: 500; }
.acs-or-time {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}
.acs-vital-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.acs-vital-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  text-align: center;
}
.acs-vital-val {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
}
.acs-vital-lbl {
  font-size: 0.6rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}
.acs-anest-drugs {
  background: #fff9f0;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.75rem;
}
.acs-drug-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #92400e;
  margin-bottom: 0.4rem;
}
.acs-drug-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  padding: 0.15rem 0;
}
.acs-drug-name { font-weight: 600; }
.acs-drug-dose { color: var(--muted); }

/* Director sub-components */
.acs-dir-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.acs-dir-metric {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: center;
}
.acs-dir-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #be185d;
}
.acs-dir-lbl {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.acs-dir-bar-wrap { display: flex; flex-direction: column; gap: 0.4rem; }
.acs-dir-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
}
.acs-dir-bar-track {
  height: 8px;
  background: var(--surface);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.acs-dir-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #be185d, #f472b6);
  border-radius: 4px;
}
.acs-dir-compliance { display: flex; flex-direction: column; gap: 0.35rem; }
.acs-dir-comp-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.acs-dir-comp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--ink-3);
}
.acs-check { color: #16a34a; font-weight: 600; font-size: 0.7rem; }
.acs-warn  { color: #d97706; font-weight: 600; font-size: 0.7rem; }

/* ── Patient Episode Timeline (Journey) ── */
.acs-journey {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 3rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.acs-phase {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.acs-phase-featured {
  border-color: #be185d;
  box-shadow: 0 0 0 1px rgba(190,24,93,0.15), 0 8px 40px rgba(190,24,93,0.1);
}
.acs-phase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: color-mix(in srgb, var(--phase-color) 8%, white);
  border-bottom: 1px solid color-mix(in srgb, var(--phase-color) 15%, transparent);
}
.acs-phase-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--phase-color);
  letter-spacing: -0.04em;
  min-width: 36px;
}
.acs-phase-name {
  font-size: 1rem;
  font-weight: 700;
  flex: 1;
}
.acs-phase-tag {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.2rem 0.6rem;
}
.acs-phase-tag-hot {
  background: rgba(190,24,93,0.1);
  color: #be185d;
  border-color: rgba(190,24,93,0.25);
}
.acs-phase-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.75rem 1.25rem 1rem;
}
.acs-step {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.625rem 0;
  position: relative;
}
.acs-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: -6px;
  width: 1px;
  background: var(--border);
}
.acs-step-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1.5px currentColor;
  position: relative;
  z-index: 1;
}
.acs-step-body { display: flex; flex-direction: column; gap: 0.15rem; }
.acs-step-title { font-size: 0.8125rem; font-weight: 600; }
.acs-step-doc   { font-size: 0.72rem; color: var(--muted); }

.acs-phase-connector {
  display: flex;
  justify-content: center;
  padding: 0.125rem 0;
}

/* ── Integrations ── */
.acs-integrations {
  margin-top: 3rem;
}
.acs-integ-center {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.acs-integ-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}
.acs-integ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.acs-integ-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.acs-integ-card:hover {
  border-color: var(--ic, #be185d);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
}
.acs-integ-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.acs-integ-name {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.acs-integ-desc {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .acs-hero-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
  .acs-hero-visual   { max-width: 560px; margin: 0 auto; }
  .acs-roles-grid    { grid-template-columns: 1fr; gap: 1.25rem; }
  .acs-integ-grid    { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .acs-hero          { padding: calc(60px + 1.5rem) max(4vw, 1.25rem) 3rem; }
  .acs-why-cols      { grid-template-columns: 1fr; gap: 1.5rem; }
  .acs-why-center    { flex-direction: row; justify-content: center; position: static; padding-top: 0; }
  .acs-dash-body     { grid-template-columns: 1fr; }
  .acs-pipeline-panel { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .acs-integ-grid    { grid-template-columns: repeat(2, 1fr); }
  .acs-vital-row     { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .acs-integ-grid    { grid-template-columns: 1fr 1fr; }
  .acs-dir-metrics   { grid-template-columns: 1fr 1fr; }
  .acs-feat-stages   { gap: 0.25rem; }
  .acs-nursing-flow  { gap: 0.25rem; }
}

/* =============================================================
   HOW IT WORKS PAGE  (hiw-)
   ============================================================= */

/* ── Active nav link ── */
.nav-active {
  color: var(--blue) !important;
  font-weight: 600;
}

/* ── Hero ── */
.hiw-hero {
  background: var(--ink);
  padding: 7rem max(5vw, 1.5rem) 5rem;
  color: var(--white);
}
.hiw-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.hiw-hero-text {
  max-width: 680px;
}
.hiw-h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 1rem 0 1.25rem;
  color: var(--white);
}
.hiw-accent {
  color: #60a5fa;
}
.hiw-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hiw-hero .hero-eyebrow {
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.hiw-hero .eyebrow-dot {
  background: #60a5fa;
}
.hiw-hero .btn-primary {
  background: #2563eb;
  color: #fff;
}
.hiw-hero .btn-outline {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.25);
  background: transparent;
}
.hiw-hero .btn-outline:hover {
  background: rgba(255,255,255,0.06);
}

/* Stats strip */
.hiw-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hiw-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.5rem 1rem;
  text-align: center;
}
.hiw-stat-val {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.hiw-stat-lbl {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.hiw-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ── Timeline ── */
.hiw-timeline-section {
  background: var(--surface);
  padding: 4rem max(5vw, 1.5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.hiw-timeline-header {
  max-width: 1100px;
  margin: 0 auto 3rem;
  text-align: center;
}
.hiw-timeline {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hiw-tl-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  flex: 1;
  text-align: center;
  min-width: 0;
}
.hiw-tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--ink);
  flex-shrink: 0;
  margin-top: 2px;
}
.hiw-tl-dot-live {
  background: #16a34a;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.15);
}
.hiw-tl-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin-top: 9px;
  min-width: 16px;
}
.hiw-tl-week {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hiw-tl-label {
  font-size: 0.8125rem;
  color: var(--ink-3);
  line-height: 1.4;
  padding: 0 0.25rem;
}

/* ── Why grid ── */
.hiw-why-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.hiw-why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.hiw-why-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 1.125rem;
  color: var(--ink);
}
.hiw-why-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}
.hiw-why-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── FAQ ── */
.hiw-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hiw-faq-item {
  border-bottom: 1px solid var(--border);
}
.hiw-faq-item:first-child {
  border-top: 1px solid var(--border);
}
.hiw-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  font-family: inherit;
}
.hiw-faq-q:hover { color: var(--blue); }
.hiw-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--muted);
}
.hiw-faq-item.active .hiw-faq-chevron {
  transform: rotate(180deg);
}
.hiw-faq-a {
  display: none;
  padding: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}
.hiw-faq-item.active .hiw-faq-a {
  display: block;
}

/* ── CTA section ── */
.hiw-cta-section {
  background: var(--ink);
  padding: 6rem max(5vw, 1.5rem);
  text-align: center;
}
.hiw-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.hiw-cta-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #60a5fa;
  background: rgba(96,165,250,0.12);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: 20px;
  padding: 0.25rem 0.875rem;
  margin-bottom: 1.25rem;
}
.hiw-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hiw-cta-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.hiw-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.hiw-cta-btn {
  background: #2563eb;
  color: #fff;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}
.hiw-cta-link {
  color: rgba(255,255,255,0.65);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.15s;
}
.hiw-cta-link:hover { color: var(--white); }
.hiw-cta-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hiw-why-grid { grid-template-columns: repeat(2, 1fr); }
  .hiw-hero-stats { flex-wrap: wrap; }
  .hiw-stat-divider { display: none; }
  .hiw-stat { flex: 1 1 45%; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .hiw-timeline { flex-wrap: wrap; gap: 1.5rem; justify-content: flex-start; }
  .hiw-tl-line { display: none; }
  .hiw-tl-item { flex-direction: row; text-align: left; gap: 0.75rem; flex: 0 0 45%; align-items: flex-start; }
}
@media (max-width: 600px) {
  .hiw-why-grid { grid-template-columns: 1fr; }
  .hiw-stat { flex: 1 1 50%; }
  .hiw-tl-item { flex: 0 0 100%; }
  .hiw-cta-actions { flex-direction: column; align-items: stretch; }
  .hiw-cta-btn { text-align: center; justify-content: center; }
}

/* =============================================================
   PLATFORM OVERVIEW PAGE  (pov-)
   ============================================================= */

/* ── Hero ── */
.pov-hero {
  background: var(--ink);
  padding: 7rem max(5vw, 1.5rem) 5rem;
  color: var(--white);
}
.pov-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pov-eyebrow {
  color: rgba(255,255,255,0.65) !important;
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.15) !important;
}
.pov-h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 1rem 0 1.25rem;
  color: var(--white);
}
.pov-accent { color: #818cf8; }
.pov-desc {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.pov-btn-primary {
  background: #6366f1 !important;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35) !important;
}
.pov-btn-outline {
  color: rgba(255,255,255,0.8) !important;
  border-color: rgba(255,255,255,0.2) !important;
  background: transparent !important;
}
.pov-btn-outline:hover {
  background: rgba(255,255,255,0.06) !important;
}

/* ── Hero arch mockup ── */
.pov-arch-mock {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.pov-arch-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}
.pov-arch-logo {
  width: 40px; height: 40px;
  background: #6366f1;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
}
.pov-arch-core-label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}
.pov-arch-core-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
.pov-arch-modules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.pov-arch-mod {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.375rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  font-size: 0.6875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  color: color-mix(in srgb, var(--mod-color) 70%, white);
  text-align: center;
}

/* ── Stats strip ── */
.pov-stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
}
.pov-stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 max(5vw, 1.5rem);
}
.pov-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.75rem 1rem;
  text-align: center;
}
.pov-stat-val {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.pov-stat-lbl {
  font-size: 0.8125rem;
  color: var(--muted);
}
.pov-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Architecture diagram ── */
.pov-arch-diagram {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}
.pov-diag-core {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  position: sticky;
  top: 80px;
}
.pov-diag-core-icon {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--white);
}
.pov-diag-core-label {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
}
.pov-diag-core-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}
.pov-diag-core-items span {
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 0.2rem 0.625rem;
  color: rgba(255,255,255,0.7);
}
.pov-diag-layers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.pov-diag-layer {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}
.pov-diag-layer-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  margin-bottom: 0.875rem;
}
.pov-diag-layer-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.pov-diag-layer-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Bento ── */
.pov-bento {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.pov-bento-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.pov-bento-wide { grid-column: span 2; }
.pov-bento-icon {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--ink);
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}
.pov-bento-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.pov-bento-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}
.pov-bento-visual {
  margin-top: auto;
  padding-top: 1rem;
}
.pov-timeline-vis {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pov-tl-row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
}
.pov-tl-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pov-tl-event {
  flex: 1;
  color: var(--ink-3);
}
.pov-tl-time {
  color: var(--muted-2);
  font-size: 0.75rem;
}
.pov-bars-vis {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 80px;
}
.pov-bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  height: 100%;
  justify-content: flex-end;
}
.pov-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  min-height: 4px;
}
.pov-bar-group span {
  font-size: 0.6875rem;
  color: var(--muted-2);
}

/* ── Integrations ── */
.pov-integ-grid {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.pov-integ-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pov-integ-card:hover {
  border-color: var(--ink-3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.pov-integ-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
}
.pov-integ-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.pov-integ-type {
  font-size: 0.75rem;
  color: var(--muted);
}
.pov-integ-more {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.pov-integ-more a {
  color: var(--blue);
  text-decoration: none;
}
.pov-integ-more a:hover { text-decoration: underline; }

/* ── Security ── */
.pov-security-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.pov-security-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.pov-security-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pov-security-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
}
.pov-security-item svg { flex-shrink: 0; }
.pov-sec-card {
  background: var(--ink);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  color: var(--white);
}
.pov-sec-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.pov-sec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.pov-sec-row:last-child { border-bottom: none; }
.pov-sec-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}
.pov-sec-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 100px;
}
.pov-sec-badge.ok {
  background: rgba(22,163,74,0.15);
  color: #4ade80;
}
.pov-sec-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pov-hero-inner      { grid-template-columns: 1fr; gap: 2.5rem; }
  .pov-arch-diagram    { grid-template-columns: 1fr; }
  .pov-diag-core       { position: static; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pov-security-inner  { grid-template-columns: 1fr; }
  .pov-bento           { grid-template-columns: repeat(2, 1fr); }
  .pov-bento-wide      { grid-column: span 2; }
  .pov-integ-grid      { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .pov-stats-inner     { flex-wrap: wrap; }
  .pov-stat-sep        { display: none; }
  .pov-stat            { flex: 1 1 45%; border-bottom: 1px solid var(--border); }
  .pov-bento           { grid-template-columns: 1fr; }
  .pov-bento-wide      { grid-column: span 1; }
  .pov-diag-layers     { grid-template-columns: 1fr; }
  .pov-integ-grid      { grid-template-columns: repeat(2, 1fr); }
  .pov-arch-modules    { grid-template-columns: repeat(4, 1fr); }
}

/* =============================================================
   RESPONSIVE FIXES — consolidated mobile pass
   ============================================================= */

/* ── 1024px: tablet landscape ── */
@media (max-width: 1024px) {
  /* Contact grid: collapse to single column */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Car rental themes: 5-col → 3-col */
  .cr-themes-grid { grid-template-columns: 2fr 1fr 1fr; }
  .cr-theme-more  { grid-column: span 3; }

  /* Car rental / generic pricing: 3-col → 2-col */
  .cr-pricing-grid, .cr-plans-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px: tablet portrait ── */
@media (max-width: 768px) {
  /* Section padding: 8rem → 4rem */
  section.block { padding: 4rem max(5vw, 20px); }
  .cta-inner    { padding: 3.5rem max(5vw, 24px); }

  /* Homepage grids */
  .modular-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .modules-grid    { grid-template-columns: repeat(2, 1fr); }
  .features-row    { grid-template-columns: 1fr 1fr; }
  .testi-grid      { grid-template-columns: 1fr 1fr; }

  /* Stat strip: 4 across → 2×2 */
  .hero-metrics { flex-wrap: wrap; }
  .metric       { flex: 1 1 calc(50% - 1rem); }

  /* Dashboard stat row: 3-col → 2-col */
  .cr-stat-row { grid-template-columns: repeat(2, 1fr); }

  /* Form rows: 2-col → 1-col */
  .form-row { grid-template-columns: 1fr; gap: 0.75rem; }

  /* Comparison table: allow horizontal scroll, reduce font */
  .vs-wrap          { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vs-table         { min-width: 520px; font-size: 0.78rem; }
  .vs-table th,
  .vs-table td      { padding: 0.75rem 0.875rem; }

  /* Steps visual: reduce height */
  .steps-visual { height: 300px; }

  /* Block-sub: don't overflow on narrow viewports */
  .block-sub { max-width: 100%; }

  /* Page hero: reduce top padding */
  .page-hero { padding: 4rem 1.5rem 2.5rem; }

  /* Car rental themes: 3-col → 2-col */
  .cr-themes-grid { grid-template-columns: 1fr 1fr; }
  .cr-theme-more  { grid-column: span 2; }

  /* Pricing grids: 2-col → 1-col at tablet */
  .cr-pricing-grid, .cr-plans-grid { grid-template-columns: 1fr; }

  /* Vendo */
  .vendo-themes-grid  { grid-template-columns: 1fr 1fr; }
  .vendo-theme-featured { grid-column: span 2; }
  .vendo-pricing-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 680px: mobile ── */
@media (max-width: 680px) {
  /* Section padding: further reduction */
  section.block { padding: 3rem 1.25rem; }
  .cta-inner    { padding: 2.5rem 1.25rem; }

  /* Homepage grids: all single column */
  .modules-grid  { grid-template-columns: 1fr; }
  .features-row  { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }

  /* Hero metrics: stack vertically */
  .hero-metrics { flex-direction: column; }
  .metric       { flex: 1 1 auto; }

  /* Dashboard stat row: single column */
  .cr-stat-row { grid-template-columns: 1fr; }

  /* Steps visual: compact */
  .steps-visual { height: 240px; }
  .vis-panel    { padding: 1.25rem; }

  /* Themes/pricing grids: single column */
  .cr-themes-grid     { grid-template-columns: 1fr; }
  .cr-theme-more      { grid-column: span 1; }
  .vendo-themes-grid  { grid-template-columns: 1fr; }
  .vendo-theme-featured { grid-column: span 1; }
  .vendo-pricing-grid { grid-template-columns: 1fr; }

  /* Legal pages */
  .legal-wrap { padding: 2rem 1rem 3rem; }
}

/* ── 480px: small phones ── */
@media (max-width: 480px) {
  /* Footer: stack vertically */
  footer             { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-left       { flex-direction: column; gap: 0.5rem; }
  .footer-links      { flex-wrap: wrap; gap: 0.75rem; }

  /* Block-sub full width */
  .block-sub { max-width: 100%; font-size: 0.9rem; }

  /* Page hero smaller padding */
  .page-hero { padding: 3rem 1.25rem 2rem; }
}

/* =============================================================
   HERO SPACING — mobile (≤768px)
   Reference: .acs-hero — all padding on the outer hero,
   inner div padding zeroed. Every page matches this pattern.
   ============================================================= */
@media (max-width: 768px) {

  /* ── Outer heroes: own the full padding ── */
  /* inner was: padding: 6rem max(5vw,24px) 5rem */
  .cr-hero,
  .vendo-hero,
  .pms-hero    { padding: calc(60px + 1.5rem) max(5vw, 1.25rem) 4rem; }

  /* inner was: padding: 5rem max(5vw,24px) 4rem */
  .taxi-hero,
  .hera-hero   { padding: calc(60px + 1.5rem) max(5vw, 1.25rem) 3.5rem; }

  /* outer was: padding: 120px — just override top, sides/bottom keep base values */
  .redent-hero,
  .erp-hero    { padding: calc(60px + 1.5rem) max(5vw, 24px) 4rem; }

  /* outer was: padding: 5rem 2rem 4rem */
  .deal-hero,
  .plat-hero   { padding: calc(60px + 1.5rem) max(5vw, 1.25rem) 3.5rem; }

  /* outer was: padding: 5rem max(5vw,1.5rem) */
  .tour-hero   { padding: calc(60px + 1.5rem) max(5vw, 1.25rem) 3.5rem; }

  /* outer was: padding: 7rem */
  .hiw-hero    { padding: calc(60px + 1.5rem) max(5vw, 1.25rem) 3.5rem; }

  /* ── Inner divs: zero padding-top (outer owns it now) ── */
  .cr-hero-inner,
  .vendo-hero-inner,
  .pms-hero-inner,
  .taxi-hero-inner,
  .hera-hero-inner,
  .redent-hero-inner,
  .erp-hero-inner,
  .deal-hero-inner,
  .plat-hero-inner,
  .tour-hero-inner,
  .hiw-hero-inner    { padding-top: 0; }
}