/* ==========================================================================
   Four-Faith Inc. - Global Stylesheet (Milesight-inspired Edition)
   www.fourfaithinc.com | 海外 B2B 站点
   设计风格：极简白底 + 科技蓝绿点缀 + 圆润字体 + 大留白
   ========================================================================== */

:root {
  --color-primary: #1A2B47;        /* 深蓝（仅用在 Logo 和重要文字） */
  --color-accent: #0066CC;         /* 主蓝色（按钮、链接） */
  --color-accent-dark: #0052A3;    /* Hover */
  --color-water: #00B894;          /* 智慧水利点缀绿 */
  --color-text: #1A2332;
  --color-text-light: #6B7785;
  --color-text-muted: #95A0AE;
  --color-border: #E8ECF1;
  --color-border-light: #F0F3F7;
  --color-bg: #FFFFFF;
  --color-bg-soft: #E4EEFA;
  --color-bg-section: #FAFBFD;
  --color-error: #E74C3C;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --container-max: 1280px;/*调页面长度*/
  --header-height: 76px;
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow-sm: 0 2px 8px rgba(26, 43, 71, 0.06);
  --shadow: 0 4px 16px rgba(26, 43, 71, 0.08);
  --shadow-lg: 0 8px 32px rgba(26, 43, 71, 0.10);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-accent-dark); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; outline: none; }

/* 调整模块上下边距*/
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }
.section-sm { padding: 12px 0; }
.bg-soft { background: var(--color-bg-soft); }
.bg-section { background: var(--color-bg-section); }

/* Typography - Milesight 风格：大字号、宽松字距、字重克制 */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1.inner-page-title {
  font-size: 28px;
  font-weight: 800;
}

h1 { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }






p { margin-bottom: 16px; }
.text-light { color: var(--color-text-light); }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-water { color: var(--color-water); }
.fw-medium { font-weight: 500; }
.fw-bold { font-weight: 700; }

/* Section Title - Milesight 风格：极简 */
.section-title {
  text-align: center;
  margin-bottom: 64px;
}
.section-title h2 { margin-bottom: 16px; }
.section-title p { color: var(--color-text-light); font-size: 17px; max-width: 720px; margin: 0 auto; line-height: 1.6; }
.section-title .eyebrow {
  display: inline-block;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Buttons - 圆润、无边框阴影 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover { background: var(--color-accent-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn-secondary:hover { background: var(--color-accent); color: #fff; }
.btn-outline-dark {
  background: transparent;
  color: var(--color-text);
  border: 1.5px solid var(--color-text);
}
.btn-outline-dark:hover { background: var(--color-text); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--color-text);
}
.btn-white:hover { background: var(--color-bg-soft); color: var(--color-text); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* Header - 白底、轻盈 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  height: var(--header-height);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.logo img, .logo svg { height: 32px; width: auto; }
.logo .logo-mark { color: var(--color-accent); }
.logo-img { height: 40px; width: 40px; object-fit: contain; border-radius: 6px; }
.logo-fallback { height: 32px; width: 32px; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  color: var(--color-text);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-nav > li > a:hover, .main-nav > li > a.active { color: var(--color-accent); }
.main-nav .has-dropdown > a::after { content: "▾"; font-size: 10px; margin-left: 2px; opacity: .6; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 6px 0;
}
.lang-switcher a { color: inherit; padding: 0 4px; }
.lang-switcher a.active { color: var(--color-accent); font-weight: 700; }

/* Mega Menu */
.has-dropdown { position: relative; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 960px;/*调导航下拉条长度*/
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.has-dropdown:hover .mega-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }/*调导航分列*/
.mega-grid-blog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }/*调导航分列*/
.mega-col h4 { color: var(--color-text-muted); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; font-weight: 700; }
.mega-col ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  margin: 2px 0;
}
.mega-col ul li a:hover { background: var(--color-bg-soft); color: var(--color-accent); padding-left: 16px; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px auto;
  transition: var(--transition);
}

/* Hero - Background image style (homepage) - v2.0 PREMIUM EDITION (1600x650) */
.hero {
  position: relative;
  background: #fff;
  overflow: hidden;
  padding: 80px 0 80px;
}
.hero-premium {
  /* v2.0: Banner 1600x650 per requirements, adaptive on all devices 头图 */
  min-height: 650px;
  padding: 50px 0 40px; min-height:240px;
  background: #F0F7FC;
}
@media (max-width: 768px) {
  .hero-premium { min-height: 480px; padding: 60px 0 70px; }
}
@media (max-width: 480px) {
  .hero-premium { min-height: 420px; padding: 50px 0 60px; }
}
.hero.hero-bg {
  position: relative;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
/* v2.0: banner uses real JPG image (no SVG) */
.hero-bg-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { 
  color: var(--color-text); 
  font-size: clamp(36px, 5vw, 60px); 
  margin-bottom: 24px; 
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.hero .lead {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
  padding-top: 40px;
  
}
.hero-stat .num { font-size: 32px; font-weight: 800; color: var(--color-accent); line-height: 1; letter-spacing: -0.02em; }
.hero-stat .label { font-size: 13px; color: var(--color-text-light); margin-top: 6px; }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #E8F4FB 0%, #F0F8FA 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 30% 30%, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 184, 148, 0.08) 0%, transparent 50%);
}

/* 内页封面图
/* ========== 通用内页封面 ff-banner 全局样式（所有页面通用） ========== */
.ff-banner {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
  /* 兜底底色，图片加载前过渡 */
  background-color: #e6f0f9;
}

/* 内嵌图片：铺满全屏，自适应 */
.ff-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  /* 兼容老旧浏览器 */
  -o-object-fit: cover;
}

/* 半透明遮罩层，通用深色水利蒙版 */
.ff-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 28, 58, 0.48);
  z-index: 1;
}

/* 文字内容容器，置于遮罩上层 */
.ff-banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 30px;
  color: #ffffff;
}

/* 面包屑通用样式 */
.ff-banner .breadcrumb {
  font-size: 14px;
  opacity: 0.92;
  letter-spacing: 0.4px;
  margin: 0;
}

/* ========== 移动端通用适配（所有内页统一生效） ========== */
@media screen and (max-width: 768px) {
  .ff-banner {
    min-height: 240px;
  }
  .ff-banner__content {
    padding-bottom: 20px;
  }
  .ff-banner .breadcrumb {
    font-size: 13px;
  }
}

@media screen and (max-width: 480px) {
  .ff-banner {
    min-height: 200px;
  }
}


/* Featured Products - 极简卡片 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
 
  transition: var(--transition);
  text-align: left;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.product-card .product-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-soft), var(--color-bg-section));
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.product-card h3 { font-size: 17px; margin-bottom: 8px; font-weight: 600; }
.product-card p { font-size: 14px; color: var(--color-text-light); margin-bottom: 16px; line-height: 1.5; }
.product-card .more { font-size: 13px; font-weight: 600; color: var(--color-accent); letter-spacing: 0.01em; }

/* Solutions - Milesight 风格：图片占比大 */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.solution-card .img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-accent), var(--color-water));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 56px;
  position: relative;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-img img { transform: scale(1.08); }
.solution-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.solution-card:hover .img img { transform: scale(1.05); }

.product-card .card-main-img {
  width: 100%;
  aspect-ratio: 16/10; /* 和图1图片比例对齐 */
  border-radius: var(--radius);
  margin-bottom: 24px;
}


.solution-card .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.15));
}
.solution-card .body { padding: 28px; }
.solution-card h3 { margin-bottom: 10px; font-size: 20px; }
.solution-card p { font-size: 14px; color: var(--color-text-light); margin-bottom: 14px; line-height: 1.55; }
.solution-card .tag { display: inline-block; padding: 4px 10px; background: var(--color-bg-soft); color: var(--color-text-light); border-radius: 100px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }

/* Case Studies */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.case-card .img { aspect-ratio: 16/10; background: var(--color-bg-soft); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.case-card .img .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.95);
  color: var(--color-accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
}
.case-card .body { padding: 24px; }
.case-card h3 { font-size: 18px; margin-bottom: 8px; font-weight: 600; }
.case-card .meta { font-size: 13px; color: var(--color-text-light); margin-bottom: 12px; }
.case-card p { font-size: 14px; color: var(--color-text-light); line-height: 1.55; margin: 0; }

/* Blog Cards */
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.blog-card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--color-accent); }
.blog-card .img { 
    aspect-ratio: 16/10; 
    background: linear-gradient(135deg,var(--color-accent), var(--color-water));
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 36px; 
    color: var(--color-accent); 
    position: relative;
    overflow: hidden;
}
.blog-card .img img, .blog-card .img .solution-card-img { 
    position: absolute;
    top: 0; left: 0;
    width: 100% !important; 
    height: 100% !important; 
    max-width: 100%;
    object-fit: cover !important; 
    object-position: center; 
    display: block; 
}
.blog-card .body { padding: 20px; }
.blog-card .cat { font-size: 11px; color: var(--color-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.blog-card h3 { font-size: 16px; margin: 8px 0 10px; line-height: 1.4; font-weight: 600; }
.blog-card .meta { font-size: 13px; color: var(--color-text-muted); }
.blog-card .excerpt { font-size: 14px; color: var(--color-text-light); margin-top: 10px; line-height: 1.55; }

/* About Strength */
.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.strength-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.strength-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--color-border-light);
}
.strength-item .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.strength-item h4 { font-size: 15px; margin-bottom: 4px; font-weight: 600; }
.strength-item p { font-size: 13px; color: var(--color-text-light); margin: 0; }

/* Contact / Inquiry - 简化 */
.contact-section { background: var(--color-bg-soft); }
.contact-section h2 { color: var(--color-text); }
.contact-section .section-title p { color: var(--color-text-light); }
.contact-form {
  max-width: 1080px;/*改首页表单长度*/
  margin: 0 auto;
  background: #fff;
  color: var(--color-text);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-bottom: 8px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--color-text); }
.form-group label .req { color: var(--color-error); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  transition: var(--transition);
  font-family: inherit;
}
.form-control:focus { border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.08); }
textarea.form-control { min-height: 120px; resize: vertical; }

/* Footer - 简洁 */
.site-footer {
  background: #fff;
  color: var(--color-text-light);
  padding: 64px 0 0;
  border-top: 1px solid var(--color-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}
.footer-brand .logo { color: var(--color-text); margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: var(--color-text-light); }

/* Footer inquiry form (under logo, requirement #5) */
.footer-inquiry-form {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.footer-form-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.footer-form-row { display: flex; gap: 8px; margin-bottom: 8px; }
.footer-form-row.footer-form-meta { gap: 8px; }
.footer-form-input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  background: #fff;
  color: var(--color-text);
  transition: var(--transition);
  font-family: inherit;
}
.footer-form-input:focus { border-color: var(--color-accent); outline: none; box-shadow: 0 0 0 2px rgba(0,102,204,0.10); }
.footer-form-row .btn { white-space: nowrap; }
.footer-form-note {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 1.5;
}
.footer-form-note a { color: var(--color-text-muted); text-decoration: underline; }
.footer-form-note a:hover { color: var(--color-accent); }
.footer-col h4 { color: var(--color-text); font-size: 14px; margin-bottom: 16px; font-weight: 700; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--color-text-light); font-size: 14px; }
.footer-col ul li a:hover { color: var(--color-accent); padding-left: 4px; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: var(--color-text-muted); }
/* ============================================================================
   Hero Premium Edition — High-end B2B banner styling
   ============================================================================ */
.hero-premium .hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-premium .hero-bg-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}
.hero-premium .container { position: relative; z-index: 2; }

/* Badge with pulsing dot */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(0,184,148,0.10), rgba(0,102,204,0.08));
  color: #00805F;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(0,184,148,0.20);
  box-shadow: 0 2px 8px rgba(0,184,148,0.08);
}
.hero-badge-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00B894;
  box-shadow: 0 0 0 0 rgba(0,184,148,0.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(0,184,148,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(0,184,148,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,184,148,0); }
}

/* Hero Title - large + gradient accent on second line */
.hero-title {
  font-size: clamp(34px, 4.5vw, 56px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  margin-bottom: 28px !important;
  letter-spacing: -0.01em !important;
  color: var(--color-text);
}
.hero-title-accent {
  background: linear-gradient(135deg, #0066CC 0%, #00B894 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* Hero Lead - more breathing room */
.hero .lead {
  font-size: 19px;
  line-height: 1.65;
  color:#282828;
  margin-bottom: 20px;
  max-width: 600px;
}

/* Hero Buttons - premium feel */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
    margin: 30px 0 10px 0;
}
/*margin-bottom: 10px;*/
.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0,102,204,0.25);
}
.btn-arrow svg { transition: transform 0.25s; }
.btn-arrow:hover svg { transform: translateX(4px); }

/* Hero Stats - glassmorphic cards 头图数据卡片*/
.hero-stats {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.1fr 1fr;;
  gap: 8px;
  margin-top: 0;
  padding-top: 0px;
  
}
.hero-stat {
  padding: 10px 10px;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 4px 24px rgba(26,43,71,0.06);
  transition: var(--transition);
}
.hero-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26,43,71,0.10);
  background: rgba(255,255,255,0.85);
}
.hero-stat-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.025em;
}
.hero-stat-num .num-plus { font-size: 28px; color: #00B894; margin-left: 2px; }
.hero-stat-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 8px;
  font-weight: 500;
}

/* Mobile hero premium */
@media (max-width: 768px) {
  .hero-premium { padding: 60px 0 70px; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr 1fr;}
  .hero-stat { padding: 16px 12px; }
  .hero-stat-num { font-size: 28px; }
}

/* Page Hero (inner pages) - Milesight 风格：纯白底 */
.page-hero {
  background: var(--color-bg-soft);
  color: var(--color-text);
  padding: 20px 0 20px; /* Requirement #3: height 300px */
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
  min-height: 300px;
  display: flex;
  align-items: center;
}
.page-hero h1 { color: var(--color-text); margin-bottom: 16px; letter-spacing: -0.025em; }
.page-hero .breadcrumb { color: var(--color-text-light); font-size: 14px; }
.page-hero .breadcrumb a { color: var(--color-text-light); }
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .breadcrumb span { margin: 0 8px; opacity: .5; }
.page-hero p { color: var(--color-text-light); font-size: 17px; max-width: 720px; margin: 0 auto; }


/* ========== 20260721新增1：面包屑导航样式 【原CSS行：.page-hero .breadcrumb 下方】 ========== */
.breadcrumb-wrap {
  position: relative;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 14px;
  color: var(--color-text-light);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: var(--color-text); font-weight: 500; }

/* Breadcrumb - Normal flow by default, JS adds .is-sticky when meeting main nav */
.breadcrumb-wrap {
  position: relative;
  z-index: 99;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: 14px;
  color: var(--color-text-light);
  transition: box-shadow 0.2s ease;
}
.breadcrumb-wrap.is-sticky {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 1px 3px rgba(26, 43, 71, 0.06);
}
/* Placeholder to prevent layout jump when breadcrumb becomes fixed */
.breadcrumb-placeholder { height: 0; }
.breadcrumb-wrap a { color: var(--color-text-light); }
.breadcrumb-wrap a:hover { color: var(--color-accent); }
.breadcrumb-wrap span.sep { margin: 0 8px; opacity: .5; }
.breadcrumb-wrap a.current { color: var(--color-text); font-weight: 500; }

/* Sidebar Layout */
.content-with-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 64px 0; }
.sidebar { position: sticky; top: calc(var(--header-height) + 16px); align-self: start; }
.sidebar h4 { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; padding-left: 12px; font-weight: 700; }
.sidebar ul li a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  border-left: 2px solid transparent;
}

.sidebar ul li a:hover, .sidebar ul li a.active { background: var(--color-bg-soft); color: var(--color-accent); border-left-color: var(--color-accent); }


/* ========== 20260721新增4：SEO文本 & FAQ区块 【原CSS行：.article 上方】 ========== */
.seo-text-block {
  padding: 32px;
  background: var(--color-bg-section);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
}
.seo-text-block h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.faq-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}
.faq-item h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.product-grid-title {
  margin: 40px 0 24px;
}


/* Article */
.article { padding: 32px 0; }
.article-body { max-width: 1200px; margin: 0 auto; }
.article-body h1 { margin-bottom: 16px; }
.article-meta { color: var(--color-text-muted); font-size: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--color-border); }
.article-body p, .article-body li { font-size: 16px; line-height: 1.75; margin-bottom: 16px; color: var(--color-text); }
.article-body h2 { font-size: 26px; margin: 40px 0 16px; letter-spacing: -0.015em; }
.article-body h3 { font-size: 20px; margin: 28px 0 12px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 16px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body blockquote {
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-soft);
  padding: 16px 24px;
  margin: 0px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--color-text-light);
}
.article-body img { border-radius: var(--radius); margin: 24px 0; }
.article-body table { margin: 20px 0; }
.article-related {
  margin-top: 56px;
  padding-top: 40px;
 
}
.article-related h3 { margin-bottom: 20px; }

/* Admin Panel */
.admin-body { background: var(--color-bg-soft); }
.admin-wrap { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar {
  background: #fff;
  color: var(--color-text);
  padding: 24px 0;
  border-right: 1px solid var(--color-border);
}
.admin-sidebar .logo { padding: 0 24px 24px; border-bottom: 1px solid var(--color-border-light); margin-bottom: 16px; }
.admin-sidebar ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
  border-left: 2px solid transparent;
}
.admin-sidebar ul li a:hover, .admin-sidebar ul li a.active { background: var(--color-bg-soft); color: var(--color-accent); border-left-color: var(--color-accent); }
.admin-main { padding: 32px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.admin-topbar h1 { font-size: 24px; font-weight: 700; }
.admin-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--color-border);
  margin-bottom: 24px;
}
.admin-card h3 { margin-bottom: 16px; font-size: 17px; font-weight: 600; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--color-border-light); font-size: 14px; }
.admin-table th { background: var(--color-bg-soft); font-weight: 600; color: var(--color-text-light); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table tr:hover td { background: var(--color-bg-soft); }
.status-tag { display: inline-block; padding: 2px 10px; border-radius: 100px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.status-tag.pending { background: #FFF3CD; color: #856404; }
.status-tag.done { background: #D4EDDA; color: #155724; }

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid, .case-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { aspect-ratio: 16/10; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: 1fr; gap: 40px; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
/* ========== 20260721移动端适配补充【原有@media (max-width: 1024px) {} 内部末尾】 ========== */
.breadcrumb-wrap {
  padding: 8px 0;
}
.pagination-wrap {
  flex-wrap: wrap;
}
.seo-text-block {
  padding: 20px 16px;
}

/* ========== 20260721新增3：分页控件 【原CSS行：.product-grid 下方】 ========== */
.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 0;
}
.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: var(--transition);
}
.page-link:hover {
  background: var(--color-bg-soft);
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.page-link.current-page {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.prev-page, .next-page {
  width: auto;
  padding: 0 16px;
}




/* Responsive - Mobile */
@media (max-width: 840px) {
  :root { --header-height: 64px; }
  --container-max: 1440px; 
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav > li > a { padding: 12px 16px; }
  .mega-menu { position: static; transform: none; min-width: 0; box-shadow: none; border: none; padding: 12px 0 0 16px; opacity: 1; visibility: visible; display: none; }
  .has-dropdown.open .mega-menu { display: block; }
  .mega-grid { grid-template-columns: 1fr; gap: 16px; }
  
  .hero { padding: 40px 0; }
  .product-grid, .solutions-grid, .case-grid, .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-form { padding: 28px 24px; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 16px; }
}

/* Utility */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.hidden { display: none; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease-out; }

/* Print */
@media print {
  .site-header, .site-footer, .nav-actions, .menu-toggle { display: none; }
}
/* ============================================================
   Product Detail - 5 Sections
   ============================================================ */
.product-section { /*内页h2的上下宽距设计*/
  margin: 6px 0;
  padding: 6px 0;
}
.product-section:last-of-type {
  border-bottom: none;
}
.product-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0A2540;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #0078D4;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.product-section h2 small {
  font-size: 14px;
  font-weight: 400;
  color: #95A0AE;
}
.product-content {
  font-size: 16px;
  line-height: 1.8;
  color: #4D5156;
}
.product-content p { margin-bottom: 14px; }
.product-content ul, .product-content ol { padding-left: 24px; margin-bottom: 14px; }
.product-content li { margin-bottom: 6px; }
.topology-diagram { text-align: center; }
.topology-diagram img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin-bottom: 12px;
}
.topology-desc {
  font-size: 14px;
  color: #95A0AE;
  font-style: italic;
  margin-top: 8px;
}
.advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.advantage-list li {
  padding: 12px 16px;
  background: linear-gradient(135deg, #F4F6FA 0%, #FFFFFF 100%);
  border-left: 4px solid #0078D4;
  border-radius: 4px;
  font-size: 15px;
  color: #2C3E50;
}
.advantage-list li::before {
  content: "✓ ";
  color: #00B894;
  font-weight: bold;
  margin-right: 6px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.scenario-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F4F6FA;
  border-radius: 6px;
  font-size: 14px;
  color: #2C3E50;
}
.scenario-icon { font-size: 18px; }
.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.specs-table th, .specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #E8ECF1;
  font-size: 14px;
}
.specs-table th {
  background: #F4F6FA;
  font-weight: 600;
  color: #0A2540;
  width: 30%;
  white-space: nowrap;
}
.specs-table tr:last-child th, .specs-table tr:last-child td {
  border-bottom: none;
}
.specs-table tr:hover { background: #FAFBFC; }

@media (max-width: 768px) {
  .advantage-list { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .product-section h2 { font-size: 20px; }
}


/* 产品详情页产品图片+信息组合区 ==================== */
.product-image-info-section {
  margin: 40px 0;
}

.product-image-info-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

/* 左侧图片块 */
.product-image-block {
  width: 58%;
  flex-shrink: 0;
}

.main-image-wrapper {
  width: 100%;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.main-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* 缩略图列表 */
.thumbnail-list {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.thumbnail-item {
  width: 22%;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.thumbnail-item img {
  width: 100%;
  height: auto;
  display: block;
}

.thumbnail-item:hover,
.thumbnail-item.active {
  border-color: #0066cc;
}

/* 右侧产品信息块 */
.product-info-block {
  width: 42%;
}

.product-info-block .product-name {
  font-size: 28px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 12px;
}

.product-info-block .product-model {
  font-size: 16px;
  color: #425466;
  margin-bottom: 16px;
}

.product-info-block .product-desc {
  font-size: 16px;
  color: #425466;
  line-height: 1.5;
  
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 1024px) {
  .product-image-info-inner {
    flex-direction: column;
  }

  .product-image-block,
  .product-info-block {
    width: 100%;
  }

  .product-info-block {
    margin-top: 24px;
  }
}

@media (max-width: 640px) {
  .thumbnail-list {
    flex-wrap: wrap;
  }

  .thumbnail-item {
    width: 48%;
  }
}