:root {
  --blue-deep: #073087;
  --blue-mid: #124db3;
  --blue-bright: #30c0ff;
  --green-accent: #d5f200;
  --white-soft: rgba(255, 255, 255, 0.86);
  --white-faint: rgba(255, 255, 255, 0.22);
  --panel: rgba(7, 28, 91, 0.26);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", sans-serif;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(90deg, #0a3ea3 0%, #18449b 65%, #123d97 100%);
  color: #fff;
}

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

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: absolute;
  z-index: 4;
  top: 2.6rem;
  left: 14.5%;
  right: 8.2%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.88;
  align-items: flex-start;
  flex: 0 0 auto;
}

.brand-mark {
  font-size: clamp(2.8rem, 3.8vw, 4.4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.brand-mark span {
  color: var(--green-accent);
}

.brand-sub {
  margin-left: 2.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--green-accent);
}

.topbar-line {
  height: 4px;
  width: min(27vw, 450px);
  background: rgba(255, 255, 255, 0.95);
  margin-left: 2rem;
  flex: 0 0 auto;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 1.18rem;
  font-weight: 500;
  text-transform: uppercase;
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green-accent);
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  padding: 10rem 8.2% 8rem 14.5%;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 24%, rgba(255, 255, 255, 0.11), transparent 12%),
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 67% 54%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(21, 83, 185, 0.1), rgba(3, 21, 76, 0.3));
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 39, 108, 0.02) 0%, rgba(11, 47, 125, 0.26) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.22) 92%);
  pointer-events: none;
}

.grid,
.signal-square,
.wave,
.side-rail,
.content-card {
  position: relative;
  z-index: 2;
}

.grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-primary {
  background-image:
    linear-gradient(rgba(180, 228, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 228, 255, 0.18) 1px, transparent 1px);
  background-size: 3.2rem 3.2rem;
  opacity: 0.38;
}

.grid-secondary {
  background-image:
    radial-gradient(circle, rgba(217, 235, 255, 0.72) 0.08rem, transparent 0.12rem);
  background-size: 2.5rem 2.5rem;
  opacity: 0.55;
}

.signal-square {
  position: absolute;
  top: 13%;
  width: 11%;
  height: 58%;
  border: 2px solid rgba(76, 203, 255, 0.22);
  border-top: 10px solid rgba(61, 215, 255, 0.8);
  border-bottom: 10px solid rgba(61, 215, 255, 0.8);
  box-shadow: 0 0 16px rgba(45, 197, 255, 0.2);
}

.square-1 { left: 7%; }
.square-2 { left: 28%; }
.square-3 { left: 48%; }
.square-4 { left: 68%; }
.square-5 { left: 89%; }

.wave {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 18%;
  height: 46%;
  background-repeat: repeat-x;
  background-size: 24rem 100%;
  opacity: 0.9;
}

.wave-main {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='220' viewBox='0 0 384 220'%3E%3Cpath d='M0 110c32-80 64-80 96 0s64 80 96 0 64-80 96 0 64 80 96 0' fill='none' stroke='%23d8f6b0' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 8px rgba(230, 248, 176, 0.35));
}

.wave-soft {
  top: 17.2%;
  opacity: 0.28;
  transform: scaleY(1.05);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='384' height='220' viewBox='0 0 384 220'%3E%3Cpath d='M0 110c32-80 64-80 96 0s64 80 96 0 64-80 96 0 64 80 96 0' fill='none' stroke='%23f7fff0' stroke-width='11' stroke-linecap='round' opacity='0.28'/%3E%3C/svg%3E");
}

.content-card {
  max-width: 34rem;
  margin-top: 14rem;
  padding: 1.8rem 2rem;
  background: linear-gradient(180deg, rgba(6, 26, 81, 0.24), rgba(6, 26, 81, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-accent);
}

.content-card h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.1;
  font-weight: 600;
}

.lead {
  margin: 1rem 0 0;
  color: var(--white-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.side-rail {
  position: absolute;
  top: 17%;
  right: 3.1%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.lang-switch {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.lang-switch .is-active {
  color: var(--green-accent);
}

.social-link {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 700;
}

.rail-line {
  width: 4px;
  height: 30rem;
  margin-top: 3rem;
  background: var(--green-accent);
}

.footer-bar {
  position: relative;
  z-index: 3;
  min-height: 86px;
  background: #1148ad;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.1rem 13.4% 1rem 13.5%;
}

.brand-footer .brand-mark {
  font-size: 3.7rem;
}

.footer-copy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  font-size: 0.98rem;
  line-height: 1.4;
}

.footer-copy strong {
  color: var(--green-accent);
  font-weight: 600;
}

@media (max-width: 1200px) {
  .topbar {
    left: 7%;
    right: 6%;
    gap: 1rem;
  }

  .hero {
    padding-left: 7%;
    padding-right: 6%;
  }

  .nav {
    gap: 1rem;
    font-size: 1rem;
  }

  .topbar-line {
    width: 18vw;
    margin-left: 0;
  }
}

@media (max-width: 920px) {
  .topbar {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(8, 38, 106, 0.55);
    backdrop-filter: blur(8px);
  }

  .topbar-line {
    width: 100%;
  }

  .nav {
    margin-left: 0;
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 3rem 1.5rem 5rem;
  }

  .signal-square {
    height: 44%;
  }

  .content-card {
    margin-top: 10rem;
    max-width: 100%;
  }

  .side-rail {
    right: 1.25rem;
  }

  .rail-line {
    height: 16rem;
  }

  .footer-bar {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-mark {
    font-size: 3rem;
  }

  .nav {
    gap: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .hero {
    padding-bottom: 4rem;
  }

  .wave {
    top: 24%;
    height: 34%;
    background-size: 16rem 100%;
  }

  .signal-square {
    top: 22%;
    height: 34%;
    width: 16%;
  }

  .content-card {
    margin-top: 14rem;
    padding: 1.25rem;
  }

  .content-card h1 {
    font-size: 1.8rem;
  }

  .lead,
  .footer-copy {
    font-size: 0.92rem;
  }

  .side-rail {
    top: 10rem;
    gap: 0.85rem;
  }

  .rail-line {
    height: 10rem;
  }
}
