@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --bg-0: #060c16;
  --bg-1: #0b1628;
  --bg-2: #10213b;
  --text-main: #e8f1ff;
  --text-soft: #b8c8de;
  --text-muted: #8ea5c2;
  --line: rgba(122, 185, 255, 0.22);
  --line-strong: rgba(122, 185, 255, 0.38);
  --panel: rgba(10, 24, 43, 0.78);
  --panel-strong: rgba(11, 28, 51, 0.92);
  --accent: #3ad6ff;
  --accent-strong: #1da8ff;
  --accent-alt: #35f0b1;
  --danger: #ff4d6d;
  --font-ui: "Space Grotesk", "Segoe UI", sans-serif;
  --font-title: "Sora", "Segoe UI", sans-serif;
  --container: min(1140px, 92vw);
  --radius: 18px;
  --radius-lg: 30px;
  --shadow: 0 24px 46px rgba(0, 6, 16, 0.52);
  --ease: cubic-bezier(0.2, 0.85, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-main);
  font-family: var(--font-ui);
  line-height: 1.55;
  background:
    radial-gradient(circle at 12% 22%, rgba(61, 145, 255, 0.22), transparent 30%),
    radial-gradient(circle at 86% 10%, rgba(53, 240, 177, 0.16), transparent 28%),
    linear-gradient(145deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-2) 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

.page-constructivism {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-constructivism__beam {
  position: absolute;
  filter: blur(2px);
}

.page-constructivism__beam--a {
  top: -18%;
  left: -14%;
  width: 52%;
  height: 52%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 168, 255, 0.32), transparent 70%);
  animation: beamMove 10s var(--ease) infinite;
}

.page-constructivism__beam--b {
  right: -16%;
  bottom: -20%;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 240, 177, 0.28), transparent 72%);
  animation: beamMove 11s var(--ease) infinite reverse;
}

.page-constructivism__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(130, 193, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 193, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 42%, #000 38%, transparent 84%);
}

.topbar {
  width: var(--container);
  margin: 1rem auto 0;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(8, 20, 36, 0.78);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0.75rem;
  z-index: 40;
  box-shadow: 0 16px 34px rgba(0, 7, 19, 0.46);
}

.topbar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 130px;
  height: 100%;
  background: linear-gradient(110deg, transparent 0 28%, rgba(58, 214, 255, 0.22) 28% 100%);
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  pointer-events: none;
}

.topbar__brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  position: relative;
  z-index: 1;
}

.topbar__logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.topbar__name {
  font-family: var(--font-title);
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
}

.topbar__cta {
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(10, 28, 47, 0.95);
  padding: 0.48rem 0.9rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.topbar__cta:hover {
  background: linear-gradient(120deg, rgba(29, 168, 255, 0.26), rgba(53, 240, 177, 0.16));
  box-shadow: 0 0 0 1px rgba(58, 214, 255, 0.4) inset, 0 10px 22px rgba(8, 94, 147, 0.32);
  transform: translateY(-1px);
}

.hero,
main,
.site-footer {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  padding: clamp(3.2rem, 8vw, 5.6rem) 0 6rem;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.24fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  border: 1px solid rgba(58, 214, 255, 0.5);
  border-radius: 999px;
  background: rgba(58, 214, 255, 0.12);
  color: #b5eeff;
  padding: 0.28rem 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 0.9rem;
}

.hero__title {
  margin: 0;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: clamp(2.1rem, 7vw, 5rem);
  text-wrap: balance;
  background: linear-gradient(120deg, #eff7ff 0%, #a7e2ff 46%, #7ce3bc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  max-width: 52ch;
  margin: 1.2rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.7vw, 1.12rem);
}

.hero__actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  min-height: 2.8rem;
  padding: 0.7rem 1.2rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--solid {
  color: #041425;
  background: linear-gradient(120deg, var(--accent) 0%, #78ecff 56%, var(--accent-alt) 100%);
  box-shadow: 0 14px 28px rgba(16, 159, 237, 0.28);
}

.btn--ghost {
  background: rgba(9, 26, 45, 0.8);
  color: var(--text-main);
}

.btn--ghost:hover {
  background: rgba(20, 54, 89, 0.82);
  box-shadow: 0 0 0 1px rgba(58, 214, 255, 0.42) inset;
}

.hero__stats {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(100px, 1fr));
  gap: 0.6rem;
}

.hero__stats li {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  backdrop-filter: blur(6px);
  padding: 0.9rem;
  position: relative;
  overflow: hidden;
}

.hero__stats li::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
}

.hero__stats strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.15rem;
}

.hero__stats span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hero__visual {
  background: linear-gradient(145deg, rgba(11, 29, 51, 0.92), rgba(9, 20, 36, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  position: relative;
}

.hero__visual::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(58, 214, 255, 0.78), transparent 72%);
  filter: blur(1px);
  opacity: 0.75;
}

.radar {
  width: min(390px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: grid;
  place-items: center;
  position: relative;
}

.radar::before {
  content: "";
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 214, 255, 0.08), transparent 66%);
}

.radar__logo {
  display: block;
  width: min(56%, 220px);
  height: auto;
  object-fit: contain;
  z-index: 4;
  filter: drop-shadow(0 14px 22px rgba(2, 18, 34, 0.48));
  animation: float 4.2s ease-in-out infinite;
}

.radar__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(151, 211, 255, 0.34);
}

.radar__ring--one {
  inset: 8%;
  border-style: dashed;
  animation: spin 16s linear infinite;
}

.radar__ring--two {
  inset: 22%;
  border-color: rgba(58, 214, 255, 0.7);
  box-shadow: 0 0 18px rgba(58, 214, 255, 0.24);
  animation: pulse 3s ease-in-out infinite;
}

.radar__ring--three {
  inset: 36%;
  border-color: rgba(53, 240, 177, 0.58);
  animation: spin 9s linear infinite reverse;
}

.hero__visual-note {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 3.5rem;
}

.strip__item {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 0.9rem 0.8rem;
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.about,
.projects,
.cta {
  margin-bottom: 6rem;
}

.section-head {
  max-width: 80ch;
  margin-bottom: 1.45rem;
}

.section-head__tag {
  display: inline-block;
  border: 1px solid rgba(58, 214, 255, 0.48);
  border-radius: 999px;
  background: rgba(58, 214, 255, 0.11);
  color: #afefff;
  padding: 0.26rem 0.62rem;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  font-size: 0.69rem;
  letter-spacing: 0.13em;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-title);
  line-height: 1.05;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
}

.section-head p {
  margin: 0.8rem 0 0;
  color: var(--text-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 3rem;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.1rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(58, 214, 255, 0.1), transparent 42%);
  pointer-events: none;
}

.feature-card h3 {
  margin: 0;
  text-transform: uppercase;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

.feature-card p {
  margin: 0.65rem 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.project-layout {
  display: grid;
  grid-template-columns: 1.42fr 0.9fr;
  gap: 0.95rem;
}

.project-card,
.project-side {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.project-card__logo {
  float: left;
  margin: 0.82rem 1rem 0.25rem 0;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 100%;
}

.project-card__logo-unknown {
  font-size: 3rem;
  text-align: center;
  line-height: 5.25rem;
  background: linear-gradient(120deg, rgba(58, 214, 255, 0.1), rgba(53, 240, 177, 0.16));
}

.project-card__label {
  margin: 0;
  margin-right: 0.25rem;
  display: inline-block;
  padding: 0.28rem 0.58rem;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  border: 1px solid rgba(58, 214, 255, 0.5);
  border-radius: 999px;
  background: rgba(58, 214, 255, 0.13);
  color: #b7f5ff;
}

.project-card h3,
.project-side h3 {
  margin: 0.82rem 0 0;
  font-family: var(--font-title);
  font-size: 1.58rem;
  line-height: 1.08;
}

.project-card__desc,
.project-side p {
  color: var(--text-soft);
}

.project-card__bullets {
  margin: 1rem 0 1.2rem;
  padding-left: 1.05rem;
  color: var(--text-soft);
}

.project-card__bullets li {
  margin-bottom: 0.4rem;
}

.project-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.project-side__meter {
  margin-top: 1rem;
  width: 100%;
  height: 0.72rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.project-side__meter span {
  display: block;
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  animation: meter 2.3s var(--ease);
}

.project-side small {
  display: block;
  margin-top: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.cta {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 25%, rgba(58, 214, 255, 0.14), transparent 33%),
    linear-gradient(135deg, rgba(12, 28, 51, 0.92), rgba(8, 20, 34, 0.92));
  padding: clamp(1.2rem, 3.5vw, 2.1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta h2 {
  margin: 0;
  max-width: 32ch;
  font-family: var(--font-title);
  line-height: 1.12;
  font-size: clamp(1.05rem, 2.5vw, 1.72rem);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.3rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.88rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
}

.site-footer__links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.74rem;
}

.site-footer__links a:hover {
  border-bottom-color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal--delay {
  transition-delay: 0.12s;
}

.reveal--delay-2 {
  transition-delay: 0.24s;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes beamMove {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }

  50% {
    transform: translateX(20px) translateY(-10px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes meter {
  from {
    width: 0;
  }

  to {
    width: 72%;
  }
}

@media (max-width: 1024px) {
  .hero__inner,
  .project-layout {
    grid-template-columns: 1fr;
  }

  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    max-width: 580px;
  }
}

@media (max-width: 720px) {
  .topbar {
    width: min(96vw, 1140px);
    top: 0.45rem;
    padding: 0.64rem 0.72rem;
  }

  .topbar__name {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .topbar__cta {
    font-size: 0.66rem;
    padding: 0.38rem 0.62rem;
  }

  .hero,
  main,
  .site-footer {
    width: min(94vw, 1140px);
  }

  .hero {
    padding-top: 3rem;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
