/* ============================================================
   MessageBridgeAI — marketing landing page
   Design system: colors sampled directly from the product logo
   (cyan -> violet -> blue gradient, two figures meeting) rather
   than invented, so the mark, the dashboard and this page read
   as one brand. Type/shape system unchanged from the prior pass.
   ============================================================ */

:root {
  /* ---- neutrals: cool, matching the blue/violet mark ---- */
  --ink: #14161c;
  --ink-soft: #454b58;
  --muted: #697089;
  --paper: #ffffff;
  --panel: #f5f6f9;
  --panel-deep: #eceef4;
  --line: #e2e5ec;
  --line-strong: #cbd0dc;

  /* ---- brand: sampled from logo.png ---- */
  --primary: #0077e3; /* wordmark + right figure */
  --primary-hover: #0a5fbd;
  --primary-active: #084a93;
  --primary-soft: #e6f1fd;
  --primary-soft-strong: #cfe4fb;

  --secondary: #7c3aed; /* the meeting point, rounded from #8715f6 */
  --secondary-hover: #6d28d9;
  --secondary-active: #5b21b6;
  --secondary-soft: #f3e8ff;

  --cyan: #1ee9f4; /* left figure — decorative only, fails text contrast */
  --cyan-ink: #066470; /* same hue, dark enough to use as a foreground */
  --cyan-soft: #e0fbfe;

  /* ---- semantic ---- */
  --success: #1e8e3e;
  --success-soft: #e6f4ea;
  --warning: #b9791e;
  --warning-soft: #faefd7;
  --danger: #d93025;
  --danger-soft: #fce8e6;

  /* ---- channel brand colors (authentic, not our accent) ---- */
  --wa: #25d366;
  --tg: #26a5e4;
  --msg: #0084ff;
  --mail: #c0433a;
  --ig-1: #f6a95a;
  --ig-2: #dd2a7b;
  --ig-3: #7d3ac1;

  /* ---- elevation ---- */
  --shadow-xs: 0 1px 2px rgba(20, 22, 28, 0.06);
  --shadow-sm: 0 6px 20px rgba(20, 22, 28, 0.07);
  --shadow-md: 0 16px 40px rgba(20, 22, 28, 0.1);
  --shadow-lg: 0 30px 80px rgba(20, 22, 28, 0.16);

  /* ---- shape: pill = tappable (echoes a message bubble), soft-rect = content, xs = chrome ---- */
  --radius-xs: 7px;
  --radius-sm: 11px;
  --radius-md: 15px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 0.8, 0.24, 1);
}

/* ============================================================
   Base
   ============================================================ */
* {
  box-sizing: border-box;
}
html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
body {
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.container {
  max-width: 1180px;
}
h1,
h2,
h3,
.navbar-brand {
  font-family: "Bricolage Grotesque", sans-serif;
  text-wrap: balance;
}
a {
  text-decoration: none;
}
.fs-7 {
  font-size: 0.8125rem;
}
.max-w-3xl {
  max-width: 48rem;
}

/* highlighter-mark emphasis used across every headline */
.hero-copy h1 span,
.section-heading h2 span,
.channel-section h2 span {
  color: var(--ink);
  background-image: linear-gradient(var(--primary-soft), var(--primary-soft));
  background-repeat: no-repeat;
  background-size: 100% 0.32em;
  background-position: 0 86%;
  padding: 0 0.05em;
}

/* ============================================================
   Nav
   ============================================================ */
.navbar {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}
.navbar.scrolled {
  padding: 12px 0;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-xs);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
}
.navbar-brand > span:last-child span {
  color: var(--primary);
}
.navbar-brand small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  font-family: "Public Sans", sans-serif;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  font-size: 17px;
}
.navbar .nav-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 10px 16px !important;
  border-radius: var(--radius-pill);
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.navbar .nav-link:hover,
.navbar .nav-link:focus-visible {
  color: var(--primary);
  background: var(--primary-soft);
}
.navbar-toggler {
  border: 0;
  font-size: 26px;
  color: var(--ink);
}

.btn {
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease),
    box-shadow 160ms var(--ease), color 160ms var(--ease);
}
.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}
.btn:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--primary-soft-strong) !important;
}
.btn-login {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-login:hover {
  border-color: var(--ink-soft);
  background: var(--panel);
}
.btn-primary-gradient {
  border: 0;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: var(--shadow-xs);
}
.btn-primary-gradient:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  filter: brightness(0.96);
}
.btn-primary-gradient:active {
  transform: scale(0.97);
  filter: brightness(0.9);
}
.btn-outline-secondary {
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: #fff;
}
.btn-outline-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
  min-height: 100vh;
  padding: 150px 0 45px;
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 70%;
  background-image: radial-gradient(ellipse 55% 50% at 82% 6%, rgba(0, 119, 227, 0.1), transparent 70%),
    radial-gradient(ellipse 45% 40% at 6% 32%, rgba(124, 58, 237, 0.08), transparent 70%);
  pointer-events: none;
}
.orb {
  display: none;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.eyebrow span {
  display: inline-block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--secondary);
}
.hero-copy h1 {
  font-size: clamp(44px, 5.1vw, 70px);
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--ink);
}
.hero-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 600px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-actions .btn-lg {
  padding: 15px 24px;
  font-size: 15px;
}
.btn-watch {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--ink);
  padding-left: 4px;
}
.btn-watch span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}
.btn-watch:hover span {
  border-color: var(--primary);
  color: var(--primary);
}
.hero-proof {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 34px;
  height: 34px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-left: -9px;
  background: var(--primary-soft);
  color: var(--primary-active);
  font-size: 11px;
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
}
.avatar-stack span:first-child {
  margin: 0;
  background: var(--secondary-soft);
  color: var(--secondary-active);
}
.avatar-stack span:nth-child(2) {
  background: var(--success-soft);
  color: var(--success);
}
.avatar-stack span:nth-child(3) {
  background: var(--cyan-soft);
  color: var(--cyan-ink);
}
.avatar-stack span:last-child {
  background: var(--ink);
  color: #fff;
}
.stars {
  font-size: 12px;
  color: var(--warning);
  letter-spacing: 2px;
}
.hero-proof small {
  color: var(--muted);
}

/* product mockup */
.product-stage {
  position: relative;
  padding: 40px 0 30px 25px;
}
.app-window {
  height: 485px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-top {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  background: var(--danger);
  border-radius: 50%;
}
.window-dots i:nth-child(2) {
  background: var(--warning);
}
.window-dots i:nth-child(3) {
  background: var(--success);
}
.window-title {
  font-weight: 600;
}
.app-body {
  height: calc(100% - 48px);
  display: grid;
  grid-template-columns: 52px 195px 1fr;
}
.mini-sidebar {
  background: var(--ink);
  color: #7c8296;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
}
.mini-logo {
  width: 27px;
  height: 27px;
  border-radius: var(--radius-xs);
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  margin-bottom: 9px;
}
.mini-sidebar .active {
  color: #fff;
  background: var(--primary-hover);
  padding: 8px;
  border-radius: var(--radius-xs);
}
.threads {
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.thread-heading {
  height: 62px;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
}
.thread-heading span {
  font-size: 11px;
  color: var(--muted);
}
.thread {
  height: 78px;
  padding: 12px 8px;
  display: grid;
  grid-template-columns: 35px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  border-top: 1px solid var(--panel);
}
.thread.active {
  background: var(--primary-soft);
  border-left: 3px solid var(--primary);
}
.thread b {
  font-size: 11px;
}
.thread p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100px;
  color: var(--muted);
  margin: 3px 0 0;
}
.thread small {
  font-size: 11px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.channel-icon {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
}
.whatsapp {
  background: var(--wa);
}
.messenger {
  background: var(--msg);
}
.mail {
  background: var(--mail);
}
.instagram {
  background: linear-gradient(45deg, var(--ig-1), var(--ig-2), var(--ig-3));
}
.chat-panel {
  background: var(--panel);
}
.chat-head {
  height: 62px;
  padding: 12px 15px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.chat-head small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.chat-head small span {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}
.chat-head i {
  margin-left: 12px;
  color: var(--ink-soft);
}
.chat-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.date-label {
  align-self: center;
  font-size: 11px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.bubble {
  font-size: 11px;
  padding: 10px 12px;
  line-height: 1.45;
  border-radius: var(--radius-sm);
  max-width: 80%;
  box-shadow: var(--shadow-xs);
}
.bubble.incoming {
  background: #fff;
}
.bubble.outgoing {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
}
.ai-suggestion {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--secondary-soft);
  padding: 9px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  margin-top: 15px;
}
.ai-suggestion > span {
  color: var(--secondary);
  font-size: 14px;
}
.ai-suggestion small {
  color: var(--secondary-active);
  font-weight: 700;
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
}
.ai-suggestion p {
  margin: 2px 0;
}
.ai-suggestion button {
  border: 0;
  border-radius: var(--radius-xs);
  background: var(--secondary);
  color: #fff;
  width: 27px;
  height: 27px;
}
.ai-suggestion button:hover {
  background: var(--secondary-hover);
}

.floating-pill {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 11px 16px;
  box-shadow: var(--shadow-md);
  font-size: 11px;
  font-family: "IBM Plex Mono", monospace;
}
.pill-ai {
  bottom: 9px;
  left: 0;
  color: var(--secondary-active);
}
.pill-ai b {
  color: var(--success);
  margin-left: 7px;
}
.pill-live {
  right: -10px;
  top: 13px;
  color: var(--ink-soft);
}
.pill-live span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 5px;
  box-shadow: 0 0 0 4px var(--success-soft);
}

.trusted-row {
  text-align: center;
  margin-top: 64px;
}
.trusted-row p {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  font-family: "IBM Plex Mono", monospace;
}
.trusted-row > div {
  display: flex;
  justify-content: center;
  gap: 45px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-weight: 700;
}
.trusted-row i {
  margin-right: 7px;
  font-size: 18px;
}

/* ============================================================
   Stats
   ============================================================ */
.stats-section {
  position: relative;
  z-index: 2;
  padding: 42px 0 16px;
  background: var(--paper);
}
.stats-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.7fr);
  align-items: stretch;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #fff 0%, var(--panel) 100%);
  box-shadow: var(--shadow-md);
}
.stats-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 14px 5px 3px;
}
.stats-intro .eyebrow {
  margin-bottom: 10px;
}
.stats-intro h2 {
  max-width: 310px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(21px, 2.2vw, 29px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}
.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  min-width: 0;
  min-height: 150px;
  padding: 20px;
  border-right: 1px solid var(--line);
  transition: transform 0.22s var(--ease), background-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.stat-item:last-child {
  border-right: 0;
}
.stat-item:hover {
  z-index: 1;
  transform: translateY(-3px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.stat-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xs);
  font-size: 16px;
  transition: transform 0.22s var(--ease);
}
.stat-item:hover .stat-icon {
  transform: scale(1.08) rotate(-3deg);
}
.stat-icon-blue {
  color: var(--primary);
  background: var(--primary-soft);
}
.stat-icon-green {
  color: var(--success);
  background: var(--success-soft);
}
.stat-icon-purple {
  color: var(--secondary);
  background: var(--secondary-soft);
}
.stat-icon-amber {
  color: var(--cyan-ink);
  background: var(--cyan-soft);
}
.stat-item strong {
  display: block;
  color: var(--ink);
  font: 700 clamp(26px, 2.6vw, 38px) / 1 "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-item p {
  min-height: 38px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.stat-item::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.22;
}

/* ============================================================
   Features
   ============================================================ */
.section-pad {
  padding: 110px 0;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 55px;
}
.section-heading h2,
.channel-section h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
}
.section-heading p,
.channel-section > p {
  font-size: 17px;
  color: var(--muted);
  margin: 20px auto 0;
  max-width: 620px;
}
.feature-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.feature-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 20px;
  margin-bottom: 24px;
}
.feature-icon.blue {
  color: var(--primary);
  background: var(--primary-soft);
}
.feature-icon.red {
  color: var(--secondary);
  background: var(--secondary-soft);
}
.feature-icon.yellow {
  color: var(--success);
  background: var(--success-soft);
}
.feature-icon.green {
  color: var(--cyan-ink);
  background: var(--cyan-soft);
}
.feature-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--muted);
}
.feature-card h3 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 10px 0 13px;
}
.feature-card p {
  line-height: 1.65;
  color: var(--muted);
}
.feature-card a {
  font-weight: 700;
  color: var(--primary);
}
.inbox-visual {
  align-self: center;
  background: var(--panel);
  padding: 14px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.inbox-person {
  background: #fff;
  margin: 9px 0;
  padding: 13px;
  display: grid;
  grid-template-columns: 37px 1fr auto;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  box-shadow: var(--shadow-xs);
}
.inbox-person small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}
.person-dot {
  width: 37px;
  height: 37px;
  border-radius: var(--radius-xs);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.person-dot.purple {
  background: var(--secondary);
}
.person-dot.red {
  background: var(--danger);
}
.person-dot.green {
  background: var(--success);
}
.inbox-person > i {
  color: var(--primary);
}
.badge-ai {
  background: var(--secondary-soft);
  color: var(--secondary-active);
  font-weight: 700;
  padding: 4px 6px;
  border-radius: var(--radius-xs);
}
.online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}
.ai-orbit {
  height: 150px;
  margin-top: 25px;
  position: relative;
  border-radius: 50%;
  border: 1px dashed var(--secondary-soft);
}
.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 25px;
  color: #fff;
  background: var(--secondary);
  box-shadow: 0 0 0 15px var(--secondary-soft);
}
.orbit-message {
  font-style: normal;
  position: absolute;
  background: #fff;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
}
.m1 {
  left: 6px;
  top: 15px;
}
.m2 {
  right: 5px;
  bottom: 15px;
  color: var(--success);
}
.flow-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22px;
}
.flow-visual span {
  width: 82%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 11px;
  box-shadow: var(--shadow-xs);
}
.flow-visual span i {
  color: var(--success);
  margin-right: 8px;
}
.flow-visual > i {
  color: var(--line-strong);
}
.chart-visual {
  align-self: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  height: 245px;
  box-shadow: var(--shadow-sm);
}
.chart-header {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.chart-header b {
  color: var(--success);
}
.chart-bars {
  height: 150px;
  display: flex;
  gap: 9px;
  align-items: end;
  border-bottom: 1px solid var(--line);
}
.chart-bars i {
  display: block;
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: var(--primary-soft-strong);
}
.chart-bars i:last-child {
  background: var(--success);
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  margin-top: 7px;
  font-family: "IBM Plex Mono", monospace;
}

/* ============================================================
   Channels
   ============================================================ */
.channel-section {
  background: var(--panel);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.channel-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.check-list {
  padding: 0;
  list-style: none;
  margin: 27px 0;
}
.check-list li {
  margin: 14px 0;
  color: var(--ink-soft);
}
.check-list i {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  margin-right: 10px;
}
.btn-dark-pill {
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
}
.btn-dark-pill:hover {
  background: var(--primary);
}
.channel-universe {
  height: 500px;
  position: relative;
}
.universe-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
}
.ring-one {
  width: 300px;
  height: 300px;
}
.ring-two {
  width: 465px;
  height: 465px;
}
.universe-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  color: var(--ink);
}
.channel-node {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 12px;
  box-shadow: var(--shadow-md);
}
.channel-node i {
  font-size: 21px;
}
.node-wa {
  top: 7%;
  left: 39%;
}
.node-wa i {
  color: var(--wa);
}
.node-ig {
  top: 32%;
  right: 1%;
}
.node-ig i {
  color: var(--ig-2);
}
.node-tg {
  bottom: 9%;
  right: 15%;
}
.node-tg i {
  color: var(--tg);
}
.node-mail {
  bottom: 11%;
  left: 8%;
}
.node-mail i {
  color: var(--mail);
}
.node-msg {
  top: 31%;
  left: 0;
}
.node-msg i {
  color: var(--msg);
}
.node-web {
  bottom: -2%;
  left: 36%;
}
.node-web i {
  color: var(--secondary);
}

/* ============================================================
   Pricing
   ============================================================ */
.pricing-section {
  background: var(--panel);
}
.pricing-section .btn-group .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pricing-section .btn-group .btn-light {
  background: #fff;
  border-color: var(--line);
}
.pricing-section .border-info {
  border-color: var(--primary) !important;
}
.pricing-section .text-info {
  color: var(--primary) !important;
}
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 700;
}
.billing-toggle b {
  font-size: 11px;
  color: var(--success);
  background: var(--success-soft);
  padding: 4px 7px;
  border-radius: var(--radius-pill);
}
.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}
.pricing-grid {
  align-items: center;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 33px;
  min-height: 570px;
  position: relative;
}
.price-card.popular {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.popular-label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  white-space: nowrap;
  font-family: "IBM Plex Mono", monospace;
}
.plan-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 21px;
  margin-bottom: 20px;
}
.plan-icon.starter {
  background: var(--primary-soft);
  color: var(--primary);
}
.plan-icon.growth {
  background: var(--secondary-soft);
  color: var(--secondary);
}
.plan-icon.scale,
.plan-icon.pro {
  background: var(--ink);
  color: var(--cyan);
}
.price-card h3 {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  font-weight: 700;
}
.price-card > p {
  color: var(--muted);
  min-height: 50px;
}
.price {
  display: flex;
  align-items: start;
  margin: 22px 0;
}
.price sup {
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}
.price b {
  font: 700 47px "Bricolage Grotesque", sans-serif;
  font-variant-numeric: tabular-nums;
}
.price span {
  color: var(--muted);
  align-self: end;
  margin: 0 0 10px 6px;
}
.btn-plan {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.btn-plan:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}
.price-card ul {
  list-style: none;
  padding: 21px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.price-card li {
  font-size: 13px;
  margin: 14px 0;
}
.price-card li i {
  color: var(--success);
  margin-right: 9px;
}
.pricing-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 32px;
}
.pricing-note a {
  color: var(--primary);
  font-weight: 700;
}

/* FAQ accordion */
.pricing-section .accordion-button:not(.collapsed) {
  color: var(--primary-active);
  background: var(--primary-soft);
}
.pricing-section .accordion-button:focus {
  box-shadow: 0 0 0 3px var(--primary-soft-strong);
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section {
  padding: 90px 0;
  background: var(--paper);
}
.contact-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.contact-copy {
  background: var(--panel);
  color: var(--ink);
  padding: 55px;
  border-right: 1px solid var(--line);
}
.eyebrow.light {
  color: var(--primary);
}
.contact-copy > p {
  color: var(--muted);
  line-height: 1.7;
  margin: 20px 0 35px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}
.contact-detail > i {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--primary);
  background: #fff;
}
.contact-detail small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
}
.contact-detail a,
.contact-detail span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.contact-form-wrap {
  padding: 55px;
  background: #fff;
}
.demo-form label,
.modal-form label {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
.demo-form .form-control,
.modal-form .form-control,
.modal-form .form-select {
  border-color: var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  background: var(--paper);
  color: var(--ink);
}
.demo-form .form-control:focus,
.modal-form .form-control:focus,
.modal-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft-strong);
  background: #fff;
}
.form-feedback {
  font-size: 12px;
  text-align: center;
  color: var(--success);
  font-weight: 700;
  margin: 12px 0 0;
  min-height: 18px;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--panel);
  padding: 50px 0 25px;
  border-top: 1px solid var(--line);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 56px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand p {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 1.75vw, 28px);
  white-space: nowrap;
}
.footer-links a,
.footer-bottom a {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}
.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

/* ============================================================
   Interest modal
   ============================================================ */
.interest-modal {
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.interest-modal > .btn-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 4;
}
.interest-modal .modal-body {
  padding: 0;
}
.modal-intro {
  background: var(--panel);
  padding: 45px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}
.modal-intro .brand-mark {
  margin-bottom: 55px;
}
.modal-intro h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
}
.modal-intro p {
  color: var(--muted);
}
.modal-intro ul {
  list-style: none;
  padding: 0;
  margin: 35px 0 0;
  font-size: 12px;
}
.modal-intro li {
  margin: 10px 0;
  color: var(--ink-soft);
}
.modal-intro li i {
  color: var(--success);
  margin-right: 7px;
}
.modal-form {
  padding: 45px;
}
.country-code {
  max-width: 118px;
}
.privacy-note {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 4px;
}
.privacy-note i {
  color: var(--success);
}

/* ============================================================
   Motion
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .navbar {
    background: var(--paper);
    backdrop-filter: none;
  }
  .navbar.scrolled {
    background: var(--paper);
  }
}

/* ============================================================
   How it works — secondary-page hero + numbered step rows.
   Each step's visual reuses an existing mini-mockup component
   (inbox-visual, ai-suggestion, flow-visual, chart-visual) rather
   than introducing new illustration styles.
   ============================================================ */
.how-hero {
  padding: 150px 0 70px;
  position: relative;
  background: var(--paper);
  overflow: hidden;
  text-align: center;
}
.how-hero .hero-lead {
  max-width: 620px;
  margin: 0 auto;
}
.how-hero .hero-actions {
  justify-content: center;
}
.how-hero .eyebrow {
  justify-content: center;
}
.channel-badge-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 46px;
}
.channel-badge-row .channel-icon {
  width: 46px;
  height: 46px;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}
.channel-icon.telegram {
  background: var(--tg);
}
.channel-icon.webchat {
  background: var(--ink);
}

.how-steps {
  padding: 40px 0 100px;
}
.how-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}
.how-step:last-child {
  border-bottom: 0;
}
.how-step:nth-child(even) .step-copy {
  order: 2;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-active);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}
.step-copy h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--ink);
}
.step-copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
}
.step-copy ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.step-copy ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}
.step-copy ul i {
  color: var(--success);
}
.step-visual {
  display: flex;
  justify-content: center;
}
.step-visual > * {
  width: 100%;
  max-width: 420px;
}

.how-cta {
  background: var(--ink);
  color: #fff;
  padding: 90px 0;
  text-align: center;
}
.how-cta .eyebrow {
  justify-content: center;
  color: var(--cyan);
}
.how-cta .eyebrow span {
  background: var(--cyan);
}
.how-cta h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.how-cta p {
  color: #b7bccb;
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 34px;
}
.how-cta .hero-actions {
  justify-content: center;
}
.how-cta .btn-outline-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.how-cta .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

@media (max-width: 991.98px) {
  .how-step {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }
  .how-step:nth-child(even) .step-copy {
    order: 0;
  }
  .step-visual {
    order: -1;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: #fff;
    margin-top: 12px;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .hero-section {
    padding-top: 125px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .eyebrow,
  .hero-actions,
  .hero-proof {
    justify-content: center;
  }
  .hero-copy h1 {
    letter-spacing: -0.02em;
  }
  .product-stage {
    max-width: 650px;
    margin: auto;
  }
  .feature-wide {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: auto;
  }
  .feature-wide .feature-copy {
    margin-bottom: 20px;
  }
  .channel-universe {
    max-width: 650px;
    margin: auto;
  }
  .price-card.popular {
    transform: none;
    margin: 10px 0;
  }
  .stats-shell {
    grid-template-columns: 1fr;
  }
  .stats-intro {
    align-items: center;
    padding: 0;
    text-align: center;
  }
  .stats-intro .eyebrow {
    justify-content: center;
  }
  .stats-intro h2 {
    max-width: 520px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-main .navbar-brand {
    justify-content: center;
  }
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
  }
  .modal-intro {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat-item:nth-child(2) {
    border-right: 0;
  }
  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 17px;
  }
  .brand-mark {
    width: 34px;
    height: 34px;
  }
  .hero-section {
    padding-top: 115px;
  }
  .hero-copy h1 {
    font-size: 42px;
  }
  .hero-lead {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .product-stage {
    padding: 20px 0;
  }
  .app-window {
    height: 400px;
  }
  .app-body {
    grid-template-columns: 40px 130px 1fr;
  }
  .threads {
    font-size: 11px;
  }
  .thread-heading {
    padding: 8px;
  }
  .thread {
    grid-template-columns: 28px 1fr;
    height: 65px;
    padding: 6px;
  }
  .thread small {
    display: none;
  }
  .channel-icon {
    width: 27px;
    height: 27px;
  }
  .thread p {
    width: 77px;
  }
  .chat-content {
    padding: 8px;
  }
  .floating-pill {
    display: none;
  }
  .trusted-row > div {
    gap: 18px;
    font-size: 12px;
  }
  .section-pad {
    padding: 75px 0;
  }
  .section-heading {
    margin-bottom: 38px;
  }
  .feature-bento {
    grid-template-columns: 1fr;
  }
  .feature-card {
    padding: 26px;
  }
  .channel-universe {
    height: 390px;
    transform: scale(0.85);
    margin: -25px -35px;
  }
  .ring-one {
    width: 250px;
    height: 250px;
  }
  .ring-two {
    width: 390px;
    height: 390px;
  }
  .channel-node span {
    display: none;
  }
  .contact-copy,
  .contact-form-wrap {
    padding: 35px 25px;
  }
  .contact-copy h2 {
    font-size: 31px;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .modal-form {
    padding: 38px 22px 25px;
  }
  .price-card {
    min-height: auto;
  }
  .stats-section {
    padding: 25px 0 5px;
  }
  .stats-shell {
    gap: 20px;
    padding: 18px;
    border-radius: 19px;
  }
  .stats-grid {
    border-radius: 14px;
  }
  .stat-item {
    min-height: 132px;
    padding: 15px;
  }
  .stat-item strong {
    font-size: 27px;
  }
  .stat-item p {
    font-size: 11px;
  }
  .stat-icon {
    width: 34px;
    height: 34px;
  }
}
