/* VisionCX Landing — tokens from app/globals.css + Linear-inspired motion */

:root {
  /* Brand (from app/globals.css) */
  --background: #ffffff;
  --foreground: #171717;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --border-strong: #d4d4d4;
  --primary: #171717;
  --primary-foreground: #ffffff;

  /* Chart palette from DS — used sparingly as accents */
  --slate: #5b8ba0;
  --slate-50: #eff4f6;
  --slate-100: #dbe6ec;
  --sage: #6b9e7a;
  --sage-50: #eef5f0;
  --plum: #9e7b9e;
  --sand: #b09870;
  --clay: #a87070;

  /* VisionCX brand blue — from logo "CX" */
  --brand: #00B1FF;
  --brand-600: #0091d6;
  --brand-700: #0080bf;
  --brand-50: #e5f6ff;
  --brand-100: #cceeff;
  --brand-900: #003a56;
  --brand-ink: #1E1123; /* logo wordmark ink */

  /* Tweakable — main.jsx overrides */
  --accent: var(--foreground);
  --accent-soft: var(--muted);
  --density: 1;

  --radius: 0.625rem;
  --radius-sm: 0.375rem;
  --radius-lg: 0.875rem;

  --font-sans:
    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Type scale — landing page (larger than app DS) */
  --fs-micro: 11px;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 28px;
  --fs-3xl: 36px;
  --fs-display: clamp(44px, 6.2vw, 88px);
  --fs-display-sm: clamp(32px, 4.2vw, 56px);
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--background);
  font-size: var(--fs-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings:
    "cv02","cv03","cv04","cv11","ss01";
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

img, svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--brand-100);
  color: var(--brand-900);
}

/* ============ Layout primitives ============ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: calc(96px * var(--density));
}

.section-sm {
  padding-block: calc(64px * var(--density));
}

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--brand);
}

.section-title {
  font-size: var(--fs-display-sm);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 16px 0 12px;
  max-width: 780px;
  text-wrap: balance;
}

.section-sub {
  color: var(--muted-foreground);
  font-size: var(--fs-lg);
  line-height: 1.5;
  max-width: 620px;
  text-wrap: pretty;
  margin: 0;
}

/* ============ Navigation ============ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--background) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 15px;
}
.logo img,
.logo svg.brand-logo {
  display: block;
  height: 22px;
  width: auto;
}
.footer-brand .logo img,
.footer-brand .logo svg.brand-logo {
  height: 24px;
}
/* Legacy placeholder — kept for dashboard mock sidebar badge only */
.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--foreground);
  color: var(--primary-foreground);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 28px;
  font-size: var(--fs-sm);
  color: var(--muted-foreground);
}
.nav-links a {
  transition: color 0.15s ease;
}
.nav-links a:hover {
  color: var(--brand);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (min-width: 840px) {
  .nav-links {
    display: flex;
  }
}

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: all 0.15s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--foreground);
  color: var(--primary-foreground);
}
.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.btn-ghost {
  color: var(--foreground);
}
.btn-ghost:hover {
  background: var(--muted);
}
.btn-outline {
  border-color: var(--border);
  color: var(--foreground);
  background: var(--background);
}
.btn-outline:hover {
  border-color: var(--foreground);
}
.btn-lg {
  height: 48px;
  padding: 0 20px;
  font-size: var(--fs-base);
}

/* ============ Hero ============ */

.hero {
  position: relative;
  padding-top: calc(88px * var(--density));
  padding-bottom: calc(40px * var(--density));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -120px;
  width: 900px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center,
    rgba(0, 177, 255, 0.18) 0%,
    rgba(0, 177, 255, 0.06) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(0, 0, 0, 0.25),
    transparent 72%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(0, 0, 0, 0.25),
    transparent 72%
  );
  opacity: 0.9;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 28px;
  text-align: center;
  justify-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: var(--muted-foreground);
  background: var(--background);
  transition: border-color 0.2s;
}
.hero-pill:hover {
  border-color: var(--foreground);
  color: var(--foreground);
}
.hero-pill-tag {
  background: var(--brand);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title {
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0;
  max-width: 960px;
  text-wrap: balance;
}
.hero-title em {
  font-style: normal;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-style: italic;
  color: var(--brand);
}

.hero-sub {
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 0;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: var(--fs-xs);
  margin-top: 4px;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero Variant B — Split */
.hero.variant-split .hero-inner {
  grid-template-columns: 1.1fr 1fr;
  text-align: left;
  align-items: center;
  gap: 56px;
}
.hero.variant-split .hero-title,
.hero.variant-split .hero-sub,
.hero.variant-split .hero-ctas,
.hero.variant-split .hero-meta,
.hero.variant-split .hero-pill {
  justify-self: start;
}
.hero.variant-split .hero-ctas {
  justify-content: flex-start;
}
.hero.variant-split .hero-meta {
  justify-content: flex-start;
}
.hero.variant-split .hero-media {
  margin-top: 0;
}
.hero.variant-split .hero-title {
  font-size: clamp(36px, 4.8vw, 64px);
}

@media (max-width: 900px) {
  .hero.variant-split .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero.variant-split .hero-title,
  .hero.variant-split .hero-sub,
  .hero.variant-split .hero-ctas,
  .hero.variant-split .hero-meta,
  .hero.variant-split .hero-pill {
    justify-self: center;
  }
  .hero.variant-split .hero-ctas,
  .hero.variant-split .hero-meta {
    justify-content: center;
  }
}

/* Hero Variant C — Editorial (large serif, minimal) */
.hero.variant-editorial .hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(56px, 8vw, 120px);
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.hero.variant-editorial .hero-title em {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
}

/* ============ Hero mockup ============ */

.hero-media {
  position: relative;
  margin-top: 32px;
  width: 100%;
  max-width: 1100px;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: linear-gradient(
    180deg,
    rgba(23, 23, 23, 0.08),
    rgba(23, 23, 23, 0) 60%
  );
  z-index: -1;
}

.mock {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--background);
  box-shadow:
    0 1px 2px rgba(17, 17, 17, 0.04),
    0 20px 40px -16px rgba(17, 17, 17, 0.12),
    0 40px 80px -24px rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}
.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--border-strong);
}
.mock-url {
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
}

.mock-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 560px;
}

.mock-side {
  border-right: 1px solid var(--border);
  padding: 16px 12px;
  background: #fcfcfc;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}
.mock-side-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  margin-bottom: 8px;
}
.mock-side-header .logo-mark {
  width: 22px;
  height: 22px;
  font-size: 11px;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
}
.mock-side-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  padding: 12px 8px 4px;
}
.mock-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted-foreground);
  cursor: default;
}
.mock-side-item.is-active {
  background: var(--muted);
  color: var(--foreground);
  font-weight: 500;
}
.mock-side-item .mock-side-icon {
  width: 14px;
  height: 14px;
  color: currentColor;
  opacity: 0.8;
}
.mock-side-badge {
  margin-left: auto;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--foreground);
  color: var(--primary-foreground);
  font-weight: 500;
}

.mock-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--background);
  min-width: 0;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.mock-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.mock-sub {
  color: var(--muted-foreground);
  font-size: 12px;
  margin-top: 2px;
}
.mock-chip-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mock-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--muted-foreground);
  background: var(--background);
}
.mock-chip.is-active {
  background: var(--foreground);
  color: var(--primary-foreground);
  border-color: var(--foreground);
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.mock-stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: var(--background);
}
.mock-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-stat-value {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mock-stat-delta {
  font-size: 11px;
  font-weight: 500;
  color: var(--sage);
}
.mock-stat-delta.is-down {
  color: var(--clay);
}

.mock-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
}

.mock-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--background);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.mock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mock-card-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}

/* Line chart */
.mock-chart {
  height: 140px;
  position: relative;
}
.mock-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Theme clusters */
.mock-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.mock-cluster:last-child {
  border-bottom: 0;
}
.mock-cluster-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.mock-cluster-label {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-cluster-count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
}
.mock-cluster-bar {
  width: 60px;
  height: 4px;
  border-radius: 999px;
  background: var(--muted);
  overflow: hidden;
}
.mock-cluster-fill {
  height: 100%;
  background: var(--foreground);
  border-radius: 999px;
}

/* Responses feed */
.mock-response {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 12px;
}
.mock-response:last-child {
  border-bottom: 0;
}
.mock-response-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--muted);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted-foreground);
}
.mock-response-body {
  flex: 1;
  min-width: 0;
}
.mock-response-name {
  font-weight: 500;
  font-size: 12px;
}
.mock-response-text {
  color: var(--muted-foreground);
  font-size: 12px;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mock-sentiment {
  font-size: 10px;
  font-family: var(--font-mono);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  height: fit-content;
}
.mock-sentiment.pos { background: var(--sage-50); color: #3f6a4d; }
.mock-sentiment.neu { background: var(--muted); color: var(--muted-foreground); }
.mock-sentiment.neg { background: #fae7e7; color: #8a4040; }

@media (max-width: 780px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .mock-grid { grid-template-columns: 1fr; }
}

/* ============ Resumo mock — Brasil map + ranking ============ */
.mock-grid-resumo { grid-template-columns: 1.35fr 1fr; }

.mock-map-wrap {
  position: relative;
  background: #fafafa;
  border-radius: var(--radius-sm);
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.vcx-map { width: 100%; height: 100%; max-height: 240px; }
.mock-map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--muted-foreground);
  margin-top: 8px;
  justify-content: flex-end;
}
.mock-legend-grad {
  display: inline-block;
  width: 90px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    color-mix(in oklab, var(--accent) 20%, #fff),
    color-mix(in oklab, var(--accent) 40%, #fff),
    color-mix(in oklab, var(--accent) 70%, #fff),
    var(--accent)
  );
}

.mock-rank { display: flex; flex-direction: column; gap: 4px; }
.mock-rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.mock-rank-row:hover { background: var(--muted); }
.mock-rank-num {
  width: 22px; height: 22px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 12%, #fff);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 600;
  flex-shrink: 0;
}
.mock-rank-body { flex: 1; min-width: 0; }
.mock-rank-name {
  font-size: 12px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mock-rank-code {
  font-size: 10px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
}
.mock-rank-stats { text-align: right; }
.mock-rank-count {
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
}
.mock-rank-sub {
  font-size: 10px; color: var(--muted-foreground);
}

/* NPS trend chart + breakdown (right column of Resumo) */
.vcx-trend { width: 100%; height: 200px; display: block; }

.vcx-bd {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed var(--border);
}
.vcx-bd-row { display: flex; flex-direction: column; gap: 5px; }
.vcx-bd-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.vcx-bd-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.vcx-bd-label {
  font-weight: 500;
  color: var(--foreground);
}
.vcx-bd-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.vcx-bd-pct {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--foreground);
}
.vcx-bd-track {
  height: 4px;
  border-radius: 999px;
  background: var(--muted);
  overflow: hidden;
}
.vcx-bd-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}

@media (max-width: 900px) {
  .mock-grid-resumo { grid-template-columns: 1fr; }
}

/* ============ Addons ============ */
.addons {
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.addons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.addon {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  transition: all 0.2s;
}
.addon:hover {
  border-color: var(--foreground);
  transform: translateY(-2px);
}
.addon-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
}
.addon-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.addon-desc {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.addon-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.addon-meta strong {
  color: var(--foreground);
  font-weight: 500;
}
@media (max-width: 960px) { .addons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .addons-grid { grid-template-columns: 1fr; } }

/* ============ Comparison (PME vs. Enterprise) ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-col {
  padding: 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare-col:last-child { border-right: 0; }
.compare-col.is-primary {
  background: var(--foreground);
  color: var(--primary-foreground);
}
.compare-col.is-primary .compare-sub,
.compare-col.is-primary .compare-row span:last-child {
  color: rgba(255,255,255,0.6);
}
.compare-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
}
.compare-col.is-primary .compare-label { color: rgba(255,255,255,0.5); }
.compare-name {
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.compare-sub {
  font-size: 13px;
  color: var(--muted-foreground);
  margin: 0 0 8px;
}
.compare-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.compare-col.is-primary .compare-rows { border-top-color: rgba(255,255,255,0.1); }
.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.compare-row span:first-child {
  color: var(--muted-foreground);
  font-size: 12px;
}
.compare-col.is-primary .compare-row span:first-child { color: rgba(255,255,255,0.5); }
.compare-row span:last-child {
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 12px;
}
@media (max-width: 840px) {
  .compare { grid-template-columns: 1fr; }
  .compare-col { border-right: 0; border-bottom: 1px solid var(--border); }
  .compare-col:last-child { border-bottom: 0; }
}

/* ============ Testimonials ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.testimonial {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--background);
}
.testimonial-quote {
  font-size: var(--fs-lg);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: pretty;
  font-weight: 400;
}
.testimonial-quote::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 0;
  color: var(--muted-foreground);
  opacity: 0.35;
  margin-right: 4px;
  vertical-align: -14px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--muted);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted-foreground);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 500; font-size: 13px; }
.testimonial-role { font-size: 12px; color: var(--muted-foreground); }
.testimonial-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  background: var(--brand-50);
  border-radius: 999px;
  color: var(--brand-700);
  align-self: flex-start;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ============ Value Props strip (the big promises) ============ */
.promises {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.promise {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.promise:last-child { border-right: 0; }
.promise-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.promise-label {
  font-size: 13px;
  color: var(--muted-foreground);
  text-wrap: pretty;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .promises { grid-template-columns: repeat(2, 1fr); }
  .promise { border-bottom: 1px solid var(--border); }
  .promise:nth-child(2n) { border-right: 0; }
  .promise:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 500px) {
  .promises { grid-template-columns: 1fr; }
  .promise { border-right: 0; }
  .promise:last-child { border-bottom: 0; }
  .promise:not(:last-child) { border-bottom: 1px solid var(--border); }
}

/* ============ Bold variant (editorial accent) ============ */
body.is-bold {
  --radius: 0.25rem;
  --radius-sm: 0.125rem;
  --radius-lg: 0.5rem;
}
body.is-bold .hero-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin-bottom: 12px;
}
body.is-bold .hero-title em {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 500;
}
body.is-bold .section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: clamp(40px, 5.2vw, 68px);
}
body.is-bold .addons { background: var(--foreground); color: var(--primary-foreground); }
body.is-bold .addons .section-title,
body.is-bold .addons .eyebrow { color: var(--primary-foreground); }
body.is-bold .addons .section-sub { color: rgba(255,255,255,0.65); }
body.is-bold .addon {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
  color: var(--primary-foreground);
}
body.is-bold .addon-desc { color: rgba(255,255,255,0.65); }
body.is-bold .addon-icon { border-color: rgba(255,255,255,0.2); }
body.is-bold .addon-meta { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5); }
body.is-bold .addon-meta strong { color: var(--primary-foreground); }
body.is-bold .addon:hover { border-color: var(--primary-foreground); }

/* ============ Logos row ============ */

.logos {
  padding-block: calc(56px * var(--density));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: var(--fs-xs);
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
  opacity: 0.75;
}
.logo-item {
  display: flex;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--muted-foreground);
  font-weight: 400;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo-item.sans {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.logo-item.mono {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0;
}
@media (max-width: 780px) {
  .logos-row { grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
}

/* ============ Features grid ============ */

.features-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}
@media (max-width: 840px) {
  .features-head { grid-template-columns: 1fr; gap: 16px; }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--background);
}
.feature {
  padding: 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  position: relative;
}
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--brand-100);
  display: grid;
  place-items: center;
  color: var(--brand-700);
  background: var(--brand-50);
}
.feature-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 4px 0 0;
}
.feature-desc {
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .feature:nth-child(3n) { border-right: 1px solid var(--border); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
  .feature:last-child { border-bottom: 0 !important; }
}

/* ============ AI Bento ============ */

.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  margin-top: 48px;
}
.bento-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--background);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}
.bento-card.tall { grid-row: span 2; min-height: 532px; }
.bento-card.wide { grid-column: span 2; }
.bento-card.dark {
  background: var(--foreground);
  color: var(--primary-foreground);
  border-color: var(--foreground);
}
.bento-card.dark .bento-eyebrow,
.bento-card.dark .bento-desc {
  color: rgba(255,255,255,0.65);
}
.bento-eyebrow {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bento-title {
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.2;
}
.bento-desc {
  font-size: var(--fs-sm);
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card.tall { grid-row: span 1; min-height: 260px; }
  .bento-card.wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: span 1; }
}

/* Bento visual — sentiment meter */
.sentiment-viz {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}
.sentiment-bars {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 100px;
}
.sentiment-bar {
  flex: 1;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.9;
  transition: height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.sentiment-bar.pos { color: var(--sage); }
.sentiment-bar.neu { color: var(--border-strong); }
.sentiment-bar.neg { color: var(--clay); }

/* Cluster viz */
.cluster-viz {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
}
.cluster-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cluster-row .cluster-name {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cluster-row .cluster-pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted-foreground);
}
.bento-card.dark .cluster-row .cluster-pct {
  color: rgba(255,255,255,0.55);
}
.cluster-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--muted);
}
.bento-card.dark .cluster-bar {
  background: rgba(255,255,255,0.1);
}
.cluster-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--foreground);
}
.bento-card.dark .cluster-fill {
  background: var(--primary-foreground);
}

/* Closed loop ticket card */
.ticket {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  font-size: var(--fs-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--background);
  color: var(--foreground);
}
.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted-foreground);
  font-family: var(--font-mono);
}
.ticket-body {
  font-weight: 500;
  line-height: 1.4;
  font-size: 13px;
}
.ticket-foot {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.ticket-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--foreground);
  font-weight: 500;
}
.ticket-tag.urgent {
  background: #fae7e7;
  color: #8a4040;
}

/* ============ How it works ============ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.step {
  padding: 32px 0;
  border-right: 1px solid var(--border);
  padding-right: 32px;
}
.step:last-child {
  border-right: 0;
  padding-right: 0;
}
.step + .step {
  padding-left: 32px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-700);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.step-title {
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.step-desc {
  font-size: var(--fs-sm);
  color: var(--muted-foreground);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 840px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .step + .step { padding-left: 0; }
  .step:last-child { border-bottom: 0; }
}

/* ============ Pricing ============ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.pricing-grid-4 .pricing-amount { font-size: 36px; }
.pricing-grid-4 .pricing-card { padding: 24px; }
.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--background);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.pricing-card.featured {
  background: var(--foreground);
  color: var(--primary-foreground);
  border-color: var(--foreground);
}
.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-feature span {
  color: rgba(255,255,255,0.7);
}
.pricing-badge {
  position: absolute;
  top: -11px;
  right: 20px;
  background: var(--background);
  color: var(--foreground);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.pricing-name {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
  margin: 0;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.pricing-amount {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.pricing-period {
  font-size: 13px;
  color: var(--muted-foreground);
}
.pricing-card.featured .pricing-period {
  color: rgba(255,255,255,0.65);
}
.pricing-desc {
  font-size: var(--fs-sm);
  color: var(--muted-foreground);
  margin: 0;
  min-height: 40px;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
}
.pricing-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.pricing-cta .btn {
  width: 100%;
}
.pricing-card.featured .btn-outline {
  background: transparent;
  color: var(--primary-foreground);
  border-color: rgba(255,255,255,0.3);
}
.pricing-card.featured .btn-outline:hover {
  border-color: var(--primary-foreground);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid-4 { grid-template-columns: 1fr; }
}

/* ============ Plan Compare Table ============ */

.plancompare-wrap {
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--background);
}
.plancompare-head {
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--border);
}
.plancompare-title {
  margin: 0 0 4px;
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.plancompare-sub {
  margin: 0;
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
}
.plancompare-scroll {
  overflow-x: auto;
}
.plancompare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.plancompare-table th,
.plancompare-table td {
  padding: 14px 16px;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--foreground);
  vertical-align: middle;
  font-weight: 400;
}
.plancompare-table thead th {
  background: var(--muted);
  border-top: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  padding-block: 12px;
}
.plancompare-table thead th.is-featured {
  color: var(--brand-700);
  background: var(--brand-50);
}
.plancompare-table .plancompare-feat {
  text-align: left;
  color: var(--muted-foreground);
  min-width: 220px;
}
.plancompare-table tbody .plancompare-feat {
  color: var(--foreground);
  font-weight: 500;
}
.plancompare-table td.is-featured {
  background: rgba(0, 177, 255, 0.04);
}
.plancompare-check {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
}
.plancompare-dash {
  color: var(--muted-foreground);
  opacity: 0.55;
}
@media (max-width: 900px) {
  .plancompare-table .plancompare-feat { min-width: 160px; }
  .plancompare-table th,
  .plancompare-table td { padding: 12px 10px; font-size: 13px; }
}

/* ============ FAQ ============ */

.faq {
  max-width: 780px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  width: 100%;
  text-align: left;
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--muted-foreground);
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); color: var(--foreground); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-a {
  max-height: 400px;
}
.faq-a-inner {
  padding-bottom: 22px;
  color: var(--muted-foreground);
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 680px;
}

/* ============ CTA final ============ */

.cta-final {
  border-top: 1px solid var(--border);
}
.cta-card {
  position: relative;
  background: var(--foreground);
  color: var(--primary-foreground);
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 40%, black, transparent 75%);
}
.cta-card > * { position: relative; }
.cta-title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
  max-width: 680px;
  text-wrap: balance;
}
.cta-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #d4d4d4;
}
.cta-sub {
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0;
}
.cta-card .btn-primary {
  background: var(--background);
  color: var(--foreground);
}
.cta-card .btn-primary:hover {
  background: #fff;
}
.cta-card .btn-ghost {
  color: var(--primary-foreground);
}
.cta-card .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
}

/* ============ Footer ============ */

.footer {
  border-top: 1px solid var(--border);
  padding-block: 48px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13px;
  color: var(--foreground);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-brand p {
  color: var(--muted-foreground);
  font-size: 13px;
  margin: 12px 0 0;
  max-width: 320px;
  line-height: 1.5;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-foreground);
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============ Tweaks panel ============ */

.tweaks-panel {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 20px 40px -10px rgba(0,0,0,0.12);
  padding: 16px;
  width: 280px;
  font-size: var(--fs-sm);
  animation: tweaksIn 0.2s ease-out;
}
@keyframes tweaksIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.tweaks-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tweaks-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tweaks-close {
  color: var(--muted-foreground);
  padding: 4px;
  border-radius: 4px;
}
.tweaks-close:hover { background: var(--muted); }

.tweak-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.tweak-row:first-of-type { border-top: 0; }
.tweak-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
  font-weight: 500;
}
.tweak-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 3px;
  background: var(--muted);
  border-radius: 7px;
}
.tweak-options.col-2 { grid-template-columns: repeat(2, 1fr); }
.tweak-opt {
  padding: 6px 8px;
  font-size: 12px;
  border-radius: 5px;
  text-align: center;
  color: var(--muted-foreground);
  transition: all 0.15s;
  font-weight: 500;
}
.tweak-opt.active {
  background: var(--background);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.tweak-opt:hover:not(.active) {
  color: var(--foreground);
}

.tweak-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.tweak-toggle-label {
  font-size: 13px;
  font-weight: 500;
}
.switch {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: var(--border);
  transition: background 0.2s;
  cursor: pointer;
  flex-shrink: 0;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.switch.on {
  background: var(--foreground);
}
.switch.on::after {
  transform: translateX(16px);
}

/* ============ Fade-in anim ============ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Blog (minimalist — Vercel/Linear style) ============ */
.blog-section {
  border-top: 1px solid var(--border);
}
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.blog-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.blog-header-cta:hover {
  background: var(--muted);
  border-color: color-mix(in oklab, var(--foreground) 20%, transparent);
}

.blog-list {
  border-top: 1px solid var(--border);
}
.blog-post {
  border-bottom: 1px solid var(--border);
}
.blog-post-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "meta meta"
    "title read"
    "excerpt read";
  gap: 8px 24px;
  padding: 28px 0;
  color: inherit;
  transition: opacity 0.15s ease;
}
.blog-post-link:hover .blog-post-title {
  color: var(--brand-700, #0080bf);
}
.blog-post-link:hover .blog-post-read-more {
  transform: translateX(2px);
  color: var(--brand-700, #0080bf);
}

.blog-post-meta {
  grid-area: meta;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.blog-post-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--muted);
}
.blog-post-dot { opacity: 0.5; }
.blog-post-date,
.blog-post-read {
  font-size: 12px;
  color: var(--muted-foreground);
}

.blog-post-title {
  grid-area: title;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 6px 0 0;
  color: var(--foreground);
  transition: color 0.15s ease;
  max-width: 720px;
  text-wrap: balance;
}

.blog-post-excerpt {
  grid-area: excerpt;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted-foreground);
  margin: 0;
  max-width: 720px;
}

.blog-post-read-more {
  grid-area: read;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-foreground);
  white-space: nowrap;
  transition: all 0.2s ease;
}

@media (max-width: 680px) {
  .blog-post-link {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "title"
      "excerpt"
      "read";
    gap: 10px;
  }
  .blog-post-read-more {
    margin-top: 6px;
  }
}


/* ============================================================
   VisionCX — complementos WordPress (classes novas)
   Estilos que antes vinham de inline styles React.
   ============================================================ */

/* Problema — lista de dores */
.pain-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.pain-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: var(--fs-lg);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.pain-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  flex-shrink: 0;
  min-width: 32px;
}
.pain-text { text-wrap: pretty; }

/* Features — grupos de pilares */
.pilar-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pilar-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pilar-title {
  font-size: var(--fs-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.features-grid-4 { grid-template-columns: repeat(4, 1fr); }
.features-grid-4 .feature { border-right: 1px solid var(--border); border-bottom: 0; }
@media (max-width: 960px) {
  .features-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .features-grid-4 .feature { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .features-grid-4 { grid-template-columns: 1fr; }
  .features-grid-4 .feature { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; }
}

/* How it works — 4 passos */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps-4 { grid-template-columns: 1fr; } }

/* Preços — cabeçalho centralizado */
.pricing-head { text-align: center; max-width: 640px; margin: 0 auto; }
.pricing-eyebrow { justify-content: center; }
.pricing-title { margin: 16px auto 12px; text-align: center; }
.pricing-sub { margin: 0 auto; }
.pricing-callout {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted-foreground);
}
.pricing-callout-link {
  color: var(--brand-700);
  font-weight: 500;
}
.pricing-compare-row { text-align: center; margin-top: 28px; }

/* Bento — causa raiz tags */
.bento-root-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}
.bento-root-tag {
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--background);
  font-family: var(--font-mono);
}

/* CTA final — eyebrow claro */
.cta-eyebrow { color: rgba(255, 255, 255, 0.55); }

/* WordPress — correção de bloco do editor quando não usamos sidebar */
main { display: block; }

/* ============================================================
   VisionCX — Mobile responsiveness fixes (v1.1)
   ============================================================ */

/* Hamburger button — hidden on desktop */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.nav-burger:hover { border-color: var(--foreground); }
.nav-burger-line {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--foreground);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile menu drawer */
.nav-mobile {
  position: fixed;
  inset: 64px 0 0 0;
  background: var(--background);
  z-index: 49;
  overflow-y: auto;
  animation: vcxMobileIn 0.18s ease-out;
}
@keyframes vcxMobileIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav-mobile-inner {
  padding-top: 32px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nav-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.nav-mobile-links li { border-bottom: 1px solid var(--border); }
.nav-mobile-links li:first-child { border-top: 1px solid var(--border); }
.nav-mobile-links a {
  display: block;
  padding: 18px 4px;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
.nav-mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nav-mobile-ctas .btn { width: 100%; }

/* Burger animation when open */
.nav.is-open .nav-burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav.is-open .nav-burger-line:nth-child(2) {
  opacity: 0;
}
.nav.is-open .nav-burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile breakpoint — show hamburger, hide desktop nav-cta */
@media (max-width: 839px) {
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}
/* Drawer só aparece quando JS adiciona .is-open. */
.nav-mobile { display: none; }
.nav-mobile.is-open { display: block; }
@media (min-width: 840px) {
  .nav-mobile, .nav-mobile.is-open { display: none !important; }
}

/* Container — menos padding em telas pequenas */
@media (max-width: 600px) {
  .container { padding-inline: 16px; }
}

/* Section padding — reduzir em mobile pra não ficar excessivo */
@media (max-width: 768px) {
  .section { padding-block: calc(64px * var(--density)); }
}
@media (max-width: 480px) {
  .section { padding-block: calc(48px * var(--density)); }
}

/* Hero — ajustes de mobile */
.hero { overflow: hidden; }
@media (max-width: 600px) {
  .hero-pill {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    line-height: 1.4;
    padding: 8px 14px 8px 8px;
  }
  .hero-ctas { width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-meta-item { font-size: var(--fs-sm); }
}

/* Mock dashboard — totalmente responsivo (sem scroll horizontal hack) */
.vcx-trend { width: 100%; height: auto; display: block; }

@media (max-width: 780px) {
  /* sobrescreve .mock-grid-resumo (que ficava em 2 colunas mesmo no mobile) */
  .mock-grid-resumo { grid-template-columns: 1fr !important; }
  .mock-body { min-height: 0 !important; }
  .mock-main { padding: 16px !important; gap: 12px !important; }
  .mock-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .mock-stat { padding: 10px !important; }
  .mock-stat-value { font-size: 20px !important; }
  .mock-card { padding: 12px !important; }
  .mock-header { flex-direction: column; align-items: flex-start; }
  .hero-media { margin-top: 24px; }
}

@media (max-width: 480px) {
  .mock-bar { padding: 8px 10px; gap: 6px; }
  .mock-url { font-size: 10px; padding: 2px 8px; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mock-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .mock-stat-value { font-size: 18px !important; }
  .mock-stat-label, .mock-stat-delta { font-size: 10px !important; }
  .mock-rank-name { font-size: 11px; }
  .mock-rank-count { font-size: 13px; }
  .vcx-bd-head { gap: 6px; }
  .vcx-bd-label, .vcx-bd-pct { font-size: 11px; }
}

/* Bento — empilha em uma coluna em telas bem pequenas */
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr !important; gap: 16px; }
  .bento-card.tall { grid-row: span 1 !important; min-height: auto !important; }
  .bento-card.wide { grid-column: span 1 !important; }
  .bento-card { padding: 20px; }
  .sentiment-bars { height: 80px; }
}

/* Pricing callout — empilha em mobile */
@media (max-width: 600px) {
  .pricing-callout {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .pricing-card { padding: 20px !important; }
  .pricing-amount { font-size: 32px !important; }
}

/* Footer — empilha em uma coluna em telas pequenas */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-brand { max-width: 100%; }
}

/* CTA final — padding reduzido em mobile */
@media (max-width: 600px) {
  .cta-card { padding: 32px 20px !important; }
  .cta-title { font-size: clamp(28px, 6vw, 44px) !important; }
}

/* Botões — full-width em CTAs do CTA final em mobile */
@media (max-width: 600px) {
  .cta-card .hero-ctas { width: 100%; }
  .cta-card .hero-ctas .btn { width: 100%; }
}

/* Promises strip — espaçamento e fonte adequados */
@media (max-width: 500px) {
  .promise { padding: 24px 16px; }
  .promise-num { font-size: 24px; }
}

/* Pain list — padding interno em mobile */
@media (max-width: 600px) {
  .pain-item {
    font-size: var(--fs-base);
    padding: 16px 0;
    gap: 12px;
  }
}

/* FAQ — padding e tipo */
@media (max-width: 600px) {
  .faq-q { padding: 18px 0; font-size: var(--fs-base); }
}

/* Blog — ajuste em mobile */
@media (max-width: 600px) {
  .blog-header { flex-direction: column; gap: 16px; align-items: flex-start; }
  .blog-post-title { font-size: var(--fs-xl) !important; }
}

/* Pilar head — empilha vertical em mobile */
@media (max-width: 600px) {
  .pilar-head { flex-direction: column; gap: 6px; align-items: flex-start; }
  .pilar-title { font-size: var(--fs-xl); }
}

/* Hero title — line-height melhor em mobile */
@media (max-width: 600px) {
  .hero-title { line-height: 1.05; letter-spacing: -0.025em; }
  .hero-sub { font-size: var(--fs-base); }
}

/* Logo — tamanho coerente */
@media (max-width: 600px) {
  .logo img, .logo svg.brand-logo { height: 20px; }
}

/* Evita scroll horizontal indesejado em qualquer página */
html, body { overflow-x: hidden; }
