*{box-sizing:border-box}
:root{
  --text:#f6f8ff;
  --muted:#aab4cf;
  --line:rgba(255,255,255,.12);
}
html{scroll-behavior:smooth}
body{
  margin:0;min-height:100vh;color:var(--text);
  font-family:Inter,system-ui,sans-serif;background:#050815;overflow-x:hidden;
}
a{color:inherit;text-decoration:none}

.bg-video-wrap{position:fixed;inset:0;overflow:hidden;z-index:-1;background:#040713}
.bg-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  filter:saturate(1.05) brightness(.55) contrast(1.04);
  transform:scale(1.08);
}
.bg-overlay{
  position:absolute;inset:0;
  background:
    linear-gradient(180deg,rgba(3,6,18,.44),rgba(3,6,18,.72)),
    radial-gradient(circle at 20% 80%, rgba(0,163,255,.12), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(110,74,255,.12), transparent 24%);
}
.bg-glow{
  position:absolute;border-radius:50%;filter:blur(140px);opacity:.18;pointer-events:none;
}
.glow-1{width:340px;height:340px;right:-80px;top:-60px;background:#435dff}
.glow-2{width:320px;height:320px;left:-110px;bottom:-90px;background:#00a8ff}

.bg-shooting{
  position:absolute;width:180px;height:2px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.9),rgba(255,255,255,0));
  border-radius:999px;opacity:.28;transform:rotate(-24deg);
  filter:blur(.3px);
  animation:shoot 10s linear infinite;
}
.shooting-1{top:16%;left:-12%;animation-delay:1s}
.shooting-2{top:42%;left:-18%;animation-delay:6s}
@keyframes shoot{
  0%{transform:translateX(0) translateY(0) rotate(-24deg);opacity:0}
  10%{opacity:.34}
  50%{opacity:.18}
  100%{transform:translateX(1500px) translateY(420px) rotate(-24deg);opacity:0}
}

.wrap{width:min(1120px,calc(100% - 28px));margin:auto;padding:22px 0 34px}
.brandbar{display:flex;align-items:center;gap:15px;margin-bottom:16px}
.brand-lockup{display:flex;align-items:center;gap:15px}
.logo-box{
  width:66px;height:66px;display:grid;place-items:center;border-radius:21px;
  background:linear-gradient(145deg,rgba(255,255,255,.97),rgba(225,232,249,.93));
  border:1px solid rgba(255,255,255,.70);
  box-shadow:0 18px 46px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.85);
  backdrop-filter:blur(14px);
  flex:0 0 66px;
  overflow:hidden;
}
.logo-box img{
  width:72%;
  height:72%;
  object-fit:contain;
  display:block;
  filter:drop-shadow(0 2px 8px rgba(38,24,105,.16));
}
.micro{font-size:10px;font-weight:700;letter-spacing:.2em;color:#bdc8e7}
.brandname{font-size:clamp(34px,5vw,54px);font-weight:800;letter-spacing:-.06em;line-height:.95;margin:4px 0}
.handle{color:var(--muted);font-size:14px}

.glass{
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.028));
  border:1px solid var(--line);backdrop-filter:blur(20px);
  box-shadow:0 28px 74px rgba(0,0,0,.34)
}

.hero{display:block}
.hero-copy{min-height:340px;border-radius:34px;overflow:hidden}
.hero-copy{padding:34px;display:flex;flex-direction:column;justify-content:center}
.hero-label{
  align-self:flex-start;border:1px solid rgba(255,255,255,.11);border-radius:999px;
  padding:8px 11px;font-size:10px;font-weight:700;letter-spacing:.14em;color:#d8e2ff;
}
.hero h1{font-size:clamp(48px,7.6vw,86px);line-height:1;letter-spacing:-.07em;margin:18px 0 18px}
.hero h1 span{
  background:linear-gradient(90deg,#fff,#cdd9ff 52%,#91b5ff);
  -webkit-background-clip:text;background-clip:text;color:transparent
}
.hero-copy p{max-width:520px;margin:0;color:#b9c3df;font-size:17px;line-height:1.72}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.actions a,.collab-actions a{
  min-height:50px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 18px;border-radius:15px;font-size:14px;font-weight:700;
  transition:.2s transform,.2s background
}
.actions a:hover,.collab-actions a:hover{transform:translateY(-2px)}
.primary{background:linear-gradient(145deg,#fff,#d8e3ff);color:#081020}
.secondary{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.12)}

.hero-visual{position:relative;display:grid;place-items:center}
.hero-visual-inner{width:100%;height:100%;display:grid;place-items:center;padding:28px}
.printer-shell{
  width:min(100%,440px);border-radius:28px;overflow:hidden;
  border:1px solid rgba(255,255,255,.12);background:rgba(7,12,28,.72);
  box-shadow:0 24px 68px rgba(0,0,0,.34)
}
.printer-header,.printer-footer{
  min-height:48px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;
  color:#b7c5ef;font-size:10px;font-weight:700;letter-spacing:.14em
}
.printer-header span:last-child{color:#88a7ff}
.printer-stage{
  position:relative;height:310px;overflow:hidden;
  border-top:1px solid rgba(255,255,255,.07);border-bottom:1px solid rgba(255,255,255,.07);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px),
    radial-gradient(circle at 50% 55%,rgba(71,99,255,.16),transparent 35%),
    #060b18;
  background-size:24px 24px,24px 24px,auto,auto
}
.gantry{
  position:absolute;top:55px;left:8%;right:8%;height:9px;border-radius:6px;
  background:linear-gradient(90deg,#26314a,#657292 50%,#26314a)
}
.toolhead{
  position:absolute;top:39px;left:17%;width:84px;height:50px;border-radius:15px;
  background:linear-gradient(145deg,#dbe6ff,#687ba8);box-shadow:0 12px 30px rgba(0,0,0,.3);
  animation:tool 4.2s ease-in-out infinite alternate
}
.nozzle{
  position:absolute;left:50%;bottom:-33px;transform:translateX(-50%);
  width:13px;height:37px;background:linear-gradient(#c7d5ef,#6c7b9b);clip-path:polygon(20% 0,80% 0,65% 100%,35% 100%)
}
.bed{
  position:absolute;left:12%;right:12%;bottom:42px;height:18px;border-radius:8px;
  background:linear-gradient(#45506a,#171d2c);box-shadow:0 10px 28px rgba(0,0,0,.35)
}
.print-model{
  position:absolute;left:50%;bottom:60px;transform:translateX(-50%);
  width:126px;height:128px;display:flex;flex-direction:column-reverse;justify-content:flex-start
}
.print-model i{height:12px;margin-top:4px;border-radius:8px;background:linear-gradient(90deg,#7ea0ff,#e4ebff,#7ea0ff);box-shadow:0 0 22px rgba(104,145,255,.12)}
.print-model i:nth-child(1){width:100%}.print-model i:nth-child(2){width:92%;margin-left:4%}.print-model i:nth-child(3){width:84%;margin-left:8%}.print-model i:nth-child(4){width:76%;margin-left:12%}.print-model i:nth-child(5){width:68%;margin-left:16%}.print-model i:nth-child(6){width:60%;margin-left:20%}.print-model i:nth-child(7){width:52%;margin-left:24%}
.light-scan{
  position:absolute;left:0;right:0;height:90px;top:-100px;
  background:linear-gradient(180deg,transparent,rgba(96,137,255,.16),transparent);
  animation:scan 4.6s linear infinite
}
@keyframes tool{from{left:15%}to{left:66%}}
@keyframes scan{to{transform:translateY(500px)}}

.links{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.link-card{
  min-height:190px;border-radius:26px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;
  transition:.2s transform,.2s border-color,.2s background
}
.link-card:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.2);background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.035))}
.link-top{display:flex;align-items:flex-start;justify-content:space-between}
.icon{
  width:44px;height:44px;border-radius:14px;display:grid;place-items:center;
  background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09)
}
.arrow{color:#92a2ca}
.link-card h2{margin:0 0 8px;font-size:28px;letter-spacing:-.05em}
.link-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}

.collab{
  margin-top:14px;border-radius:30px;padding:26px;display:flex;justify-content:space-between;align-items:center;gap:24px
}
.collab h2{margin:9px 0 9px;font-size:clamp(28px,4vw,42px);letter-spacing:-.055em}
.collab p{margin:0;color:var(--muted);max-width:620px;font-size:14px;line-height:1.65}
.collab-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.collab-actions a{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.055)}
.collab-actions a:first-child{background:linear-gradient(145deg,#fff,#d8e3ff);color:#081020}

footer{display:flex;justify-content:space-between;gap:14px;color:#7f8baa;font-size:11px;padding:22px 4px 0}

@media(max-width:920px){
  .hero-copy{min-height:300px}
  .links{grid-template-columns:repeat(2,1fr)}
  .collab{align-items:flex-start;flex-direction:column}
  .collab-actions{justify-content:flex-start}
}
@media(max-width:600px){
  .hero h1{line-height:1.03;letter-spacing:-.06em}
  .wrap{width:min(100% - 18px,1120px);padding-top:16px}
  .logo-box{width:58px;height:58px;flex-basis:58px;border-radius:18px}.logo-box img{width:72%;height:72%}
  .micro{font-size:8px;letter-spacing:.17em}
  .brandname{font-size:38px}
  .hero-copy{padding:22px;min-height:auto}
  .hero-copy p{font-size:15px}
  .printer-stage{height:250px}
  .links{grid-template-columns:1fr}
  .link-card{min-height:155px}
  footer{flex-direction:column;gap:5px}
}


@media(max-width:768px){
  .bg-video-wrap{
    transform:none !important;
    background:
      linear-gradient(180deg,rgba(3,6,18,.48),rgba(3,6,18,.76)),
      url("assets/space-mobile.jpg") center center / cover no-repeat;
  }
  .bg-video{
    display:none !important;
  }
  .bg-overlay{
    background:
      radial-gradient(circle at 20% 80%, rgba(0,163,255,.10), transparent 24%),
      radial-gradient(circle at 85% 15%, rgba(110,74,255,.10), transparent 24%),
      linear-gradient(180deg,rgba(3,6,18,.20),rgba(3,6,18,.44));
  }
}

/* V7.6 — Mobile printer alignment fix */
@media (max-width: 600px) {
  .printer-stage {
    height: 250px;
  }

  .gantry {
    top: 42px;
  }

  .toolhead {
    top: 26px;
    width: 74px;
    height: 44px;
    animation: toolMobile 4.2s ease-in-out infinite alternate;
  }

  .nozzle {
    height: 30px;
    bottom: -26px;
  }

  .print-model {
    bottom: 50px;
    width: 112px;
    height: 112px;
  }

  .bed {
    bottom: 34px;
    height: 16px;
  }

  @keyframes toolMobile {
    from { left: 15%; }
    to   { left: 64%; }
  }
}
