:root {
  --ink: #0c1726;
  --muted: #5c6777;
  --paper: #f7f9fb;
  --white: #ffffff;
  --teal: #0ca6a6;
  --navy: #10243f;
  --blue: #2d6cdf;
  --coral: #e95d4f;
  --gold: #d99b24;
  --line: rgba(12, 23, 38, 0.1);
  --shadow: 0 24px 70px rgba(16, 36, 63, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.scrolled {
  padding-block: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 40px rgba(12, 23, 38, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  color: var(--white);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  font-size: 11px;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.header-action {
  padding: 12px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
}

.menu-button svg,
.button svg,
.solution-card svg,
.tab svg,
.impact svg,
.platform-console svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 116px clamp(20px, 5vw, 72px) 58px;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 0.96;
  transition: filter 260ms ease;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 14, 27, 0.94) 0%, rgba(6, 14, 27, 0.78) 32%, rgba(6, 14, 27, 0.22) 72%, rgba(6, 14, 27, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 14, 27, 0.42), rgba(6, 14, 27, 0.08) 32%, rgba(6, 14, 27, 0.76));
}

.hero-content,
.hero-circuit,
.hero-network {
  position: relative;
  z-index: 1;
}

.hero-circuit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-spotlight {
  position: absolute;
  left: var(--spotlight-x, 62%);
  top: var(--spotlight-y, 42%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(117, 245, 238, 0.22) 0%, rgba(117, 245, 238, 0.08) 34%, transparent 68%);
  mix-blend-mode: screen;
  opacity: 0.72;
  transform: translate(-50%, -50%);
  transition: left 260ms ease-out, top 260ms ease-out, opacity 220ms ease;
}

.circuit-node {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #75f5ee;
  box-shadow: 0 0 0 7px rgba(117, 245, 238, 0.12), 0 0 26px rgba(117, 245, 238, 0.9);
  animation: nodePulse 2.8s ease-in-out infinite;
}

.node-a {
  left: 34%;
  top: 38%;
}

.node-b {
  left: 62%;
  top: 33%;
  animation-delay: 0.45s;
}

.node-c {
  left: 73%;
  top: 58%;
  animation-delay: 0.9s;
}

.circuit-line {
  position: absolute;
  height: 1px;
  width: 210px;
  background: linear-gradient(90deg, transparent, rgba(117, 245, 238, 0.72), transparent);
  transform-origin: left center;
  opacity: 0.58;
  animation: dataFlow 3.4s linear infinite;
}

.line-a {
  left: 35%;
  top: 39%;
  transform: rotate(-8deg);
}

.line-b {
  left: 62%;
  top: 35%;
  transform: rotate(38deg);
  animation-delay: 0.8s;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #72eee7;
  max-width: 640px;
}

.hero h1 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(44px, 4.9vw, 86px);
  line-height: 1.02;
  letter-spacing: 0;
  white-space: normal;
}

.hero-copy {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}

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

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 44%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transition: left 520ms ease;
}

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

.button:hover::after {
  left: 118%;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 14px 36px rgba(12, 166, 166, 0.24);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.solution-card:hover,
.platform-console:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 166, 166, 0.36);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip span {
  display: grid;
  min-height: 86px;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.trust-strip span:last-child {
  border-right: 0;
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(300px, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

p {
  line-height: 1.7;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.solution-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 36, 63, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.solution-card:hover {
  box-shadow: 0 22px 48px rgba(16, 36, 63, 0.12);
}

.solution-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 44px;
}

.solution-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.accent-teal svg {
  color: var(--teal);
}

.accent-coral svg {
  color: var(--coral);
}

.accent-gold svg {
  color: var(--gold);
}

.accent-blue svg {
  color: var(--blue);
}

.platform-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: 96px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--navy);
}

.platform-copy p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
}

.platform-console {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #071221;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.network-visual {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: 96px clamp(20px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 70% 18%, rgba(12, 166, 166, 0.2), transparent 30%),
    linear-gradient(135deg, #071221 0%, #10243f 54%, #071221 100%);
  overflow: hidden;
}

.network-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.network-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-network {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-height: 500px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

#network3d {
  position: absolute;
  inset: 0;
}

#network3d canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.network-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  min-width: 190px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 18, 33, 0.68);
  backdrop-filter: blur(14px);
}

.network-status span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.network-status strong {
  font-size: 18px;
}

.console-toolbar {
  display: flex;
  gap: 7px;
  margin-bottom: 34px;
}

.console-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #74e7de;
}

.console-toolbar span:nth-child(2) {
  background: #f6bf5a;
}

.console-toolbar span:nth-child(3) {
  background: #ef766b;
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.flow-row span,
.metric-lines div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 70px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.metric-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.metric-lines div {
  justify-content: space-between;
  min-height: 58px;
}

.metric-lines span {
  color: rgba(255, 255, 255, 0.64);
}

.tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  padding: 6px;
  margin: 26px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  color: var(--white);
  background: var(--ink);
}

.tab-panel {
  display: none;
  max-width: 900px;
  padding: 30px;
  border-left: 4px solid var(--teal);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 36, 63, 0.06);
}

.tab-panel.active {
  display: block;
}

.tab-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.impact {
  padding: 92px clamp(20px, 5vw, 72px);
  background: #e9f3f1;
}

.impact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 220ms ease, background 220ms ease;
}

.impact-list article:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.94);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes nodePulse {
  0%,
  100% {
    transform: scale(0.84);
    opacity: 0.52;
  }

  50% {
    transform: scale(1.16);
    opacity: 1;
  }
}

@keyframes dataFlow {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  18% {
    opacity: 0.7;
  }

  68% {
    opacity: 0.7;
    clip-path: inset(0 0 0 0);
  }

  100% {
    opacity: 0;
    clip-path: inset(0 0 0 100%);
  }
}

.impact-list svg {
  width: 26px;
  height: 26px;
  color: var(--teal);
  grid-row: span 2;
}

.impact-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.news {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(16, 36, 63, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 166, 166, 0.32);
  box-shadow: 0 24px 58px rgba(16, 36, 63, 0.14);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: #f3f5f8;
  border-bottom: 1px solid var(--line);
}

.news-card-body {
  padding: 22px;
}

.news-date {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.news-card h3 {
  max-width: 620px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
  gap: 48px;
  align-items: start;
  background: var(--white);
}

.contact p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

input:focus {
  outline: 3px solid rgba(12, 166, 166, 0.18);
  border-color: var(--teal);
}

.footer {
  display: grid;
  gap: 28px;
  padding: 34px clamp(20px, 5vw, 72px) 28px;
  color: rgba(255, 255, 255, 0.72);
  background: #071221;
}

.footer-stats {
  width: min(940px, calc(100vw - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(117, 245, 238, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(12, 166, 166, 0.18), transparent 42%),
    rgba(7, 18, 33, 0.84);
  box-shadow:
    0 18px 52px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.footer-stats div {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-stats strong {
  color: var(--white);
  font-size: 26px;
  line-height: 1.1;
  white-space: nowrap;
}

.footer-stats span {
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 1000px) {
  .platform-band,
  .network-visual,
  .impact-inner,
  .contact,
  .section-heading {
    grid-template-columns: 1fr;
  }

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

  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 900px;
  }

  .network-stage {
    min-height: 430px;
  }
}

@media (max-width: 920px) {
  .nav-links,
  .header-action {
    display: none;
  }

  .menu-button {
    display: grid;
    margin-left: auto;
  }

  .site-header.menu-open .nav-links {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .nav-links,
  .header-action {
    display: none;
  }

  .menu-button {
    display: grid;
    margin-left: auto;
  }

  .site-header.menu-open .nav-links {
    position: absolute;
    top: 70px;
    left: 18px;
    right: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 820px;
    padding: 118px 18px 42px;
    grid-template-columns: 1fr;
  }

  .hero-network {
    grid-column: 1;
    grid-row: auto;
    min-height: 340px;
  }

  .hero-circuit {
    opacity: 0.42;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 14, 27, 0.82), rgba(6, 14, 27, 0.64) 45%, rgba(6, 14, 27, 0.88)),
      linear-gradient(90deg, rgba(6, 14, 27, 0.7), rgba(6, 14, 27, 0.24));
  }

  .hero-copy {
    font-size: 16px;
  }

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

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

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .platform-band,
  .network-visual,
  .impact,
  .news,
  .contact {
    padding: 64px 18px;
  }

  .flow-row {
    grid-template-columns: 1fr;
  }

  .network-stage {
    min-height: 360px;
  }

  .flow-row > svg {
    transform: rotate(90deg);
    margin: 0 auto;
  }

  .tabs {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .tab {
    justify-content: flex-start;
  }

  .footer {
    padding-inline: 18px;
  }

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

  .footer-stats div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .footer-stats div:last-child {
    border-bottom: 0;
  }

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