:root {
  --bg: #f6f7fb;
  --white: #ffffff;
  --text: #111322;
  --muted: #70758f;
  --line: #ececf4;
  --line-strong: #dfe1ef;
  --dark: #050816;
  --dark-2: #0c1026;
  --purple: #7c4dff;
  --purple-2: #9d6bff;
  --purple-soft: rgba(124, 77, 255, 0.12);
  --green: #16c47f;
  --shadow-lg: 0 32px 70px rgba(12, 16, 38, 0.16);
  --shadow-md: 0 16px 40px rgba(12, 16, 38, 0.1);
  --shadow-sm: 0 8px 20px rgba(12, 16, 38, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

button,
a {
  transition: all 0.25s ease;
}

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

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding-bottom: 26px;
  background:
    radial-gradient(circle at 22% 0%, rgba(124, 77, 255, 0.24), transparent 24%),
    radial-gradient(circle at 72% 22%, rgba(124, 77, 255, 0.16), transparent 18%),
    linear-gradient(180deg, #02040e 0%, #050816 42%, #0a0f24 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 77, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, 0.08) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 92%);
  opacity: 0.45;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0 10px;
}

.brand img {
  width: 112px;
}

.topbar__nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
}

.topbar__nav a:hover,
.topbar__link:hover {
  color: var(--white);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 500;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
}

.button--large {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 13px;
}

.button--solid {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(124, 77, 255, 0.25);
}

.button--solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(124, 77, 255, 0.32);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.button--ghost:hover,
.button--dark-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.button--dark-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 34px;
  align-items: center;
  padding: 28px 0 42px;
}

.hero__content {
  color: var(--white);
  padding-top: 24px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.hero__eyebrow::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--purple-2);
  box-shadow: 0 0 0 5px rgba(124, 77, 255, 0.14);
}

.hero h1 {
  margin: 20px 0 16px;
  font-size: clamp(34px, 4.7vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.hero h1 span {
  color: var(--purple-2);
}

.hero p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero__mini-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.mini-feature__icon,
.proof-icon,
.info-card__icon,
.net-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-feature__icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.mini-feature__icon::before,
.proof-icon::before,
.info-card__icon::before,
.net-icon::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
}

.hero__visual {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 560px;
}

.visual-network {
  position: relative;
  height: 100%;
}

.visual-network::before,
.visual-network::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(124, 77, 255, 0.45);
  border-radius: 22px;
}

.visual-network::before {
  inset: 98px 16px 180px 28px;
  border-right: none;
}

.visual-network::after {
  inset: 178px 38px 108px 56px;
  border-left: none;
}

.market-card {
  position: absolute;
  top: 38px;
  left: 22px;
  width: 238px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(12, 16, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.market-card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
}

.market-card__brand strong {
  display: block;
  color: var(--white);
  font-size: 13px;
  text-transform: lowercase;
}

.market-card__brand span {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.pill-logo {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd54f 0%, #ffec8b 100%);
}

.account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  margin-top: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #9bf4cb;
  font-size: 11px;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.sync-core {
  position: absolute;
  left: 78px;
  bottom: 146px;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sync-core img {
  width: 42px;
}

.network-icons {
  position: absolute;
  left: 26px;
  right: 20px;
  bottom: 52px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.net-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-preview {
  width: min(100%, 420px);
  justify-self: end;
  display: grid;
  grid-template-columns: 56px 1fr;
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.35);
}

.dashboard-preview__sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 26px 0;
  border-right: 1px solid var(--line);
  background: #fbfbfe;
}

.dashboard-preview__sidebar span {
  width: 14px;
  height: 14px;
  border-radius: 5px;
  background: #e6e8f3;
}

.dashboard-preview__sidebar .active {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
}

.dashboard-preview__body {
  padding: 24px 24px 22px;
}

.dashboard-preview__top strong {
  display: block;
  font-size: 16px;
}

.dashboard-preview__top small,
.metric-card small,
.analytics-card small,
.mini-stat span,
.chart-card span,
.metric-card span {
  color: var(--muted);
}

.metric-card {
  padding: 18px;
  margin-top: 20px;
  border-radius: 18px;
  background: #fafafe;
  border: 1px solid var(--line);
}

.metric-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 27px;
  color: var(--text);
}

.metric-card small {
  color: var(--green);
  font-size: 12px;
}

.chart-card {
  margin-top: 18px;
}

.chart-line {
  position: relative;
  height: 118px;
  margin-top: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fafafe 0%, #ffffff 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}

.chart-line::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 28px;
  height: 54px;
  border-bottom: 3px solid #a470ff;
  border-radius: 60px 60px 14px 14px;
  transform: skewX(-18deg);
}

.chart-line i {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(124, 77, 255, 0.08), transparent);
}

.chart-line i:nth-child(1) { left: 12%; }
.chart-line i:nth-child(2) { left: 24%; }
.chart-line i:nth-child(3) { left: 36%; }
.chart-line i:nth-child(4) { left: 48%; }
.chart-line i:nth-child(5) { left: 60%; }
.chart-line i:nth-child(6) { left: 72%; }
.chart-line i:nth-child(7) { left: 84%; }
.chart-line i:nth-child(8) { left: 92%; }

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.mini-stat {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fafafe;
}

.mini-stat strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

.proof-bar {
  padding: 16px 0 26px;
  background: var(--white);
}

.proof-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.proof-icon,
.info-card__icon {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--purple-soft);
}

.section {
  padding: 56px 0;
}

.section--compact {
  padding-top: 14px;
}

.section--white {
  background: var(--white);
}

.section-intro {
  text-align: center;
}

.section-kicker {
  display: inline-block;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-intro h2,
.split-copy h2,
.cta-band h2 {
  margin: 14px auto 0;
  max-width: 700px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.info-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  margin: 16px 0 14px;
  font-size: 18px;
}

.info-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.info-card a,
.text-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 600;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(11, auto);
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 34px;
}

.flow-step {
  width: 128px;
  text-align: center;
}

.flow-step__circle {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7fb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.flow-line {
  align-self: center;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.2), rgba(124, 77, 255, 0.6), rgba(124, 77, 255, 0.2));
}

.split-section {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 42px;
  align-items: center;
}

.split-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
}

.split-visual {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.72fr;
  gap: 18px;
  align-items: center;
}

.paper-card,
.wa-note,
.analytics-card,
.phone-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.paper-card {
  padding: 18px;
}

.paper-card__title,
.phone-card__head {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.list-table {
  display: grid;
  gap: 8px;
}

.list-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fafafe;
  color: var(--muted);
  font-size: 11px;
}

.list-row.header {
  background: transparent;
  color: #9aa0b8;
  font-weight: 600;
}

.phone-card {
  padding: 14px 12px;
  border-radius: 26px;
}

.phone-item {
  height: 44px;
  margin-top: 10px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafafe 0%, #f4f5fb 100%);
  border: 1px solid var(--line);
}

.phone-button {
  margin-top: 14px;
  padding: 12px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-2) 100%);
  color: var(--white);
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.wa-note {
  padding: 16px;
}

.wa-note__badge {
  display: inline-block;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(22, 196, 127, 0.14);
  color: #14935f;
  font-size: 11px;
  font-weight: 700;
}

.wa-note p {
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.wa-note a {
  color: var(--purple);
  font-size: 12px;
  font-weight: 600;
}

.split-section--alt {
  grid-template-columns: 320px 1fr;
}

.analytics-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 20px;
  align-items: center;
}

.map-graph {
  position: relative;
  min-height: 260px;
}

.map-graph::before,
.map-graph::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.22), rgba(124, 77, 255, 0.75));
  transform: translate(-50%, -50%);
}

.map-graph::after {
  width: 1px;
  height: 150px;
}

.map-node {
  position: absolute;
  min-width: 136px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.map-node--ml {
  top: 10px;
  left: 40px;
}

.map-node--center {
  top: 90px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text);
  font-weight: 700;
}

.map-node:nth-child(3) {
  right: 40px;
  top: 90px;
}

.map-node:nth-child(4) {
  left: 60px;
  bottom: 20px;
}

.map-node:nth-child(5) {
  right: 40px;
  bottom: 20px;
}

.analytics-cards {
  display: grid;
  gap: 12px;
}

.analytics-card {
  padding: 18px;
}

.analytics-card strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 28px;
}

.analytics-card small {
  color: var(--green);
  font-size: 12px;
}

.integrations {
  padding: 16px 0 22px;
  background: var(--white);
}

.integrations__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  color: #7f8398;
  font-size: 25px;
  font-weight: 700;
  opacity: 0.65;
}

.cta-band-wrap {
  padding-top: 10px;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 34px 38px;
  border-radius: 22px;
  background:
    radial-gradient(circle at right top, rgba(124, 77, 255, 0.26), transparent 28%),
    linear-gradient(180deg, #090d1b 0%, #10162d 100%);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.cta-band__eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-band h2 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
}

.cta-band h2 span {
  color: var(--purple-2);
}

.cta-band small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 180px;
}

.footer {
  background: linear-gradient(180deg, #070b17 0%, #03050d 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 26px 0 42px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.footer__brand img {
  width: 110px;
}

.footer__brand p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  line-height: 1.7;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.footer__columns strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 13px;
}

.footer__columns a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

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

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

  .hero__visual {
    justify-self: center;
    width: 100%;
    max-width: 760px;
  }

  .split-section,
  .split-section--alt,
  .analytics-layout,
  .cta-band,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
  }

  .flow-line {
    display: none;
  }

  .flow-step {
    width: auto;
  }

  .cta-band__actions {
    flex-direction: row;
    min-width: 0;
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
  }

  .topbar__nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .topbar__actions {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero__visual {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
  }

  .visual-network {
    min-height: 390px;
  }

  .dashboard-preview {
    justify-self: center;
  }

  .proof-bar__grid,
  .cards-3,
  .split-visual,
  .footer__columns {
    grid-template-columns: 1fr;
  }

  .integrations__row {
    justify-content: center;
    font-size: 20px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero {
    padding-top: 10px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__actions,
  .cta-band__actions,
  .topbar__actions {
    flex-direction: column;
    width: 100%;
  }

  .button,
  .button--large {
    width: 100%;
  }

  .hero__mini-features {
    flex-direction: column;
    align-items: flex-start;
  }

  .visual-network {
    min-height: 340px;
  }

  .market-card {
    width: 210px;
    left: 10px;
  }

  .sync-core {
    left: 60px;
    bottom: 130px;
    width: 74px;
    height: 74px;
  }

  .dashboard-preview {
    grid-template-columns: 44px 1fr;
  }

  .dashboard-preview__body {
    padding: 18px;
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 24px;
  }

  .cta-band h2,
  .split-copy h2,
  .section-intro h2 {
    font-size: 28px;
  }
}
