:root {
  color-scheme: dark;
  --bg: #050817;
  --bg-soft: #0a1026;
  --panel: rgba(13, 21, 49, 0.76);
  --panel-solid: #0e1733;
  --line: rgba(112, 214, 255, 0.18);
  --text: #f5f7ff;
  --muted: #aab4d0;
  --cyan: #19d9f2;
  --blue: #3269ff;
  --violet: #9d35ff;
  --coral: #ff5d6c;
  --radius: 24px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 3%, rgba(42, 105, 255, 0.22), transparent 31rem),
    radial-gradient(circle at 92% 22%, rgba(157, 53, 255, 0.18), transparent 28rem),
    linear-gradient(145deg, #030511 0%, var(--bg) 52%, #070b1d 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(59, 140, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 140, 255, 0.12) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: var(--cyan);
  text-decoration: none;
}

a:hover {
  color: #8defff;
}

img {
  max-width: 100%;
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(118, 206, 255, 0.1);
  background: rgba(4, 7, 20, 0.74);
  backdrop-filter: blur(18px);
}

.nav-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(68, 223, 255, 0.35);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(25, 217, 242, 0.18);
}

.nav-links,
.language-picker {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.language-picker {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.language-picker button {
  min-width: 36px;
  padding: 7px 8px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
}

.language-picker button.active {
  color: #06101b;
  background: linear-gradient(135deg, #72efff, var(--cyan));
}

.hero {
  min-height: 680px;
  padding: 92px 0 74px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #80efff 5%, #5185ff 43%, #bd54ff 72%, #ff6d72);
  background-clip: text;
}

.lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
  line-height: 1.72;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 20px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
}

.button-primary {
  color: #06101b;
  background: linear-gradient(135deg, #83f2ff, var(--cyan));
  box-shadow: 0 14px 36px rgba(25, 217, 242, 0.18);
}

.button-primary:hover {
  color: #06101b;
  transform: translateY(-1px);
}

.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.logo-stage {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(80, 207, 255, 0.18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.logo-stage::after {
  position: absolute;
  inset: 12% 10% -8%;
  z-index: -1;
  content: "";
  filter: blur(55px);
  opacity: 0.35;
  background: linear-gradient(135deg, var(--cyan), var(--violet), var(--coral));
}

.logo-stage img {
  display: block;
  border-radius: 24px;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h2,
.page-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  color: var(--muted);
  line-height: 1.7;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.card {
  min-height: 230px;
  padding: 28px;
}

.card-number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(64, 221, 255, 0.25);
  border-radius: 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(25, 217, 242, 0.07);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p,
.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.72;
}

.project-card {
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  border: 1px solid rgba(107, 218, 255, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 20%, rgba(157, 53, 255, 0.22), transparent 23rem),
    linear-gradient(135deg, rgba(17, 32, 74, 0.96), rgba(9, 15, 38, 0.96));
  box-shadow: var(--shadow);
}

.status-pill {
  display: inline-flex;
  padding: 8px 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(25, 217, 242, 0.24);
  border-radius: 999px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: rgba(25, 217, 242, 0.07);
}

.project-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.project-card p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.circuit-orb {
  width: 180px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 226, 255, 0.3);
  border-radius: 50%;
  color: var(--cyan);
  font-size: 4rem;
  font-weight: 900;
  background:
    radial-gradient(circle, rgba(25, 217, 242, 0.2), rgba(56, 67, 180, 0.08) 55%, transparent 56%),
    conic-gradient(from 20deg, rgba(25, 217, 242, 0.5), rgba(157, 53, 255, 0.35), rgba(255, 93, 108, 0.4), rgba(25, 217, 242, 0.5));
  box-shadow: inset 0 0 50px rgba(25, 217, 242, 0.1), 0 0 50px rgba(77, 93, 255, 0.16);
}

.page-hero {
  padding: 82px 0 42px;
}

.page-hero h1 {
  max-width: 860px;
}

.content-layout {
  padding: 20px 0 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 26px;
  align-items: start;
}

.content-card {
  padding: clamp(26px, 5vw, 54px);
}

.content-card section + section {
  padding-top: 26px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.content-card h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.content-card ul {
  padding-left: 21px;
}

.side-card {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 17, 41, 0.82);
}

.side-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.side-card strong {
  display: block;
  margin-bottom: 12px;
}

.site-footer {
  padding: 34px 0 48px;
  border-top: 1px solid rgba(112, 214, 255, 0.11);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 860px) {
  .nav-row {
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 62px;
    gap: 44px;
  }

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

  .project-card {
    grid-template-columns: 1fr;
  }

  .circuit-orb {
    width: 130px;
  }

  .side-card {
    position: static;
  }
}

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

  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 66px 0;
  }

  .project-card {
    padding: 28px;
  }

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

