:root {
  --primary: #165DFF;
  --primary-dark: #0d3aa1;
  --primary-soft: #eaf1ff;
  --accent: #ff6a3d;
  --cyan: #14b8a6;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e6ecf3;
  --soft: #f5f8fc;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(230, 236, 243, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 22px rgba(15, 23, 42, .04);
}
.nav-bar { min-height: 70px; display: flex; align-items: center; gap: 26px; }
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--primary-dark);
  font-size: 22px;
  font-weight: 900;
}
.brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 8px 20px rgba(22, 93, 255, .26);
  font-size: 0;
}
.brand-mark::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7l9-4 9 4-9 4-9-4z'/><path d='M3 12l9 4 9-4'/><path d='M3 17l9 4 9-4'/></svg>") no-repeat center / contain;
}
.desktop-nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 700; color: #334155; }
.desktop-nav a { position: relative; padding: 6px 0; transition: color .2s ease; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.desktop-nav a:hover { color: var(--primary); }
.desktop-nav a:hover::after { transform: scaleX(1); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(22, 93, 255, .26);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav-phone::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
}
.nav-phone:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(22, 93, 255, .34); }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); font-size: 28px; font-weight: 900; cursor: pointer; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 20px; font-weight: 800; }

section { padding: 86px 0; scroll-margin-top: 96px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 86px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(20, 184, 166, .42), transparent 32%),
    radial-gradient(circle at 12% 90%, rgba(255, 255, 255, .14), transparent 28%),
    linear-gradient(135deg, #08245a 0%, #0d3aa1 56%, #165DFF 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .6), transparent);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -240px auto;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .9fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 720px; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -1.4px;
  text-shadow: 0 12px 36px rgba(0, 18, 60, .26);
}
.hero p {
  margin: 0 0 32px;
  font-size: 19px;
  color: rgba(255, 255, 255, .88);
  line-height: 1.75;
}
.hero-copy::before {
  content: "Product · Manufacturing";
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #bff4ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button.light {
  color: var(--primary-dark);
  background: #fff;
  box-shadow: 0 14px 30px rgba(255, 255, 255, .18);
}
.button.light:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(255, 255, 255, .26); }
.button.ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.button.ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, .98);
  color: var(--ink);
  box-shadow: 0 36px 80px rgba(0, 28, 88, .32), inset 0 1px 0 rgba(255, 255, 255, .9);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .26);
}
.hero-card-title {
  padding: 18px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), #0f87ad);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
}
.hero-card-phone {
  position: relative;
  padding: 18px 22px 8px;
  color: var(--primary-dark);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: .02em;
}
.hero-card-phone::before {
  content: "咨询电话";
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-card-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 18px 22px;
}
.hero-card-item {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-soft), #f8fbff);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(13, 58, 161, .06);
  transition: transform .25s ease;
}
.hero-card-item:hover { transform: translateY(-2px); }
.hero-card-item img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-footer {
  padding: 14px 22px 24px;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 900;
}
.hero-card-footer::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 auto 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

/* ============ SECTION COMMON ============ */
.gray { background: linear-gradient(180deg, var(--soft), #fff); }
.section-title { margin-bottom: 44px; text-align: center; }
.section-title h2 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -.6px;
}
.section-title h2::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 106, 61, .14);
}
.line {
  width: 64px;
  height: 4px;
  margin: 4px auto 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}
.section-title p, .prose { max-width: 920px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.prose { margin-bottom: 30px; color: #334155; }
.prose p { margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }

/* ============ PRODUCTS ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 70%, rgba(22, 93, 255, .32));
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px rgba(15, 23, 42, .12); border-color: rgba(22, 93, 255, .18); }
.product-card:hover::after { opacity: 1; }
.product-image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-soft), #e6f4ff);
  color: var(--primary-dark);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  padding: 22px;
  overflow: hidden;
}
.product-image::after {
  content: "";
  position: absolute;
  inset: auto -40% -40% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  filter: blur(20px);
  pointer-events: none;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.product-body { padding: 22px 22px 24px; text-align: center; }
.product-body h3 { margin: 0 0 8px; color: var(--primary-dark); font-size: 21px; }
.product-body p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ============ CRAFT ============ */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 30px;
  max-width: 960px;
  margin: 28px auto 0;
}
.craft-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.craft-item:hover { transform: translateY(-2px); border-color: rgba(22, 93, 255, .2); box-shadow: 0 16px 36px rgba(15, 23, 42, .08); }
.craft-item span {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  font-size: 0;
  box-shadow: 0 6px 16px rgba(22, 93, 255, .26);
}
.craft-item span::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
}
.craft-item strong { display: block; margin-bottom: 4px; color: var(--primary-dark); font-size: 18px; }
.craft-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ============ ADVANTAGES ============ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 38px;
}
.adv-card {
  position: relative;
  min-height: 196px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.adv-card::before {
  content: counter(adv);
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  color: var(--primary-soft);
  letter-spacing: -2px;
}
.adv-grid { counter-reset: adv 0; }
.adv-card { counter-increment: adv; }
.adv-card:nth-child(n)::before { content: "0" counter(adv); }
.adv-card:hover { transform: translateY(-5px); border-color: rgba(22, 93, 255, .2); box-shadow: 0 24px 50px rgba(15, 23, 42, .1); }
.adv-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-soft), #d8e6ff);
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(22, 93, 255, .14);
  font-size: 0;
}
.adv-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23165DFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><polyline points='10 12 12 14 16 10'/></svg>") no-repeat center / contain;
}
.adv-card strong { display: block; margin-bottom: 10px; font-size: 19px; color: var(--ink); }
.adv-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

/* ============ FUTURE / CTA ============ */
.future {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 16% 50%, rgba(20, 184, 166, .35), transparent 38%),
    radial-gradient(circle at 88% 30%, rgba(255, 106, 61, .26), transparent 36%),
    linear-gradient(135deg, #08245a, #0d3aa1 55%, #165DFF);
}
.future::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, .5));
  pointer-events: none;
}
.future .container { position: relative; z-index: 1; }
.future h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.2vw, 42px);
  letter-spacing: -.5px;
}
.future p { max-width: 880px; margin: 18px auto 28px; font-size: 18px; color: rgba(255, 255, 255, .88); }
.future .button.light { background: #fff; color: var(--primary-dark); }

/* ============ CONTACT ============ */
.contact-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 34px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff, var(--soft));
  border: 1px solid var(--line);
  box-shadow: 0 28px 64px rgba(15, 23, 42, .08);
  text-align: center;
}
.contact-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  color: var(--primary-dark);
}
.contact-card .hotline {
  display: inline-block;
  margin: 0 0 16px;
  padding: 12px 26px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff8a5c);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(255, 106, 61, .28);
}
.contact-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }

footer {
  padding: 36px 0 32px;
  color: rgba(255, 255, 255, .82);
  text-align: center;
  background: #081222;
}
footer p { margin: 4px 0; font-size: 14px; }

.mobile-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff8a5c);
  font-size: 0;
  box-shadow: 0 16px 30px rgba(255, 106, 61, .42);
  z-index: 60;
}
.mobile-call::before {
  content: "";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/></svg>") no-repeat center / contain;
}

@media (max-width: 960px) {
  section { padding: 64px 0; }
  .hero { padding: 78px 0 64px; }
  .hero-grid, .craft-grid, .adv-grid { grid-template-columns: 1fr; }
  .nav-phone, .desktop-nav { display: none; }
  .menu-button { display: block; }
  .mobile-menu.open { display: block; }
  .brand { font-size: clamp(18px, 5vw, 22px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-card-gallery { grid-template-columns: repeat(3, 1fr); }
  .mobile-call { display: flex; }
}

@media (max-width: 600px) {
  .hero-card-gallery { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 36px; }
}
