:root {
  --bg-0: #020611;
  --bg-1: #07162d;
  --bg-2: #0f2c53;
  --panel: rgba(10, 24, 46, 0.74);
  --panel-strong: rgba(9, 23, 44, 0.92);
  --line: rgba(120, 170, 220, 0.25);
  --line-strong: rgba(126, 219, 247, 0.62);
  --text: #e9f5ff;
  --text-soft: #aac2d9;
  --accent: #7cdff6;
  --accent-2: #65a8ff;
  --ok: #88f0d4;
  --warn: #f6cd93;
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --max: 1260px;
  --shadow: 0 30px 80px rgba(0, 8, 20, 0.5);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100%;
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(1300px 700px at -6% -8%, rgba(124, 223, 246, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0, rgba(92, 169, 255, 0.16), transparent 55%),
    linear-gradient(155deg, var(--bg-2), var(--bg-1) 42%, var(--bg-0) 100%);
}

.webgl-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -4;
  opacity: 0.9;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.28;
  pointer-events: none;
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, transparent 42%, rgba(0, 0, 0, 0.48) 100%);
  pointer-events: none;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  width: 680px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(58px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.26;
  animation: orbFloat 13s ease-in-out infinite;
}
.bg-orb { display: none; }
.bg-orb.one { background: radial-gradient(circle, rgba(124, 223, 246, 0.58), transparent 62%); top: -220px; right: -180px; }
.bg-orb.two { background: radial-gradient(circle, rgba(101, 168, 255, 0.55), transparent 62%); bottom: -250px; left: -180px; animation-delay: -3s; }
@keyframes orbFloat { 0%,100% { transform: translateY(0) scale(1);} 50% { transform: translateY(-22px) scale(1.05);} }

.container { width: min(var(--max), calc(100% - 42px)); margin-inline: auto; }

.site-shell {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(8, 21, 41, 0.7), rgba(5, 15, 30, 0.82));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(177, 213, 248, 0.16);
  overflow: clip;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(124, 173, 221, 0.25);
  background: rgba(6, 18, 35, 0.82);
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #dbedff;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}
.brand-mark {
  width: 44px;
  aspect-ratio: 1;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #041925;
  font-size: 1.2rem;
  background: linear-gradient(145deg, var(--accent), var(--ok));
  box-shadow: 0 10px 26px rgba(124, 223, 246, 0.35);
}

nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
nav a {
  color: #9edff8;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: .95rem;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
nav a:hover, nav a.active { color: #d6f7ff; border-color: rgba(145, 225, 248, 0.85); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(126, 172, 215, 0.38);
  background: rgba(8, 22, 43, 0.76);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
  flex-direction: column;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #d8f3ff;
  transition: transform .22s ease, opacity .22s ease;
}

.topbar.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.topbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.topbar.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.lang-wrap { display: flex; gap: 8px; align-items: center; }
.lang-label { color: #b9d7f0; font-size: .82rem; }
.lang-select {
  border: 1px solid rgba(126, 172, 215, 0.45);
  border-radius: 12px;
  background: rgba(8, 22, 43, 0.75);
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
  font-size: .86rem;
}

main { padding: 30px; display: grid; gap: 16px; }

.hero {
  position: relative;
  border: 1px solid rgba(133, 199, 241, 0.38);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 46px);
  background: linear-gradient(160deg, rgba(11, 30, 55, 0.86), rgba(7, 17, 35, 0.95));
  overflow: hidden;
  isolation: isolate;
  min-height: 650px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(1.15) hue-rotate(165deg) brightness(0.55) contrast(1.15);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 68% 32%, rgba(126, 219, 247, 0.25), transparent 44%), linear-gradient(140deg, rgba(7, 20, 39, 0.88), rgba(5, 14, 28, 0.86));
}

.electric-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.86;
}

.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 20px; align-items: center; }
.pill {
  display: inline-block;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  color: #9feaff;
  background: rgba(18, 46, 81, 0.55);
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  font-weight: 700;
}
h1 { margin-top: 16px; font-size: clamp(2rem, 5.3vw, 4.35rem); line-height: 1.03; letter-spacing: -0.02em; }
.lead { margin-top: 16px; font-size: clamp(1rem, 1.55vw, 1.3rem); color: var(--text-soft); max-width: 760px; }
.cta-row { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  text-decoration: none;
  border-radius: 14px;
  padding: 13px 22px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #052030; background: linear-gradient(135deg, var(--accent), #8fe8f7); box-shadow: 0 15px 30px rgba(92, 169, 255, 0.3); }
.btn-secondary { color: #dff2ff; border-color: rgba(132, 180, 224, 0.45); background: rgba(8, 22, 41, 0.75); }

.hero-3d { position: relative; height: 410px; perspective: 1000px; }
.energy-core {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  top: 115px;
  right: 132px;
  background: radial-gradient(circle at 35% 30%, #dbfbff, #73daf5 30%, #167db2 72%, transparent 100%);
  box-shadow: 0 0 42px rgba(124, 223, 246, 0.5), 0 0 120px rgba(69, 144, 255, 0.35);
  animation: coreBeat 2.1s ease-in-out infinite;
}
@keyframes coreBeat { 0%,100% { transform: scale(1);} 50% { transform: scale(1.08);} }
.layer {
  position: absolute;
  border: 1px solid rgba(133, 184, 232, 0.38);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(15, 41, 72, 0.72), rgba(10, 24, 42, 0.72));
  box-shadow: inset 0 1px 0 rgba(177, 219, 255, 0.18), 0 16px 30px rgba(1, 8, 18, 0.45);
  transform-style: preserve-3d;
}
.layer-a { width: 300px; height: 190px; top: 20px; right: 16px; transform: rotateX(16deg) rotateY(-20deg); }
.layer-b { width: 240px; height: 160px; top: 130px; right: 118px; transform: rotateX(11deg) rotateY(22deg); }
.layer-c { width: 190px; height: 120px; top: 250px; right: 40px; transform: rotateX(19deg) rotateY(-12deg); }
.glow-ring {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(132, 226, 248, 0.55);
  top: 72px;
  right: 86px;
  box-shadow: inset 0 0 50px rgba(124, 223, 246, 0.22), 0 0 25px rgba(124, 223, 246, 0.18);
  animation: spin 16s linear infinite;
}
.glow-ring.two { width: 190px; height: 190px; top: 110px; right: 120px; animation-duration: 10s; animation-direction: reverse; }
@keyframes spin { from { transform: rotate(0);} to { transform: rotate(360deg);} }

.kpis,
.cards,
.stats-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .kpi, .stat, .section, .project, .service-item, .step {
  border: 1px solid rgba(122, 170, 219, 0.25);
  border-radius: var(--radius-md);
  background: rgba(8, 21, 39, 0.74);
}
.kpi, .stat { padding: 14px; }
.kpi strong, .stat strong { display: block; font-size: 1.34rem; color: #b7ebff; line-height: 1.2; }
.kpi span, .stat span { color: var(--text-soft); font-size: .88rem; }

.section { border-radius: var(--radius-lg); background: var(--panel-strong); padding: clamp(20px, 3vw, 30px); }
.section h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: .01em; font-size: clamp(1.35rem, 2vw, 2rem); }
.section p { margin-top: 8px; color: var(--text-soft); }

.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 16px; transition: transform .2s ease, border-color .2s ease; }
.card:hover, .project:hover, .service-item:hover { transform: translateY(-2px); border-color: rgba(140, 215, 247, 0.62); }
.card h3, .project h3, .service-item h3 { font-size: 1rem; }
.card p, .project p, .service-item p { margin-top: 6px; color: var(--text-soft); font-size: .92rem; }

.grid-2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.service-list, .timeline, .projects { margin-top: 14px; display: grid; gap: 10px; }
.step { padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.dot {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: .82rem;
  font-weight: 800;
  color: #072332;
  background: linear-gradient(145deg, var(--accent), #8ce5f8);
}

.projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project {
  padding: 16px;
  min-height: 190px;
  background: linear-gradient(160deg, rgba(14, 36, 63, 0.78), rgba(8, 19, 34, 0.86));
  display: flex;
  flex-direction: column;
}
.project .tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(145, 216, 245, 0.48);
  color: #b2ecff;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .72rem;
  margin-bottom: 8px;
}

.logos {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(125, 173, 221, 0.28);
  background: rgba(7, 18, 34, 0.74);
  padding: 12px 0;
}
.logos-track { display: flex; width: max-content; gap: 12px; padding-right: 12px; animation: marquee 24s linear infinite; }
.logo-chip {
  border-radius: 999px;
  border: 1px solid rgba(130, 183, 230, 0.4);
  background: rgba(12, 31, 54, 0.74);
  padding: 9px 14px;
  color: #bad9f2;
  font-family: "Space Grotesk", sans-serif;
  white-space: nowrap;
  font-size: .84rem;
}
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

.page-header {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 38px);
  background: linear-gradient(165deg, rgba(14, 33, 58, 0.82), rgba(8, 19, 37, 0.9));
}
.page-header h1 { margin-top: 8px; font-size: clamp(1.9rem, 4.5vw, 3.4rem); }
.page-header p { margin-top: 10px; color: var(--text-soft); max-width: 820px; }

.scene {
  border: 1px solid rgba(132, 190, 240, 0.33);
  border-radius: 24px;
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 22px;
  background: linear-gradient(165deg, rgba(12, 32, 57, 0.82), rgba(8, 19, 34, 0.9));
}
.scene-visual {
  height: 320px;
  border-radius: 20px;
  border: 1px solid rgba(135, 198, 244, 0.35);
  background: linear-gradient(145deg, rgba(18, 48, 81, 0.75), rgba(8, 19, 34, 0.86));
  transform: perspective(1000px) rotateY(calc(var(--scene-progress, .5) * 16deg - 8deg)) rotateX(calc(var(--scene-progress, .5) * -10deg + 5deg));
  transition: transform .2s linear;
  position: relative;
  overflow: hidden;
}
.scene-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.12) brightness(0.68) hue-rotate(162deg);
}
.scene-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(9, 22, 40, 0.46), rgba(6, 16, 31, 0.22));
  z-index: 1;
  pointer-events: none;
}
.scene-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at calc(var(--scene-progress, .5) * 100%) 40%, rgba(129, 220, 248, 0.32), transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(146, 216, 247, 0.06) 3px, rgba(146, 216, 247, 0.06) 4px);
  z-index: 2;
  pointer-events: none;
}
.scene-title { font-size: clamp(1.5rem, 2.8vw, 2.4rem); line-height: 1.15; }
.scene-text { margin-top: 8px; color: var(--text-soft); }

.contact-box {
  margin-top: 14px;
  border: 1px solid rgba(128, 175, 221, 0.3);
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(150deg, rgba(14, 35, 60, 0.78), rgba(8, 19, 36, 0.92));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.input {
  width: 100%;
  background: rgba(7, 19, 36, 0.82);
  border: 1px solid rgba(125, 173, 219, 0.34);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}
textarea.input { min-height: 130px; resize: vertical; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }
.tilt { transform-style: preserve-3d; transition: transform .2s ease; }

footer { margin: 18px 0 30px; text-align: center; color: #8ca5bc; font-size: .9rem; }

html[dir="rtl"] body { font-family: "Manrope", "Tahoma", sans-serif; }
html[dir="rtl"] .topbar,
html[dir="rtl"] .contact-box,
html[dir="rtl"] .step,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .scene { direction: rtl; }
html[dir="rtl"] nav ul { direction: rtl; }

@media (max-width: 1080px) {
  .hero-grid,
  .grid-2,
  .scene { grid-template-columns: 1fr; }
  .cards,
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis,
  .stats-grid,
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-3d { height: 330px; }
}

@media (max-width: 700px) {
  .container { width: min(var(--max), calc(100% - 22px)); }
  .site-shell { border-radius: 22px; }
  .topbar {
    padding: 14px;
    align-items: center;
    gap: 10px;
  }
  main { padding: 14px; }
  .hero { border-radius: 22px; min-height: auto; }
  .cards,
  .projects,
  .kpis,
  .stats-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .hero-3d { height: 260px; transform: scale(.92); transform-origin: center; }
  nav ul { gap: 10px; }
  nav a { font-size: .88rem; }
  .btn { width: 100%; text-align: center; }
  .hero-video,
  .scene-video {
    display: none;
  }
  .electric-canvas {
    display: none;
  }
  .lang-wrap {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 900px) {
  .site-shell {
    backdrop-filter: none;
  }

  .topbar {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    backdrop-filter: none;
    background: rgba(6, 18, 35, 0.96);
  }

  .nav-toggle {
    display: inline-flex !important;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }

  .lang-wrap {
    order: 2;
    grid-column: 1 / span 2;
    grid-row: 2;
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .topbar nav {
    grid-column: 1 / span 2;
    grid-row: 3;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height .28s ease, opacity .22s ease, transform .22s ease, margin-top .22s ease;
    margin-top: 0;
  }

  .topbar.nav-open nav {
    max-height: 70vh;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    margin-top: 4px;
    overflow-y: auto;
  }

  .topbar nav ul {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px 0 4px;
  }

  .topbar nav li {
    min-width: 0;
  }

  .topbar nav a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 14px;
    border: 1px solid rgba(128, 187, 227, 0.24);
    background: rgba(8, 24, 42, 0.76);
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .brand {
    gap: 10px;
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    border-radius: 12px;
  }

  .lang-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .lang-select {
    width: min(100%, 188px);
    max-width: 188px;
  }
}

.social-strip {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.social-btn {
  text-decoration: none;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 188, 234, 0.4);
  background: linear-gradient(145deg, rgba(10, 26, 47, 0.82), rgba(7, 18, 34, 0.86));
  color: #cde9ff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(145, 225, 248, 0.85);
  box-shadow: 0 10px 20px rgba(84, 163, 255, 0.18);
}

@media (max-width: 700px) {
  .social-strip {
    justify-content: flex-start;
  }

  .social-btn {
    width: calc(50% - 6px);
    text-align: center;
  }
}

.green-circuit-section {
  border: 1px solid rgba(106, 229, 176, 0.36);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(7, 42, 30, 0.84), rgba(4, 24, 18, 0.92));
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.05fr);
  gap: 22px;
  overflow: hidden;
  position: relative;
  scroll-margin-top: 110px;
}

.green-circuit-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(106, 229, 176, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(106, 229, 176, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.green-circuit-copy {
  position: relative;
  z-index: 1;
  padding: 18px 8px 18px 4px;
  align-self: center;
}

.green-circuit-copy h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.3rem);
  line-height: 1.15;
  color: #d7ffe9;
}

.green-circuit-copy p {
  margin-top: 10px;
  color: #9ed4bc;
  max-width: 540px;
}

.chip-network {
  position: relative;
  min-height: 340px;
  border: 1px solid rgba(105, 214, 162, 0.34);
  border-radius: 18px;
  background: radial-gradient(circle at 60% 35%, rgba(51, 155, 115, 0.25), rgba(6, 28, 20, 0.85) 60%);
  overflow: hidden;
}

.chip-node {
  position: absolute;
  border: 1px solid rgba(125, 237, 191, 0.5);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(17, 75, 52, 0.85), rgba(10, 45, 31, 0.9));
  color: #d8ffec;
  padding: 8px 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  box-shadow: 0 10px 22px rgba(7, 34, 23, 0.45);
  z-index: 2;
}

.chip-node.main {
  width: 168px;
  height: 92px;
  left: calc(50% - 84px);
  top: calc(50% - 46px);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
}

.chip-node.n1 { left: 34px; top: 32px; }
.chip-node.n2 { right: 34px; top: 38px; }
.chip-node.n3 { left: 28px; bottom: 40px; }
.chip-node.n4 { right: 30px; bottom: 40px; }

.wire {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(145, 246, 204, 0.9), transparent);
  height: 2px;
  transform-origin: left center;
  box-shadow: 0 0 10px rgba(145, 246, 204, 0.7);
  z-index: 1;
  animation: pulseWire 2.4s ease-in-out infinite;
}

.wire.w1 { left: 120px; top: 90px; width: 190px; transform: rotate(18deg); }
.wire.w2 { right: 120px; top: 92px; width: 190px; transform: rotate(162deg); }
.wire.w3 { left: 110px; bottom: 94px; width: 206px; transform: rotate(-18deg); }
.wire.w4 { right: 108px; bottom: 94px; width: 206px; transform: rotate(198deg); }

@keyframes pulseWire {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.wire-pulse {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bffff0;
  box-shadow: 0 0 16px rgba(128, 255, 212, 0.95);
  z-index: 3;
  animation: pulseTravel 4.8s linear infinite;
}

.wire-pulse.p1 { left: 250px; top: 110px; animation-delay: 0s; }
.wire-pulse.p2 { right: 250px; top: 176px; animation-delay: -1.2s; }
.wire-pulse.p3 { left: 118px; bottom: 108px; animation-delay: -2.4s; }
.wire-pulse.p4 { left: calc(50% - 8px); top: 132px; animation-delay: -3.3s; }

@keyframes pulseTravel {
  0%, 100% { transform: scale(0.82); opacity: 0.7; }
  50% { transform: scale(1.35); opacity: 1; }
}

.social-grid {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.social-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 188, 234, 0.4);
  background: linear-gradient(145deg, rgba(10, 26, 47, 0.82), rgba(7, 18, 34, 0.86));
  color: #d5ecff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.social-link i {
  font-size: 0.95rem;
  color: #8de6f9;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(145, 225, 248, 0.85);
  box-shadow: 0 10px 20px rgba(84, 163, 255, 0.18);
}

.social-mail {
  border-color: rgba(128, 233, 185, 0.5);
  background: linear-gradient(145deg, rgba(10, 44, 32, 0.82), rgba(7, 27, 20, 0.9));
}

.social-mail i {
  color: #9cf7cb;
}

.media-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 28px;
  align-items: center;
  margin: 28px 0 34px;
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(132, 188, 234, 0.22);
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.1), transparent 38%),
    linear-gradient(145deg, rgba(10, 26, 47, 0.88), rgba(7, 18, 34, 0.94));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.media-feature-copy h2 {
  margin: 14px 0;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.03;
}

.media-feature-copy p {
  max-width: 60ch;
  color: rgba(213, 236, 255, 0.82);
}

.media-feature-pill {
  background: rgba(124, 235, 214, 0.12);
}

.media-feature-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 22px;
}

.media-feature-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(132, 188, 234, 0.28);
  background: rgba(9, 21, 38, 0.52);
  color: #e4f3ff;
  font-size: 0.94rem;
}

.media-feature-frame {
  position: relative;
}

.media-feature-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 34px;
  background: radial-gradient(circle at center, rgba(124, 235, 214, 0.16), transparent 60%);
  filter: blur(12px);
  pointer-events: none;
}

.media-feature-video {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(132, 188, 234, 0.24);
  background: linear-gradient(180deg, rgba(5, 15, 28, 0.88), rgba(7, 17, 30, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin-left: auto;
}

.media-feature-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 1080px) {
  .media-feature {
    grid-template-columns: 1fr;
  }

  .media-feature-video {
    max-width: 440px;
    margin: 0 auto;
  }

  .green-circuit-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .media-feature {
    padding: 20px;
    border-radius: 24px;
  }

  .media-feature-copy h2 {
    font-size: 2rem;
  }

  .media-feature-meta span {
    width: 100%;
    justify-content: center;
  }

  .social-grid {
    justify-content: flex-start;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }

  .green-circuit-section {
    padding: 18px;
    gap: 16px;
  }

  .green-circuit-copy {
    padding: 4px 0 0;
  }

  .chip-network {
    min-height: 290px;
  }

  .chip-network::before {
    animation-duration: 6s;
    opacity: .82;
  }

  .chip-network::after {
    animation-duration: 2.4s;
    opacity: .95;
  }

  .chip-node {
    animation-duration: 2.7s;
  }

  .wire {
    animation-duration: 1.8s;
  }

  .wire::after {
    animation-duration: 1.55s;
  }

  .pcb-board {
    animation-duration: 8s, 4.5s;
  }

  .pcb-chip {
    animation-duration: 2.8s;
  }

  .pcb-trace {
    animation-duration: 2s;
  }

  .pcb-trace::after {
    animation-duration: 1.45s;
  }

  .pcb-dot.d1 {
    animation-duration: 2.8s;
  }

  .pcb-dot.d2 {
    animation-duration: 3.1s;
  }

  .pcb-dot.d3 {
    animation-duration: 2.9s;
  }

  .pcb-scanline {
    animation-duration: 3.6s;
  }
}

/* Enhanced motion for green electronics section */
.green-circuit-section {
  box-shadow: 0 0 0 1px rgba(110, 230, 180, 0.16) inset, 0 20px 44px rgba(8, 52, 36, 0.34);
}

.green-circuit-copy h2 {
  text-shadow: 0 0 24px rgba(145, 246, 204, 0.25);
}

.chip-network {
  isolation: isolate;
}

.chip-network::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(130, 246, 198, 0.18) 55deg, transparent 100deg, transparent 360deg);
  animation: orbitGlow 8s linear infinite;
  z-index: 0;
  opacity: .7;
}

.chip-network::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 55% 50%, rgba(148, 255, 212, 0.15), transparent 58%);
  animation: corePulse 2.8s ease-in-out infinite;
  z-index: 0;
}

.chip-node {
  animation: nodeFloat 3.4s ease-in-out infinite;
  will-change: transform, box-shadow;
}

.chip-node.main {
  animation-duration: 2.6s;
  box-shadow: 0 0 0 1px rgba(144, 248, 207, 0.3) inset, 0 0 40px rgba(98, 227, 168, 0.35);
}

.chip-node.n1 { animation-delay: -0.2s; }
.chip-node.n2 { animation-delay: -1.0s; }
.chip-node.n3 { animation-delay: -1.8s; }
.chip-node.n4 { animation-delay: -2.4s; }

.wire {
  position: absolute;
  overflow: visible;
}

.wire::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #c9ffe8;
  box-shadow: 0 0 12px rgba(180, 255, 225, 0.95), 0 0 28px rgba(91, 234, 170, 0.9);
  animation: electronFlow 2.2s linear infinite;
}

.wire.w1::after { animation-delay: -0.2s; }
.wire.w2::after { animation-delay: -0.8s; }
.wire.w3::after { animation-delay: -1.2s; }
.wire.w4::after { animation-delay: -1.8s; }

@keyframes electronFlow {
  0% { left: 0%; opacity: .15; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 100%; opacity: .1; }
}

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes corePulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: .95; transform: scale(1.05); }
}

@keyframes orbitGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .chip-network::before,
  .chip-network::after,
  .chip-node,
  .wire::after {
    animation: none !important;
  }
}

/* Advanced UX additions */
.custom-cursor-enabled,
.custom-cursor-enabled a,
.custom-cursor-enabled button,
.custom-cursor-enabled .btn,
.custom-cursor-enabled input,
.custom-cursor-enabled textarea,
.custom-cursor-enabled select {
  cursor: none !important;
}

.electric-cursor,
.electric-cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-999px, -999px);
}

.electric-cursor {
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, #d8fff3 0%, #82ffd1 45%, #30f0ae 100%);
  box-shadow: 0 0 16px rgba(130, 255, 209, 0.95), 0 0 30px rgba(38, 214, 153, 0.55);
  transition: transform .12s ease, box-shadow .15s ease;
  opacity: 0;
}

.electric-cursor .spark {
  position: absolute;
  width: 2px;
  height: 10px;
  background: linear-gradient(to bottom, rgba(220,255,245,0.95), rgba(90,245,190,0));
  border-radius: 999px;
  left: 5px;
  top: -8px;
  animation: sparkSpin 1s linear infinite;
}
.electric-cursor .spark:nth-child(2) { transform: rotate(120deg); animation-delay: -0.32s; }
.electric-cursor .spark:nth-child(3) { transform: rotate(240deg); animation-delay: -0.65s; }

.electric-cursor-ring {
  width: 30px;
  height: 30px;
  margin-left: -15px;
  margin-top: -15px;
  border: 1px solid rgba(137, 250, 206, 0.62);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(90, 235, 179, 0.26) inset;
  animation: ringPulse 1.2s ease-in-out infinite;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  opacity: 0;
}
.electric-cursor.is-visible,
.electric-cursor-ring.is-visible { opacity: 1; }

.electric-cursor.is-hover {
  box-shadow: 0 0 20px rgba(162, 255, 225, 1), 0 0 38px rgba(42, 241, 171, 0.75);
}

.electric-cursor-ring.is-hover {
  border-color: rgba(176, 255, 226, 0.9);
  box-shadow: 0 0 26px rgba(105, 247, 197, 0.4) inset;
}

.electric-cursor.is-active {
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  box-shadow: 0 0 26px rgba(184, 255, 232, 1), 0 0 44px rgba(42, 241, 171, 0.95);
}

.electric-cursor-ring.is-active {
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
}

.cursor-particle {
  position: fixed;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  background: #bffff0;
  box-shadow: 0 0 12px rgba(128, 255, 212, 0.9);
  animation: cursorBurst .45s ease-out forwards;
}

@keyframes sparkSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ringPulse { 0%,100% { transform: scale(1); opacity: .75; } 50% { transform: scale(1.16); opacity: 1; } }
@keyframes cursorBurst {
  from { transform: translate(0, 0) scale(1); opacity: 1; }
  to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

.live-status-strip {
  border: 1px solid rgba(126, 219, 247, 0.35);
  border-radius: 16px;
  padding: 10px 14px;
  background: linear-gradient(145deg, rgba(10, 29, 53, 0.82), rgba(7, 20, 37, 0.88));
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  border: 1px solid rgba(140, 224, 251, 0.4);
  border-radius: 999px;
  padding: 7px 12px;
  color: #c9ebff;
  font-size: 0.82rem;
  font-family: "Space Grotesk", sans-serif;
  background: rgba(8, 23, 42, 0.72);
}

.pcb-stage {
  border: 1px solid rgba(110, 235, 180, 0.35);
  border-radius: 24px;
  padding: 20px;
  background: linear-gradient(160deg, rgba(7, 41, 30, 0.8), rgba(4, 20, 15, 0.88));
  display: grid;
  gap: 12px;
  scroll-margin-top: 110px;
}

.pcb-stage h2 {
  color: #d6ffec;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.pcb-stage p {
  color: #9ed5bb;
}

.pcb-canvas-wrap {
  height: 320px;
  border: 1px solid rgba(116, 236, 186, 0.35);
  border-radius: 16px;
  background: radial-gradient(circle at 55% 45%, rgba(35, 114, 84, 0.3), rgba(5, 20, 14, 0.88));
  overflow: hidden;
  position: relative;
}

.pcb-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 12px;
  align-items: stretch;
}

.pcb-specs {
  display: grid;
  gap: 10px;
}

.pcb-board {
  position: relative;
  border: 1px solid rgba(126, 240, 194, 0.45);
  border-radius: 16px;
  min-height: 320px;
  overflow: hidden;
  background:
    linear-gradient(rgba(140, 240, 204, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 240, 204, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 52% 50%, rgba(61, 197, 140, 0.3), rgba(7, 32, 24, 0.94));
  background-size: 34px 34px, 34px 34px, 100% 100%;
  animation: pcbGridShift 12s linear infinite, pcbBreath 6.5s ease-in-out infinite;
}

.pcb-chip {
  position: absolute;
  border: 1px solid rgba(138, 247, 207, 0.62);
  border-radius: 12px;
  padding: 8px 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: #d7ffee;
  background: rgba(7, 48, 34, 0.86);
  box-shadow: inset 0 0 18px rgba(96, 224, 174, 0.12);
  animation: chipFloat 4.2s ease-in-out infinite;
}

.pcb-chip.c-main { left: 34%; top: 40%; }
.pcb-chip.c-sensor { left: 9%; top: 17%; }
.pcb-chip.c-power { right: 8%; top: 19%; }
.pcb-chip.c-io { right: 12%; bottom: 16%; }

.pcb-trace {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, rgba(130,255,214,.1), rgba(130,255,214,.92), rgba(130,255,214,.1));
  transform-origin: left center;
  box-shadow: 0 0 14px rgba(116, 248, 197, 0.42);
  animation: tracePulse 2.7s ease-in-out infinite;
}

.pcb-trace::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #d5fff2;
  box-shadow: 0 0 14px rgba(179, 255, 228, 0.95), 0 0 28px rgba(105, 248, 196, 0.82);
  animation: electronFlow 2s linear infinite;
}

.pcb-trace.t1 { width: 32%; left: 22%; top: 33%; transform: rotate(-18deg); }
.pcb-trace.t2 { width: 28%; left: 17%; top: 55%; transform: rotate(-12deg); animation-delay: -.8s; }
.pcb-trace.t3 { width: 34%; right: 16%; top: 59%; transform: rotate(11deg); animation-delay: -1.5s; }
.pcb-trace.t1::after { animation-delay: -0.1s; }
.pcb-trace.t2::after { animation-delay: -0.8s; }
.pcb-trace.t3::after { animation-delay: -1.4s; }

.pcb-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d0fff1;
  box-shadow: 0 0 18px rgba(130, 255, 214, 0.9);
}

.pcb-dot.d1 { left: 46%; top: 46%; animation: dotPath1 3.6s ease-in-out infinite; }
.pcb-dot.d2 { left: 19%; top: 63%; animation: dotPath2 4.1s ease-in-out infinite; }
.pcb-dot.d3 { right: 21%; top: 34%; animation: dotPath3 3.9s ease-in-out infinite; }

.pcb-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(173, 255, 222, 0.09) 48%, transparent 100%);
  transform: translateY(-100%);
  animation: pcbSweep 5.4s linear infinite;
  pointer-events: none;
}

@keyframes tracePulse {
  0%, 100% { opacity: .55; }
  50% { opacity: 1; }
}

@keyframes dotTravel {
  0%,100% { transform: scale(1); opacity: .8; }
  50% { transform: scale(1.4); opacity: 1; }
}

@keyframes dotPath1 {
  0%, 100% { transform: translate(0, 0) scale(0.95); opacity: 0.7; }
  28% { transform: translate(-110px, -46px) scale(1.2); opacity: 1; }
  62% { transform: translate(42px, -76px) scale(1.05); opacity: 0.92; }
}

@keyframes dotPath2 {
  0%, 100% { transform: translate(0, 0) scale(0.9); opacity: 0.72; }
  35% { transform: translate(118px, -24px) scale(1.25); opacity: 1; }
  70% { transform: translate(214px, -62px) scale(1.08); opacity: 0.92; }
}

@keyframes dotPath3 {
  0%, 100% { transform: translate(0, 0) scale(0.92); opacity: 0.7; }
  32% { transform: translate(-128px, -32px) scale(1.18); opacity: 1; }
  68% { transform: translate(-242px, -78px) scale(1.04); opacity: 0.9; }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes pcbGridShift {
  0% { background-position: 0 0, 0 0, 50% 50%; }
  100% { background-position: 34px 34px, -34px 0, 50% 50%; }
}

@keyframes pcbBreath {
  0%, 100% { box-shadow: inset 0 0 48px rgba(51, 192, 136, 0.08); }
  50% { box-shadow: inset 0 0 88px rgba(72, 228, 166, 0.18); }
}

@keyframes pcbSweep {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.case-card .tag {
  margin-bottom: 10px;
}

[data-case-grid] {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pcb-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.live-feed {
  border: 1px solid rgba(127, 179, 226, 0.28);
  border-radius: 18px;
  padding: 16px;
  background: rgba(8, 22, 40, 0.78);
}

.live-feed h3 {
  margin-bottom: 8px;
}

.live-feed ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.live-feed li {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(126, 174, 220, 0.28);
  background: rgba(7, 20, 36, 0.72);
  color: #bad2e8;
  font-size: 0.93rem;
}

.case-link {
  display: inline-block;
  margin-top: 10px;
  color: #9fe8ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(155, 231, 255, 0.65);
}

.project .case-link {
  margin-top: auto;
  padding-top: 12px;
  align-self: flex-start;
}

.form-actions {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-note {
  margin-top: 8px;
  color: #9dc0d8;
  font-size: 0.9rem;
}

.form-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(124, 193, 231, 0.25);
  background: rgba(7, 22, 40, 0.72);
  color: #d5edff;
}

.contact-status.is-error {
  border-color: rgba(255, 159, 159, 0.32);
  background: rgba(61, 16, 22, 0.54);
  color: #ffd7d7;
}

@media (max-width: 700px) {
  .form-actions {
    display: grid;
    gap: 10px;
  }

  .page-header {
    padding: 4px 0;
  }

  .page-header h1 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }
}

.article-subtitle {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #d4f3ff;
}

.article-list {
  list-style: disc;
  padding-inline-start: 22px;
  margin-bottom: 10px;
  display: grid;
  gap: 6px;
  color: #bfd7eb;
}

.faq-item {
  border: 1px solid rgba(127, 179, 226, 0.24);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(8, 22, 40, 0.55);
}

.faq-item strong {
  display: block;
  margin-bottom: 4px;
  color: #d7eeff;
}

.article-breadcrumb {
  font-size: 0.84rem;
  color: #9dc4df;
  margin-bottom: 8px;
}

.article-breadcrumb a {
  color: #9fdfff;
  text-decoration: none;
}

.article-breadcrumb span {
  margin: 0 6px;
  color: rgba(170, 214, 244, 0.5);
}

.article-byline {
  margin-top: 10px;
  color: #9ec2dd;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.article-roadmap {
  padding-inline-start: 22px;
  display: grid;
  gap: 6px;
  color: #c3def2;
  margin-bottom: 12px;
}

.article-related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  .article-related {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .live-status-strip {
    gap: 8px;
  }

  .status-pill {
    width: 100%;
    text-align: center;
  }

  .pcb-canvas-wrap {
    height: 250px;
  }

  [data-case-grid] {
    grid-template-columns: 1fr;
  }

  .pcb-layout {
    grid-template-columns: 1fr;
  }

  .pcb-board {
    min-height: 260px;
  }
}

.author-bio,
.topics-hero {
  max-width: 920px;
}

.article-breadcrumb {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.article-breadcrumb a {
  color: #9edff8;
  text-decoration: none;
  border-bottom: 1px solid rgba(145, 225, 248, 0.45);
}

.article-subtitle {
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  letter-spacing: 0.01em;
}

.article-service-lead {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--text-soft);
  max-width: 74ch;
}

.article-list,
.article-roadmap {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  margin-inline-start: 22px;
}

.faq-item {
  border: 1px solid rgba(126, 172, 215, 0.35);
  background: linear-gradient(165deg, rgba(8, 21, 41, 0.6), rgba(5, 15, 30, 0.72));
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.article-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 12px;
}

@media (max-width: 860px) {
  .article-list,
  .article-roadmap {
    margin-inline-start: 16px;
  }
}

.founders-strip {
  margin: 16px 0 12px;
  padding: 18px;
  border: 1px solid rgba(126, 219, 247, 0.35);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(6, 21, 40, 0.76), rgba(9, 38, 61, 0.55));
}

.founders-head h3 {
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  margin-bottom: 6px;
}

.founders-head p {
  color: var(--text-soft);
}

.founders-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.founder-card {
  border: 1px solid rgba(126, 172, 215, 0.35);
  border-radius: 14px;
  padding: 12px;
  background: rgba(6, 17, 34, 0.58);
  display: grid;
  gap: 4px;
}

.founder-role {
  color: #8ed5f7;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.seo-quicklinks {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.seo-quicklinks span {
  color: var(--text-soft);
  margin-right: 6px;
}

.seo-quicklinks a {
  text-decoration: none;
  border: 1px solid rgba(126, 172, 215, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  color: #d5f4ff;
  font-size: 0.86rem;
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 120;
  background: rgba(7, 21, 42, 0.34);
}

.reading-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #66d2ff, #7effbf);
  box-shadow: 0 0 12px rgba(120, 228, 255, 0.7);
}

.article-toc {
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid rgba(126, 172, 215, 0.35);
  border-radius: 12px;
  background: rgba(7, 20, 40, 0.56);
}

.article-toc h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.article-toc ul {
  margin-inline-start: 18px;
  display: grid;
  gap: 6px;
}

.article-toc a {
  color: #9fe9ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(145, 225, 248, 0.35);
}

.contact-status {
  box-shadow: 0 20px 40px rgba(4, 10, 22, 0.28);
}

.contact-status:not(.is-error) {
  border-color: rgba(124, 230, 189, 0.3);
  background: linear-gradient(160deg, rgba(10, 44, 36, 0.76), rgba(6, 20, 33, 0.78));
  color: #d8fff0;
}

.contact-assurance {
  margin-top: 10px;
  max-width: 68ch;
}

.article-cta-panel {
  margin: 18px 0 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(126, 219, 247, 0.36);
  background: linear-gradient(150deg, rgba(10, 25, 48, 0.78), rgba(8, 44, 58, 0.52));
  display: grid;
  gap: 14px;
}

.article-cta-panel h3 {
  margin-bottom: 8px;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
}

.article-cta-panel p {
  color: var(--text-soft);
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-service-grid {
  margin-top: 8px;
  margin-bottom: 16px;
}

.featured-case {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.featured-case-copy,
.featured-case-panel {
  border-radius: 24px;
  border: 1px solid rgba(126, 219, 247, 0.26);
  background: linear-gradient(155deg, rgba(7, 21, 41, 0.82), rgba(9, 33, 57, 0.54));
  padding: clamp(20px, 3vw, 28px);
}

.featured-case-copy h2,
.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.7rem);
  line-height: 1.05;
  margin: 14px 0 10px;
}

.featured-case-copy p,
.section-head p {
  color: var(--text-soft);
}

.featured-case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.mini-stat {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(126, 172, 215, 0.24);
  background: rgba(8, 21, 41, 0.52);
}

.mini-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.45rem;
  color: #b8f2ff;
}

.featured-case-stack {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 100%;
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(126, 233, 207, 0.34);
  background: linear-gradient(155deg, rgba(7, 48, 36, 0.64), rgba(7, 24, 38, 0.74));
  color: #defff3;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-head {
  margin-bottom: 16px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.industry-card {
  border: 1px solid rgba(126, 172, 215, 0.26);
  border-radius: 18px;
  padding: 18px;
  background: rgba(8, 20, 38, 0.54);
}

.industry-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.industry-card p {
  color: var(--text-soft);
}

.success-panel {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.success-reference {
  margin: 16px auto 0;
  max-width: max-content;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(126, 233, 207, 0.36);
  background: rgba(7, 46, 34, 0.48);
  color: #dfffee;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.04em;
}

.success-next {
  margin-top: 18px;
  text-align: left;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(126, 172, 215, 0.26);
  background: rgba(7, 19, 36, 0.56);
}

.success-next h2 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-landing-hero {
  position: relative;
  overflow: hidden;
}

.service-landing-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -28% auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 219, 247, 0.18), transparent 66%);
  pointer-events: none;
}

.service-mini-pill {
  margin-bottom: 12px;
}

.service-proof-grid {
  margin-top: 22px;
}

.service-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #99ecff;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
}

.service-summary-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.service-summary-item {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(126, 172, 215, 0.24);
  background: rgba(8, 21, 41, 0.5);
}

.service-summary-item strong {
  display: block;
  margin-bottom: 6px;
  color: #bdf4ff;
  font-size: 1rem;
}

.service-summary-item p {
  margin-top: 0;
  color: var(--text-soft);
}

.service-deliverables,
.service-faq-grid,
.service-related-grid,
.service-hub-grid,
.service-path-grid,
.service-path-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-capability-panel h2 {
  margin-bottom: 14px;
}

.service-checklist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-checklist li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
}

.service-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--ok));
  box-shadow: 0 0 14px rgba(124, 223, 246, 0.4);
}

.service-steps .step h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.service-steps .step p {
  margin-top: 0;
  color: var(--text-soft);
}

.service-link-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.service-link-card .case-link {
  margin-top: auto;
}

.service-pathways-panel {
  background:
    radial-gradient(circle at top left, rgba(124, 223, 246, 0.1), transparent 36%),
    linear-gradient(160deg, rgba(10, 28, 49, 0.9), rgba(6, 18, 34, 0.96));
}

.service-path-grid,
.service-path-actions {
  margin-top: 18px;
}

.service-path-actions {
  display: grid;
  gap: 16px;
}

.service-link-card--hub {
  border-color: rgba(124, 223, 246, 0.36);
  background:
    radial-gradient(circle at top right, rgba(124, 223, 246, 0.1), transparent 44%),
    rgba(8, 22, 43, 0.58);
}

.service-link-card--action {
  border-color: rgba(136, 240, 212, 0.28);
}

.service-case-study-panel {
  background:
    radial-gradient(circle at top left, rgba(136, 240, 212, 0.08), transparent 36%),
    linear-gradient(160deg, rgba(11, 31, 54, 0.94), rgba(7, 19, 37, 0.96));
}

.service-case-grid {
  margin-top: 18px;
}

.service-link-card--case {
  border-color: rgba(124, 223, 246, 0.24);
  background:
    radial-gradient(circle at top right, rgba(124, 223, 246, 0.08), transparent 42%),
    rgba(8, 22, 43, 0.52);
}

.article-inline-links {
  margin: 14px 0 4px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(124, 223, 246, 0.22);
  background: rgba(8, 22, 43, 0.42);
  color: var(--text-soft);
}

.article-inline-links strong {
  color: #dff8ff;
  margin-inline-end: 8px;
}

.article-inline-links a {
  color: #9ee8ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(145, 225, 248, 0.45);
}

.article-inline-links a:hover {
  color: #dff8ff;
  border-color: rgba(145, 225, 248, 0.85);
}

.service-cta-panel {
  background:
    radial-gradient(circle at top right, rgba(124, 223, 246, 0.12), transparent 40%),
    linear-gradient(160deg, rgba(11, 31, 54, 0.95), rgba(7, 19, 37, 0.95));
}

@media (max-width: 780px) {
  .founders-grid {
    grid-template-columns: 1fr;
  }

  .featured-case {
    grid-template-columns: 1fr;
  }

  .featured-case-metrics,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .service-deliverables,
  .service-faq-grid,
  .service-related-grid,
  .service-hub-grid,
  .service-case-grid,
  .service-path-grid,
  .service-path-actions {
    grid-template-columns: 1fr;
  }

  .article-cta-actions {
    display: grid;
  }

  .success-next {
    text-align: start;
  }
}


/* Mobile and low-power safety mode */
.low-power-mode .webgl-bg,
.low-power-mode .hero-video,
.low-power-mode .scene-video,
.low-power-mode .electric-canvas,
.low-power-mode .electric-cursor,
.low-power-mode .electric-cursor-ring {
  display: none !important;
}

.low-power-mode .reveal {
  opacity: 1 !important;
  transform: none !important;
}

.low-power-mode .glow-ring,
.low-power-mode .energy-core,
.low-power-mode .logos-track,
.low-power-mode .scene-visual {
  animation: none !important;
  transition: none !important;
}

.low-power-mode .tilt,
.low-power-mode .btn,
.low-power-mode .social-link {
  transform: none !important;
}
