/* =========================
   Universe & Humanity — shared/styles.css (CLEAN)
   Only ONE system layer.
   ========================= */

/* ---------- Reset ---------- */
*{ margin:0; padding:0; box-sizing:border-box; }
html,body{ height:100%; }
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:#000;
  color:#fff;
  overflow-x:hidden;
}
a{ color:inherit; text-decoration:none; }

/* ---------- Layout helpers ---------- */
:root{
  --line: rgba(255,255,255,0.10);
  --muted: rgba(255,255,255,0.72);
  --muted2: rgba(255,255,255,0.55);
  --panel: rgba(0,0,0,0.35);
  --gold: rgba(255,204,51,0.95);
}

/* =========================
   NAV (single source of truth)
   ========================= */
nav{
  position:fixed;
  top:0; left:0;
  width:100%;
  padding: 10px 40px;
  display:flex;
  align-items:center;
  gap:50px;
  z-index:5000;
  background: rgba(0,0,0,0.80);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* brand */
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
}
.brand-mark{
  width:34px; height:34px;
  display:block;
  object-fit:contain;
}
.brand-title{
  font-size:18px;
  font-weight:900;
  letter-spacing:.5px;
  text-transform:uppercase;
  color: rgba(255,255,255,0.92);
  font-family:"D-DIN-Bold","Arial Black",sans-serif;
}

/* menu */
.nav-menu{
  display:flex;
  gap:35px;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-family:"D-DIN-Bold", Arial, sans-serif;
}
.nav-menu a,
.nav-menu .nav-dropdown > span{
  color: rgba(255,255,255,0.85);
  display:inline-flex;
  align-items:center;
  gap:6px;
  position:relative;
  cursor:pointer;
  transition: color .2s ease;
}
.nav-menu a:hover,
.nav-menu .nav-dropdown > span:hover{
  color:#fff;
}

/* dropdown */
.nav-dropdown{ position:relative; display:inline-flex; align-items:center; }
.nav-dropdown-content{
  display:none;
  position:absolute;
  top:120%;
  left:0;
  min-width:240px;
  padding:14px 14px 12px;
  background: rgba(0,0,0,0.82);
  border:1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border-radius:12px;
  z-index:6000;
}
.nav-dropdown:hover .nav-dropdown-content{ display:block; }
.nav-dropdown-title{
  font-size:11px;
  letter-spacing:1px;
  text-transform:uppercase;
  color: rgba(255,255,255,0.45);
  margin:6px 6px 10px;
  font-weight:600;
}
.nav-dropdown-content a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color: rgba(255,255,255,0.78);
  font-size:12px;
  transition: background .2s ease, color .2s ease;
}
.nav-dropdown-content a:hover{
  background: rgba(255,255,255,0.06);
  color:#fff;
}
.nav-divider{ height:1px; background: rgba(255,255,255,0.10); margin:10px 6px; }

/* right */
.nav-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:20px;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-weight:600;
}
.lang-switch{
  display:flex;
  border:1px solid rgba(255,255,255,0.30);
  user-select:none;
}
.lang-switch span{
  padding:6px 14px;
  color: rgba(255,255,255,0.80);
  transition: all .2s ease;
  cursor:pointer;
}
.lang-switch span:hover{ background: rgba(255,255,255,0.10); color:#fff; }
.lang-switch span.active{ background: rgba(255,255,255,0.15); color:#fff; }

/* 给固定 nav 让位 */
.page-offset{ padding-top:64px; }

/* =========================
   HERO
   ========================= */
.hero{
  position:relative;
  height:100vh;
  display:flex;
  align-items:center;
  padding: 0 40px;
  overflow:hidden;
}

/* galaxy sphere */
.galaxy-sphere{
  position:absolute;
  top:42%;
  right:8%;
  transform: translateY(-50%);
  width:700px;
  height:700px;
  border-radius:50%;
  overflow:hidden;
  z-index:1;
  pointer-events:none;
  box-shadow:
    0 0 120px rgba(100,150,255,0.30),
    0 0 80px rgba(200,180,255,0.20),
    inset 0 0 100px rgba(0,0,0,0.20);
}
.galaxy-sphere::before{
  content:'';
  position:absolute;
  top:-10%; left:-10%; right:-10%; bottom:-10%;
  background: radial-gradient(circle at center,
    rgba(150,180,255,0.20) 0%,
    rgba(180,150,255,0.10) 30%,
    rgba(100,150,255,0.05) 50%,
    transparent 70%);
  border-radius:50%;
  z-index:0;
}
.galaxy-sphere video{
  position:relative;
  z-index:1;
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  opacity:0.95;
  filter: blur(0.6px) brightness(0.85) contrast(1.05);
  -webkit-mask-image: radial-gradient(circle at center,
    rgba(0,0,0,1) 58%,
    rgba(0,0,0,0.85) 68%,
    rgba(0,0,0,0.4) 78%,
    rgba(0,0,0,0) 88%);
          mask-image: radial-gradient(circle at center,
    rgba(0,0,0,1) 58%,
    rgba(0,0,0,0.85) 68%,
    rgba(0,0,0,0.4) 78%,
    rgba(0,0,0,0) 88%);
}

/* hero text */
.hero-content{
  position:relative;
  max-width:720px;
  z-index:10;
  padding-left:240px;
}
.hero h1{
  font-size:52px;
  font-weight:600;
  line-height:1.1;
  margin-bottom:25px;
  letter-spacing:-0.5px;
  color: rgba(255,255,255,0.95);
  white-space:nowrap;
}
.hero p{
  font-size:15px;
  line-height:1.8;
  font-weight:300;
  margin-bottom:10px;
  color: rgba(255,255,255,0.75);
  max-width:620px;
}
.hero-button{
  display:inline-block;
  padding:14px 40px;
  border:1px solid rgba(255,255,255,0.20);
  font-size:12px;
  font-weight:500;
  letter-spacing:2px;
  text-transform:uppercase;
  color: rgba(255,255,255,0.60);
  transition: all .3s ease;
  margin-top:26px;
}
.hero-button:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.40);
  color: rgba(255,255,255,0.90);
}

/* =========================
   SCIENTISTS ticker
   ========================= */
.scientists-section{
  position:absolute;
  bottom:5px;
  left:0;
  width:100%;
  padding:15px 0;
  overflow:hidden;
  z-index:10;
}
.scientists-scroll{
  display:flex;
  width:max-content;
  animation: u_scroll 260s linear infinite;
  will-change: transform;
}
.scientists-scroll:hover{ animation-play-state: paused; }

@keyframes u_scroll{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

.scientist-card{
  flex:0 0 auto;
  width:280px;
  text-align:center;
  padding:20px;
  margin:0 15px;
  transition: transform .3s ease;
}
.scientist-card:hover{ transform: translateY(-5px); }
.scientist-avatar{
  width:80px; height:80px;
  margin:0 auto 15px;
  border-radius:50%;
  background: radial-gradient(circle,
    rgba(255,255,255,0.25) 0%,
    rgba(255,255,255,0.12) 40%,
    rgba(255,255,255,0.04) 70%,
    transparent 100%);
  box-shadow: 0 0 40px rgba(255,255,255,0.15);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  font-weight:300;
}
.scientist-name{ font-size:16px; font-weight:600; margin-botto

/* =========================
   FOOTER — final layout
   ========================= */
.site-footer{
  padding: 64px 0 36px;
  background: rgba(0,0,0,0.92);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner{
  width: min(1200px, calc(100% - 120px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 12px;
}
.footer-brand img{ width: 34px; height: 34px; object-fit: contain; }

.footer-title{
  font-weight: 900;
  letter-spacing: .7px;
  text-transform: uppercase;
  font-family: "D-DIN-Bold","Arial Black",sans-serif;
  color: rgba(255,255,255,0.62);
}

.footer-desc{
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
}

.footer-col h4{
  margin: 4px 0 14px;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.46);
  font-weight: 800;
}

.footer-links{
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a{
  font-size: 12.5px;
  color: rgba(255,255,255,0.58);
  text-decoration:none;
}
.footer-links a:hover{ color: rgba(255,255,255,0.76); }

.footer-badge{
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}
.footer-badge b{
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.46);
}
.footer-badge span{
  font-size: 12.5px;
  color: rgba(255,255,255,0.58);
}

.footer-meta{
  margin-top: 14px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.46);
}
.footer-meta a{
  color: rgba(255,255,255,0.58);
  text-decoration:none;
}
.footer-meta a:hover{ color: rgba(255,255,255,0.76); }

.footer-bottom{
  width: min(1200px, calc(100% - 120px));
  margin: 26px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display:flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.40);
  font-size: 12px;
}
.footer-bottom a{
  color: rgba(255,255,255,0.55);
  text-decoration:none;
}
.footer-bottom a:hover{ color: rgba(255,255,255,0.75); }

@media (max-width: 1100px){
  .footer-inner{
    width: min(1100px, calc(100% - 40px));
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom{
    width: min(1100px, calc(100% - 40px));
    flex-direction: column;
    align-items: flex-start;
  }
}
