@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Noto+Sans+SC:wght@300;400;500&family=Space+Mono:wght@400;700&display=swap');

:root { --ink:#f5f8f7; --muted:#8f9b9b; --cyan:#79e6dc; --green:#9acb65; --line:rgba(181,237,232,.16); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; background:#020407; }
body { margin:0; color:var(--ink); background:#020407; font-family:"DM Sans","Noto Sans SC",sans-serif; }
a { color:inherit; }
.site-shell { min-height:100svh; position:relative; isolation:isolate; overflow:hidden; display:grid; grid-template-rows:auto 1fr auto; background:#020407; }
.site-shell::before { content:""; position:absolute; inset:0; z-index:-2; pointer-events:none; background:linear-gradient(90deg,rgba(2,4,7,.98) 0%,rgba(2,4,7,.8) 34%,rgba(2,4,7,.18) 66%,rgba(2,4,7,.42) 100%),radial-gradient(circle at 68% 54%,rgba(73,168,170,.12),transparent 34%); }
.site-shell::after { content:""; position:absolute; inset:0; z-index:4; pointer-events:none; opacity:.12; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px); background-size:80px 80px; mask-image:linear-gradient(to bottom,black,transparent 70%); }
.space-art { position:absolute; inset:-3%; z-index:-3; background:url('/hero-space.png') 62% 50%/cover no-repeat; transform:scale(1.03); animation:space-drift 20s ease-in-out infinite alternate; }
.particles { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.orbit { position:absolute; z-index:-1; border:1px solid rgba(113,225,221,.18); border-radius:50%; pointer-events:none; transform:rotate(-16deg); box-shadow:0 0 30px rgba(89,193,203,.05); }
.orbit::after { content:""; position:absolute; width:7px; height:7px; border-radius:50%; background:var(--cyan); box-shadow:0 0 18px var(--cyan); animation:orbital-pulse 2.8s ease-in-out infinite; }
.orbit-one { width:58vw; height:20vw; right:-4vw; top:42%; }
.orbit-one::after { left:16%; top:3%; }
.orbit-two { width:40vw; height:13vw; right:4vw; top:53%; opacity:.58; }
.orbit-two::after { right:12%; bottom:5%; animation-delay:-1.2s; }
@keyframes space-drift { to { transform:scale(1.075) translate3d(-.7%,.5%,0); } }
@keyframes orbital-pulse { 50% { opacity:.25; transform:scale(.45); } }
.nav,.hero,.footer { width:min(1420px,calc(100% - 96px)); margin-inline:auto; }
.nav { padding:28px 0; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); position:relative; z-index:6; }
.wordmark { display:flex; gap:12px; align-items:center; text-decoration:none; }
.mark { width:40px; height:40px; display:grid; place-items:center; border:1px solid rgba(121,230,220,.55); border-radius:10px; color:var(--cyan); font-family:"Space Mono",monospace; font-size:12px; letter-spacing:-.1em; box-shadow:inset 0 0 18px rgba(121,230,220,.07),0 0 24px rgba(121,230,220,.05); }
.mark span { font-size:8px; margin:0 1px; opacity:.65; }
.wordmark-text { display:grid; gap:2px; }
.wordmark-text strong { font-size:14px; letter-spacing:.04em; }
.wordmark-text small,.kicker,.signal small { color:var(--cyan); font:400 8px/1.4 "Space Mono",monospace; letter-spacing:.2em; }
.nav-contact { color:#b5c0bf; font-size:11px; letter-spacing:.08em; text-decoration:none; }
.nav-contact span { color:#657170; margin-left:4px; }
.nav-contact b { color:var(--cyan); margin-left:10px; }
.hero { margin-block:auto; padding:clamp(65px,9vh,125px) 0 80px; position:relative; z-index:3; }
.eyebrow { display:flex; align-items:center; gap:12px; color:var(--cyan); font-size:11px; letter-spacing:.16em; margin-bottom:10px; }
.eyebrow span { width:34px; height:1px; background:currentColor; box-shadow:0 0 8px currentColor; }
.kicker { margin:0 0 32px 46px; color:#657978; }
h1 { margin:0; width:max-content; max-width:100%; font-family:"Noto Sans SC",sans-serif; font-size:clamp(3.6rem,7.6vw,7.8rem); font-weight:300; letter-spacing:-.075em; line-height:.95; color:transparent; background:linear-gradient(145deg,rgba(255,255,255,.92) 8%,rgba(190,242,237,.5) 44%,rgba(255,255,255,.18) 66%,rgba(156,222,218,.62)); -webkit-background-clip:text; background-clip:text; -webkit-text-stroke:1px rgba(230,255,252,.22); filter:drop-shadow(0 3px 28px rgba(92,218,209,.13)) drop-shadow(0 2px 12px #000); }
h1 span { display:block; margin-top:15px; color:transparent; background:linear-gradient(120deg,rgba(255,255,255,.72),rgba(150,231,225,.23) 52%,rgba(255,255,255,.54)); -webkit-background-clip:text; background-clip:text; -webkit-text-stroke:1px rgba(220,250,247,.28); font:400 clamp(2.5rem,5.3vw,5.7rem)/.88 "DM Sans",sans-serif; letter-spacing:-.06em; }
.intro-cn { margin:35px 0 4px; color:#d6dfdd; font-size:clamp(.98rem,1.3vw,1.15rem); letter-spacing:.05em; }
.intro-en { margin:0 0 30px; color:var(--muted); font-size:13px; }
.actions { display:flex; flex-wrap:wrap; gap:10px; }
.button { min-width:158px; min-height:56px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; gap:26px; border:1px solid var(--line); background:rgba(3,8,11,.56); backdrop-filter:blur(14px); border-radius:4px; text-decoration:none; font-size:12px; transition:.25s ease; }
.button span { display:grid; gap:2px; }
.button small { color:#788382; font-size:9px; text-transform:uppercase; letter-spacing:.12em; }
.button b { color:var(--cyan); font-weight:400; }
.button:hover { transform:translateY(-3px); border-color:rgba(121,230,220,.55); background:rgba(16,34,35,.72); box-shadow:0 10px 35px rgba(53,192,183,.09); }
.button-primary { color:#06100f; background:var(--cyan); border-color:var(--cyan); }
.button-primary small,.button-primary b { color:#285b57; }
.button-primary:hover { background:#a2f7ee; }
.signal { position:absolute; right:max(48px,calc((100vw - 1420px)/2)); bottom:94px; z-index:3; max-width:340px; display:flex; gap:13px; align-items:flex-start; padding:14px 16px; border-left:1px solid rgba(121,230,220,.3); background:linear-gradient(90deg,rgba(2,8,10,.55),transparent); }
.signal .pulse { width:5px; height:5px; margin-top:3px; border-radius:50%; background:var(--green); box-shadow:0 0 14px var(--green); animation:orbital-pulse 2s infinite; }
.signal p { margin:5px 0 0; color:#9ba7a5; font-size:11px; line-height:1.65; }
.signal em { color:#667271; font-style:normal; }
.eyebrow,.intro-cn,.signal p { text-shadow:0 1px 10px rgba(2,4,7,.95),0 0 20px rgba(121,230,220,.09); }
.firefly-cursor { position:fixed; left:0; top:0; z-index:50; width:28px; height:28px; pointer-events:none; opacity:0; transform:translate3d(-50%,-50%,0); transition:opacity .25s ease; mix-blend-mode:screen; }
.firefly-cursor::before,.firefly-cursor::after,.firefly-cursor span { content:""; position:absolute; inset:50% auto auto 50%; border-radius:50%; transform:translate(-50%,-50%); }
.firefly-cursor::before { width:7px; height:7px; background:#efffa9; box-shadow:0 0 7px #eaff86,0 0 16px #a9ff75,0 0 30px rgba(111,255,173,.82),0 0 48px rgba(81,233,207,.5); animation:firefly-blink 1.35s ease-in-out infinite; }
.firefly-cursor::after { width:23px; height:23px; border:1px solid rgba(200,255,170,.24); animation:firefly-ring 1.9s ease-out infinite; }
.firefly-cursor span { width:2px; height:2px; background:white; box-shadow:-9px 7px 0 rgba(180,255,143,.55),8px -6px 0 rgba(129,242,215,.5),11px 8px 0 rgba(255,255,190,.35); animation:firefly-specks 2.4s linear infinite; }
.firefly-cursor.is-visible { opacity:1; }
.cursor-spark { position:fixed; z-index:49; width:3px; height:3px; border-radius:50%; pointer-events:none; background:#eaff9e; box-shadow:0 0 7px #adff84,0 0 12px rgba(105,255,198,.65); animation:spark-fade .8s ease-out forwards; }
@keyframes firefly-blink { 0%,100% { opacity:.38; transform:translate(-50%,-50%) scale(.72); } 18% { opacity:1; transform:translate(-50%,-50%) scale(1.3); } 42% { opacity:.58; transform:translate(-50%,-50%) scale(.9); } 67% { opacity:.95; transform:translate(-50%,-50%) scale(1.12); } }
@keyframes firefly-ring { from { opacity:.65; transform:translate(-50%,-50%) scale(.35); } to { opacity:0; transform:translate(-50%,-50%) scale(1.45); } }
@keyframes firefly-specks { to { transform:translate(-50%,-50%) rotate(360deg); } }
@keyframes spark-fade { to { opacity:0; transform:translate(var(--drift-x),var(--drift-y)) scale(.15); } }
.footer { min-height:68px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; color:#596563; font:400 9px/1.5 "Space Mono",monospace; letter-spacing:.11em; position:relative; z-index:5; }
.footer p:first-child { color:#899493; }.footer p span { color:#4f5a59; margin-left:8px; }
@media (max-width:900px) {
  .site-shell::before { background:linear-gradient(90deg,rgba(2,4,7,.98),rgba(2,4,7,.7) 55%,rgba(2,4,7,.28)); }
  .space-art { background-position:58% center; opacity:.74; }
  .signal { display:none; }
}
@media (max-width:680px) {
  .nav,.hero,.footer { width:calc(100% - 38px); }
  .nav { padding:18px 0; }
  .nav-contact span { display:none; }
  .space-art { inset:0; background-size:auto 72%; background-position:60% 16%; opacity:.62; animation-duration:15s; }
  .site-shell::before { background:linear-gradient(to bottom,rgba(2,4,7,.2),rgba(2,4,7,.72) 36%,#020407 65%); }
  .hero { padding:34vh 0 48px; align-self:end; }
  .eyebrow { font-size:9px; margin-bottom:7px; }
  .kicker { margin:0 0 20px 46px; font-size:7px; }
  h1 { font-size:clamp(3.25rem,16vw,5rem); }
  h1 span { font-size:clamp(2.25rem,12vw,3.7rem); }
  .intro-cn { margin-top:25px; font-size:14px; }
  .intro-en { max-width:330px; font-size:11px; line-height:1.6; }
  .actions { display:grid; grid-template-columns:1fr 1fr; }
  .button { min-width:0; min-height:52px; gap:10px; }
  .button-primary { grid-column:1/-1; }
  .footer { padding:16px 0; gap:18px; }
  .footer p { margin:0; max-width:180px; }.footer p span { display:block; margin:2px 0 0; }
  .orbit { opacity:.45; }
}
@media (prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; animation:none!important; } }
@media (hover:hover) and (pointer:fine) {
  body, a, button { cursor:none; }
}
@media (hover:none),(pointer:coarse) {
  .firefly-cursor,.cursor-spark { display:none!important; }
}
