:root {
  color-scheme: dark;
  --bg: #020611;
  --panel: rgba(8, 18, 36, 0.78);
  --panel-strong: rgba(10, 27, 54, 0.92);
  --line: rgba(130, 205, 255, 0.2);
  --line-strong: rgba(91, 199, 255, 0.48);
  --text: #f6fbff;
  --muted: #9fb1c7;
  --soft: #dce8f4;
  --blue: #19aaff;
  --cyan: #63e6ff;
  --green: #5ff0c8;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 8%, rgba(25, 170, 255, 0.16), transparent 30rem),
    linear-gradient(140deg, #020611 0%, #071022 46%, #030712 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(92, 188, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 188, 255, 0.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

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

img,
canvas {
  max-width: 100%;
}

#waveCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  opacity: 0.62;
  pointer-events: none;
}

.logo-watermark {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.11;
  background: url("/assets/stadik-systems-logo.svg") center 22vh / min(880px, 88vw) auto no-repeat;
  filter: drop-shadow(0 0 42px rgba(25, 170, 255, 0.52));
  transform: translateY(calc(var(--scroll-offset, 0px) * 0.04));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 18px clamp(18px, 4vw, 64px);
  border-bottom: 1px solid rgba(116, 200, 255, 0.16);
  background: rgba(2, 6, 17, 0.78);
  backdrop-filter: blur(18px);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.04rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: clamp(48px, 6vw, 64px);
  filter: drop-shadow(0 0 24px rgba(25, 170, 255, 0.46));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.nav-toggle {
  min-height: 42px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(75, 166, 232, 0.12);
  border-color: rgba(99, 230, 255, 0.18);
}

.site-nav .portal-link {
  color: #eaf9ff;
  border-color: rgba(99, 230, 255, 0.46);
  box-shadow: inset 0 0 18px rgba(25, 170, 255, 0.16), 0 0 24px rgba(25, 170, 255, 0.14);
}

.nav-toggle {
  display: none;
  color: var(--text);
  background: rgba(9, 24, 48, 0.85);
}

main {
  position: relative;
}

.hero,
.page-hero,
.intro-band,
.split-section,
.connection-section,
.network-section,
.cta-band,
.story-section,
.values-section,
.solution-intro,
.solution-grid,
.capability-section,
.partner-section,
.benefit-grid,
.contact-section {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 74px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 9vw, 112px) 0 clamp(56px, 8vw, 86px);
}

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

.hero-logo {
  display: block;
  width: min(440px, 82vw);
  height: auto;
  margin: 0 0 clamp(24px, 5vw, 42px);
  filter: drop-shadow(0 0 34px rgba(25, 170, 255, 0.35));
}

.page-hero-logo {
  display: block;
  width: min(360px, 76vw);
  height: auto;
  margin: 0 0 28px;
  filter: drop-shadow(0 0 30px rgba(25, 170, 255, 0.46));
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.45rem, 6vw, 5.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-copy > p,
.page-hero > p {
  max-width: 720px;
  color: var(--soft);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
  border: 1px solid rgba(99, 230, 255, 0.22);
  border-radius: 8px;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #01111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 62%, var(--green));
  box-shadow: 0 16px 45px rgba(25, 170, 255, 0.28);
}

.button.ghost {
  color: var(--text);
  background: rgba(10, 27, 54, 0.68);
}

.button.text {
  color: var(--cyan);
  border-color: transparent;
}

.signal-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
}

.signal-ring {
  position: absolute;
  border: 1px solid rgba(99, 230, 255, 0.2);
  border-radius: 50%;
  box-shadow: inset 0 0 38px rgba(25, 170, 255, 0.1), 0 0 48px rgba(25, 170, 255, 0.08);
}

.ring-one {
  width: min(420px, 80vw);
  aspect-ratio: 1;
  animation: pulseRing 6s ease-in-out infinite;
}

.ring-two {
  width: min(300px, 64vw);
  aspect-ratio: 1;
  animation: pulseRing 7.5s ease-in-out infinite reverse;
}

.signal-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 28px rgba(99, 230, 255, 0.85);
}

.node-one {
  top: 21%;
  right: 26%;
}

.node-two {
  bottom: 28%;
  left: 18%;
}

.node-three {
  right: 18%;
  bottom: 18%;
  background: var(--green);
}

.signal-panel,
.interface-panel {
  position: relative;
  z-index: 1;
  width: min(310px, 100%);
  padding: 28px;
  border: 1px solid rgba(99, 230, 255, 0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 18, 36, 0.78), rgba(5, 11, 23, 0.84));
  box-shadow: var(--shadow);
}

.signal-panel span,
.interface-panel span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.signal-panel strong {
  display: block;
  margin: 18px 0 4px;
  font-size: 5rem;
  line-height: 0.9;
}

.signal-panel small,
.interface-panel small {
  color: var(--muted);
}

.intro-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  padding: clamp(34px, 6vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band h2 {
  margin-bottom: 0;
}

.split-section,
.story-section,
.solution-intro,
.partner-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
  padding: clamp(66px, 9vw, 112px) 0;
}

.section-copy {
  position: sticky;
  top: 112px;
}

.feature-grid,
.solution-grid,
.benefit-grid,
.values-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article,
.solution-grid article,
.benefit-grid article,
.values-section article,
.timeline-panel > div {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(99, 230, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(11, 26, 52, 0.74), rgba(4, 11, 24, 0.72));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.feature-kicker,
.timeline-panel span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--cyan);
  font-weight: 900;
  font-size: 0.74rem;
}

.connection-section,
.network-section,
.capability-section,
.cta-band {
  padding: clamp(64px, 8vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.connection-section h2,
.capability-section h2,
.cta-band h2 {
  max-width: 840px;
}

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

.connection-map div,
.metric-row div,
.capability-list span,
.contact-routes span {
  padding: 20px;
  border: 1px solid rgba(99, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 17, 34, 0.72);
}

.connection-map strong,
.metric-row strong {
  display: block;
  color: var(--text);
  font-size: 1.45rem;
}

.connection-map span,
.metric-row span {
  color: var(--muted);
}

.network-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: end;
}

.metric-row {
  display: grid;
  gap: 12px;
}

.metric-row strong {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.cta-band {
  padding-bottom: clamp(74px, 10vw, 120px);
}

.page-hero {
  padding: clamp(76px, 12vw, 150px) 0 clamp(44px, 8vw, 82px);
}

.story-copy p {
  max-width: 720px;
}

.timeline-panel {
  display: grid;
  gap: 14px;
}

.values-section,
.solution-grid,
.benefit-grid {
  padding: 0 0 clamp(70px, 9vw, 112px);
}

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

.interface-panel {
  justify-self: end;
}

.bars {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 160px;
  margin: 28px 0;
}

.bars i {
  display: block;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(25, 170, 255, 0.24));
  animation: equalize 1.6s ease-in-out infinite;
}

.bars i:nth-child(1) { height: 34%; animation-delay: 0ms; }
.bars i:nth-child(2) { height: 72%; animation-delay: 120ms; }
.bars i:nth-child(3) { height: 48%; animation-delay: 240ms; }
.bars i:nth-child(4) { height: 90%; animation-delay: 360ms; }
.bars i:nth-child(5) { height: 58%; animation-delay: 480ms; }
.bars i:nth-child(6) { height: 38%; animation-delay: 600ms; }

.capability-list,
.contact-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.site-stack {
  display: grid;
  gap: 14px;
}

.site-stack div {
  display: flex;
  align-items: end;
  min-height: 112px;
  padding: 20px;
  border: 1px solid rgba(99, 230, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(100deg, rgba(99, 230, 255, 0.08), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 34px),
    rgba(4, 11, 24, 0.72);
}

.site-stack div:nth-child(2),
.site-stack div:nth-child(4) {
  margin-left: 48px;
}

.site-stack span {
  color: var(--soft);
  font-weight: 850;
}

.contact-details {
  position: sticky;
  top: 112px;
}

.contact-email {
  display: inline-flex;
  margin: 10px 0 24px;
  color: var(--cyan);
  font-weight: 850;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(99, 230, 255, 0.18);
  border-radius: 8px;
  background: rgba(6, 17, 34, 0.78);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-weight: 750;
}

.contact-form .full,
.contact-form button,
.form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(137, 211, 255, 0.22);
  border-radius: 8px;
  background: rgba(1, 6, 14, 0.76);
  color: var(--text);
  font: inherit;
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(2, 6, 17, 0.82);
}

.site-footer span:first-child,
.site-footer a {
  color: var(--text);
  font-weight: 850;
}

@keyframes pulseRing {
  0%, 100% {
    transform: scale(0.94);
    opacity: 0.58;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes equalize {
  0%, 100% { transform: scaleY(0.62); }
  50% { transform: scaleY(1); }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    inset: 76px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(99, 230, 255, 0.18);
    border-radius: 8px;
    background: rgba(3, 9, 20, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .intro-band,
  .split-section,
  .story-section,
  .solution-intro,
  .partner-section,
  .contact-section,
  .network-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-visual {
    min-height: 360px;
  }

  .section-copy,
  .contact-details {
    position: static;
  }

  .feature-grid,
  .values-section,
  .solution-grid,
  .benefit-grid,
  .connection-map {
    grid-template-columns: 1fr;
  }

  .interface-panel {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 14px 18px;
  }

  .brand-logo {
    height: 46px;
  }

  .site-nav {
    inset: 68px 18px auto;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4.5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .signal-panel {
    width: min(280px, 92vw);
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .site-stack div:nth-child(2),
  .site-stack div:nth-child(4) {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ring-one,
  .ring-two,
  .bars i {
    animation: none;
  }
}
