/* ============================================================
   云玑智能 WinkyAIoT 官网 2026 主样式
   品牌色：绿 #0C9E68 / 亮绿 #14CA87 / WinkyIoT蓝 #2277D4
   ============================================================ */
:root {
  --brand: #0c9e68;
  --brand-bright: #14ca87;
  --brand-deep: #087a4e;
  --wiot: #2277d4;
  --wiot-deep: #125b9f;
  --dark: #0a1f17;
  --dark-2: #0b0f0d;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e8ecef;
  --grad-brand: linear-gradient(135deg, #14ca87 0%, #0c9e68 100%);
  --grad-wiot: linear-gradient(135deg, #3d8bdf 0%, #125b9f 100%);
  --shadow: 0 10px 30px rgba(10, 31, 23, 0.08);
  --shadow-hover: 0 18px 44px rgba(10, 31, 23, 0.14);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
a { text-decoration: none; color: var(--brand); transition: color .25s; }
a:hover { color: var(--brand-deep); }
img { max-width: 100%; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--ink); }
.text-brand { color: var(--brand) !important; }
.text-wiot { color: var(--wiot) !important; }
.bg-dark-green { background: var(--dark); }

/* ---------- 通用区块 ---------- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-alt { background: #f6f9f8; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head .en {
  display: block; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--brand); font-weight: 600; margin-bottom: 8px;
}
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 14px; }
.section-head .bar {
  width: 56px; height: 4px; border-radius: 2px; margin: 0 auto;
  background: var(--grad-brand);
}
.section-head p.lead { color: var(--muted); margin-top: 16px; font-size: 16.5px; }
.on-dark, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .section-head .en { color: var(--brand-bright); }
.on-dark p.lead { color: rgba(255,255,255,.72); }

/* ---------- 按钮 ---------- */
.btn-brand {
  background: var(--grad-brand); color: #fff; border: 0; border-radius: 8px;
  padding: 12px 34px; font-weight: 600; letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(12,158,104,.35);
  transition: transform .25s, box-shadow .25s;
  display: inline-block;
}
.btn-brand:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(12,158,104,.45); }
.btn-wiot {
  background: var(--grad-wiot); color: #fff; border: 0; border-radius: 8px;
  padding: 12px 34px; font-weight: 600; letter-spacing: 1px;
  box-shadow: 0 8px 22px rgba(34,119,212,.32); transition: transform .25s, box-shadow .25s;
  display: inline-block;
}
.btn-wiot:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(34,119,212,.42); }
.btn-ghost {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.65);
  border-radius: 8px; padding: 12px 34px; font-weight: 600; letter-spacing: 1px;
  transition: all .25s; display: inline-block;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-outline-brand {
  background: #fff; color: var(--brand); border: 1.5px solid var(--brand);
  border-radius: 8px; padding: 10px 28px; font-weight: 600; transition: all .25s;
  display: inline-block;
}
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

/* ---------- 导航 ---------- */
.navbar-winky {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  padding: 18px 0; transition: all .35s ease;
  background: transparent;
}
.navbar-winky .navbar-brand img { height: 52px; transition: height .3s; }
.navbar-winky .logo-white-img { display: inline; }
.navbar-winky .logo-color { display: none; }
.navbar-winky.scrolled .logo-white-img { display: none; }
.navbar-winky.scrolled .logo-color { display: inline; }
.navbar-winky .nav-link {
  color: rgba(255,255,255,.92) !important; font-weight: 500; font-size: 15.5px;
  padding: 8px 16px !important; position: relative;
}
.navbar-winky .nav-link:hover, .navbar-winky .nav-link.active { color: var(--brand-bright) !important; }
.navbar-winky .nav-link.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--grad-brand);
}
.navbar-winky.scrolled {
  background: rgba(255,255,255,.97); box-shadow: 0 4px 18px rgba(10,31,23,.1); padding: 10px 0;
}
.navbar-winky.scrolled .navbar-brand img { height: 44px; }
.navbar-winky.scrolled .nav-link { color: var(--ink) !important; }
.navbar-winky.scrolled .nav-link:hover, .navbar-winky.scrolled .nav-link.active { color: var(--brand) !important; }
.navbar-winky .navbar-toggler { border: 1px solid rgba(255,255,255,.4); padding: 6px 10px; color: #fff; }
.navbar-winky.scrolled .navbar-toggler { border-color: var(--line); color: var(--ink); }
.navbar-toggler-icon { filter: invert(1); width: 1.3em; height: 1.3em; }
.navbar-winky.scrolled .navbar-toggler-icon { filter: none; }
.navbar-winky .btn-nav-cta { margin-left: 12px; padding: 9px 24px !important; }
@media (max-width: 991.98px) {
  .navbar-winky .navbar-collapse {
    background: #fff; border-radius: 12px; margin-top: 10px; padding: 12px 20px;
    box-shadow: 0 14px 34px rgba(10,31,23,.16);
  }
  .navbar-winky .nav-link, .navbar-winky.scrolled .nav-link { color: var(--ink) !important; }
  .navbar-winky .nav-link.active::after { display: none; }
  .navbar-winky .navbar-brand img { height: 44px !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: #000 url("../img/hero-wave.jpg") center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.62) 100%);
}
/* 粒子波浪画布：仅占 Hero 底部约 46% 高度（同旧版），顶部渐隐融入背景 */
.hero-wave {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  width: 100%; height: 50%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 34%);
}
.hero .container { position: relative; z-index: 2; }
.hero-tag {
  display: inline-block; padding: 6px 18px; border: 1px solid rgba(20,202,135,.6);
  border-radius: 999px; color: var(--brand-bright); font-size: 14px; letter-spacing: 2px;
  background: rgba(12,158,104,.12); margin-bottom: 22px;
}
.hero h1 {
  color: #fff; font-size: clamp(34px, 5.6vw, 62px); font-weight: 800; line-height: 1.28;
  margin-bottom: 18px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #14ca87, #7be3b5);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero .sub {
  color: rgba(255,255,255,.85); font-size: clamp(15px, 2vw, 19px); max-width: 720px;
  margin: 0 auto 36px;
}
.hero .sub .en { color: rgba(255,255,255,.5); letter-spacing: 4px; font-size: 13px; text-transform: uppercase; }
.hero-cta .btn { margin: 6px 8px; min-width: 176px; }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.65); font-size: 12px; letter-spacing: 2px; text-align: center;
}
.hero-scroll i { display: block; font-size: 20px; animation: bob 1.8s infinite; color: var(--brand-bright); }
@keyframes bob { 0%,100% { transform: translateY(0);} 50% { transform: translateY(7px);} }

/* 子页 Hero */
.page-hero {
  position: relative; padding: 170px 0 90px; color: #fff; overflow: hidden;
  background: radial-gradient(1100px 480px at 78% -10%, rgba(20,202,135,.28), transparent 60%),
              radial-gradient(900px 420px at 8% 8%, rgba(34,119,212,.25), transparent 55%), #050807;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--wiot), var(--brand-bright));
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
.page-hero .en { color: var(--brand-bright); letter-spacing: 3px; font-size: 13px; text-transform: uppercase; }
.page-hero p.lead { color: rgba(255,255,255,.8); max-width: 780px; margin: 14px auto 0; }
.page-hero .breadcrumb-w { font-size: 13.5px; color: rgba(255,255,255,.55); margin-bottom: 14px; }
.page-hero .breadcrumb-w a { color: rgba(255,255,255,.75); }

/* ---------- 卡片 ---------- */
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 34px 26px; height: 100%; transition: all .3s ease; position: relative; overflow: hidden;
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.feat-card .ic {
  width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 20px; background: rgba(12,158,104,.1); color: var(--brand);
}
.feat-card.blue .ic { background: rgba(34,119,212,.1); color: var(--wiot); }
.feat-card h4 { font-size: 19px; margin-bottom: 10px; }
.feat-card p { color: var(--muted); font-size: 14.8px; margin: 0; }
.feat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.feat-card.blue::before { background: var(--grad-wiot); }
.feat-card:hover::before { transform: scaleX(1); }

/* 双平台卡 */
.platform-card {
  border-radius: 18px; padding: 42px 36px; height: 100%; color: #fff; position: relative; overflow: hidden;
}
.platform-card.wiot { background: linear-gradient(150deg, #2277d4 0%, #125b9f 78%); }
.platform-card.wai { background: linear-gradient(150deg, #14ca87 0%, #0a8a5b 78%); }
.platform-card h3 { color: #fff; font-size: 24px; }
.platform-card .en { color: rgba(255,255,255,.65); font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; }
.platform-card .tagline { color: rgba(255,255,255,.9); font-size: 17px; margin: 6px 0 18px; }
.platform-card ul { list-style: none; padding: 0; margin: 0 0 26px; }
.platform-card ul li { padding: 5px 0 5px 24px; position: relative; color: rgba(255,255,255,.92); font-size: 15px; }
.platform-card ul li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 7px; font-size: 12px; color: rgba(255,255,255,.85);
}
.platform-card .btn-light2 {
  background: #fff; color: var(--wiot-deep); border-radius: 8px; padding: 10px 26px;
  font-weight: 700; display: inline-block; transition: transform .25s;
}
.platform-card.wai .btn-light2 { color: var(--brand-deep); }
.platform-card .btn-light2:hover { transform: translateY(-2px); color: var(--wiot-deep); }
.platform-card.wai .btn-light2:hover { color: var(--brand-deep); }
.platform-card .big-ic {
  position: absolute; right: -22px; bottom: -22px; font-size: 150px; opacity: .12; line-height: 1;
}

/* 闭环步骤 */
.flow-wrap { display: flex; align-items: stretch; justify-content: center; gap: 10px; flex-wrap: wrap; }
.flow-step {
  flex: 1 1 150px; max-width: 200px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 14px; text-align: center; position: relative; transition: all .3s;
}
.flow-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.flow-step .num {
  width: 34px; height: 34px; border-radius: 50%; margin: 0 auto 12px; display: flex;
  align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px;
  background: var(--grad-wiot);
}
.flow-step.green .num { background: var(--grad-brand); }
.flow-step h5 { font-size: 16.5px; margin-bottom: 4px; }
.flow-step p { font-size: 12.8px; color: var(--muted); margin: 0; }
.flow-arrow { align-self: center; color: var(--brand); font-size: 20px; flex: 0 0 auto; }
@media (max-width: 767.98px) { .flow-arrow { display: none; } }

/* 数字统计 */
.stat-band { background: var(--grad-brand); }
.stat-band.blue { background: var(--grad-wiot); }
.stat-item { text-align: center; color: #fff; padding: 14px 6px; }
.stat-item .val { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.15; }
.stat-item .val small { font-size: 55%; font-weight: 700; }
.stat-item .lab { font-size: 14px; color: rgba(255,255,255,.85); letter-spacing: 1px; }

/* 行业卡 */
.sol-card {
  position: relative; border-radius: 16px; overflow: hidden; display: block; height: 100%;
  background: #fff; border: 1px solid var(--line); transition: all .3s;
}
.sol-card img { width: 100%; height: 210px; object-fit: cover; transition: transform .5s; }
.sol-card .body { padding: 22px 22px 24px; }
.sol-card .body img { width: auto; height: 72px; object-fit: contain; }
.sol-card h5 { font-size: 18px; margin-bottom: 8px; }
.sol-card p { color: var(--muted); font-size: 14px; margin: 0; }
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.sol-card:hover img { transform: scale(1.06); }
.sol-card .go {
  display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; font-size: 14px;
}

/* pill 标签 */
.pill {
  display: inline-block; padding: 7px 18px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--ink); font-size: 14px; margin: 5px 4px; transition: all .25s;
}
.pill:hover, .pill.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill.blue:hover, .pill.blue.active { background: var(--wiot); border-color: var(--wiot); }

/* 协议徽章 */
.proto-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 110px;
  padding: 10px 20px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: 14.5px; color: var(--ink); margin: 6px 5px; transition: all .25s;
}
.proto-badge:hover { border-color: var(--wiot); color: var(--wiot); box-shadow: var(--shadow); }

/* 深绿面板 */
.deep-panel {
  background: linear-gradient(140deg, #0a1f17 0%, #103826 100%);
  border-radius: 18px; color: #fff; padding: 40px 36px; position: relative; overflow: hidden;
}
.deep-panel h4 { color: #fff; }
.deep-panel .accent { color: var(--brand-bright); }
.deep-panel ul { list-style: none; padding: 0; margin: 0; }
.deep-panel ul li { padding: 6px 0 6px 26px; position: relative; color: rgba(255,255,255,.85); }
.deep-panel ul li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 8px; color: var(--brand-bright); font-size: 14px;
}

/* 产品卡 */
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
  height: 100%; transition: all .3s; text-align: center;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.prod-card .ph { height: 150px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.prod-card .ph img { max-height: 140px; max-width: 78%; object-fit: contain; }
.prod-card h5 { font-size: 17.5px; margin-bottom: 10px; }
.prod-card ul { list-style: none; margin: 0; padding: 0; text-align: left; }
.prod-card ul li {
  font-size: 13.8px; color: var(--muted); padding: 4px 0 4px 18px; position: relative;
}
.prod-card ul li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 6px; color: var(--brand); font-size: 11px;
}

/* 证书 */
.cert-item { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: all .3s; }
.cert-item img { width: 100%; display: block; object-fit: cover; }
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
/* 荣誉资质区：统一 3:4 证书框，横竖版混排时对齐（contain 避免裁剪内容）；证书不做圆角 */
#honors .cert-item { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; border-radius: 0; }
#honors .cert-item img { width: 100%; height: 100%; object-fit: contain; }
/* 首行 4 张主证书：横版比例框 + 顶部对齐，竖版 ISO 只显示上半部分，视觉高度一致 */
#honors .cert-main { aspect-ratio: 7 / 5; }
#honors .cert-main img { object-fit: cover; object-position: top; }

/* 合作伙伴 logo */
.partner-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 86px;
  display: flex; align-items: center; justify-content: center; padding: 14px 22px;
  transition: all .3s; filter: grayscale(1); opacity: .82;
}
.partner-item img { max-height: 52px; max-width: 100%; object-fit: contain; }
.partner-item:hover { filter: none; opacity: 1; box-shadow: var(--shadow); border-color: transparent; }

/* 联系我们 */
.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.contact-item .ic {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: rgba(12,158,104,.1);
  color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-item h5 { font-size: 16.5px; margin-bottom: 4px; }
.contact-item p { color: var(--muted); margin: 0; font-size: 15px; }
.form-control-x {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 13px 18px;
  font-size: 15px; transition: all .25s; background: #fff;
}
.form-control-x:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(12,158,104,.12); }
textarea.form-control-x { min-height: 150px; resize: vertical; }

/* 表单提示 */
#formMsg { display: none; margin-top: 14px; border-radius: 10px; padding: 12px 18px; font-size: 14.5px; }
#formMsg.ok { display: block; background: rgba(12,158,104,.1); color: var(--brand-deep); border: 1px solid rgba(12,158,104,.35); }
#formMsg.err { display: block; background: rgba(220,53,69,.08); color: #b02a37; border: 1px solid rgba(220,53,69,.3); }

/* ---------- 页脚 ---------- */
.footer { background: var(--dark-2); color: rgba(255,255,255,.68); padding: 70px 0 0; }
.footer h6 { color: #fff; font-size: 15.5px; letter-spacing: 1px; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer h6::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2.5px; border-radius: 2px; background: var(--grad-brand); }
.footer a { color: rgba(255,255,255,.62); font-size: 14.2px; display: inline-block; padding: 3.5px 0; }
.footer a:hover { color: var(--brand-bright); }
.footer .f-about p { font-size: 14.2px; line-height: 1.85; }
.footer .f-logo img { height: 46px; margin-bottom: 16px; }
.footer .f-contact li { display: flex; gap: 10px; font-size: 14.2px; padding: 4px 0; color: rgba(255,255,255,.62); }
.footer .f-contact li i { color: var(--brand-bright); margin-top: 5px; }
.footer .f-qr { text-align: center; }
.footer .f-qr img { width: 118px; border-radius: 8px; background: #fff; padding: 5px; }
.footer .f-qr p { font-size: 12.5px; margin-top: 8px; color: rgba(255,255,255,.5); }
.footer .f-bottom {
  border-top: 1px solid rgba(255,255,255,.09); margin-top: 46px; padding: 20px 0;
  font-size: 13px; color: rgba(255,255,255,.42);
}
.footer .f-bottom a { color: rgba(255,255,255,.55); font-size: 13px; }
.footer .f-bottom a:hover { color: var(--brand-bright); }
.footer .f-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18);
  display: inline-flex; align-items: center; justify-content: center; margin-right: 8px; padding: 0;
}
.footer .f-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 26px; bottom: 30px; width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: 0 8px 22px rgba(12,158,104,.4); opacity: 0; visibility: hidden;
  transition: all .3s; z-index: 1040; border: 0;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); color: #fff; }

/* ---------- 滚动入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 杂项 */
.mt-70 { margin-top: 70px; } .mb-70 { margin-bottom: 70px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 7px 0 7px 28px; position: relative; color: #374151; }
.check-list li::before {
  content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 0; top: 9px; color: var(--brand); font-size: 14px;
}
.check-list.blue li::before { color: var(--wiot); }
.check-list.on-dark li { color: rgba(255,255,255,.92); }
.check-list.on-dark li::before { color: var(--brand-bright); }
.hardware-row { row-gap: 1.5rem; }
