/* =========================================================
   云南时进云科技 · 官网样式系统
   现代商务 / 广电科技 / 深色酷炫风格
   全自包含：无外部 CDN / 字体依赖，适配边缘计算节点离线部署
   ========================================================= */

:root {
  --bg-0: #05080f;
  --bg-1: #0a1020;
  --bg-2: #0e1730;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(120, 180, 255, 0.35);
  --text: #eaf0fb;
  --text-muted: #9fb0cc;
  --text-dim: #6f819e;
  --brand: #2f7bff;
  --brand-2: #19e3ff;
  --brand-3: #7b5cff;
  --accent: #ff5c8a;
  --grad: linear-gradient(120deg, #2f7bff 0%, #19e3ff 50%, #7b5cff 100%);
  --grad-soft: linear-gradient(120deg, rgba(47,123,255,.18), rgba(25,227,255,.12));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --maxw: 1240px;
  --nav-h: 74px;
  font-synthesis: none;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* animated background layers */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(47,123,255,.20), transparent 60%),
    radial-gradient(1000px 600px at 0% 10%, rgba(123,92,255,.16), transparent 55%),
    radial-gradient(900px 700px at 50% 120%, rgba(25,227,255,.12), transparent 60%),
    var(--bg-0);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 80%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }
.container-wide { width: min(100% - 40px, 1480px); margin-inline: auto; }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(6, 10, 20, .55);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled {
  background: rgba(6, 10, 20, .85);
  border-bottom-color: var(--border);
}
.nav .inner {
  width: min(100% - 40px, 1480px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .5px; }
.brand .mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--grad);
  box-shadow: 0 8px 24px -6px rgba(47,123,255,.6);
}
.brand .mark svg { width: 22px; height: 22px; }
.brand .name { font-size: 18px; }
.brand .name b { color: #fff; }
.brand .name span { color: var(--brand-2); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: var(--surface); }
.nav-links a.active { color: #fff; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--border-strong); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 26px -10px rgba(47,123,255,.8);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(47,123,255,.9); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px auto; width: 22px; border-radius: 2px; transition: .3s; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  background-size: cover; background-position: center;
  opacity: .5;
  -webkit-mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
  mask-image: linear-gradient(to bottom, black 35%, transparent 92%);
}
.hero-bg::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 50% 40%, transparent, rgba(5,8,15,.85)); }

.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 22px;
}
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 12px var(--brand-2); }

.hero h1 {
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  border-radius: 13px;
  font-weight: 700; font-size: 15px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -12px rgba(47,123,255,.85); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(47,123,255,1); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-3px); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 38px; }
.hero-stats .stat .num { font-size: clamp(26px, 3vw, 40px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat .lbl { color: var(--text-dim); font-size: 14px; }

/* ===================== SECTIONS ===================== */
section { padding: 90px 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800; letter-spacing: -.5px; line-height: 1.2;
  margin-bottom: 16px;
}
.section-head p { color: var(--text-muted); font-size: 17px; }

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

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: transform .3s, border-color .3s, background .3s;
}
.card::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--grad-soft);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card .ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; position: relative; z-index: 1; }
.card p { color: var(--text-muted); font-size: 15px; position: relative; z-index: 1; }
.card .tag {
  display: inline-block; margin-top: 14px;
  font-size: 12px; color: var(--brand-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px;
  position: relative; z-index: 1;
}

/* feature row with image */
.feature {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center;
}
.feature.reverse { grid-template-columns: 1fr 1.05fr; }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-media .badge {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(5,8,15,.6); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 14px; font-size: 13px; color: var(--text);
}
.feature h3 { font-size: clamp(22px, 2.6vw, 32px); margin-bottom: 16px; font-weight: 800; }
.feature p { color: var(--text-muted); margin-bottom: 18px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--brand-2); }

/* ===================== MARQUEE / PARTNERS ===================== */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent); }
.marquee { display: flex; gap: 18px; width: max-content; animation: scrollx 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.partner {
  flex: none;
  display: flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  font-weight: 700; white-space: nowrap;
}
.partner .pdot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); }

/* ===================== PAGE HERO (inner pages) ===================== */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 60px; position: relative; overflow: hidden; }
.page-hero .crumb { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; }
.page-hero .crumb a:hover { color: var(--brand-2); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.5px; margin-bottom: 18px; }
.page-hero p { color: var(--text-muted); max-width: 760px; font-size: 18px; }

/* ===================== TABLE-ish spec list ===================== */
.spec {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px;
}
.spec .item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.spec .item b { display: block; font-size: 16px; margin-bottom: 6px; }
.spec .item span { color: var(--text-muted); font-size: 14px; }

/* ===================== Hardware vendor block ===================== */
.vendor {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 26px;
}
.vendor-head {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(47,123,255,.10), transparent);
}
.vendor-logo {
  width: 56px; height: 56px; flex: none;
  border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
  font-weight: 800; font-size: 18px; color: var(--brand-2);
}
.vendor-head h3 { font-size: 21px; }
.vendor-head .meta { color: var(--text-dim); font-size: 13px; margin-top: 2px; }
.vendor-body { padding: 24px 26px; }
.vendor-body .desc { color: var(--text-muted); margin-bottom: 18px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.product {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
  transition: transform .25s, border-color .25s;
}
.product:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.product .pt { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.product .pn { color: var(--brand-2); font-size: 13px; margin-bottom: 6px; font-family: ui-monospace, monospace; }
.product .pd { color: var(--text-dim); font-size: 13px; }

/* ===================== Software cards ===================== */
.soft-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  transition: transform .3s, border-color .3s;
}
.soft-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.soft-card .ic { width: 50px; height: 50px; border-radius: 13px; background: var(--grad-soft); border: 1px solid var(--border-strong); display: grid; place-items: center; margin-bottom: 16px; }
.soft-card .ic svg { width: 25px; height: 25px; }
.soft-card h3 { font-size: 19px; margin-bottom: 8px; }
.soft-card p { color: var(--text-muted); font-size: 14px; flex: 1; }
.soft-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: 12px; color: var(--text-muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 11px; }

/* ===================== Steps / process ===================== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step::before { counter-increment: s; content: "0" counter(s); font-size: 40px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h4 { font-size: 17px; margin: 8px 0 8px; }
.step p { color: var(--text-muted); font-size: 14px; }

/* ===================== Contact ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: start; }
.info-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--border-strong); display: grid; place-items: center; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row .k { color: var(--text-dim); font-size: 13px; }
.info-row .v { font-size: 17px; font-weight: 700; }
.info-row .v a:hover { color: var(--brand-2); }

.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 7px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 15px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border); border-radius: 11px;
  color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color .2s, background .2s;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--brand-2); background: rgba(255,255,255,.07); }
.form textarea { resize: vertical; min-height: 120px; }
.form .note { font-size: 13px; color: var(--text-dim); margin-top: 10px; }

.map-placeholder {
  height: 280px; border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 40%, rgba(47,123,255,.25), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(25,227,255,.18), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--bg-1);
  display: grid; place-items: center; color: var(--text-dim);
  position: relative; overflow: hidden; margin-top: 22px;
}
.map-placeholder .pin { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 8px rgba(255,92,138,.25); margin-bottom: 10px; }

/* ===================== CTA band ===================== */
.cta {
  position: relative;
  border-radius: 26px;
  padding: 60px;
  text-align: center;
  background:
    radial-gradient(800px 300px at 50% -20%, rgba(47,123,255,.35), transparent 70%),
    linear-gradient(120deg, rgba(47,123,255,.16), rgba(123,92,255,.12));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.cta h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; margin-bottom: 14px; }
.cta p { color: var(--text-muted); max-width: 620px; margin: 0 auto 26px; font-size: 17px; }

/* ===================== Footer ===================== */
.footer { padding: 60px 0 30px; border-top: 1px solid var(--border); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; color: #fff; }
.footer a { color: var(--text-muted); font-size: 14px; display: block; padding: 5px 0; }
.footer a:hover { color: var(--brand-2); }
.footer .about p { color: var(--text-muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13px; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; }
.footer-bottom .socials a:hover { border-color: var(--border-strong); }

/* ===================== reveal animation ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== responsive ===================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: rgba(6,10,20,.97); border-bottom: 1px solid var(--border);
    padding: 14px 20px; gap: 4px;
  }
  .nav-cta { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .cta { padding: 40px 22px; }
  section { padding: 64px 0; }
}
