:root {
  --ink: #101827;
  --muted: #66758b;
  --cyan: #159dbc;
  --cyan-soft: #67e8f9;
  --paper: #f8fbff;
  --line: #d9e5f0;
  --shadow: 0 34px 90px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #f6faff;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(103, 232, 249, 0.26), transparent 24rem),
    radial-gradient(circle at 12% 88%, rgba(21, 157, 188, 0.16), transparent 26rem),
    linear-gradient(135deg, #ffffff, var(--paper));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 145, 178, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 76%);
}

.page {
  width: min(1160px, calc(100% - 56px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  z-index: 1;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem 0;
}

.brand img {
  width: 16.5rem;
  height: auto;
  display: block;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang a {
  min-width: 2.45rem;
  height: 2.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 900;
}

.lang a.active,
.lang a:hover {
  border-color: var(--line);
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 34rem) minmax(22rem, 28.5rem);
  gap: clamp(4rem, 7vw, 6rem);
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0 4rem;
}

.copy {
  max-width: 34rem;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--cyan);
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1 {
  margin: 0;
  max-width: 8.5ch;
  font-size: clamp(3.7rem, 6.2vw, 5.85rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.lead {
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1.18rem, 1.55vw, 1.45rem);
  line-height: 1.58;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}

.button {
  min-height: 3.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 157, 188, 0.38);
  border-radius: 1rem;
  padding: 0 1.35rem;
  background: var(--cyan);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(21, 157, 188, 0.22);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: rgba(21, 157, 188, 0.48);
  color: var(--cyan);
}

.visual {
  width: 100%;
  min-height: 30rem;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 2rem;
  background:
    radial-gradient(circle at 75% 18%, rgba(103, 232, 249, 0.2), transparent 15rem),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border-radius: 1.5rem;
  background-image:
    linear-gradient(rgba(8, 145, 178, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 145, 178, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}

.system {
  position: absolute;
  inset: 4.5rem;
  display: grid;
  place-items: center;
}

.pulse {
  position: absolute;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(21, 157, 188, 0.22);
  border-radius: 50%;
  animation: float 7s ease-in-out infinite;
}

.pulse.two {
  width: 27rem;
  height: 12rem;
  transform: rotate(-15deg);
  animation-delay: -2s;
}

.core {
  width: 8.2rem;
  height: 8.2rem;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 1.55rem;
  background: #fff;
  box-shadow:
    0 0 0 16px rgba(21, 157, 188, 0.08),
    0 24px 54px rgba(15, 23, 42, 0.14);
}

.core span {
  width: 3rem;
  height: 3rem;
  display: block;
  border-left: 8px solid var(--cyan);
  border-bottom: 8px solid var(--cyan);
  border-right: 8px solid var(--ink);
  border-top: 8px solid var(--ink);
}

.node {
  position: absolute;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 12px rgba(21, 157, 188, 0.12);
}

.n1 { left: 12%; top: 22%; }
.n2 { right: 13%; top: 25%; }
.n3 { left: 18%; bottom: 22%; }
.n4 { right: 18%; bottom: 20%; }
.n5 { left: 50%; top: 13%; }
.n6 { left: 50%; bottom: 12%; }

.footer {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.95rem;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .copy {
    max-width: 100%;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.2rem, 14vw, 5.2rem);
  }
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 28px, 1120px);
  }

  .header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 12.5rem;
  }

  .visual {
    min-height: 24rem;
  }
}
