/* ============================================
   智能售货 · 企业官网样式
   品牌色：科技蓝 #f26522 / 深空 #1a130e
   ============================================ */

:root {
  --brand: #f26522;
  --brand-dark: #d9500f;
  --brand-light: #fff0e2;
  --ink: #1a130e;
  --ink-2: #2c3e5c;
  --ink-3: #64748b;
  --line: #e6ebf4;
  --bg: #ffffff;
  --bg-soft: #faf7f4;
  --bg-deep: #1a130e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(11, 26, 51, .06);
  --shadow-lg: 0 16px 48px rgba(11, 26, 51, .12);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all .3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 16px rgba(11,26,51,.05); }
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.2px; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px; overflow: hidden;
  background: transparent; display: grid; place-items: center;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text small { display: block; font-size: 10px; font-weight: 500; color: var(--ink-3); letter-spacing: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 15px; border-radius: 8px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); transition: all .2s;
}
.nav-links a:hover { color: var(--brand); background: var(--brand-light); }
.nav-links a.active { color: var(--brand); }
.nav-cta {
  margin-left: 10px; padding: 9px 20px !important; border-radius: 9px !important;
  background: var(--brand); color: #fff !important; font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(242,101,34,.28);
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- 通用区块 ---------- */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--brand); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.8px;
  line-height: 1.25; margin-bottom: 16px;
}
.section-head p { color: var(--ink-3); font-size: 16px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: all .22s; cursor: pointer; border: 0;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 20px rgba(242,101,34,.28); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(242,101,34,.36); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.32); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 152px 0 100px;
  background:
    radial-gradient(1000px 520px at 78% -8%, rgba(242,101,34,.16), transparent 62%),
    radial-gradient(760px 460px at 8% 108%, rgba(75,139,255,.14), transparent 60%),
    linear-gradient(180deg, #fff8f2 0%, #ffffff 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  opacity: .55; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 100px; background: #fff;
  border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow); margin-bottom: 22px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.16); }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 54px); font-weight: 800;
  line-height: 1.16; letter-spacing: -1.4px; margin-bottom: 22px;
}
.hero h1 .hl {
  background: linear-gradient(120deg, var(--brand), #ffb400);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 17.5px; color: var(--ink-2); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow-lg);
}
.hero-card-title { font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 1px; margin-bottom: 18px; text-transform: uppercase; }
.machine-mock {
  height: 230px; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #f26522, #d9500f);
  display: grid; place-items: center;
}
.machine-mock::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 24% 22%, rgba(255,255,255,.22), transparent 42%);
}
.machine-rows { position: relative; z-index: 2; display: grid; gap: 10px; padding: 22px; width: 100%; }
.machine-row { display: flex; gap: 10px; }
.machine-cell {
  flex: 1; height: 40px; border-radius: 8px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.24);
  display: grid; place-items: center;
}
.machine-cell i { font-style: normal; font-size: 17px; opacity: .95; }
.machine-slot {
  margin: 0 22px 18px; height: 14px; border-radius: 7px;
  background: rgba(255,255,255,.28);
}
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.hero-stat { text-align: center; padding: 14px 8px; background: var(--bg-soft); border-radius: 12px; }
.hero-stat b { display: block; font-size: 22px; font-weight: 800; color: var(--brand); letter-spacing: -.5px; }
.hero-stat span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 数据条 ---------- */
.stats-bar { background: var(--bg-deep); padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 46px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.stat-item:last-child { border-right: 0; }
.stat-item b {
  display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: #fff;
  letter-spacing: -1.2px; line-height: 1.1;
}
.stat-item b .unit { font-size: .5em; margin-left: 3px; font-weight: 700; color: #ffb95e; }
.stat-item span { color: rgba(255,255,255,.62); font-size: 14.5px; margin-top: 6px; display: block; }

/* ---------- 场景 ---------- */
.scenes { background: var(--bg-soft); }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .28s; position: relative; overflow: hidden;
}
.scene-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), #ffb400);
  transform: scaleX(0); transform-origin: left; transition: transform .32s;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.scene-card:hover::before { transform: scaleX(1); }
.scene-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--brand-light);
  display: grid; place-items: center; font-size: 24px; margin-bottom: 20px;
}
.scene-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.3px; }
.scene-card p { color: var(--ink-3); font-size: 14.5px; }
.scene-card .scene-tag {
  display: inline-block; margin-top: 16px; padding: 5px 12px; border-radius: 100px;
  background: var(--brand-light); color: var(--brand); font-size: 12.5px; font-weight: 600;
}

/* ---------- 产品 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: all .28s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-thumb {
  height: 190px; display: grid; place-items: center; position: relative;
  background: linear-gradient(150deg, #fff2e6, #ffe9d2);
}
.product-thumb .big-icon { font-size: 58px; opacity: .9; }
.product-thumb .corner {
  position: absolute; top: 14px; right: 14px; padding: 4px 11px; border-radius: 100px;
  background: rgba(255,255,255,.9); font-size: 12px; font-weight: 700; color: var(--brand);
}
.product-body { padding: 24px 24px 26px; }
.product-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-body p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 16px; }
.spec-list { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-list span {
  padding: 4px 11px; border-radius: 6px; background: var(--bg-soft);
  font-size: 12.5px; color: var(--ink-2); font-weight: 500;
}

/* ---------- 案例 ---------- */
.cases { background: var(--bg-soft); }
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 22px; align-items: flex-start; transition: all .28s;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case-badge {
  min-width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #ffb400);
  display: grid; place-items: center; color: #fff; font-size: 22px; font-weight: 800;
}
.case-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.case-card p { color: var(--ink-3); font-size: 14.5px; margin-bottom: 14px; }
.case-metrics { display: flex; gap: 22px; }
.case-metrics div b { display: block; font-size: 20px; font-weight: 800; color: var(--brand); }
.case-metrics div span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual {
  border-radius: 22px; padding: 44px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(155deg, #d9500f, #f26522 55%, #ffb400);
  box-shadow: var(--shadow-lg);
}
.about-visual::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.2), transparent 68%);
  top: -110px; right: -90px;
}
.about-visual h3 { font-size: 24px; font-weight: 800; margin-bottom: 14px; position: relative; }
.about-visual p { color: rgba(255,255,255,.86); font-size: 15px; position: relative; }
.about-points { display: grid; gap: 12px; margin-top: 26px; position: relative; }
.about-points li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: rgba(255,255,255,.94); }
.about-points .tick {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: grid; place-items: center; font-size: 12px; flex-shrink: 0;
}
.about-copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 18px; line-height: 1.25; }
.about-copy p { color: var(--ink-2); font-size: 16px; margin-bottom: 16px; }
.about-copy p.muted { color: var(--ink-3); font-size: 15px; }

/* ---------- 联系 ---------- */
.contact { background: var(--bg-deep); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 400px at 82% 8%, rgba(242,101,34,.4), transparent 62%);
}
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: rgba(255,255,255,.62); }
.contact .eyebrow { color: #ffb95e; }
.contact-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); padding: 32px 28px; text-align: center;
  transition: all .28s;
}
.contact-card:hover { background: rgba(255,255,255,.09); border-color: rgba(126,166,255,.4); transform: translateY(-5px); }
.contact-icon { font-size: 30px; margin-bottom: 16px; }
.contact-card h3 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.contact-card p { color: rgba(255,255,255,.78); font-size: 16px; font-weight: 600; letter-spacing: .3px; }
.contact-card small { display: block; color: rgba(255,255,255,.45); font-size: 13px; margin-top: 6px; font-weight: 400; }

/* 微信二维码卡片 */
.contact-qr-card {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px; padding: 12px; margin: 4px auto 14px;
  width: 148px; box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.contact-qr-card img { width: 100%; display: block; }

/* 品牌合作标签墙 */
.partner-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.partner-cloud span {
  padding: 10px 22px; border-radius: 100px; background: #fff;
  border: 1px solid var(--line); font-size: 15px; font-weight: 600;
  color: var(--ink-2); transition: all .22s;
}
.partner-cloud span:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); box-shadow: var(--shadow); }
.partner-cloud span.cert { background: var(--brand-light); border-color: transparent; color: var(--brand); }

/* ---------- 页脚 ---------- */
.footer { background: #140d09; color: rgba(255,255,255,.6); padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo-text small { color: rgba(255,255,255,.4); }
.footer-about { font-size: 14px; color: rgba(255,255,255,.5); max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer ul li { margin-bottom: 11px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.4); }

/* 页脚 SEO 关键词区 */
.footer-keywords {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  padding: 22px 0 4px; border-top: 1px solid rgba(255,255,255,.08);
}
.footer-keywords span { font-size: 12.5px; color: rgba(255,255,255,.34); }
.footer-keywords span:hover { color: rgba(255,255,255,.6); }

/* ---------- 通用页面头（资讯页等） ---------- */
.page-head {
  padding: 140px 0 60px; text-align: center;
  background: radial-gradient(700px 360px at 50% -10%, rgba(242,101,34,.14), transparent 66%), linear-gradient(180deg, #fff8f2, #fff);
}
.page-head h1 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; }
.page-head p { color: var(--ink-3); font-size: 16px; max-width: 620px; margin: 0 auto; }

/* ---------- 文章列表 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: all .28s; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 168px; position: relative; display: grid; place-items: center;
  background: linear-gradient(150deg, #fff2e6, #ffe9d2);
}
.news-thumb .cat {
  position: absolute; top: 14px; left: 14px; padding: 4px 12px; border-radius: 100px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 600;
}
.news-thumb .ph { font-size: 46px; opacity: .85; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.news-body h3 { font-size: 17.5px; font-weight: 700; line-height: 1.45; margin-bottom: 12px; transition: color .2s; }
.news-card:hover .news-body h3 { color: var(--brand); }
.news-body p { color: var(--ink-3); font-size: 14.5px; flex: 1; }
.news-more { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- 文章详情 ---------- */
.article { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.article-head { padding: 130px 0 40px; text-align: center; }
.article-head .cat { display: inline-block; padding: 5px 14px; border-radius: 100px; background: var(--brand-light); color: var(--brand); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.article-head h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.8px; line-height: 1.3; margin-bottom: 18px; }
.article-meta { color: var(--ink-3); font-size: 14px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.article-cover {
  height: 300px; border-radius: var(--radius); margin-bottom: 40px;
  background: linear-gradient(150deg, #fff2e6, #ffe9d2); display: grid; place-items: center; font-size: 74px;
}
.article-body { font-size: 16.5px; color: var(--ink-2); line-height: 1.9; padding-bottom: 40px; }
.article-body h2 { font-size: 24px; font-weight: 800; margin: 40px 0 18px; letter-spacing: -.4px; color: var(--ink); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 19px; font-weight: 700; margin: 30px 0 14px; color: var(--ink); }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 20px; padding-left: 4px; }
.article-body ul li { position: relative; padding-left: 24px; margin-bottom: 10px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
.article-body blockquote {
  border-left: 3px solid var(--brand); background: var(--bg-soft);
  padding: 18px 24px; border-radius: 0 10px 10px 0; margin: 24px 0;
  color: var(--ink-2); font-size: 16px;
}
.article-foot { border-top: 1px solid var(--line); padding: 32px 0 90px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags span { padding: 5px 13px; border-radius: 100px; background: var(--bg-soft); font-size: 13px; color: var(--ink-3); }

/* ---------- 滚动动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; }
  .scene-grid, .product-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(2n) { border-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  section { padding: 68px 0; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 16px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); transform: translateY(-140%);
    transition: transform .32s cubic-bezier(.2,.7,.3,1);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; text-align: center; justify-content: center; }
  .nav-toggle { display: flex; }
  .scene-grid, .product-grid, .news-grid, .case-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 118px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .case-card { flex-direction: column; gap: 16px; }
  .article-cover { height: 200px; font-size: 54px; }
}
