:root {
  --bg: #04050b;
  --bg-soft: #0a1120;
  --glass: rgba(10, 17, 32, 0.58);
  --line: rgba(122, 215, 255, 0.18);
  --text: #eef8ff;
  --muted: #b8d0e8;
  --electric: #52c8ff;
  --plasma: #9f57ff;
  --energy: #f6e85d;
  --quantum: #67ffb3;
  --danger: #b2edff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --radius: 28px;
  --scroll-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Tajawal', sans-serif;
  background:
    radial-gradient(circle at top, rgba(83, 200, 255, 0.12), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(159, 87, 255, 0.18), transparent 26%),
    radial-gradient(circle at 15% 70%, rgba(103, 255, 179, 0.11), transparent 22%),
    linear-gradient(180deg, #010204 0%, #050814 45%, #03040a 100%);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -4;
}

body::before {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.14) 0 1px, transparent 1.2px),
    radial-gradient(circle at 70% 10%, rgba(255, 255, 255, 0.12) 0 1px, transparent 1.2px),
    radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.09) 0 1px, transparent 1.2px),
    radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.08) 0 1px, transparent 1.2px);
  background-size: 240px 240px, 320px 320px, 280px 280px, 360px 360px;
  animation: starfieldDrift 24s linear infinite;
  opacity: 0.85;
}

body::after {
  background: radial-gradient(circle at center, transparent 45%, rgba(0, 0, 0, 0.56));
}

img {
  max-width: 100%;
  display: block;
}

main {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 80px;
}

.cosmos {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -3;
}

.starfield,
.nebula,
.wave-layer,
.equation-cloud,
.quark-cloud,
.field-lines,
.particle-layer,
.gravity-layer,
.light-sources {
  position: absolute;
  inset: 0;
}

.nebula {
  filter: blur(50px);
  mix-blend-mode: screen;
}

.nebula-a {
  background: radial-gradient(circle, rgba(82, 200, 255, 0.24), transparent 60%);
  width: 32rem;
  height: 32rem;
  right: -8rem;
  top: 8rem;
  animation: nebulaFloat 18s ease-in-out infinite alternate;
}

.nebula-b {
  background: radial-gradient(circle, rgba(159, 87, 255, 0.24), transparent 60%);
  width: 34rem;
  height: 34rem;
  left: -10rem;
  bottom: 4rem;
  animation: nebulaPulse 14s ease-in-out infinite alternate;
}

.wave-layer span {
  position: absolute;
  inset-inline: -10%;
  height: 140px;
  border-radius: 50%;
  border: 2px solid rgba(82, 200, 255, 0.16);
  filter: drop-shadow(0 0 16px rgba(82, 200, 255, 0.4));
}

.wave-top span:nth-child(1) { top: 10%; animation: waveShift 12s linear infinite; }
.wave-top span:nth-child(2) { top: 14%; animation: waveShift 9s linear infinite reverse; border-color: rgba(159, 87, 255, 0.18); }
.wave-top span:nth-child(3) { top: 18%; animation: waveShift 15s linear infinite; border-color: rgba(103, 255, 179, 0.14); }
.wave-bottom span:nth-child(1) { bottom: 16%; animation: waveShift 13s linear infinite reverse; }
.wave-bottom span:nth-child(2) { bottom: 12%; animation: waveShift 11s linear infinite; border-color: rgba(246, 232, 93, 0.15); }
.wave-bottom span:nth-child(3) { bottom: 8%; animation: waveShift 16s linear infinite reverse; border-color: rgba(159, 87, 255, 0.16); }

.equation-cloud span {
  position: absolute;
  font-family: 'Orbitron', sans-serif;
  color: rgba(127, 231, 255, 0.26);
  text-shadow: 0 0 18px currentColor;
  font-size: clamp(0.8rem, 2vw, 1.5rem);
  animation: formulaDrift var(--time, 16s) linear infinite;
}

.equation-cloud span:nth-child(1) { top: 12%; right: 10%; --time: 18s; }
.equation-cloud span:nth-child(2) { top: 24%; left: 12%; --time: 14s; }
.equation-cloud span:nth-child(3) { top: 34%; right: 28%; --time: 20s; }
.equation-cloud span:nth-child(4) { top: 46%; left: 20%; --time: 17s; }
.equation-cloud span:nth-child(5) { top: 58%; right: 8%; --time: 15s; }
.equation-cloud span:nth-child(6) { top: 66%; left: 36%; --time: 18s; }
.equation-cloud span:nth-child(7) { top: 78%; right: 26%; --time: 13s; }
.equation-cloud span:nth-child(8) { top: 20%; right: 46%; --time: 16s; }
.equation-cloud span:nth-child(9) { top: 70%; left: 14%; --time: 21s; }
.equation-cloud span:nth-child(10) { top: 40%; left: 48%; --time: 15s; }
.equation-cloud span:nth-child(11) { top: 84%; left: 8%; --time: 19s; }
.equation-cloud span:nth-child(12) { top: 9%; left: 44%; --time: 22s; }

.quark-cloud span {
  position: absolute;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.82rem;
  color: rgba(103, 255, 179, 0.55);
  text-shadow: 0 0 16px rgba(103, 255, 179, 0.65);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(103, 255, 179, 0.2);
  background: rgba(103, 255, 179, 0.04);
  animation: quarkDrift 12s ease-in-out infinite, shimmer 4s ease-in-out infinite;
}

.quark-cloud span:nth-child(1) { top: 16%; left: 30%; animation-delay: -1s; }
.quark-cloud span:nth-child(2) { top: 30%; right: 18%; animation-delay: -2.4s; }
.quark-cloud span:nth-child(3) { top: 52%; left: 8%; animation-delay: -3.2s; }
.quark-cloud span:nth-child(4) { top: 72%; right: 24%; animation-delay: -4.6s; }
.quark-cloud span:nth-child(5) { top: 82%; left: 42%; animation-delay: -1.8s; }
.quark-cloud span:nth-child(6) { top: 42%; right: 42%; animation-delay: -5s; }

.field-lines span {
  position: absolute;
  border-radius: 999px;
  opacity: 0.48;
}

.electric-field span {
  width: 22%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  filter: drop-shadow(0 0 12px rgba(82, 200, 255, 0.8));
  animation: electricPulse 5s ease-in-out infinite;
}

.electric-field span:nth-child(1) { top: 16%; left: 8%; transform: rotate(-12deg); }
.electric-field span:nth-child(2) { top: 34%; right: 10%; transform: rotate(16deg); animation-delay: -1.4s; }
.electric-field span:nth-child(3) { bottom: 22%; left: 18%; transform: rotate(8deg); animation-delay: -2.3s; }
.electric-field span:nth-child(4) { bottom: 34%; right: 18%; transform: rotate(-18deg); animation-delay: -0.9s; }

.magnetic-field span {
  width: 240px;
  height: 100px;
  border: 2px solid rgba(103, 255, 179, 0.24);
  border-color: rgba(103, 255, 179, 0.26) transparent transparent transparent;
  border-radius: 50%;
  animation: magneticCurve 8s ease-in-out infinite;
}

.magnetic-field span:nth-child(1) { top: 22%; left: 54%; }
.magnetic-field span:nth-child(2) { bottom: 16%; left: 10%; animation-delay: -2s; }
.magnetic-field span:nth-child(3) { top: 56%; right: 10%; animation-delay: -4s; }

.light {
  position: absolute;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.28) 18%, rgba(82, 200, 255, 0.14) 32%, transparent 68%);
  box-shadow: 0 0 50px rgba(82, 200, 255, 0.35), 0 0 120px rgba(159, 87, 255, 0.18);
  animation: flarePulse 6s ease-in-out infinite;
}

.light::before,
.light::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.82), transparent);
}

.light::before {
  width: 240px;
  height: 2px;
}

.light::after {
  width: 2px;
  height: 240px;
}

.light-a { top: 10%; right: 8%; }
.light-b { top: 38%; left: 10%; width: 120px; animation-delay: -2s; }
.light-c { bottom: 12%; right: 32%; width: 100px; animation-delay: -4s; }

.particle,
.gravity-particle {
  position: absolute;
  border-radius: 50%;
}

.particle {
  background: radial-gradient(circle, hsla(var(--hue), 100%, 76%, 1), transparent 70%);
  box-shadow: 0 0 var(--glow) hsla(var(--hue), 100%, 70%, 0.8);
  animation: particleDrift var(--duration) ease-in-out infinite, particlePulse 4s ease-in-out infinite;
  animation-delay: var(--delay), calc(var(--delay) / 2);
}

.gravity-particle {
  top: -10%;
  background: radial-gradient(circle, rgba(246, 232, 93, 0.9), rgba(246, 232, 93, 0));
  box-shadow: 0 0 16px rgba(246, 232, 93, 0.9);
  animation: gravityBounce linear infinite;
}

.glass {
  background: linear-gradient(180deg, rgba(10, 17, 32, 0.72), rgba(5, 8, 20, 0.62));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
}

.topbar {
  width: min(1320px, calc(100% - 32px));
  margin: 22px auto 30px;
  border-radius: 999px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 16px;
  z-index: 20;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-block h1,
.hero-copy h2,
.section-title h2,
.footer-banner h2,
.panel-head h3,
.product-body h3 {
  font-family: 'Orbitron', 'Tajawal', sans-serif;
  margin: 0;
}

nav {
  display: flex;
  gap: 18px;
}

nav a,
.btn {
  text-decoration: none;
  color: var(--text);
}

nav a {
  position: relative;
  font-weight: 700;
}

nav a::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--energy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero {
  margin-bottom: 34px;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 64px);
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 28px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -20% 35% auto -10%;
  height: 300px;
  background: radial-gradient(circle, rgba(82, 200, 255, 0.16), transparent 68%);
  filter: blur(12px);
  animation: heroAura 8s ease-in-out infinite alternate;
}

.hero-copy,
.hero-visual,
.feature-panel,
.footer-banner {
  position: relative;
  will-change: transform;
}

.hero-copy h2 {
  font-size: clamp(2.5rem, 5vw, 5.2rem);
  line-height: 1.06;
  max-width: 11ch;
}

.hero-copy h2 span {
  color: var(--electric);
  text-shadow: 0 0 22px rgba(82, 200, 255, 0.5);
}

.hero-text,
.product-body p,
.footer-banner p,
.panel-head + * {
  color: var(--muted);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--electric), var(--plasma));
  box-shadow: 0 0 24px rgba(82, 200, 255, 0.3);
}

.btn.secondary {
  border: 1px solid rgba(103, 255, 179, 0.32);
  background: rgba(103, 255, 179, 0.08);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(82, 200, 255, 0.28);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.hero-stats div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--quantum);
  margin-bottom: 6px;
}

.mini-atom,
.atom-hero {
  position: relative;
  display: grid;
  place-items: center;
}

.mini-atom {
  width: 72px;
  aspect-ratio: 1;
}

.nucleus,
.hero-nucleus {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--energy), #ff8f00);
  box-shadow: 0 0 26px rgba(246, 232, 93, 0.8);
  animation: nucleusPulse 3s ease-in-out infinite;
}

.orbit,
.hero-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(82, 200, 255, 0.26);
}

.orbit i,
.hero-orbit i {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 14px rgba(82, 200, 255, 0.9);
  transform: translateX(-50%);
}

.orbit-a { animation: orbitSpin 4s linear infinite; }
.orbit-b { transform: rotate(62deg); animation: orbitSpinReverse 5s linear infinite; }
.orbit-c { transform: rotate(-62deg); animation: orbitSpin 6s linear infinite; }

.hero-visual {
  display: grid;
  gap: 18px;
}

.atom-stage {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.core-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 200, 255, 0.2), rgba(159, 87, 255, 0.05), transparent 70%);
  filter: blur(12px);
  animation: coreBreath 6s ease-in-out infinite;
}

.atom-hero {
  width: min(76vw, 440px);
  aspect-ratio: 1;
  animation: heroSpin 20s linear infinite;
}

.hero-nucleus {
  width: 44px;
  height: 44px;
  z-index: 2;
}

.hero-orbit {
  border-width: 2px;
  box-shadow: inset 0 0 24px rgba(82, 200, 255, 0.08);
}

.orbit-1 { animation: orbitSpin 9s linear infinite; }
.orbit-2 { transform: rotate(58deg); animation: orbitSpinReverse 11s linear infinite; }
.orbit-3 { transform: rotate(-58deg); animation: orbitSpin 13s linear infinite; }
.orbit-4 { transform: rotate(90deg) scale(0.72); animation: orbitSpinReverse 7s linear infinite; }

.hero-orbit i {
  width: 14px;
  height: 14px;
  top: -7px;
  background: radial-gradient(circle, var(--quantum), var(--electric));
}

.wave-console {
  position: absolute;
  bottom: 6%;
  inset-inline: 14%;
  height: 110px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(4, 8, 16, 0.5);
  border: 1px solid rgba(82, 200, 255, 0.14);
}

.wave-console span {
  position: absolute;
  inset-inline: -10%;
  top: 50%;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(82, 200, 255, 0.28);
  animation: waveform 8s linear infinite;
}

.wave-console span:nth-child(2) {
  border-color: rgba(159, 87, 255, 0.26);
  animation-duration: 5s;
  animation-direction: reverse;
}

.wave-console span:nth-child(3) {
  border-color: rgba(103, 255, 179, 0.22);
  animation-duration: 10s;
}

.prism-beam {
  position: relative;
  height: 180px;
}

.beam-source,
.beam-white,
.beam-rainbow,
.beam-prism {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.beam-source {
  right: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--energy);
  box-shadow: 0 0 24px rgba(246, 232, 93, 0.8);
}

.beam-white {
  right: 24px;
  width: 34%;
  height: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0));
  animation: beamTravel 3.5s ease-in-out infinite;
}

.beam-prism {
  right: 34%;
  width: 0;
  height: 0;
  border-left: 46px solid rgba(255, 255, 255, 0.18);
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.3));
}

.beam-rainbow {
  left: 6%;
  width: 42%;
  height: 80px;
  background: linear-gradient(90deg, rgba(255,0,80,0), rgba(255,0,80,0.85), rgba(255,145,0,0.78), rgba(246,232,93,0.8), rgba(103,255,179,0.78), rgba(82,200,255,0.78), rgba(159,87,255,0.88));
  clip-path: polygon(0 52%, 100% 0, 100% 100%);
  filter: blur(2px) drop-shadow(0 0 22px rgba(82, 200, 255, 0.28));
  animation: rainbowShift 5s linear infinite;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.feature-panel {
  padding: 28px;
  border-radius: 30px;
  min-height: 280px;
  overflow: hidden;
}

.panel-head {
  position: relative;
  z-index: 1;
}

.pendulum-wrap {
  position: relative;
  height: 180px;
  margin-top: 18px;
}

.pivot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--energy);
  transform: translateX(-50%);
  box-shadow: 0 0 18px rgba(246, 232, 93, 0.8);
}

.string {
  position: absolute;
  top: 10px;
  left: calc(50% - 1px);
  width: 2px;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(82,200,255,0.2));
  transform-origin: top center;
  animation: pendulumSwing 2.8s ease-in-out infinite;
}

.bob {
  position: absolute;
  top: 120px;
  left: calc(50% - 18px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--electric), rgba(82, 200, 255, 0.3));
  box-shadow: 0 0 24px rgba(82, 200, 255, 0.72);
  transform-origin: calc(50% + 18px) -110px;
  animation: pendulumSwing 2.8s ease-in-out infinite;
}

.cradle {
  position: relative;
  height: 190px;
  margin-top: 16px;
}

.frame {
  position: absolute;
  inset: 10px 12% auto;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.12), rgba(82, 200, 255, 0.56), rgba(255,255,255,0.12));
}

.balls {
  position: absolute;
  inset: 18px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
}

.ball {
  width: 34px;
  height: 150px;
  border-radius: 0;
  background: transparent;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ball::after {
  content: '';
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(82, 200, 255, 0.75), rgba(4, 10, 16, 0.9));
  box-shadow: 0 0 18px rgba(82, 200, 255, 0.46);
}

.ball::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 116px;
  background: rgba(255,255,255,0.4);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.ball-1 { transform-origin: center top; animation: cradleLeft 2.3s ease-in-out infinite; }
.ball-5 { transform-origin: center top; animation: cradleRight 2.3s ease-in-out infinite; }

.formula-rings {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  margin-top: 10px;
}

.formula-rings span {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(82, 200, 255, 0.22);
  color: var(--danger);
  font-family: 'Orbitron', sans-serif;
  text-shadow: 0 0 18px rgba(82, 200, 255, 0.45);
  animation: formulaOrbit 12s linear infinite;
}

.formula-rings span:nth-child(2) { animation-delay: -3s; }
.formula-rings span:nth-child(3) { animation-delay: -6s; }
.formula-rings span:nth-child(4) { animation-delay: -9s; }

.products-section {
  margin-top: 18px;
}

.section-title,
.footer-banner {
  border-radius: 30px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  border-radius: 28px;
  padding: 18px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  min-height: 100%;
}

.product-card::before,
.product-card::after {
  content: '';
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.product-card::before {
  background: conic-gradient(from 0deg, transparent 0 10%, rgba(82, 200, 255, 0.44), transparent 22%, rgba(159,87,255,0.4), transparent 36%, rgba(103,255,179,0.4), transparent 50%);
  animation: orbitBorder 7s linear infinite;
  opacity: 0.5;
}

.product-card::after {
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.36), transparent 15%),
              linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.24) 50%, transparent 65%);
  mix-blend-mode: screen;
  opacity: 0;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(82, 200, 255, 0.34);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 28px rgba(82, 200, 255, 0.22);
}

.product-card:hover::after {
  opacity: 1;
  animation: hoverSpark 0.9s linear infinite;
}

.product-orbits {
  position: absolute;
  inset: 10px;
  pointer-events: none;
}

.product-orbits span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(82, 200, 255, 0.18);
  animation: electronOrbit 8s linear infinite;
}

.product-orbits span::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--quantum), var(--electric));
  box-shadow: 0 0 14px rgba(103, 255, 179, 0.8);
  transform: translateX(-50%);
}

.product-orbits span:nth-child(2) { transform: rotate(60deg) scale(0.86); animation-duration: 6s; }
.product-orbits span:nth-child(3) { transform: rotate(-60deg) scale(0.92); animation-duration: 9s; }

.product-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.product-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(3, 6, 14, 0.74));
  z-index: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.13) rotate(2deg);
  filter: saturate(1.2) contrast(1.08);
}

.product-body {
  position: relative;
  z-index: 2;
}

.product-body h3 {
  margin-bottom: 10px;
  font-size: 1.26rem;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(103, 255, 179, 0.1);
  color: var(--quantum);
  font-size: 0.9rem;
}

.meta strong {
  font-size: 1.3rem;
  color: var(--energy);
  text-shadow: 0 0 14px rgba(246, 232, 93, 0.34);
}

.footer-banner {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.parallax-section {
  transform: translateY(calc(var(--scroll-shift) * -0.03));
}

@keyframes starfieldDrift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-120px) scale(1.06); }
}

@keyframes nebulaFloat {
  from { transform: translate3d(0, 0, 0) scale(0.95); }
  to { transform: translate3d(-70px, 40px, 0) scale(1.12); }
}

@keyframes nebulaPulse {
  from { transform: translate3d(0, 0, 0) scale(0.92); opacity: 0.5; }
  to { transform: translate3d(90px, -30px, 0) scale(1.12); opacity: 0.86; }
}

@keyframes waveShift {
  from { transform: translateX(-6%) scaleY(1); }
  50% { transform: translateX(6%) scaleY(1.18); }
  to { transform: translateX(-6%) scaleY(1); }
}

@keyframes formulaDrift {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0.16; }
  50% { transform: translate3d(24px, -24px, 0) rotate(6deg); opacity: 0.38; }
  100% { transform: translate3d(-10px, -48px, 0) rotate(-4deg); opacity: 0.16; }
}

@keyframes electricPulse {
  0%, 100% { opacity: 0.18; filter: drop-shadow(0 0 0 rgba(82, 200, 255, 0)); }
  50% { opacity: 0.82; filter: drop-shadow(0 0 14px rgba(82, 200, 255, 0.9)); }
}

@keyframes magneticCurve {
  0%, 100% { transform: translateY(0) scaleX(1); opacity: 0.2; }
  50% { transform: translateY(-12px) scaleX(1.16); opacity: 0.6; }
}

@keyframes flarePulse {
  0%, 100% { transform: scale(0.94); opacity: 0.56; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes particleDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(var(--drift-x), var(--drift-y), 0); }
}

@keyframes particlePulse {
  0%, 100% { opacity: 0.28; }
  50% { opacity: 1; }
}

@keyframes gravityBounce {
  0% { transform: translateY(-5vh) scale(0.7); opacity: 0; }
  12% { opacity: 1; }
  72% { transform: translateY(88vh) scale(1); opacity: 1; }
  83% { transform: translateY(79vh) scale(0.88); }
  92% { transform: translateY(88vh) scale(0.98); }
  100% { transform: translateY(88vh) scale(0.82); opacity: 0; }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes nucleusPulse {
  0%, 100% { transform: scale(0.96); }
  50% { transform: scale(1.12); }
}

@keyframes coreBreath {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes heroSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes waveform {
  0% { transform: translateX(-12%) translateY(-50%) scaleY(0.86); }
  50% { transform: translateX(10%) translateY(-50%) scaleY(1.24); }
  100% { transform: translateX(-12%) translateY(-50%) scaleY(0.86); }
}

@keyframes beamTravel {
  0%, 100% { opacity: 0.45; transform: translateY(-50%) scaleX(0.7); transform-origin: right; }
  50% { opacity: 1; transform: translateY(-50%) scaleX(1); transform-origin: right; }
}

@keyframes rainbowShift {
  0% { filter: blur(2px) drop-shadow(0 0 18px rgba(82, 200, 255, 0.28)); transform: translateY(-50%) skewX(0deg); }
  50% { filter: blur(3px) drop-shadow(0 0 26px rgba(159, 87, 255, 0.38)); transform: translateY(-50%) skewX(-4deg); }
  100% { filter: blur(2px) drop-shadow(0 0 18px rgba(82, 200, 255, 0.28)); transform: translateY(-50%) skewX(0deg); }
}

@keyframes pendulumSwing {
  0%, 100% { transform: rotate(28deg); }
  50% { transform: rotate(-28deg); }
}

@keyframes cradleLeft {
  0%, 50%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-28deg); }
  30% { transform: rotate(0deg); }
}

@keyframes cradleRight {
  0%, 50%, 100% { transform: rotate(0deg); }
  70% { transform: rotate(28deg); }
  80% { transform: rotate(0deg); }
}

@keyframes formulaOrbit {
  0% { transform: rotate(0deg) translateX(8px) translateY(-56px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(8px) translateY(-56px) rotate(-360deg); }
}

@keyframes orbitBorder {
  from { transform: rotate(0deg) scale(1.1); }
  to { transform: rotate(360deg) scale(1.1); }
}

@keyframes hoverSpark {
  0% { transform: translateX(-80%) rotate(12deg); }
  100% { transform: translateX(80%) rotate(12deg); }
}

@keyframes electronOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes heroAura {
  from { transform: translateY(-14px) scale(0.96); opacity: 0.4; }
  to { transform: translateY(14px) scale(1.06); opacity: 0.9; }
}

@keyframes quarkDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg) scale(0.96); }
  50% { transform: translate3d(18px, -26px, 0) rotate(8deg) scale(1.08); }
}

@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@media (max-width: 1100px) {
  .hero,
  .showcase-grid,
  .products-grid,
  .footer-banner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-banner {
    display: grid;
  }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 28px;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-copy h2 {
    max-width: none;
  }

  .hero-stats,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel,
  .section-title,
  .footer-banner,
  .hero {
    border-radius: 24px;
  }

  .atom-stage {
    min-height: 360px;
  }

  .beam-rainbow {
    width: 48%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
