/* BALIYANG SYSTEMS */

:root {
  color-scheme: dark;
  --ink: oklch(12% 0.018 238);
  --ink-2: oklch(16% 0.023 238);
  --panel: oklch(20% 0.028 238);
  --panel-2: oklch(24% 0.032 238);
  --line: oklch(91% 0.025 205 / 0.14);
  --line-strong: oklch(91% 0.025 205 / 0.24);
  --paper: oklch(94% 0.012 95);
  --muted: oklch(76% 0.027 220);
  --dim: oklch(63% 0.03 220);
  --blue: oklch(72% 0.12 225);
  --cyan: oklch(78% 0.125 190);
  --mint: oklch(81% 0.13 158);
  --amber: oklch(82% 0.12 78);
  --danger: oklch(70% 0.15 24);
  --shadow: 0 24px 90px oklch(5% 0.02 238 / 0.45);
  --sans: "Sora", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Azeret Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 10%, oklch(42% 0.12 225 / 0.28), transparent 32rem),
    radial-gradient(circle at 92% 22%, oklch(50% 0.12 158 / 0.16), transparent 28rem),
    linear-gradient(180deg, var(--ink), oklch(10% 0.016 238));
  color: var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.18;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, transparent, oklch(94% 0.03 210 / 0.045), transparent);
  transform: translateX(-100%);
  animation: scan 9s cubic-bezier(0.19, 1, 0.22, 1) infinite;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

::selection {
  background: oklch(78% 0.125 190 / 0.26);
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem clamp(1.1rem, 3vw, 3.5rem);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.site-nav.scrolled {
  background: oklch(13% 0.02 238 / 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--line-strong);
  background: oklch(13% 0.022 238);
  padding: 0;
}

.brand-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-parent {
  display: block;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.2vw, 2.4rem);
  list-style: none;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--paper);
}

.nav-cta {
  border: 1px solid var(--line-strong);
  padding: 0.72rem 0.95rem;
  color: var(--paper) !important;
  background: oklch(26% 0.05 225 / 0.72);
}

.section {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.1rem, 3vw, 3.5rem);
}

.section.tight {
  padding-top: clamp(3.2rem, 6vw, 5rem);
  padding-bottom: clamp(3.2rem, 6vw, 5rem);
}

.wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.wide {
  width: min(1420px, 100%);
  margin: 0 auto;
}

.eyebrow {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  min-height: 100svh;
  padding: 8.5rem clamp(1.1rem, 3vw, 3.5rem) 4rem;
  display: grid;
  align-items: end;
}

.hero-grid {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.74fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: end;
}

.hero h1,
.page-hero h1 {
  max-width: 11ch;
  margin-top: 1.35rem;
  color: var(--paper);
  font-size: clamp(4.2rem, 10vw, 10.6rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.88;
}

.hero-copy {
  max-width: 680px;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid var(--line-strong);
  padding: 0.85rem 1.05rem;
  color: var(--paper);
  background: oklch(72% 0.12 225 / 0.18);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1), background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: oklch(72% 0.12 225 / 0.28);
  border-color: oklch(78% 0.125 190 / 0.55);
}

.button.secondary {
  color: var(--muted);
  background: transparent;
}

.system-panel {
  position: relative;
  min-height: 560px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, oklch(19% 0.035 238 / 0.92), oklch(13% 0.022 238 / 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.system-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 48%, oklch(78% 0.125 190 / 0.18) 49%, transparent 50%),
    linear-gradient(0deg, transparent 48%, oklch(72% 0.12 225 / 0.12) 49%, transparent 50%);
  background-size: 76px 76px;
  opacity: 0.45;
}

.node {
  position: absolute;
  width: clamp(9rem, 13vw, 13.5rem);
  border: 1px solid var(--line-strong);
  background: oklch(15% 0.025 238 / 0.84);
  padding: 1rem;
  box-shadow: 0 16px 45px oklch(5% 0.02 238 / 0.32);
  animation: float 7s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}

.node strong {
  display: block;
  color: var(--paper);
  font-size: 0.88rem;
  line-height: 1.25;
}

.node span {
  display: block;
  margin-top: 0.45rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  line-height: 1.5;
  text-transform: uppercase;
}

.node.one {
  top: 10%;
  left: 10%;
}

.node.two {
  top: 24%;
  right: 8%;
  animation-delay: -1.2s;
}

.node.three {
  bottom: 22%;
  left: 17%;
  animation-delay: -2.2s;
}

.node.four {
  right: 14%;
  bottom: 9%;
  animation-delay: -3.4s;
}

.core {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12rem;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border: 1px solid oklch(78% 0.125 190 / 0.48);
  background:
    radial-gradient(circle, oklch(78% 0.125 190 / 0.28), transparent 63%),
    oklch(13% 0.022 238 / 0.92);
  box-shadow: 0 0 90px oklch(78% 0.125 190 / 0.18);
}

.core span {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.6rem);
}

.section-head h2,
.page-section h2 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 0.98;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.18vw, 1.18rem);
}

.solution-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.solution-tile {
  min-height: 26rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  background: oklch(17% 0.026 238 / 0.72);
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}

.solution-tile:last-child {
  border-right: 0;
}

.solution-tile:hover {
  background: oklch(22% 0.038 238 / 0.92);
  transform: translateY(-4px);
}

.tile-number {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.solution-tile h3 {
  margin-top: 6rem;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
}

.tile-price {
  display: block;
  margin-top: 1.2rem;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.solution-tile p {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.94rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.62fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.statement {
  font-size: clamp(1.55rem, 2.7vw, 3rem);
  font-weight: 560;
  line-height: 1.13;
  letter-spacing: 0;
}

.muted-copy {
  color: var(--muted);
}

.compact-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
  padding-left: 1.05rem;
  color: var(--muted);
}

.compact-list li {
  padding-left: 0.2rem;
}

.proof-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.proof-item {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: 1.05rem;
  background: oklch(15% 0.024 238 / 0.92);
}

.proof-item span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-item p {
  color: var(--muted);
}

.pricing-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.standalone-pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.standalone-pricing.single-price {
  grid-template-columns: minmax(0, 1fr);
  max-width: 620px;
}

.standalone-card {
  min-height: 15rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  background: oklch(15% 0.024 238 / 0.95);
}

.standalone-card.featured {
  background: oklch(22% 0.042 225 / 0.95);
}

.standalone-card h3 {
  font-size: 1.1rem;
}

.standalone-value {
  margin-top: 1.8rem;
  color: var(--paper);
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 650;
  line-height: 1;
}

.standalone-value small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 400;
}

.standalone-card p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.price {
  padding: clamp(1.2rem, 2vw, 1.6rem);
  background: oklch(15% 0.024 238 / 0.95);
}

.price.featured {
  background: oklch(22% 0.042 225 / 0.95);
}

.price h3 {
  font-size: 1.4rem;
}

.price-value {
  margin-top: 2rem;
  font-size: clamp(2rem, 3.8vw, 4rem);
  font-weight: 650;
  line-height: 1;
}

.price-value small {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
}

.price p,
.price li {
  color: var(--muted);
}

.price ul {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
  padding-left: 1.1rem;
}

.page-hero {
  padding: 10rem clamp(1.1rem, 3vw, 3.5rem) 5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3.5rem, 8vw, 8rem);
}

.page-hero p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature {
  min-height: 16rem;
  padding: 1.2rem;
  background: oklch(15% 0.024 238 / 0.92);
}

.feature h3 {
  font-size: 1.15rem;
}

.feature p {
  margin-top: 1rem;
  color: var(--dim);
  font-size: 0.94rem;
}

.timeline {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline-row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 1.2rem;
  padding: 1.2rem;
  background: oklch(15% 0.024 238 / 0.92);
}

.timeline-row span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.story-card {
  min-height: 18rem;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  background: oklch(15% 0.024 238 / 0.92);
}

.story-card h3 {
  font-size: 1.25rem;
  line-height: 1.15;
}

.story-card p {
  margin-top: 1rem;
  color: var(--muted);
}

.waitlist-form {
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--line);
  padding: clamp(1.1rem, 2vw, 1.5rem);
  background: oklch(15% 0.024 238 / 0.92);
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.9rem;
  color: var(--paper);
  background: oklch(10% 0.016 238 / 0.72);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.fine {
  color: var(--dim);
  font-size: 0.84rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1.1rem, 3vw, 3.5rem);
}

.footer-inner {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

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

@keyframes float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes scan {
  0% {
    transform: translateX(-100%);
  }
  42%,
  100% {
    transform: translateX(100%);
  }
}

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

@media (max-width: 980px) {
  .hero-grid,
  .section-head,
  .split,
  .page-hero .wrap {
    grid-template-columns: 1fr;
  }

  .solution-rail,
  .standalone-pricing,
  .pricing-strip,
  .feature-grid,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .system-panel {
    min-height: 480px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    align-items: flex-start;
  }

  .brand-parent {
    display: none;
  }

  .nav-links {
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-links a {
    font-size: 0.6rem;
  }

  .nav-cta {
    padding: 0.54rem 0.65rem;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3.2rem, 17vw, 5.4rem);
  }

  .system-panel {
    min-height: 540px;
  }

  .node {
    width: 9.2rem;
  }

  .core {
    width: 9rem;
  }

  .solution-rail,
  .standalone-pricing,
  .pricing-strip,
  .feature-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .solution-tile {
    min-height: 18rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .solution-tile h3 {
    margin-top: 4rem;
  }

  .proof-item,
  .timeline-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}
