:root {
  --ocean-900: #052548;
  --ocean-700: #0a4d8c;
  --ocean-500: #1376e8;
  --cyan-400: #2ec5e0;
  --accent-blue: #2a9df0;
  --accent-blue-light: #5cb8ff;
  --ink: #16263a;
  --ink-soft: #5a6b7e;
  --bg: #f3f8ff;
  --card: #ffffff;
  --line: #dde9f5;
  --shadow: 0 10px 30px rgba(10, 77, 140, .10);
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container { width: min(1120px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: none;
}
.btn--primary { background: linear-gradient(135deg, var(--ocean-500), var(--cyan-400)); color: #fff; box-shadow: 0 8px 20px rgba(11,107,184,.32); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(11,107,184,.42); }
.btn--ghost { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.28); }
.btn--cta { background: #ff7a28; color: #fff !important; padding: 10px 22px; font-size: 15px; font-weight: 700; border-radius: 999px; box-shadow: 0 4px 14px rgba(255,122,40,.28); }
.btn--cta:hover { background: #ff8a3d; transform: translateY(-2px); }
.btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.85); padding: 10px 24px; border-radius: 999px; font-weight: 600; }
.btn--outline:hover { background: rgba(255,255,255,.16); }
.btn--white { background: #fff; color: var(--ocean-700); padding: 10px 24px; border-radius: 999px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.16); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.22); }
.btn--mini { background: var(--ocean-700); color: #fff; padding: 8px 16px; font-size: 13px; border-radius: 999px; }
.btn--mini:hover { background: var(--ocean-500); }

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav--dark {
  background: linear-gradient(180deg, var(--ocean-700) 0%, var(--ocean-500) 100%);
  border-bottom: none;
  box-shadow: 0 2px 14px rgba(5,37,72,.18);
}
.nav__inner { width: min(1280px, 94%); margin: 0 auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: baseline; gap: 6px; font-weight: 800; }
.brand__mark { color: var(--ocean-500); font-size: 22px; letter-spacing: .5px; }
.brand__name { color: var(--ink); font-size: 18px; }
.brand--light .brand__mark { color: #fff; font-size: 22px; }
.brand--light .brand__name { color: #fff; font-size: 18px; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav--dark .nav__menu a { color: rgba(255,255,255,.88); font-size: 15px; font-weight: 500; position: relative; padding: 6px 2px; }
.nav--dark .nav__menu a:hover { color: #fff; }
.nav--dark .nav__menu a:hover::after,
.nav--dark .nav__menu a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  width: 24px; height: 3px; background: #fff; border-radius: 2px;
}
.nav__tools { display: flex; align-items: center; gap: 12px; }
.nav__icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; border: none; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.nav__icon:hover { background: rgba(255,255,255,.32); }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0;
  background: url("assets/images/factory-bg.jpg") center/cover no-repeat;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(5,37,72,.92) 0%, rgba(10,77,140,.62) 45%, rgba(19,118,232,.18) 100%);
}
.hero--reference { min-height: 600px; }
.hero__content { position: relative; z-index: 2; width: min(1120px, 92%); margin: 0 auto; color: #fff; }
.hero--reference .hero__content { padding: 68px 0 150px; text-align: center; max-width: 900px; }
.hero__eyebrow { display: inline-block; background: rgba(255,255,255,.16); padding: 6px 14px; border-radius: 999px; font-size: 14px; letter-spacing: 1px; margin-bottom: 18px; }
.hero__title { font-size: clamp(30px, 5vw, 52px); line-height: 1.18; font-weight: 800; }
.hero--reference .hero__title { font-size: clamp(28px, 4.6vw, 48px); margin-bottom: 18px; }
.hero__sub { margin: 18px 0 28px; font-size: clamp(15px, 2.2vw, 19px); color: rgba(255,255,255,.9); }
.hero--reference .hero__sub { margin: 0 0 14px; color: rgba(255,255,255,.88); font-size: clamp(15px, 2vw, 18px); }
.hero--reference .hero__line { margin: 0 0 28px; color: rgba(255,255,255,.78); font-size: clamp(13px, 1.6vw, 15px); }
.hero__products { display: flex; justify-content: center; align-items: flex-end; gap: clamp(6px, 1.2vw, 16px); margin: 22px 0 18px; flex-wrap: wrap; }
.hero__products img { height: clamp(72px, 9vw, 110px); width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.22)); transition: transform .2s ease; }
.hero__products img:hover { transform: translateY(-4px) scale(1.04); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero--reference .hero__actions { justify-content: center; }
.hero__badges { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; margin-top: 34px; font-size: 14px; color: rgba(255,255,255,.92); }
.hero__badges li { background: rgba(255,255,255,.12); padding: 8px 14px; border-radius: 12px; }
.hero--reference .hero__badges { justify-content: center; margin-top: 30px; }
.hero__scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; font-size: 30px; opacity: .8; animation: bob 1.8s infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* Hero 下方 4 张特色卡片 */
.features { background: var(--bg); padding: 0; margin-top: -64px; position: relative; z-index: 3; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border-radius: 14px; padding: 28px 18px; text-align: center;
  box-shadow: 0 14px 30px rgba(5,37,72,.12); display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: 0 20px 38px rgba(5,37,72,.18); }
.feature__icon { width: 56px; height: 56px; color: var(--ocean-700); }
.feature p { font-size: 16px; font-weight: 700; color: var(--ocean-700); letter-spacing: .5px; }

/* 通用区块 */
section { padding: 84px 0; }
.section__eyebrow { display: inline-block; color: var(--ocean-500); font-weight: 700; letter-spacing: 1px; font-size: 14px; margin-bottom: 10px; }
.section__title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.25; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__lead { color: var(--ink-soft); margin-top: 14px; font-size: 16px; }

/* 关于 */
.about { background: #fff; }
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.about__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about__tag { position: absolute; left: 16px; bottom: 16px; background: var(--accent-blue); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.about__text p { color: var(--ink-soft); margin: 14px 0; }
.about__stats { display: flex; gap: 30px; margin-top: 26px; }
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong { font-size: 30px; color: var(--ocean-700); }
.about__stats span { font-size: 13px; color: var(--ink-soft); }

/* 产品 */
.products { background: var(--bg); }
.products__filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--ocean-500); color: var(--ocean-700); }
.chip--active { background: var(--ocean-700); color: #fff; border-color: var(--ocean-700); }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { font-size: 34px; }
.card__img { display: block; width: calc(100% + 44px); height: auto; max-height: 280px; object-fit: contain; background: var(--bg); border-radius: var(--radius) var(--radius) 0 0; margin: -22px -22px 0 -22px; }
.card h3 { font-size: 17px; font-weight: 700; }
.card h3 em { font-style: normal; font-size: 12px; color: var(--accent-blue); font-weight: 700; margin-left: 4px; }
.card__spec { font-size: 13px; color: var(--ocean-700); font-weight: 600; }
.card__use { font-size: 13px; color: var(--ink-soft); flex: 1; }
.products__note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--ink-soft); }

/* 优势 */
.advantages { background: linear-gradient(160deg, #062c52, #0a4d8c); color: #fff; }
.advantages .section__eyebrow { color: var(--cyan-400); }
.advantages .section__title { color: #fff; }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; transition: transform .18s ease, background .18s ease; }
.adv:hover { transform: translateY(-4px); background: rgba(255,255,255,.14); }
.adv__icon { font-size: 34px; margin-bottom: 12px; }
.adv h3 { font-size: 18px; margin-bottom: 8px; }
.adv p { font-size: 14px; color: rgba(255,255,255,.82); }

/* 渠道 */
.channels { background: #fff; }
.flow { display: flex; align-items: stretch; justify-content: center; gap: 14px; flex-wrap: wrap; }
.flow__node { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; text-align: center; min-width: 200px; flex: 1; max-width: 280px; }
.flow__node--main { background: linear-gradient(135deg, var(--ocean-500), var(--cyan-400)); color: #fff; border: none; }
.flow__step { font-size: 12px; opacity: .8; letter-spacing: 1px; }
.flow__node strong { display: block; margin: 8px 0 4px; font-size: 16px; }
.flow__node p { font-size: 13px; opacity: .85; }
.flow__arrow { display: flex; align-items: center; font-size: 28px; color: var(--ocean-500); }
.channels__tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.channels__tools div { display: flex; gap: 14px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.channels__tools span { font-size: 28px; }
.channels__tools strong { font-size: 15px; }
.channels__tools p { font-size: 13px; color: var(--ink-soft); }

/* 联系 */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
.contact__list { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.contact__list li { display: flex; gap: 12px; font-size: 15px; align-items: flex-start; }
.contact__list span { font-size: 18px; }
.contact__qr { display: flex; gap: 24px; align-items: flex-start; margin-top: 10px; flex-wrap: wrap; }
.contact__qr-item { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 180px; }
.contact__qr-box { width: 150px; height: 150px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(10,77,140,.08); display: flex; align-items: center; justify-content: center; }
.contact__qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.contact__qr-item p { font-size: 13px; color: var(--ink-soft); text-align: center; line-height: 1.55; }
.contact__qr-item p strong { display: block; color: var(--ocean-700); font-size: 14px; margin-bottom: 2px; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact__form h3 { font-size: 19px; margin-bottom: 16px; }
.contact__form label { display: block; font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; }
.contact__form input, .contact__form textarea {
  width: 100%; margin-top: 6px; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fbfdff;
}
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--ocean-500); }
.contact__form .btn { width: 100%; margin-top: 4px; }
.contact__tip { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }

/* 页脚 */
.footer { background: var(--ocean-900); color: #fff; padding: 48px 0 24px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand .brand__mark, .footer__brand .brand__name { color: #fff; }
.footer__brand p { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 6px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { font-size: 14px; color: rgba(255,255,255,.82); }
.footer__links a:hover { color: #fff; }
.footer__copy { text-align: center; margin-top: 30px; font-size: 12px; color: rgba(255,255,255,.55); }

/* 响应式 */
@media (max-width: 900px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid, .channels__tools { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--ocean-700); gap: 0; padding: 8px 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav__menu.open { max-height: 480px; }
  .nav__menu a { padding: 14px 6%; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__menu a:last-child { border-bottom: none; }
  .nav__tools .btn--cta { padding: 8px 14px; font-size: 13px; }
  .flow { flex-direction: column; align-items: center; }
  .flow__arrow { transform: rotate(90deg); }
  .flow__node { max-width: 320px; width: 100%; }
}
@media (max-width: 520px) {
  .products__grid, .advantages__grid, .channels__tools { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; gap: 14px; }
  .about__stats { gap: 18px; }
}
