:root {
  --deep-space: #1a1a1b;
  --electric-blue: #42b883;
  --vue-dark: #35495e;
  --slate-white: #edf1f6;
  --surface: #202124;
  --surface-soft: #24262a;
  --line: rgba(237, 241, 246, 0.14);
  --line-strong: rgba(237, 241, 246, 0.24);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 80% -10%, rgba(66, 184, 131, 0.18), transparent 45%),
    var(--deep-space);
  color: var(--slate-white);
  line-height: 1.5;
}

.page-shell {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 24px 0 40px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.site-header {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  position: sticky;
  top: 14px;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.brand {
  grid-column: span 4;
  text-decoration: none;
  color: var(--slate-white);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(66, 184, 131, 0.95), rgba(66, 184, 131, 0.25));
  box-shadow: 0 0 24px rgba(66, 184, 131, 0.45);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f7fbff;
  border: 1px solid rgba(247, 251, 255, 0.38);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text small {
  margin-left: 6px;
  font-weight: 500;
  opacity: 0.8;
}

.nav-links {
  grid-column: span 5;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(237, 241, 246, 0.88);
  text-decoration: none;
  font-size: 0.93rem;
}

.header-controls {
  grid-column: span 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(237, 241, 246, 0.85);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 10px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: rgba(66, 184, 131, 0.22);
  color: #f7fbff;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--slate-white);
  background: transparent;
  cursor: pointer;
}

.btn-outline {
  border-color: var(--line-strong);
}

.hero {
  margin-top: 24px;
  align-items: center;
}

.hero-copy {
  grid-column: span 6;
}

.eyebrow {
  color: rgba(237, 241, 246, 0.76);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  margin: 0 0 14px;
}

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

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

h1 .headline-main {
  display: block;
}

h1 .headline-sub {
  display: block;
  color: rgba(237, 241, 246, 0.86);
  font-size: 0.58em;
  margin-top: 10px;
}

.lead {
  margin-top: 18px;
  max-width: 58ch;
  color: rgba(237, 241, 246, 0.82);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
}

.btn-solid {
  background: var(--electric-blue);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.hero-visual {
  grid-column: span 6;
  position: relative;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.rf-rings {
  position: absolute;
  inset: -35% -22% auto auto;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  border: 1px solid rgba(66, 184, 131, 0.26);
  box-shadow: 0 0 0 32px rgba(66, 184, 131, 0.09), 0 0 0 88px rgba(66, 184, 131, 0.05),
    0 0 80px rgba(66, 184, 131, 0.24);
}

.pcb-stack {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 900px;
}

.board {
  width: min(76%, 420px);
  aspect-ratio: 1.55;
  position: absolute;
  border: 1px solid rgba(237, 241, 246, 0.2);
  border-radius: 14px;
  transform-style: preserve-3d;
}

.layer-back {
  transform: rotateX(64deg) rotateZ(-26deg) translate(-26px, -12px);
  background: linear-gradient(135deg, rgba(53, 73, 94, 0.3), rgba(255, 255, 255, 0.03));
}

.layer-mid {
  transform: rotateX(64deg) rotateZ(-26deg) translate(0, 0);
  background: linear-gradient(135deg, rgba(66, 184, 131, 0.22), rgba(255, 255, 255, 0.03));
}

.layer-top {
  transform: rotateX(64deg) rotateZ(-26deg) translate(22px, 12px);
  background: linear-gradient(145deg, rgba(66, 184, 131, 0.2), rgba(255, 255, 255, 0.02));
}

.chip,
.trace {
  position: absolute;
  display: block;
}

.chip {
  background: linear-gradient(145deg, rgba(237, 241, 246, 0.32), rgba(0, 0, 0, 0.35));
  border: 1px solid rgba(237, 241, 246, 0.24);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.chip.core {
  width: 26%;
  height: 32%;
  left: 36%;
  top: 30%;
  border-radius: 8px;
}

.chip.small {
  width: 12%;
  height: 15%;
  border-radius: 5px;
}

.chip.small.a {
  left: 11%;
  top: 24%;
}

.chip.small.b {
  left: 71%;
  top: 58%;
}

.chip.small.c {
  left: 64%;
  top: 17%;
}

.trace {
  height: 2px;
  background: rgba(66, 184, 131, 0.86);
  box-shadow: 0 0 10px rgba(66, 184, 131, 0.62);
}

.trace.t1 {
  width: 36%;
  left: 9%;
  top: 65%;
}

.trace.t2 {
  width: 28%;
  left: 49%;
  top: 39%;
}

.trace.t3 {
  width: 20%;
  left: 58%;
  top: 72%;
}

.metrics {
  margin-top: 26px;
}

.metric-card {
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  background: var(--surface);
}

.metric-card h2 {
  color: var(--electric-blue);
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 6px;
}

.metric-card p {
  color: rgba(237, 241, 246, 0.78);
}

.products,
.capability {
  margin-top: 34px;
}

.section-head {
  grid-column: 1 / -1;
}

.section-head h2,
.capability h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  margin-top: 6px;
}

.product-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 22px;
}

.panel h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.panel p,
.capability-copy p {
  color: rgba(237, 241, 246, 0.8);
}

.capability-copy {
  grid-column: span 5;
}

.wave-panel {
  grid-column: span 7;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(66, 184, 131, 0.1));
  padding: 18px;
}

.wave-panel svg {
  width: 100%;
  height: auto;
}

.wave-panel path {
  fill: none;
  stroke: url(#waveGlow);
  stroke-width: 2;
}

.site-footer {
  margin-top: 34px;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  align-items: center;
}

.site-footer p {
  grid-column: span 8;
  color: rgba(237, 241, 246, 0.7);
  font-size: 0.92rem;
}

.site-footer a {
  grid-column: span 4;
  justify-self: end;
  color: var(--slate-white);
  text-decoration: none;
}

@media (max-width: 980px) {
  .brand,
  .nav-links,
  .header-controls,
  .hero-copy,
  .hero-visual,
  .metric-card,
  .capability-copy,
  .wave-panel,
  .site-footer p,
  .site-footer a {
    grid-column: 1 / -1;
  }

  .site-header {
    row-gap: 12px;
  }

  .nav-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-controls,
  .site-footer a {
    justify-self: start;
  }

  .hero-visual {
    min-height: 360px;
  }

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