:root {
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --panel-dark: #050505;
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #c9c9c9;
  --soft: #8f8f8f;
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: .25em;
  flex-shrink: 0;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .2em;
  white-space: nowrap;
}
.brand-subtitle {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: #707070;
  white-space: nowrap;
}

.desktop-nav {
  display: none;
  gap: 1.6rem;
  color: var(--muted);
  font-size: .95rem;
}
.desktop-nav a:hover,
.mobile-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  padding: .9rem 1.3rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light {
  background: #fff;
  color: #000;
}
.btn-light:hover { background: #e8e8e8; }

.desktop-cta { display: none; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: #fff;
  display: inline-grid;
  place-items: center;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle span + span { margin-top: 4px; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--line);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: .95rem 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}
.mobile-nav a {
  padding: .75rem .9rem;
  border-radius: .9rem;
}
.mobile-nav a:hover { background: rgba(255,255,255,.05); }
.mobile-cta {
  margin-top: .4rem;
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
}
.hero-bg,
.hero-overlay,
.hero-visual {
  position: absolute;
  inset: 0;
}
.hero-bg {
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.12), transparent 20%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.07), transparent 22%),
    linear-gradient(140deg, #040404 0%, #0b0b0b 40%, #141414 100%);
}
.hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.55), #000);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
}
.hero-pill {
  display: inline-flex;
  padding: .4rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  font-size: .92rem;
  color: #e7e7e7;
}
.hero h1 {
  margin: 1.25rem 0 0;
  max-width: 980px;
  font-size: clamp(2rem, 6vw, 4.5rem);
  line-height: 1.08;
}
.hero p {
  margin: 1.25rem 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  line-height: 1.8;
}
.hero-actions { margin-top: 1.8rem; }
.hero-stats {
  margin-top: 2.3rem;
  display: grid;
  gap: 1rem;
}
.stat-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 1.35rem;
  padding: 1.1rem 1rem;
}
.stat-card strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: .2rem;
}
.stat-card span { color: var(--muted); }

.hero-visual {
  pointer-events: none;
  z-index: 1;
}
.ambient {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  animation: ambientShift 8s ease-in-out infinite;
}
.ambient-1 {
  width: 220px;
  height: 220px;
  right: 10%;
  top: 12%;
  background: rgba(255,255,255,.08);
}
.ambient-2 {
  width: 170px;
  height: 170px;
  left: 8%;
  bottom: 10%;
  background: rgba(255,255,255,.06);
  animation-duration: 9s;
  animation-direction: reverse;
}

.laser-phase,
.print-phase {
  position: absolute;
  inset: 0;
}
.laser-phase { animation: heroFadeLaser 8s ease-in-out infinite; }
.print-phase { animation: heroFadePrint 8s ease-in-out infinite; }

.laser-head {
  position: absolute;
  left: 62%;
  top: 9%;
  width: 48px;
  height: 64px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(4px);
  animation: heroGlowPulse 3s ease-in-out infinite;
}
.laser-head-top {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 24px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,.2);
}
.laser-lens {
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 16px;
  height: 16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  filter: blur(1px);
}
.laser-beam,
.laser-beam-glow {
  position: absolute;
  left: 64.2%;
  top: 14.2%;
  width: 15%;
  transform-origin: left center;
  animation: heroLaserSweep 3.2s ease-in-out infinite;
}
.laser-beam {
  height: 2px;
  border-radius: 999px;
  background: #fff;
}
.laser-beam-glow {
  top: 14.1%;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  filter: blur(8px);
}
.material-block {
  position: absolute;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 12px;
}
.material-block.outer {
  left: 78.8%;
  top: 11.7%;
  width: 96px;
  height: 40px;
  background: rgba(0,0,0,.25);
}
.material-block.inner {
  left: 79.4%;
  top: 12.5%;
  width: 80px;
  height: 32px;
  background: rgba(255,255,255,.04);
}
.laser-hit {
  position: absolute;
  left: 79.1%;
  top: 13.6%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  animation: heroSparkle .8s ease-in-out infinite;
}
.laser-hit-glow {
  position: absolute;
  left: 78.5%;
  top: 13.1%;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  filter: blur(20px);
  animation: heroGlowPulse 1.6s ease-in-out infinite;
}

.print-frame {
  position: absolute;
  right: 10%;
  top: 14%;
  width: 30%;
  height: 42%;
  min-width: 280px;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.15);
  backdrop-filter: blur(1px);
}
.print-rail {
  position: absolute;
  left: 14%;
  right: 14%;
}
.rail-top {
  top: 12%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
}
.rail-mid {
  left: 20%;
  right: 20%;
  top: 18%;
  height: 2px;
  background: rgba(255,255,255,.25);
}
.print-nozzle {
  position: absolute;
  left: 46%;
  top: 18%;
  width: 8%;
  height: 16%;
  border-width: 0 1px 1px;
  border-style: solid;
  border-color: rgba(255,255,255,.20);
  border-radius: 0 0 12px 12px;
  background: rgba(255,255,255,.10);
  animation: nozzleMove 3s ease-in-out infinite;
}
.print-tip {
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  filter: blur(1px);
}
.print-bed {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 16%;
  height: 18%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 1rem;
  background: rgba(255,255,255,.04);
}
.print-object {
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: 22%;
  height: 46%;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.10);
  animation: printReveal 3.2s ease-in-out infinite;
}
.print-line {
  position: absolute;
  height: 2px;
  border-radius: 999px;
  filter: blur(.5px);
}
.line-1 {
  bottom: 18%;
  left: 21%;
  background: rgba(255,255,255,.80);
  animation: printLayerScan 3s ease-in-out infinite;
}
.line-2 {
  bottom: 33%;
  left: 24%;
  background: rgba(255,255,255,.55);
  animation: printLayerScan 2.8s ease-in-out infinite .25s;
}
.line-3 {
  bottom: 48%;
  left: 27%;
  background: rgba(255,255,255,.40);
  animation: printLayerScan 2.6s ease-in-out infinite .45s;
}

.section { padding: 3.5rem 0; }
.section-head { margin-bottom: 2rem; }
.section-head.narrow { max-width: 720px; }
.section-head.wide { max-width: 900px; }
.section-head.left { margin-bottom: 1.5rem; }
.eyebrow {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: #9a9a9a;
}
.eyebrow.small { font-size: .78rem; }
.section h2,
.panel h3 {
  margin: .55rem 0 0;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
}
.section-head p,
.panel > p,
.panel h3 + p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.cards {
  display: grid;
  gap: 1rem;
}
.cards-3 { grid-template-columns: 1fr; }
.cards-2 { grid-template-columns: 1fr; }
.card,
.panel {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: var(--radius-xl);
}
.card {
  padding: 1.4rem;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background: rgba(255,255,255,.07);
}
.panel { padding: 1.5rem; }
.panel-soft { background: linear-gradient(to bottom, rgba(255,255,255,.08), rgba(255,255,255,.03)); }
.panel-dark { background: var(--panel-dark); }
.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  border-radius: 1rem;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}
.card h3,
.panel h3,
.card h4,
.material-text h4 { margin: 0; }
.card p,
.material-text p,
.compact-card p,
.project-card p { margin: .75rem 0 0; color: var(--muted); line-height: 1.75; }

.materials-grid,
.two-col,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}
.panel-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.tag {
  padding: .65rem .9rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(0,0,0,.3);
  color: var(--muted);
  font-size: .92rem;
}
.material-list {
  display: grid;
  gap: 1rem;
}
.material-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(0,0,0,.2);
}
.material-meta { text-align: left; }
.material-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: #8b8b8b;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .75rem;
}
.badges span {
  padding: .42rem .8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: #e8e8e8;
  font-size: .92rem;
}
.compact-card { padding: 1.2rem; }
.material-cards { gap: 1rem; }

.steps {
  display: grid;
  gap: 1rem;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: 1.5rem;
  padding: 1.2rem;
}
.step-num {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: #fff;
  color: #000;
  font-weight: 700;
}
.benefits-panel h3 { margin-bottom: 1.25rem; }
.benefits-list {
  display: grid;
  gap: .9rem;
}
.benefits-list div {
  border: 1px solid var(--line);
  background: rgba(0,0,0,.2);
  border-radius: 1rem;
  padding: 1rem;
  color: #e2e2e2;
}

.project-card { display: block; }
.project-url {
  margin-top: .25rem;
  color: #9a9a9a;
  font-size: .95rem;
}
.icon-project svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}
.icon-project .svg-fill { fill: #fff; stroke: none; }

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.contact-label {
  color: #8f8f8f;
  font-size: .92rem;
}
.contact-value { margin-top: .25rem; color: #e6e6e6; }
.contact-value.break { word-break: break-all; }
.contact-form {
  display: grid;
  gap: 1.25rem;
}
.form-grid {
  display: grid;
  gap: 1.25rem;
}
label {
  display: block;
  margin-bottom: .55rem;
  color: #d0d0d0;
  font-size: .92rem;
}
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.05);
  color: #fff;
  padding: .9rem 1rem;
  outline: none;
}
input::placeholder,
textarea::placeholder { color: #7a7a7a; }
input:focus,
textarea:focus { border-color: rgba(255,255,255,.3); }
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.btn-full-mobile { width: 100%; }

.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 2rem 0;
  color: #8d8d8d;
  font-size: .95rem;
}

@keyframes heroLaserSweep {
  0% { transform: scaleX(0.9); opacity: 0; }
  15% { opacity: 0.9; }
  50% { opacity: 1; }
  85% { opacity: 0.8; }
  100% { transform: scaleX(1.03); opacity: 0; }
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.18; transform: scale(0.92); }
  50% { opacity: 0.72; transform: scale(1.08); }
}
@keyframes heroSparkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes heroFadeLaser {
  0%, 46% { opacity: 1; }
  54%, 100% { opacity: 0; }
}
@keyframes heroFadePrint {
  0%, 46% { opacity: 0; }
  54%, 100% { opacity: 1; }
}
@keyframes nozzleMove {
  0% { transform: translateX(-18px); }
  50% { transform: translateX(18px); }
  100% { transform: translateX(-18px); }
}
@keyframes printLayerScan {
  0% { width: 14%; opacity: 0.25; }
  50% { width: 54%; opacity: 0.9; }
  100% { width: 14%; opacity: 0.25; }
}
@keyframes printReveal {
  0%, 20% { clip-path: inset(100% 0 0 0); opacity: 0.2; }
  60% { clip-path: inset(42% 0 0 0); opacity: 0.75; }
  100% { clip-path: inset(0 0 0 0); opacity: 1; }
}
@keyframes ambientShift {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.18; }
  50% { transform: scale(1.08) translateY(-8px); opacity: 0.4; }
}

@media (min-width: 640px) {
  .container { width: min(var(--container), calc(100% - 3rem)); }
  .hero-content { padding: 6rem 0 5rem; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .desktop-cta { display: inline-flex; }
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 800px; }
  .contact-grid { grid-template-columns: .95fr 1.05fr; }
}

@media (min-width: 1024px) {
  .desktop-nav { display: flex; }
  .menu-toggle,
  .mobile-menu { display: none !important; }
  .materials-grid,
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1.1fr .9fr; }
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .material-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .material-text { width: 65%; }
  .material-meta {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
  .badges { justify-content: flex-end; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 639px) {
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding-top: 4.4rem;
    padding-bottom: 3.5rem;
  }
  .print-frame,
  .laser-head,
  .laser-beam,
  .laser-beam-glow,
  .laser-hit,
  .laser-hit-glow,
  .material-block,
  .ambient,
  .laser-phase,
  .print-phase {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
