:root {
  --ink: #020403;
  --panel: #080c0b;
  --white: #ffffff;
  --soft-white: #f5f8f6;
  --teal: #00d6a3;
  --teal-dark: #008f73;
  --slate: #1f2933;
  --muted: #6f7d86;
  --line: #d9e2e7;
  --blue: #3378ff;
  --purple: #6b56e8;
  --orange: #ef6c00;
  --amber: #f7a800;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ink);
  scrollbar-width: none;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--slate);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  background: var(--ink);
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
}

.site-nav {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(360px, 1fr);
  align-items: center;
  gap: 28px;
  height: 82px;
  padding: 0 clamp(32px, 7vw, 116px);
  color: var(--white);
  background: #000;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--teal);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand-mark,
.mini-brand svg,
.core-card svg {
  width: 40px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 50px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-button-secondary {
  color: var(--white);
  border: 1px solid var(--teal);
  background: rgba(255, 255, 255, 0.12);
}

.nav-button-primary {
  min-width: 215px;
  color: #001e17;
  background: var(--teal);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(440px, 0.9fr) minmax(660px, 1.1fr);
  min-height: calc(100vh - 82px);
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(105deg, var(--white) 0 49%, var(--ink) 49% 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: 63%;
  background: var(--white);
  clip-path: polygon(0 0, 72% 0, 100% 50%, 70% 100%, 0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: -8vw;
  width: 45vw;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 38%),
    var(--panel);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 10% 100%, 44% 52%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 650px;
  padding: 26px 0 126px clamp(42px, 5.5vw, 80px);
}

.hero-copy h1 {
  margin: 0;
  color: #030303;
  font-size: clamp(58px, 5.05vw, 75px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
  max-width: 620px;
}

.lead {
  margin: 26px 0 0;
  max-width: 570px;
  color: #27313a;
  font-size: 21px;
  line-height: 1.52;
  font-weight: 450;
}

.hero-actions {
  display: grid;
  grid-template-columns: max-content minmax(210px, 330px);
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 61px;
  padding: 0 28px 0 32px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, #00bd8e, var(--teal));
  box-shadow: 0 18px 30px rgba(0, 214, 163, 0.26);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.primary-cta svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.hero-actions p {
  margin: 0;
  color: #52606a;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 650;
}

.hero-visual {
  position: relative;
  z-index: 2;
  min-height: 650px;
  padding: 96px clamp(28px, 2.4vw, 42px) 160px 0;
}

.teal-slab {
  position: absolute;
  z-index: 0;
  width: 310px;
  height: 88px;
  background: linear-gradient(90deg, #00a97f, var(--teal));
  opacity: 0.88;
  transform: rotate(-78deg);
  filter: drop-shadow(0 28px 36px rgba(0, 214, 163, 0.16));
}

.slab-one {
  top: 126px;
  left: 20px;
}

.slab-two {
  right: 40px;
  bottom: 185px;
  width: 260px;
  height: 78px;
  transform: rotate(31deg);
}

.outline-plus {
  position: absolute;
  right: -52px;
  top: 385px;
  width: 142px;
  height: 142px;
  opacity: 0.72;
  transform: rotate(34deg);
}

.outline-plus::before,
.outline-plus::after {
  content: "";
  position: absolute;
  inset: 48px 0;
  border: 5px solid var(--teal);
}

.outline-plus::after {
  transform: rotate(90deg);
}

.builder-frame {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  height: 430px;
  margin: 64px 0 0 auto;
  border: 1px solid rgba(0, 214, 163, 0.46);
  border-radius: 15px;
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 52% 45%, rgba(0, 214, 163, 0.16), transparent 24%),
    #07100f;
  background-size: 24px 24px, 24px 24px, auto, auto;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.builder-frame::after {
  content: "";
  position: absolute;
  inset: auto 70px -30px 70px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.58), transparent 72%);
  filter: blur(8px);
}

.builder-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
  padding: 0 16px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 15px 15px 0 0;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
}

.mini-brand svg {
  width: 24px;
  height: 14px;
  stroke-width: 7;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
}

.topbar-actions span,
.topbar-actions strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.topbar-actions strong {
  color: #00241b;
  background: var(--teal);
}

.builder-toolbar {
  position: absolute;
  z-index: 4;
  top: 69px;
  left: 16px;
  display: grid;
  gap: 17px;
  justify-items: center;
  width: 42px;
  padding: 0 0 18px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.builder-toolbar span {
  display: block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 4px;
}

.builder-toolbar span:first-child {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-top: 0;
  color: var(--white);
  border: 0;
  border-radius: 6px;
  background: var(--teal);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.connection-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
  opacity: 0.78;
  animation: dashFlow 9s linear infinite;
}

.path:nth-child(2n) {
  animation-duration: 11s;
}

.canvas-note {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: var(--teal);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 25px;
  line-height: 1.1;
  transform: rotate(-5deg);
}

.note-start {
  top: 136px;
  left: 116px;
  max-width: 190px;
}

.note-build {
  right: 82px;
  top: 138px;
  max-width: 180px;
  transform: rotate(-3deg);
}

.core-card {
  position: absolute;
  z-index: 4;
  top: 158px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 17px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 214, 163, 0.3), transparent 62%),
    rgba(2, 12, 11, 0.9);
  box-shadow: 0 0 34px rgba(0, 214, 163, 0.42), 0 0 0 1px rgba(0, 214, 163, 0.5) inset;
  animation: corePulse 4s ease-in-out infinite;
}

.core-card svg {
  width: 68px;
  height: 34px;
  color: var(--teal);
  stroke-width: 5;
}

.core-card strong {
  display: block;
  margin-top: -12px;
  font-size: 20px;
  line-height: 1.25;
}

.module-card {
  position: absolute;
  z-index: 6;
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto 26px;
  column-gap: 12px;
  align-items: center;
  width: 156px;
  min-height: 90px;
  padding: 13px 14px 11px;
  border: 1px solid rgba(6, 24, 22, 0.08);
  border-radius: 13px;
  color: #0c1615;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
  animation: cardFloat 5.5s ease-in-out infinite;
}

.module-card strong {
  display: block;
  color: #07100f;
  font-size: 13px;
  line-height: 1.1;
}

.module-card small {
  display: block;
  margin-top: 4px;
  color: #56646b;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.15;
}

.module-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: var(--white);
}

.module-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.module-icon.green {
  background: linear-gradient(135deg, #0ab873, #00d6a3);
}

.module-icon.blue {
  background: linear-gradient(135deg, #1b62dc, #65a2ff);
}

.module-icon.purple {
  background: linear-gradient(135deg, #5543d8, #8b77ff);
}

.module-icon.orange {
  background: linear-gradient(135deg, #f05a00, #ff9c32);
}

.module-icon.amber {
  background: linear-gradient(135deg, #e2a000, #ffc928);
}

.card-customers {
  top: -46px;
  left: 122px;
}

.card-bookings {
  top: -46px;
  left: 330px;
  animation-delay: 0.35s;
}

.card-orders {
  top: -46px;
  right: 10px;
  animation-delay: 0.7s;
}

.card-projects {
  bottom: -42px;
  left: 74px;
  animation-delay: 0.2s;
}

.card-payments {
  bottom: -42px;
  left: 246px;
  animation-delay: 0.5s;
}

.card-vendors {
  bottom: -42px;
  right: 172px;
  animation-delay: 0.8s;
}

.card-teams {
  bottom: -42px;
  right: 10px;
  animation-delay: 1s;
}

.spark,
.bars,
.progress {
  grid-column: 1 / -1;
  align-self: end;
  height: 24px;
  margin-top: 6px;
}

.spark {
  background:
    linear-gradient(142deg, transparent 18%, currentColor 19% 21%, transparent 22% 38%, currentColor 39% 41%, transparent 42% 58%, currentColor 59% 61%, transparent 62%),
    radial-gradient(circle at 18% 72%, currentColor 0 2px, transparent 3px),
    radial-gradient(circle at 38% 52%, currentColor 0 2px, transparent 3px),
    radial-gradient(circle at 60% 60%, currentColor 0 2px, transparent 3px),
    radial-gradient(circle at 83% 26%, currentColor 0 2px, transparent 3px);
  opacity: 0.86;
}

.spark-green {
  color: #0ab873;
}

.spark-blue {
  color: var(--blue);
}

.bars {
  background:
    linear-gradient(to top, #6b56e8 0 38%, transparent 38%) 0 100% / 14px 100% no-repeat,
    linear-gradient(to top, #6b56e8 0 68%, transparent 68%) 26px 100% / 14px 100% no-repeat,
    linear-gradient(to top, #6b56e8 0 48%, transparent 48%) 52px 100% / 14px 100% no-repeat,
    linear-gradient(to top, #6b56e8 0 82%, transparent 82%) 78px 100% / 14px 100% no-repeat;
}

.progress {
  border-radius: 999px;
  background:
    linear-gradient(90deg, currentColor 0 68%, rgba(12, 22, 21, 0.12) 68% 100%) 0 2px / 100% 5px no-repeat,
    linear-gradient(90deg, currentColor 0 42%, rgba(12, 22, 21, 0.12) 42% 100%) 0 17px / 100% 5px no-repeat;
}

.progress-orange {
  color: var(--orange);
}

.progress-amber {
  color: var(--amber);
}

.possibility-band {
  position: absolute;
  z-index: 7;
  left: -8%;
  right: -8%;
  bottom: -108px;
  height: 238px;
  border-radius: 50% 50% 0 0 / 48% 48% 0 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -20px 55px rgba(0, 0, 0, 0.12);
}

.possibility-band h2 {
  margin: 56px 0 28px;
  color: #07100f;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.possibility-band h2 span {
  color: #0bbf92;
}

.band-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.band-cards span {
  display: grid;
  place-items: center;
  width: 178px;
  height: 78px;
  border-radius: 14px;
  color: #84919a;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  font-size: 14px;
  font-weight: 800;
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes corePulse {
  0%,
  100% {
    box-shadow: 0 0 32px rgba(0, 214, 163, 0.34), 0 0 0 1px rgba(0, 214, 163, 0.5) inset;
  }
  50% {
    box-shadow: 0 0 48px rgba(0, 214, 163, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  }
}

@keyframes dashFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -100;
  }
}

@media (max-width: 1180px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    background: var(--white);
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-copy {
    max-width: 840px;
    padding: 64px 42px 32px;
  }

  .hero-copy h1 {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 590px;
    padding: 34px 42px 156px;
    background: var(--ink);
  }

  .builder-frame {
    margin: 34px auto 0;
  }

  .possibility-band {
    bottom: -142px;
  }
}

@media (max-width: 740px) {
  .site-nav {
    height: 70px;
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .brand {
    font-size: 23px;
  }

  .nav-actions {
    display: none;
  }

  .hero-copy {
    padding: 46px 22px 28px;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 13vw, 58px);
    line-height: 1.02;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .primary-cta {
    width: max-content;
    min-height: 57px;
  }

  .hero-visual {
    min-height: 670px;
    padding: 20px 18px 170px;
  }

  .builder-frame {
    width: 100%;
    height: 555px;
    margin-top: 24px;
    overflow: hidden;
  }

  .builder-toolbar,
  .canvas-note,
  .connection-map {
    display: none;
  }

  .core-card {
    top: 192px;
  }

  .module-card {
    width: calc(50% - 13px);
    min-height: 96px;
  }

  .card-customers {
    top: 70px;
    left: 16px;
  }

  .card-bookings {
    top: 70px;
    left: auto;
    right: 16px;
  }

  .card-orders {
    top: 340px;
    left: 16px;
    right: auto;
  }

  .card-projects {
    top: 340px;
    right: 16px;
    bottom: auto;
    left: auto;
  }

  .card-payments {
    bottom: 34px;
    left: 16px;
  }

  .card-vendors {
    display: none;
  }

  .card-teams {
    bottom: 34px;
    right: 16px;
  }

  .teal-slab {
    opacity: 0.48;
  }

  .slab-one {
    left: -80px;
  }

  .slab-two {
    right: -90px;
  }

  .outline-plus {
    display: none;
  }

  .possibility-band {
    bottom: -150px;
    height: 230px;
  }

  .possibility-band h2 {
    margin-top: 52px;
    font-size: 26px;
  }

  .band-cards {
    gap: 10px;
  }

  .band-cards span {
    width: 84px;
    height: 58px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
