:root {
  --bg: #080808;
  --surface: #111111;
  --surface-2: #171717;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 107, 0, 0.28);
  --orange: #ff6b00;
  --orange-2: #ff9a00;
  --orange-3: #e65000;
  --text: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #5f5f5f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

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

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

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.3;
}

.ambient-one {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -160px;
  background: var(--orange);
}

.ambient-two {
  width: 340px;
  height: 340px;
  left: -160px;
  top: 48vh;
  background: #ff3300;
}

.ambient-three {
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: 18vh;
  background: var(--orange-2);
  opacity: 0.16;
}

.section-shell {
  width: min(1200px, calc(100% - 120px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.brand,
.desktop-nav,
.footer-inner,
.action-row,
.app-heading,
.pill-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.brand strong,
.footer-brand strong {
  color: var(--orange);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 18px var(--orange);
  animation: pulse 2s ease-in-out infinite;
}

.desktop-nav {
  gap: 34px;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
}

.header-cta {
  color: #090909;
  background: var(--orange);
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 800;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 0 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 107, 0, 0.08);
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(44px, 5.2vw, 76px);
}

h1 span,
.cta h2 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, var(--orange), var(--orange-2), #ffd740);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead,
.section-heading p,
.cta p {
  color: #aaaaaa;
  line-height: 1.75;
  font-size: 17px;
}

.hero-lead {
  max-width: 520px;
  margin-bottom: 40px;
}

.action-row {
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 10px;
  padding: 0 30px;
  font-weight: 800;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #070707;
  background: linear-gradient(135deg, var(--orange), var(--orange-3));
  box-shadow: 0 10px 34px rgba(255, 107, 0, 0.32);
}

.btn-secondary {
  color: var(--orange);
  border: 1px solid var(--line-strong);
  background: rgba(255, 107, 0, 0.05);
}

.hero-visual {
  position: relative;
  height: 480px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(255, 107, 0, 0.22);
  border-radius: 999px;
  animation: spin 20s linear infinite;
}

.orbit-large {
  width: 380px;
  height: 380px;
}

.orbit-small {
  width: 278px;
  height: 278px;
  animation-duration: 15s;
  animation-direction: reverse;
}

.orbit-lines {
  position: absolute;
  width: 480px;
  height: 480px;
}

.orbit-lines line {
  stroke: rgba(255, 107, 0, 0.3);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.orbit-lines circle {
  fill: var(--orange);
}

.hub-orb,
.satellite {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hub-orb {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ff8c00, #e65000);
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.3), 0 0 46px rgba(255, 107, 0, 0.48);
  animation: float 4s ease-in-out infinite;
}

.hub-orb img {
  width: 74px;
  height: 74px;
}

.satellite {
  position: absolute;
  width: 70px;
  height: 70px;
  transition: transform 0.25s ease;
}

.satellite:hover {
  transform: scale(1.12) translateY(-2px);
}

.sat-top { top: 44px; left: calc(50% - 35px); }
.sat-right-top { right: 54px; top: 142px; }
.sat-right-bottom { right: 54px; bottom: 124px; }
.sat-left-bottom { left: 54px; bottom: 124px; }
.sat-left-top { left: 54px; top: 142px; }

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid div {
  padding: 40px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  color: transparent;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  background-clip: text;
  -webkit-background-clip: text;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.ecosystem,
.features {
  padding: 100px 0;
}

main section[id] {
  scroll-margin-top: 92px;
}

.workflow,
.cta {
  padding: 100px 0;
  background: #0d0d0d;
}

.section-heading {
  max-width: 660px;
  margin-bottom: 56px;
}

.section-heading h2,
.cta h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 3.8vw, 54px);
}

.ecosystem-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr;
  gap: 36px;
}

.crm-card,
.app-card,
.feature-card,
.step {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 18px;
}

.crm-card {
  align-self: start;
  padding: 30px;
  border-color: var(--line-strong);
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.12), rgba(255, 107, 0, 0.035));
}

.app-heading {
  gap: 14px;
  margin-bottom: 16px;
}

.app-heading img {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  flex: 0 0 auto;
}

.app-heading h3 {
  margin: 0 0 4px;
  font-size: 20px;
}

.app-heading p,
.app-card p,
.crm-card p,
.feature-card p,
.step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.pill-row {
  gap: 7px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.pill-row span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #b8b8b8;
  font-size: 12px;
  font-weight: 600;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.app-card {
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.app-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.download-note {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 10px 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: transparent;
  color: var(--muted-2);
  text-align: center;
  font-size: 13px;
  font: inherit;
}

.download-link {
  border: 1px solid rgba(29, 185, 84, 0.6);
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.18), rgba(10, 122, 48, 0.22));
  color: #dfffe9;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.download-link:hover {
  transform: translateY(-1px);
  border-color: rgba(29, 185, 84, 0.95);
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.3), rgba(10, 122, 48, 0.32));
}

.download-trigger {
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.download-trigger:hover {
  color: var(--orange);
  border-color: rgba(255, 107, 0, 0.35);
  transform: translateY(-1px);
}

.ecosystem {
  padding: 72px 0 84px;
}

.ecosystem .section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.ecosystem .section-heading h2 {
  font-size: clamp(32px, 3.1vw, 46px);
}

.ecosystem .ecosystem-layout {
  grid-template-columns: 0.8fr 1.7fr;
  gap: 24px;
  align-items: stretch;
}

.ecosystem .crm-card,
.ecosystem .app-card {
  padding: 20px;
}

.ecosystem .crm-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
}

.ecosystem .apps-grid {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.ecosystem .app-card {
  display: flex;
  flex-direction: column;
}

.ecosystem .app-card .download-note {
  margin-top: auto;
}

.crm-mini-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 2px 0;
}

.crm-mini-grid div {
  padding: 9px 10px;
  border: 1px solid rgba(255, 107, 0, 0.16);
  border-radius: 12px;
  background: rgba(255, 107, 0, 0.055);
}

.crm-mini-grid strong,
.crm-mini-grid span {
  display: block;
}

.crm-mini-grid strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 12px;
}

.crm-mini-grid span {
  color: #a9a9a9;
  font-size: 11px;
  line-height: 1.35;
}

.ecosystem .app-heading {
  margin-bottom: 10px;
}

.ecosystem .app-heading img {
  width: 48px;
  height: 48px;
}

.ecosystem .app-heading h3 {
  font-size: 18px;
}

.ecosystem .app-card p,
.ecosystem .crm-card p {
  font-size: 15px;
  line-height: 1.55;
}

.ecosystem .pill-row {
  margin: 14px 0;
}

.ecosystem .pill-row span {
  padding: 4px 9px;
}

.ecosystem .download-note {
  margin-top: 14px;
  padding: 9px 10px;
}

@media (min-width: 901px) {
  html {
    scroll-padding-top: 74px;
  }

  main section[id] {
    scroll-margin-top: 74px;
  }

  .ecosystem {
    min-height: calc(100vh - 70px);
    padding: 30px 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ecosystem .section-heading {
    margin-bottom: 28px;
  }

  .ecosystem .section-heading p {
    font-size: 16px;
    line-height: 1.55;
  }

  .ecosystem .app-card p,
  .ecosystem .crm-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .ecosystem .crm-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecosystem .crm-card > .btn {
    margin-top: auto;
    width: 100%;
  }

  .cta {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  padding: 24px 18px;
  text-align: center;
}

.step strong {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
}

.step h3,
.feature-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 28px;
}

.feature-card span {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 36px;
  margin-bottom: 18px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.cta {
  text-align: center;
}

.cta .section-shell {
  max-width: 820px;
}

.centered {
  justify-content: center;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 13px;
}

.site-footer a + a {
  margin-left: 22px;
}

.mobile-bottom-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

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

@keyframes float {
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 900px) {
  .section-shell {
    width: min(100% - 48px, 720px);
  }

  .site-header {
    height: 60px;
    padding: 0 20px;
  }

  .desktop-nav {
    display: none;
  }

  .header-cta {
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 12px;
  }

  .brand {
    font-size: 18px;
  }

  .hero {
    min-height: 100vh;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 100px 0 52px;
  }

  .hero-copy {
    max-width: 560px;
  }

  h1 {
    font-size: 38px;
    letter-spacing: -0.04em;
  }

  .hero-lead,
  .section-heading p,
  .cta p {
    font-size: 15px;
  }

  .action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
  }

  .hero-visual {
    height: 292px;
    margin-top: 4px;
  }

  .orbit-lines {
    width: 280px;
    height: 280px;
  }

  .orbit-lines {
    transform: scale(0.58);
  }

  .orbit-large {
    width: 260px;
    height: 260px;
  }

  .orbit-small {
    width: 180px;
    height: 180px;
  }

  .hub-orb {
    width: 82px;
    height: 82px;
    border-radius: 22px;
  }

  .hub-orb img {
    width: 54px;
    height: 54px;
  }

  .satellite {
    width: 54px;
    height: 54px;
    border-radius: 15px;
  }

  .sat-top { top: 0; }
  .sat-right-top { right: 0; top: 86px; }
  .sat-right-bottom { right: 50%; top: auto; bottom: 0; transform: translateX(50%); }
  .sat-left-bottom { left: 0; bottom: auto; top: 86px; }
  .sat-left-top { display: none; }

  .stats {
    background: transparent;
    border: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-bottom: 28px;
  }

  .stats-grid div {
    padding: 20px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(12px);
  }

  .stats strong {
    font-size: 32px;
  }

  .ecosystem,
  .features,
  .workflow,
  .cta {
    padding: 64px 0;
  }

  .ecosystem {
    padding: 56px 0 64px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .cta h2 {
    font-size: 30px;
    letter-spacing: -0.035em;
  }

  .ecosystem-layout,
  .apps-grid,
  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem .ecosystem-layout {
    grid-template-columns: 1fr;
  }

  .crm-card,
  .app-card {
    border-radius: 22px;
    padding: 22px;
    backdrop-filter: blur(12px);
  }

  .app-card {
    position: relative;
    overflow: hidden;
  }

  .app-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, var(--orange), var(--orange-3));
  }

  .steps {
    gap: 14px;
  }

  .step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    text-align: left;
    padding: 18px;
  }

  .step strong {
    margin: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-card {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .feature-card span {
    min-width: 0;
    height: auto;
    margin-bottom: 12px;
    padding: 5px 9px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
    display: flex;
    gap: 12px;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--line);
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(20px);
  }

  .mobile-bottom-bar a {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 46px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
  }

  .bb-primary {
    color: #080808;
    background: linear-gradient(135deg, var(--orange), var(--orange-3));
  }

  .bb-secondary {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
  }

  body {
    padding-bottom: 78px;
  }
}

@media (max-width: 440px) {
  .section-shell {
    width: calc(100% - 36px);
  }

  h1 {
    font-size: 35px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

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