/* ============================================================
   云景未来 YUNJING FUTURE — AI Data Center Colocation
   Static bilingual marketing site
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg: #060910;
  --bg-2: #0a0f1c;
  --surface: #0e1524;
  --surface-2: #121b2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8edf7;
  --muted: #97a3b8;
  --muted-2: #6b7890;
  --brand-1: #22d3ee;
  --brand-2: #3b82f6;
  --green: #34d399;
  --grad: linear-gradient(135deg, #22d3ee, #3b82f6);
  --grad-green: linear-gradient(135deg, #34d399, #22d3ee);
  --glow: 0 0 0 1px rgba(34, 211, 238, .25), 0 18px 50px -12px rgba(34, 211, 238, .35);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --radius: 16px;
  --radius-lg: 22px;
  --maxw: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans SC", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }

/* ---------- Bilingual visibility ---------- */
html[lang="en"] [data-lang="zh"] { display: none; }
html[lang="zh"] [data-lang="en"] { display: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Section heads ---------- */
.sechead { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-1); margin-bottom: 14px;
}
.sechead h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; letter-spacing: -.01em; }
.sechead p { margin-top: 16px; color: var(--muted); font-size: clamp(15px, 1.6vw, 17px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 650; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); color: #04121c; box-shadow: 0 12px 30px -10px rgba(34, 211, 238, .55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(34, 211, 238, .7); }
.btn--ghost { border: 1px solid var(--border-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand-1); color: var(--brand-1); transform: translateY(-2px); }
.btn--ghost svg { transition: transform .25s var(--ease); }
.btn--ghost:hover svg { transform: translateX(4px); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(8, 12, 22, .8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark svg { border-radius: 11px; box-shadow: 0 8px 22px -8px rgba(34, 211, 238, .6); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-size: 18px; letter-spacing: .02em; }
.brand__text em { font-style: normal; font-size: 10px; letter-spacing: .22em; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a {
  padding: 9px 14px; border-radius: 999px; font-size: 15px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav__cta { color: #04121c !important; background: var(--grad); font-weight: 650; }
.nav__cta:hover { background: var(--grad) !important; filter: brightness(1.08); }

.nav__tools { display: flex; align-items: center; gap: 10px; }
.langToggle {
  width: 46px; height: 36px; border-radius: 999px; border: 1px solid var(--border-strong);
  font-size: 13px; font-weight: 700; color: var(--text); transition: border-color .2s, color .2s;
}
.langToggle:hover { border-color: var(--brand-1); color: var(--brand-1); }

.navToggle { display: none; width: 42px; height: 38px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.navToggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.navToggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navToggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navToggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb--1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(34,211,238,.5), transparent 70%); top: -120px; right: -80px; animation: float 14s var(--ease) infinite; }
.orb--2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(59,130,246,.45), transparent 70%); bottom: -140px; left: -100px; animation: float 18s var(--ease) infinite reverse; }
.orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(52,211,153,.3), transparent 70%); top: 40%; left: 50%; animation: float 16s var(--ease) infinite; }
.hero__bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
}
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px,-26px); } }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.12; letter-spacing: -.02em; margin: 22px 0 20px; font-weight: 800; }
.hero__sub { font-size: clamp(15px, 1.8vw, 18px); color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin: 32px 0 30px; flex-wrap: wrap; }

.hero__pills { display: flex; gap: 28px; flex-wrap: wrap; }
.hero__pills li { display: flex; flex-direction: column; }
.hero__pills b { font-size: clamp(22px, 3vw, 28px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__pills span { font-size: 13px; color: var(--muted); }

/* Hero visual — rack card */
.hero__visual { display: flex; justify-content: center; }
.rackcard {
  position: relative; width: 100%; max-width: 420px; padding: 26px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(20,30,52,.9), rgba(10,16,28,.9));
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.rackcard__svg { width: 100%; height: auto; }
.rack .leds rect { animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 45% { opacity: .25; } 70% { opacity: .85; } }
.netline { stroke-dashoffset: 0; animation: dash 3.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 12px; font-size: 13px; font-weight: 650;
  background: rgba(12,18,30,.92); border: 1px solid var(--border-strong);
  box-shadow: 0 12px 30px -12px rgba(0,0,0,.8); backdrop-filter: blur(6px);
}
.chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 10px var(--brand-1); }
.chip i.g { background: var(--green); box-shadow: 0 0 10px var(--green); }
.chip--a { top: 16px; left: -14px; animation: floaty 6s var(--ease) infinite; }
.chip--b { top: 44%; right: -18px; animation: floaty 7s var(--ease) infinite .8s; }
.chip--c { bottom: 22px; left: 4px; animation: floaty 6.5s var(--ease) infinite .4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; flex-wrap: wrap; }
.strip__lead { color: var(--muted); font-size: 14px; }
.strip__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.strip__tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; color: var(--text); background: rgba(255,255,255,.02); }

/* ---------- Cards ---------- */
.card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: .8; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  border-radius: 14px; background: rgba(34,211,238,.1); color: var(--brand-1); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card--svc:hover .card__icon { background: var(--grad); color: #04121c; transition: background .3s; }

/* ---------- Infrastructure ---------- */
.infra {
  padding: 28px 24px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); transition: border-color .3s, transform .3s var(--ease);
}
.infra:hover { border-color: var(--border-strong); transform: translateY(-4px); }
.infra h3 { display: flex; align-items: baseline; gap: 10px; font-size: 17px; margin-bottom: 16px; }
.infra__no { font-size: 13px; font-weight: 800; color: var(--brand-1); letter-spacing: .05em; }
.infra ul { display: grid; gap: 11px; }
.infra li { position: relative; padding-left: 22px; color: var(--muted); font-size: 14px; }
.infra li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 11px; height: 11px;
  border-radius: 3px; background: var(--grad); opacity: .9;
}

/* ---------- Stats ---------- */
.stats { padding: clamp(48px, 7vw, 80px) 0; background:
  radial-gradient(ellipse 60% 120% at 50% 0%, rgba(34,211,238,.1), transparent 60%), var(--bg-2);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(26px, 3.6vw, 40px); font-weight: 850; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- Solutions ---------- */
.solcard {
  padding: 26px 24px; border-radius: var(--radius); background: var(--surface-2);
  border: 1px solid var(--border); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.solcard:hover { transform: translateY(-5px); border-color: var(--brand-1); background: var(--surface); }
.solcard h3 { font-size: 17px; margin-bottom: 10px; }
.solcard h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 9px;
  border-radius: 50%; background: var(--grad-green); vertical-align: middle; }
.solcard p { color: var(--muted); font-size: 14px; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps li { position: relative; padding: 26px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.steps__no {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--grad); color: #04121c; font-weight: 800; margin-bottom: 14px;
}
.steps h3 { font-size: 16px; margin-bottom: 7px; }
.steps p { font-size: 13.5px; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.about h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 14px 0 18px; line-height: 1.3; }
.about__copy p { color: var(--muted); margin-bottom: 16px; font-size: 15.5px; }
.about__values { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.about__values li { flex: 1; min-width: 150px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.about__values b { display: block; font-size: 16px; margin-bottom: 4px; color: var(--brand-1); }
.about__values span { font-size: 13px; color: var(--muted); }

.about__panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px;
  border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(20,30,52,.8), rgba(10,16,28,.8));
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.about__metric { padding: 22px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--border); text-align: center; }
.about__metric b { display: block; font-size: 30px; font-weight: 850; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__metric span { font-size: 13px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(24px, 3.2vw, 36px); margin: 14px 0 16px; line-height: 1.3; }
.contact__copy > p { color: var(--muted); font-size: 15.5px; margin-bottom: 28px; }
.contact__info { display: grid; gap: 18px; }
.contact__info li { display: flex; gap: 14px; align-items: flex-start; }
.ci-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 12px; background: rgba(34,211,238,.1); color: var(--brand-1); }
.ci-ic svg { width: 22px; height: 22px; }
.contact__info b { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.contact__info a, .contact__info span span { font-size: 15.5px; color: var(--text); }
.contact__info a:hover { color: var(--brand-1); }

.contact__form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; background: var(--bg-2);
  border: 1px solid var(--border); color: var(--text); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-1); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.field textarea { resize: vertical; }
.formnote { margin-top: 14px; padding: 12px 16px; border-radius: 11px; font-size: 14px;
  color: var(--green); background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); }
.formnote.is-error { color: #fca5a5; background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.4); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 60px 24px 40px; }
.brand--footer { margin-bottom: 16px; }
.footer__brand > p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.footer__tag { color: var(--muted-2) !important; font-size: 13px !important; }
.footer__col h4 { font-size: 14px; margin-bottom: 16px; color: var(--text); }
.footer__col a, .footer__addr { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: color .2s; }
.footer__col a:hover { color: var(--brand-1); }
.footer__bar { border-top: 1px solid var(--border); }
.footer__barin { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; flex-wrap: wrap; }
.footer__barin span, .footer__barin a { font-size: 13px; color: var(--muted-2); }
.footer__barin a:hover { color: var(--brand-1); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.grid .reveal:nth-child(2) { transition-delay: .08s; }
.grid .reveal:nth-child(3) { transition-delay: .16s; }
.grid .reveal:nth-child(4) { transition-delay: .24s; }
.grid .reveal:nth-child(5) { transition-delay: .32s; }
.grid .reveal:nth-child(6) { transition-delay: .40s; }
.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }
.steps .reveal:nth-child(4) { transition-delay: .3s; }
.steps .reveal:nth-child(5) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: 2; }
  .about, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  /* Mobile nav */
  .nav__links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px 20px 24px; background: rgba(8,12,22,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform .35s var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 13px 14px; font-size: 16px; }
  .nav__cta { text-align: center; margin-top: 6px; }
  .navToggle { display: flex; }
  .nav.scrolled, .nav { background: rgba(8,12,22,.85); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .steps { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .strip__inner { flex-direction: column; align-items: flex-start; }
  .hero { padding-top: 124px; }
  .hero__pills { gap: 20px; }
  .chip--a { left: 0; }
  .chip--b { right: 0; }
}

@media (max-width: 380px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   科技感 ENHANCEMENTS — HUD / neon / data-mesh layer
   ============================================================ */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root { --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }

/* --- Technical / monospace accents --- */
.kicker, .eyebrow, .infra__no, .strip__tags li, .footer__barin, .chip b,
.stat b, .hero__pills b, .about__metric b, .steps__no { font-family: var(--mono); }
.stat b, .hero__pills b, .about__metric b { letter-spacing: -.02em; }
.kicker { display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--brand-1); box-shadow: 0 0 8px var(--brand-1); }
.sechead .kicker { justify-content: center; }
.strip__lead::before { content: "// "; color: var(--brand-1); font-family: var(--mono); }
.strip__tags li { transition: border-color .25s, color .25s, box-shadow .25s; }
.strip__tags li:hover { border-color: var(--brand-1); color: var(--brand-1); box-shadow: 0 0 16px rgba(34, 211, 238, .25); }

/* --- Hero: particle mesh + tron floor + scan sweep --- */
.hero__bg { pointer-events: none; }
.hero__bg .net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.tron {
  position: absolute; left: 50%; bottom: -1px; width: 240%; height: 340px; z-index: 0;
  transform: translateX(-50%) perspective(360px) rotateX(74deg); transform-origin: bottom center;
  background-image:
    linear-gradient(rgba(34, 211, 238, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, .35) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 80%);
  mask-image: linear-gradient(to top, #000 0%, transparent 80%);
  animation: tron 5s linear infinite; opacity: .35;
}
@keyframes tron { from { background-position: 0 0; } to { background-position: 0 64px; } }
.scan {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, .07) 50%, transparent);
  height: 38%; animation: scan 7s ease-in-out infinite;
}
@keyframes scan { 0%, 100% { transform: translateY(-10%); } 50% { transform: translateY(280%); } }
.hero__title .grad { filter: drop-shadow(0 0 26px rgba(34, 211, 238, .5)); }

/* --- Rotating conic border on feature panels --- */
.rackcard, .about__panel, .contact__form { position: relative; }
.rackcard::after, .about__panel::after, .contact__form::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a), transparent 0 60%, rgba(34, 211, 238, .9) 78%, rgba(59, 130, 246, .9) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spinborder 6s linear infinite;
}
@keyframes spinborder { to { --a: 360deg; } }

/* --- HUD corner brackets + cursor-following glow on cards --- */
.card, .infra, .solcard { --mx: 50%; --my: 50%; }
.card::after, .infra::after, .solcard::after {
  content: ""; position: absolute; inset: 11px; pointer-events: none; opacity: .14; transition: opacity .3s;
  background:
    linear-gradient(var(--brand-1) 0 0) 0 0 / 15px 1.5px no-repeat,
    linear-gradient(var(--brand-1) 0 0) 0 0 / 1.5px 15px no-repeat,
    linear-gradient(var(--brand-1) 0 0) 100% 0 / 15px 1.5px no-repeat,
    linear-gradient(var(--brand-1) 0 0) 100% 0 / 1.5px 15px no-repeat,
    linear-gradient(var(--brand-1) 0 0) 0 100% / 15px 1.5px no-repeat,
    linear-gradient(var(--brand-1) 0 0) 0 100% / 1.5px 15px no-repeat,
    linear-gradient(var(--brand-1) 0 0) 100% 100% / 15px 1.5px no-repeat,
    linear-gradient(var(--brand-1) 0 0) 100% 100% / 1.5px 15px no-repeat;
}
.card:hover::after, .infra:hover::after, .solcard:hover::after { opacity: .55; }
.card:hover, .infra:hover { background-image: radial-gradient(220px circle at var(--mx) var(--my), rgba(34, 211, 238, .14), transparent 60%); }
.solcard:hover { background-image: radial-gradient(220px circle at var(--mx) var(--my), rgba(34, 211, 238, .14), transparent 60%); }

/* --- Stat HUD ticks --- */
.stat { position: relative; padding-top: 18px; }
.stat::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 2px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px rgba(34, 211, 238, .85);
}

/* --- Glowing section dividers --- */
.section--alt { position: relative; }
.section--alt::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .45), transparent);
}

/* --- Nav glow underline + brand glow --- */
.nav.scrolled::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .55), transparent);
}
.brand__mark svg { transition: filter .3s; }
.brand:hover .brand__mark svg { filter: drop-shadow(0 0 12px rgba(34, 211, 238, .8)); }

/* --- Button shine sweep --- */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; top: -50%; left: -60%; width: 40%; height: 200%; pointer-events: none;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease); z-index: -1;
}
.btn--primary:hover::after { left: 130%; }
.btn--ghost:hover { box-shadow: 0 0 22px rgba(34, 211, 238, .18); }

@media (prefers-reduced-motion: reduce) {
  .tron, .scan, .rackcard::after, .about__panel::after, .contact__form::after { animation: none !important; }
}

/* ============================================================
   FACILITY / 园区实景 — bento gallery
   ============================================================ */
.facility__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 18px; }
.ftile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface); margin: 0;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.ftile--big { grid-column: span 2; grid-row: span 2; }
.ftile svg, .ftile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.ftile:hover { border-color: var(--brand-1); box-shadow: 0 0 0 1px rgba(34, 211, 238, .3), 0 22px 50px -22px rgba(34, 211, 238, .4); }
.ftile:hover svg, .ftile:hover img { transform: scale(1.06); }
.ftile__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--mono);
  font-size: 11px; letter-spacing: .12em; padding: 5px 11px; border-radius: 999px;
  background: rgba(6, 9, 16, .55); border: 1px solid var(--border-strong); color: var(--brand-1);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ftile__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 18px 16px;
  background: linear-gradient(transparent, rgba(5, 8, 14, .5) 38%, rgba(5, 8, 14, .92));
}
.ftile__cap b { display: block; font-size: 16px; margin-bottom: 3px; }
.ftile--big .ftile__cap b { font-size: 21px; }
.ftile__cap span { font-size: 13px; color: var(--muted); }

/* facility motion (rendered SVG elements; turbines use SMIL) */
.fled { animation: blink 2.6s steps(1) infinite; }
.facility__grid .fled:nth-child(2n) { animation-delay: .5s; }
.facility__grid .fled:nth-child(3n) { animation-delay: 1.1s; }
.facility__grid .fled:nth-child(4n) { animation-delay: 1.7s; }
.fflow { stroke-dasharray: 8 8; animation: dash 1s linear infinite; }
.ftile .star { animation: pulse 3.2s ease-in-out infinite; }
.ftile .star:nth-child(2n) { animation-delay: .8s; }
.ftile .star:nth-child(3n) { animation-delay: 1.5s; }

@media (prefers-reduced-motion: reduce) {
  .fled, .fflow, .ftile .star { animation: none !important; }
}

@media (max-width: 980px) {
  .facility__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 178px; }
  .ftile--big { grid-column: 1 / -1; grid-row: span 2; }
}
@media (max-width: 560px) {
  .facility__grid { grid-template-columns: 1fr; grid-auto-rows: 188px; }
  .ftile--big { grid-row: span 2; }
}
