:root {
  --bg: #05070a;
  --panel: rgba(10, 15, 22, 0.78);
  --panel-strong: rgba(12, 18, 28, 0.92);
  --text: #f5f8ff;
  --muted: #9aa7b7;
  --line: rgba(111, 231, 255, 0.18);
  --cyan: #37e9ff;
  --violet: #8c5cff;
  --green: #61ffb8;
  --shadow: 0 30px 120px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 15% 12%, rgba(55, 233, 255, 0.15), transparent 32%),
    radial-gradient(circle at 82% 8%, rgba(140, 92, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #05070a 0%, #071018 48%, #05070a 100%);
  color: var(--text);
  overflow-x: hidden;
}

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

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px), linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  z-index: 0;
}

.orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}
.orb-one { left: -90px; top: 170px; background: var(--cyan); }
.orb-two { right: -130px; bottom: 90px; background: var(--violet); animation-delay: -3s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -22px, 0) scale(1.05); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 62px);
  backdrop-filter: blur(20px);
  background: rgba(5, 7, 10, 0.68);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -0.04em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(55,233,255,0.14), rgba(140,92,255,0.12));
  box-shadow: 0 0 26px rgba(55,233,255,0.18);
  font-size: 13px;
}
.brand-name { font-size: 19px; }

.nav { display: flex; align-items: center; gap: 10px; }
.nav a {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition: 0.2s ease;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,0.06); }

.lang-switch {
  display: flex;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
}
.lang-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 900;
  cursor: pointer;
}
.lang-button.is-active {
  color: #041014;
  background: var(--cyan);
}

.section { position: relative; z-index: 1; padding: clamp(70px, 10vw, 140px) clamp(18px, 4vw, 62px); }
.hero { min-height: calc(100vh - 82px); display: grid; align-items: center; }
.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 900;
}
.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}
.hero-text {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.12);
}
.button.primary { background: var(--cyan); color: #031114; box-shadow: 0 0 34px rgba(55,233,255,0.26); }
.button.ghost { background: rgba(255,255,255,0.05); color: var(--text); }

.signal-card {
  position: relative;
  min-height: 500px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent),
    radial-gradient(circle at 50% 38%, rgba(55,233,255,0.22), transparent 28%),
    var(--panel);
  box-shadow: var(--shadow), inset 0 0 80px rgba(55,233,255,0.05);
}
.signal-card:before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
}
.scanline {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(55,233,255,0.17), transparent);
  animation: scan 4s linear infinite;
}
@keyframes scan { to { transform: translateY(820px); } }
.core-ring {
  position: absolute;
  width: 230px;
  height: 230px;
  left: 50%;
  top: 39%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(55,233,255,0.42);
  box-shadow: 0 0 32px rgba(55,233,255,0.32), inset 0 0 32px rgba(140,92,255,0.18);
}
.core-ring:before, .core-ring:after {
  content: "";
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.22);
  animation: rotate 18s linear infinite;
}
.core-ring:after { inset: 64px; animation-direction: reverse; }
@keyframes rotate { to { transform: rotate(360deg); } }
.core-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  left: 50%;
  top: 39%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 40px var(--cyan);
}
.signal-row {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 134px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.signal-row span {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  opacity: 0.75;
}
.card-kicker { position: absolute; bottom: 80px; left: 32px; margin: 0; color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; }
.signal-card h2 { position: absolute; bottom: 42px; left: 32px; margin: 0; font-size: 28px; letter-spacing: -0.05em; }
.signal-card > p:last-child { position: absolute; bottom: 22px; left: 32px; margin: 0; color: var(--muted); }

.section-heading { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.section-heading h2 { margin: 0; font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -0.07em; }
.text-panel, .project-card, .service-card {
  border: 1px solid rgba(255,255,255,0.1);
  background: var(--panel-strong);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.text-panel { max-width: 880px; margin: 0 auto; padding: clamp(24px, 4vw, 44px); color: var(--muted); font-size: 20px; line-height: 1.7; }
.text-panel p { margin: 0; }

.project-card {
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 54px);
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 28px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(55,233,255,0.14), rgba(140,92,255,0.1) 42%, rgba(0,0,0,0.12)),
    var(--panel-strong);
}
.project-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(55,233,255,0.22);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.project-card h2 { margin: 0; font-size: clamp(34px, 5vw, 70px); line-height: 0.98; letter-spacing: -0.07em; }
.project-card p:not(.eyebrow) { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 720px; }
.project-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.project-stats div { padding: 18px; border: 1px solid rgba(255,255,255,0.08); border-radius: 18px; background: rgba(255,255,255,0.04); }
.project-stats strong { display: block; font-size: 18px; }
.project-stats span { color: var(--muted); font-size: 14px; }

.cards { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { padding: 28px; min-height: 260px; }
.service-card span { color: var(--cyan); font-weight: 900; }
.service-card h3 { margin: 44px 0 12px; font-size: 24px; letter-spacing: -0.04em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 62px);
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero-grid, .project-card, .cards { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .signal-card { min-height: 410px; }
  .project-stats { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .brand-name { font-size: 17px; }
  .nav a { font-size: 13px; padding: 9px 10px; white-space: nowrap; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .signal-card h2 { font-size: 23px; }
}
