:root {
  --ink: #07111f;
  --muted: #a6b4c4;
  --line: #c9d7e6;
  --paper: #f3f7fb;
  --white: #ffffff;
  --space: #030711;
  --space-light: #071526;
  --panel: #0b1a2e;
  --aurora: #22e6d3;
  --aurora-dark: #10a99c;
  --signal: #79f7ff;
  --tech-grid: rgba(93, 114, 135, 0.14);
  --tech-node: rgba(34, 230, 211, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 24% 10%, rgba(34, 230, 211, 0.1), transparent 24%),
    linear-gradient(180deg, #020711 0, #071526 100%);
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 34px;
  min-height: 84px;
  padding: 0 5vw;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(2, 7, 17, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #02100e;
  background: linear-gradient(135deg, var(--aurora), var(--signal));
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 4vw, 64px);
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 84px;
}

.nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: #2498ff;
  content: "";
  opacity: 0;
}

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

.nav a.active::after {
  opacity: 1;
}

.language-switch {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 800;
}

html[lang="en"] .site-header {
  gap: 24px;
}

html[lang="en"] .nav {
  gap: clamp(18px, 3vw, 48px);
  font-size: clamp(16px, 1.3vw, 19px);
}

html[lang="en"] .hero-content {
  width: min(780px, 100%);
}

html[lang="en"] .hero h1 {
  font-size: clamp(48px, 6.4vw, 88px);
}

.language-switch::before {
  position: absolute;
  inset: 4px;
  border: 4px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  content: "";
}

.language-switch::after {
  position: absolute;
  top: 5px;
  right: 1px;
  width: 9px;
  height: 9px;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: clamp(34px, 5vh, 64px);
  padding: 74px 5vw 62px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 66% 22%, rgba(34, 230, 211, 0.34), transparent 25%),
    radial-gradient(circle at 18% 76%, rgba(36, 152, 255, 0.24), transparent 26%),
    linear-gradient(90deg, rgba(2, 7, 17, 0.92), rgba(4, 22, 43, 0.72) 48%, rgba(8, 43, 65, 0.5)),
    url("https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&w=1800&q=85") center / cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.24));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0 0 18px;
  color: var(--aurora);
  font-size: clamp(22px, 1.65vw, 28px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
  text-shadow: 0 0 22px rgba(34, 230, 211, 0.22);
}

.eyebrow::before,
.section-kicker::before {
  display: none;
  width: 30px;
  height: 3px;
  background: currentColor;
  content: "";
  opacity: 0.72;
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 7.8vw, 106px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 1280px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500;
  white-space: nowrap;
}

.zero-trust-visual {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  min-height: 0;
  margin-top: clamp(28px, 4vh, 52px);
}

.browser-shell {
  position: relative;
  min-height: 0;
}

.browser-bar {
  display: none;
}

.browser-canvas {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 1.35fr) repeat(4, minmax(120px, 1fr));
  gap: 12px;
  align-items: stretch;
  min-height: 172px;
  padding: 0;
}

.gateway-core,
.flow-node {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(121, 247, 255, 0.25);
  border-radius: 8px;
  background: rgba(7, 25, 43, 0.8);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.gateway-core {
  display: grid;
  place-items: center;
  width: auto;
  min-height: 154px;
  padding: 20px;
  text-align: center;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.3),
    0 0 48px rgba(34, 230, 211, 0.26);
}

.gateway-core span {
  color: rgba(121, 247, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.gateway-core strong {
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.18;
}

.flow-node {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
  min-height: 154px;
  padding: 18px;
}

.flow-node span {
  color: var(--aurora);
  font-size: 13px;
  font-weight: 900;
}

.flow-node strong {
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
  line-height: 1.25;
}

.node-identity {
  top: auto;
  left: auto;
}

.node-policy {
  top: auto;
  right: auto;
}

.node-dlp {
  bottom: auto;
  left: auto;
}

.node-audit {
  right: auto;
  bottom: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.button.primary {
  color: var(--space);
  background: linear-gradient(135deg, var(--aurora), var(--signal));
  box-shadow: 0 14px 36px rgba(34, 230, 211, 0.28);
}

.button.primary:hover {
  background: var(--signal);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
}

.button.secondary:hover {
  background: rgba(34, 230, 211, 0.14);
}

.section {
  position: relative;
  overflow: hidden;
  padding: 104px 5vw;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(34, 230, 211, 0.16), transparent 26%),
    linear-gradient(180deg, #050d1b, #081a31);
}

.section > * {
  position: relative;
  z-index: 1;
}

.intro::before,
.services::before,
.solutions::before,
.research::before,
.about::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 12% 42%, var(--tech-node) 0 7px, transparent 8px),
    radial-gradient(circle at 35% 72%, rgba(7, 21, 38, 0.08) 0 5px, transparent 6px),
    radial-gradient(circle at 58% 36%, rgba(7, 21, 38, 0.1) 0 6px, transparent 7px),
    radial-gradient(circle at 82% 56%, var(--tech-node) 0 8px, transparent 9px),
    linear-gradient(34deg, transparent 0 19%, var(--tech-grid) 19.15%, transparent 19.3% 47%, var(--tech-grid) 47.15%, transparent 47.3%),
    linear-gradient(145deg, transparent 0 23%, var(--tech-grid) 23.15%, transparent 23.3% 67%, var(--tech-grid) 67.15%, transparent 67.3%);
  opacity: 0.56;
}

.intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
  background:
    radial-gradient(circle at 80% 14%, rgba(34, 230, 211, 0.18), transparent 26%),
    linear-gradient(180deg, #050d1b, #0a1b31);
}

.intro h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro > div {
  max-width: 1440px;
}

.intro > div > p:last-child {
  max-width: 1440px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(16px, 1.12vw, 18px);
  white-space: nowrap;
}

.proof-strip {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
  padding-top: 0;
}

.proof-item {
  min-height: 190px;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 18px;
  padding: 30px 34px;
  text-align: left;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(34, 230, 211, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.proof-item strong {
  color: var(--aurora);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 700;
  line-height: 0.96;
  white-space: nowrap;
  text-shadow: 0 0 26px rgba(34, 230, 211, 0.28);
}

html[lang="en"] .proof-item strong {
  font-size: clamp(30px, 3.4vw, 46px);
}

.proof-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 700;
}

.section-heading {
  max-width: 1180px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.services {
  background:
    radial-gradient(circle at 8% 16%, rgba(34, 230, 211, 0.14), transparent 30%),
    linear-gradient(180deg, #061224, #091c34);
}

.card {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(34, 230, 211, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card::before {
  position: absolute;
  top: -52px;
  right: -44px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(34, 230, 211, 0.3);
  border-radius: 50%;
  content: "";
}

.card::after {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 42px;
  height: 2px;
  background: var(--aurora);
  content: "";
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 230, 211, 0.4);
  box-shadow: 0 34px 86px rgba(7, 21, 38, 0.16);
}

.card-number {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--aurora-dark);
  font-weight: 800;
}

.card h3,
.solution-item h3 {
  color: var(--white);
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.card p,
.solution-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.solutions {
  background:
    radial-gradient(circle at 86% 8%, rgba(34, 230, 211, 0.2), transparent 28%),
    linear-gradient(180deg, #071526, #0b203a);
}

.solutions .section-kicker {
  color: var(--aurora);
}

.solution-list {
  display: grid;
  gap: 16px;
}

.solution-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 176px;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(34, 230, 211, 0.16);
  box-shadow: 0 22px 66px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.solution-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--aurora), #2498ff);
  content: "";
}

.solution-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 10px;
  color: var(--aurora-dark);
  background: rgba(34, 230, 211, 0.14);
  border: 1px solid rgba(34, 230, 211, 0.32);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.solution-item > span {
  color: var(--aurora);
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

.research {
  background:
    radial-gradient(circle at 78% 22%, rgba(34, 230, 211, 0.24), transparent 30%),
    linear-gradient(135deg, #031022, #0b2548 56%, #071526);
}

.research::before {
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18));
}

.research .section-kicker {
  color: var(--aurora);
}

.research .section-heading {
  max-width: 1360px;
}

.timeline li {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(34, 230, 211, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.timeline li::before {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 28px;
  color: var(--space);
  background: var(--aurora);
  border-radius: 50%;
  content: "0" counter(list-item);
  font-size: 12px;
  font-weight: 900;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.timeline span {
  color: rgba(255, 255, 255, 0.68);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}

.about {
  background:
    radial-gradient(circle at 16% 18%, rgba(34, 230, 211, 0.14), transparent 28%),
    linear-gradient(180deg, #071526, #081d35);
}

.about-grid > p {
  max-width: 1440px;
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(18px, 1.32vw, 20px);
  white-space: nowrap;
}

.about-stats {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.about-stats > span {
  position: relative;
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 8px;
  min-height: 150px;
  padding: 26px 30px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(34, 230, 211, 0.18);
  box-shadow: 0 18px 42px rgba(7, 21, 38, 0.07);
}

.about-stats > span::after {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(34, 230, 211, 0.24);
  border-radius: 50%;
  content: "";
}

.about-stats strong {
  font-size: 26px;
  color: var(--aurora-dark);
}

.about-stats span span {
  color: rgba(255, 255, 255, 0.64);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 5vw;
  color: rgba(255, 255, 255, 0.72);
  background: var(--space-light);
}

.icp-link:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 5vw 18px;
    background: rgba(2, 7, 17, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .nav a {
    min-height: 48px;
  }

  .nav a::after {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .hero-content {
    width: min(820px, 100%);
  }

  .zero-trust-visual {
    width: min(720px, 100%);
    min-height: 0;
  }

  .browser-shell {
    min-height: 0;
  }

  .browser-canvas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .gateway-core {
    grid-column: 1 / -1;
    min-height: 126px;
  }

  .intro,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .proof-strip,
  .timeline,
  .about-stats {
    grid-template-columns: 1fr;
  }

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

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

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .language-switch {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .hero {
    min-height: calc(100vh - 76px);
    padding: 42px 18px 54px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-copy {
    font-size: 17px;
    white-space: normal;
  }

  .intro > div > p:last-child {
    white-space: normal;
  }

  .about-grid > p {
    white-space: normal;
  }

  .browser-canvas {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px;
  }

  .browser-canvas::before,
  .browser-canvas::after {
    opacity: 0.58;
  }

  .gateway-core {
    width: auto;
    min-height: 126px;
    padding: 18px;
  }

  .flow-node {
    min-width: 126px;
    min-height: 78px;
    padding: 12px 13px;
  }

  .flow-node strong {
    font-size: 14px;
  }

  .node-identity,
  .node-dlp {
    left: auto;
  }

  .node-policy,
  .node-audit {
    right: auto;
  }

  .node-identity,
  .node-policy {
    top: auto;
  }

  .node-dlp,
  .node-audit {
    bottom: auto;
  }

  .section {
    padding: 58px 18px;
  }

  .card,
  .proof-item,
  .about-stats > span,
  .solution-item,
  .timeline li {
    padding: 22px;
  }

  .site-footer {
    flex-direction: column;
    padding: 22px 18px;
  }
}
