/* =====================================================================
   云积分 Enbrands — 全站样式 / Global Stylesheet
   品牌色：Blue #0036F9 · Sea Blue #02BDFF
   ===================================================================== */

:root {
  /* Brand */
  --blue: #0036F9;
  --sea: #02BDFF;
  --grad: linear-gradient(135deg, #0036F9 0%, #02BDFF 100%);
  --grad-soft: linear-gradient(135deg, rgba(0,54,249,.08) 0%, rgba(2,189,255,.10) 100%);

  /* Neutrals */
  --ink: #0E1A33;          /* deep navy text */
  --body: #1A2238;         /* body text */
  --muted: #5B6B82;        /* secondary text */
  --line: #E6EAF2;         /* hairlines / borders */
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;      /* light section bg */
  --bg-deep: #0A1A40;      /* dark section bg */
  --bg-deep-2: #071232;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(14, 26, 51, .06);
  --shadow: 0 10px 30px rgba(14, 26, 51, .10);
  --shadow-lg: 0 20px 50px rgba(14, 26, 51, .14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.tight { padding: 56px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-deep { background: var(--bg-deep); color: #cdd7ef; }
.bg-deep h1, .bg-deep h2, .bg-deep h3 { color: #fff; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em;
  color: var(--blue); text-transform: uppercase;
  background: var(--grad-soft); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(0,54,249,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,54,249,.36); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.24); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.main-nav > li { list-style: none; position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 8px;
  font-weight: 500; color: var(--ink); font-size: .96rem;
  transition: color .15s, background .15s;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); background: var(--grad-soft); }
.nav-link .caret { font-size: .7rem; opacity: .6; }

/* dropdown */
.dropdown { position: absolute; top: 100%; left: 0; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .18s ease; }
.main-nav > li:hover .dropdown, .main-nav > li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown a strong { color: var(--ink); font-size: .95rem; }
.dropdown a span { color: var(--muted); font-size: .82rem; }

.header-tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; font-size: .9rem; font-weight: 600; }
.lang-switch a { padding: 4px 8px; border-radius: 6px; color: var(--muted); }
.lang-switch a.active { color: #fff; background: var(--grad); }
.lang-switch .sep { color: var(--line); }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-deep); color: #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(2,189,255,.35), transparent 60%),
    radial-gradient(700px 500px at 10% 110%, rgba(0,54,249,.45), transparent 60%),
    var(--bg-deep);
}
.hero .container { position: relative; padding-top: 92px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.18rem; color: #c4d0ec; max-width: 56ch; margin-bottom: 32px; }
.hero .slogan {
  display: inline-block; font-size: 1.05rem; font-weight: 600; letter-spacing: .04em;
  color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  padding: 8px 18px; border-radius: 999px; margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat .label { color: var(--muted); margin-top: 8px; font-size: .95rem; }
.bg-deep .stat .label { color: #a9b8da; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.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 {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,54,249,.25); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.5rem; background: var(--grad-soft); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* product cards (linkable) */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .tag { font-size: .78rem; font-weight: 600; color: var(--blue); letter-spacing: .04em; }
.product-card h3 { font-size: 1.2rem; margin: 6px 0 10px; }
.product-card .more { margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.product-card:hover .more { text-decoration: underline; }
.product-card .arrow { transition: transform .18s; }
.product-card:hover .arrow { transform: translateX(4px); }

/* ---------- Feature list (icon rows) ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: .8rem; font-weight: 700; margin-top: 2px;
}
.feature-list b { color: var(--ink); }

/* ---------- Split (text + visual) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .visual {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow); background: #fff;
}
.split .visual.dashed {
  display: grid; place-items: center; min-height: 280px; padding: 28px;
  background: var(--grad-soft); border-style: dashed; color: var(--muted); text-align: center;
}

/* ---------- Table ---------- */
.table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: .88rem; }
.table tr:last-child td { border-bottom: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 0 auto; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 36px 36px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 36px 36px; }
.tl-item .year { color: var(--blue); font-weight: 800; font-size: 1.3rem; }
.tl-item .dot { position: absolute; top: 4px; right: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); }
.tl-item:nth-child(even) .dot { left: -7px; right: auto; }
.tl-item .body { color: var(--muted); font-size: .96rem; }

/* ---------- Team cards ---------- */
.team-card { text-align: center; }
.team-card .avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font-size: 1.8rem; font-weight: 700;
}
.team-card .role { color: var(--blue); font-weight: 600; font-size: .9rem; }
.team-card .bio { color: var(--muted); font-size: .9rem; text-align: left; margin-top: 10px; }

/* ---------- Values ---------- */
.values { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.value-pill {
  font-size: 1.4rem; font-weight: 700; color: var(--blue);
  padding: 14px 28px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}

/* ---------- Color swatches ---------- */
.swatches { display: flex; gap: 20px; flex-wrap: wrap; }
.swatch { flex: 1; min-width: 200px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.swatch .chip { height: 110px; }
.swatch .meta { padding: 16px 18px; }
.swatch .meta b { color: var(--ink); }
.swatch .meta .codes { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad); color: #fff; border-radius: var(--radius); padding: 56px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 60ch; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep-2); color: #9fb0d6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand img { height: 36px; filter: brightness(0) invert(1); }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer a { color: #9fb0d6; display: block; padding: 5px 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-contact li { list-style: none; margin-bottom: 8px; font-size: .92rem; }
/* footer QR codes */
.footer-qr { display: flex; gap: 40px; justify-content: center; padding: 36px 0 4px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.08); }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-item img { width: 116px; height: 116px; background: #fff; padding: 8px; border-radius: 12px; box-sizing: border-box; }
.qr-item span { color: #cdd7ef; font-size: .88rem; }
@media (max-width: 600px) { .footer-qr { gap: 24px; padding: 28px 0 4px; } .qr-item img { width: 92px; height: 92px; } }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.badge { font-size: .78rem; padding: 5px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 6px; color: #cdd7ef; }

/* ---------- Misc ---------- */
.page-hero { background: var(--bg-deep); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(600px 300px at 85% -20%, rgba(2,189,255,.3), transparent 60%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #c4d0ec; max-width: 60ch; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: #8ea0c8; margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }
.kicker { color: var(--blue); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }

/* related products row */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related a { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background:#fff; transition: .18s; }
.related a:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related .tag { font-size:.78rem; color: var(--blue); font-weight:600; }
.related h4 { margin: 4px 0 0; font-size: 1rem; color: var(--ink); }

/* ---------- Brand wall (logo wall) ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.brand-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 92px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-align: center; padding: 14px 10px; filter: grayscale(1); opacity: .7;
  transition: filter .2s ease, opacity .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.brand-tile:hover { filter: none; opacity: 1; border-color: rgba(0,54,249,.3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.brand-tile .bn { font-weight: 700; color: var(--ink); font-size: 1.02rem; line-height: 1.2; }
.brand-tile .bn-sub { color: var(--muted); font-size: .74rem; margin-top: 3px; letter-spacing: .02em; }

/* ---------- Cert wall + lightbox ---------- */
.cert-group { margin-bottom: 44px; }
.cert-group:last-child { margin-bottom: 0; }
.cert-group-title { font-size: 1.15rem; margin: 0 0 16px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cert-group-title span { font-size: .85rem; color: var(--muted); font-weight: 400; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.cert-thumb {
  display: block; cursor: zoom-in; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; background: #fff; aspect-ratio: 3 / 4;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.cert-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(0,54,249,.22); }
.cert-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 6px; }

.lightbox { position: fixed; inset: 0; background: rgba(8,14,30,.92); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 28px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-close { position: absolute; top: 16px; right: 28px; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.lightbox .lb-cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #cdd7ef; font-size: .95rem; padding: 0 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav, .header-tools { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 16px 18px;
  }
  .main-nav.open > li { width: 100%; }
  .main-nav.open .nav-link { padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .main-nav.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 4px 0 8px 12px; min-width: 0; }
  .lang-switch { display: inline-flex; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .split, .related { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .timeline::before { left: 8px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 28px 32px; }
  .tl-item .dot, .tl-item:nth-child(even) .dot { left: 1px; right: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 24px; }
  .hero .container { padding-top: 60px; padding-bottom: 64px; }
}
