:root {
  --purple: #583df6;
  --purple-2: #7b61ff;
  --green: #00d0a8;
  --cyan: #00c2ff;
  --orange: #ff4b2f;
  --ink: #111827;
  --muted: #667085;
  --line: #e3e8f2;
  --paper: #ffffff;
  --soft: #f5f8fc;
  --dark: #070912;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Sora", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { border: 0; font: inherit; }
img { max-width: 100%; display: block; }

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  width: min(1180px, calc(100% - 28px));
  min-height: 66px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(227, 232, 242, 0.84);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 60px rgba(17, 24, 39, 0.1);
  backdrop-filter: blur(20px);
}
.brand, .mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.brand { flex: 0 0 auto; font-size: 1.46rem; }
.brand b { color: var(--purple); }
.brand-mark {
  position: relative;
  width: 34px;
  height: 30px;
  display: inline-block;
}
.brand-mark i {
  position: absolute;
  display: block;
  border-radius: 999px;
  background: linear-gradient(155deg, var(--purple), var(--purple-2));
}
.brand-mark i:nth-child(1) { left: 1px; top: 2px; width: 12px; height: 28px; transform: rotate(-32deg); }
.brand-mark i:nth-child(2) { left: 14px; top: 11px; width: 12px; height: 18px; transform: rotate(34deg); }
.brand-mark i:nth-child(3) { right: 0; top: 0; width: 11px; height: 11px; background: var(--cyan); }
.brand-mark.small { width: 25px; height: 22px; transform: scale(0.84); transform-origin: left center; }
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 26px;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 700;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.ghost-link { color: #475467; font-size: 0.86rem; font-weight: 800; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}
.button svg { width: 18px; height: 18px; }
.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 16px 38px rgba(88, 61, 246, 0.28);
}
.secondary {
  color: #1f2937;
  background: #fff;
  border: 1px solid var(--line);
}
.compact { min-height: 44px; padding-inline: 16px; font-size: 0.84rem; }
.menu-button { display: none; width: 42px; height: 42px; border-radius: 8px; background: #f3f6fb; color: var(--ink); }
.mobile-menu { display: none; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(640px, 1.28fr);
  gap: 36px;
  align-items: center;
  padding: 130px min(6vw, 86px) 74px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 14%, rgba(0, 194, 255, 0.18), transparent 30%),
    radial-gradient(circle at 55% 80%, rgba(0, 208, 168, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4f7ff 52%, #f2fbfa 100%);
}
.hero > * { min-width: 0; }
.hero-copy { max-width: 640px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}
.eyebrow span {
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 0 0 22px;
  max-width: 820px;
  font-size: clamp(3.4rem, 6.6vw, 7.2rem);
  line-height: 0.92;
}
h2 { font-size: clamp(2.15rem, 4vw, 4.4rem); line-height: 1.02; }
h3 { line-height: 1.15; }
.hero-lead {
  max-width: 610px;
  color: #344054;
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 32px 0 22px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 10px; }
.proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #344054;
  font-size: 0.82rem;
  font-weight: 800;
}
.proof-row svg { width: 16px; height: 16px; color: var(--purple); }

.hero-product {
  position: relative;
  min-height: 620px;
}
.desktop-panel {
  position: absolute;
  inset: 24px 0 auto auto;
  width: min(760px, 100%);
  padding: 18px;
  border: 1px solid rgba(227, 232, 242, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.panel-top, .board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 8px 12px;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #027a48;
  font-size: 0.76rem;
  font-weight: 800;
}
.live i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 208, 168, 0.16);
}
.panel-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}
.panel-nav {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.panel-nav b, .dashboard-nav b {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 8px;
  color: #667085;
  font-size: 0.78rem;
}
.panel-nav b.active { color: #fff; background: var(--purple); }
.panel-nav svg { width: 16px; height: 16px; }
.panel-main { padding: 22px; }
.call-card {
  display: grid;
  grid-template-columns: 48px 1fr 24px minmax(142px, 0.8fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #fff;
  background: var(--purple);
}
.call-card small, .metric-strip small { display: block; color: var(--muted); font-size: 0.74rem; font-weight: 700; }
.call-card strong { font-size: 1.05rem; }
.tenant {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 8px;
  border-radius: 8px;
  background: #080808;
  color: #fff;
}
.tenant img { width: 70px; height: 30px; object-fit: contain; }
.pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.pipeline article, .metric-strip span, .module, .flow article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.pipeline article {
  min-height: 138px;
  padding: 16px;
}
.pipeline article.current {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--purple), #2f7cff);
}
.pipeline svg { width: 28px; height: 28px; margin-bottom: 20px; }
.pipeline b { display: block; }
.pipeline small { color: currentColor; opacity: 0.72; }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.metric-strip span { padding: 15px; }
.metric-strip b { display: block; margin-top: 5px; font-size: 1.35rem; }

.phone-mock {
  position: absolute;
  left: 0;
  top: 0;
  width: 320px;
  min-height: 632px;
  overflow: hidden;
  border: 10px solid #111827;
  border-radius: 38px;
  background: #080808;
  color: #fff;
  box-shadow: 0 34px 80px rgba(17, 24, 39, 0.28);
}
.phone-status, .phone-head, .phone-tabs, .phone-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-status { padding: 14px 18px 8px; font-size: 0.72rem; font-weight: 800; opacity: 0.82; }
.phone-head { gap: 18px; padding: 10px 18px 0; }
.phone-head img { width: 152px; height: 52px; object-fit: contain; }
.phone-head button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
}
.phone-mock h2 { margin: 14px 18px 7px; font-size: 1.42rem; }
.phone-mock p { margin: 0 18px 18px; color: #f1f5f9; line-height: 1.42; }
.phone-tabs { gap: 8px; padding: 0 18px 16px; }
.phone-tabs span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
}
.phone-tabs .active { width: 42px; padding: 0; color: var(--orange); background: #fff; }
.phone-body {
  min-height: 316px;
  padding: 16px;
  border-radius: 24px 24px 0 0;
  background: #fff8f6;
  color: var(--ink);
}
.notice {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #f0ddd8;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-size: 0.78rem;
  line-height: 1.35;
}
.notice svg { flex: 0 0 auto; color: var(--orange); }
.phone-body h3 { margin: 17px 0 10px; font-size: 1rem; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.service-grid button {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  border: 1px solid #efdfdc;
  border-radius: 8px;
  background: #fff;
  color: #20242c;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 800;
}
.service-grid .selected { color: #fff; background: var(--orange); }
.service-grid svg { color: currentColor; }
.franchise {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 12px;
  padding: 0 12px;
  border-radius: 8px;
  color: #fff;
  background: #080808;
  text-align: left;
}
.franchise small { display: block; color: #ffd8d0; }
.phone-actions {
  gap: 10px;
  padding: 10px 18px 14px;
  background: #fff;
}
.phone-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  flex: 1;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}
.phone-actions .whatsapp { color: #fff; border-color: #28c466; background: #28c466; }

.logo-band {
  padding: 24px min(6vw, 86px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.logo-band p { margin: 0 0 14px; color: var(--muted); text-align: center; font-weight: 700; }
.logo-band div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.logo-band span {
  padding: 10px 14px;
  border-radius: 8px;
  background: #f4f7fb;
  color: #475467;
  font-weight: 800;
}

.section { padding: 96px min(6vw, 86px); }
.section-heading { max-width: 900px; margin: 0 auto 38px; text-align: center; }
.section-heading p:not(.eyebrow) { max-width: 760px; margin-inline: auto; color: var(--muted); line-height: 1.65; }
.section-heading .eyebrow { justify-content: center; }
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan), var(--green));
  opacity: 0.5;
}
.flow article {
  position: relative;
  min-height: 252px;
  padding: 24px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}
.flow article > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  font-weight: 900;
}
.flow svg, .module svg {
  width: 34px;
  height: 34px;
  margin: 26px 0 18px;
  color: var(--purple);
}
.flow p, .module p, .sdk-copy p, .pilot-card p, .final-cta p { color: var(--muted); line-height: 1.65; }

.dark-section {
  padding: 96px min(6vw, 86px);
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(88, 61, 246, 0.32), transparent 28%),
    linear-gradient(135deg, #070912, #111827 62%, #0b1820);
}
.light .eyebrow, .eyebrow.light { color: #8bf3df; }
.section-heading.light p:not(.eyebrow) { color: #cbd5e1; }
.feature-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.feature-tabs button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}
.feature-tabs .active { color: #07111a; background: #fff; }
.feature-stage {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature-copy, .feature-visual {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}
.feature-copy > p:first-child { color: #8bf3df; font-weight: 800; }
.feature-visual { display: grid; place-items: center; }
.visual-card {
  width: min(460px, 100%);
  padding: 34px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}
.visual-card img { width: 180px; padding: 10px; border-radius: 8px; background: #080808; }
.visual-card span { display: block; margin: 22px 0 8px; color: var(--purple); font-weight: 800; }
.visual-card strong { display: block; font-size: 1.7rem; line-height: 1.1; }

.platform { background: var(--soft); }
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto 24px;
}
.module {
  min-height: 236px;
  padding: 26px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.07);
}
.module h3 { font-size: 1.35rem; }
.analytics-board {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.stats span {
  padding: 18px;
  border-radius: 8px;
  background: #f7f9fd;
}
.stats small { color: var(--muted); font-weight: 700; }
.stats b { display: block; margin-top: 8px; font-size: 1.6rem; }
.chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 190px;
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(180deg, #f6f8fc, #fff);
}
.chart i {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--purple), var(--cyan));
}

.sdk-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: center;
  padding: 108px min(6vw, 86px);
  background: #fff;
}
.sdk-network {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(88, 61, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(88, 61, 246, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
}
.sdk-network span {
  position: absolute;
  display: grid;
  place-items: center;
  width: 140px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.11);
  font-weight: 800;
  text-align: center;
}
.sdk-network .hub {
  left: 50%;
  top: 50%;
  width: 174px;
  height: 110px;
  transform: translate(-50%, -50%);
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
}
.sdk-network span:nth-child(2) { left: 8%; top: 14%; }
.sdk-network span:nth-child(3) { right: 8%; top: 12%; }
.sdk-network span:nth-child(4) { left: 10%; bottom: 12%; }
.sdk-network span:nth-child(5) { right: 10%; bottom: 14%; }
.sdk-network span:nth-child(6) { left: 50%; top: 5%; transform: translateX(-50%); }

.pilot { background: linear-gradient(135deg, #fff8f6, #f6f8ff); }
.pilot-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 30px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px;
  border: 1px solid #f0ddd8;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.pilot-card img {
  padding: 30px;
  border-radius: 8px;
  background: #080808;
}
.pilot-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.final-cta {
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #111827);
}
.final-cta .eyebrow { justify-content: center; color: #8bf3df; }
.final-cta p { max-width: 680px; margin-inline: auto; color: #dbe4ef; }
.final-cta .button { margin-top: 18px; background: #fff; color: var(--purple); box-shadow: none; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.hero .reveal {
  opacity: 1;
  transform: none;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .nav-links, .ghost-link, .header-cta { display: none; }
  .site-header { justify-content: space-between; }
  .menu-button { display: grid; place-items: center; }
  .mobile-menu {
    position: fixed;
    top: 92px;
    left: 14px;
    right: 14px;
    z-index: 49;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .mobile-menu.is-open { display: grid; }
  .mobile-menu a { padding: 14px; border-radius: 8px; font-weight: 800; }
  .hero, .sdk-section { grid-template-columns: 1fr; }
  .hero-product { min-height: 820px; }
  .desktop-panel { right: 0; left: 0; top: 280px; width: 100%; }
  .phone-mock { left: 50%; transform: translateX(-50%); }
  .flow, .platform-grid, .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-stage, .pilot-card { grid-template-columns: 1fr; }
}

@media (min-width: 900px) and (max-height: 860px) {
  .site-header {
    top: 12px;
    min-height: 58px;
  }
  .hero {
    min-height: 760px;
    padding-top: 104px;
    padding-bottom: 42px;
  }
  h1 {
    font-size: clamp(4.5rem, 6.2vw, 6.4rem);
    line-height: 0.9;
  }
  .hero-lead {
    font-size: 1.08rem;
  }
  .hero-actions {
    margin: 24px 0 16px;
  }
  .hero-product {
    min-height: 570px;
  }
  .desktop-panel {
    width: min(690px, 100%);
    transform: translateX(10px);
  }
  .panel-grid {
    min-height: 386px;
  }
  .phone-mock {
    width: 292px;
    min-height: 574px;
  }
  .phone-head img {
    width: 138px;
    height: 46px;
  }
  .phone-head button {
    width: 42px;
    height: 42px;
  }
  .phone-mock h2 {
    font-size: 1.26rem;
  }
  .phone-mock p,
  .notice {
    font-size: 0.72rem;
  }
  .phone-tabs span {
    min-height: 36px;
    font-size: 0.66rem;
  }
  .phone-tabs .active {
    width: 36px;
  }
  .phone-body {
    min-height: 284px;
  }
  .service-grid button {
    min-height: 70px;
    font-size: 0.66rem;
  }
  .franchise {
    min-height: 48px;
  }
  .phone-actions button {
    min-height: 36px;
  }
}

@media (max-width: 680px) {
  .site-header { top: 10px; width: calc(100% - 20px); }
  .brand { font-size: 1.25rem; }
  .compact { display: none; }
  .hero { display: block; padding: 104px 18px 56px; }
  .hero, .hero-copy, .hero-product {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  h1 {
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
    font-size: clamp(2.25rem, 10vw, 2.8rem);
    line-height: 0.96;
  }
  h2 { font-size: 2.25rem; }
  .hero-copy {
    width: min(100%, 336px);
    max-width: 336px;
  }
  .hero-lead {
    width: 100%;
    max-width: 336px;
    overflow-wrap: anywhere;
  }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-height: auto;
    margin-top: 38px;
  }
  .phone-mock {
    position: relative;
    left: auto;
    top: auto;
    order: -1;
    width: min(318px, 100%);
    transform: none;
  }
  .desktop-panel {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .desktop-panel *, .phone-mock * { min-width: 0; }
  .panel-grid { grid-template-columns: 1fr; }
  .panel-nav { display: none; }
  .call-card { grid-template-columns: 48px 1fr; }
  .call-card > svg, .tenant { display: none; }
  .pipeline, .metric-strip, .flow, .platform-grid, .stats { grid-template-columns: 1fr; }
  .feature-tabs { overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .section, .dark-section, .sdk-section { padding: 74px 18px; }
  .sdk-network { min-height: 420px; }
  .sdk-network span { width: 118px; height: 72px; font-size: 0.78rem; }
  .sdk-network .hub { width: 148px; height: 94px; }
  .pilot-card { padding: 22px; }
}
