/* ===== FUERDAI 官网主样式 ===== */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2540;
  --accent: #e8a020;
  --accent-dark: #c8880a;
  --green: #2e7d32;
  --text: #1a1a1a;
  --text-light: #555;
  --bg-light: #f5f7fa;
  --white: #fff;
  --border: #e0e4ea;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --radius: 8px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: var(--text); line-height: 1.7; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== 通用工具 ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-light); }
.section-title { font-size: 2rem; font-weight: 700; color: var(--primary-dark); text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--text-light); font-size: 1.05rem; margin-bottom: 48px; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-size: 1rem; font-weight: 600; cursor: pointer; border: none; transition: all .2s; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: var(--primary-dark); }
.tag { display: inline-block; background: var(--accent); color: var(--white); padding: 3px 12px; border-radius: 20px; font-size: .82rem; font-weight: 600; margin-bottom: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ===== 导航栏 ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--primary-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  height: 68px; display: flex; align-items: center;
  transition: background .3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 48px; width: auto; display: block; background: #fff; padding: 4px 10px; border-radius: 6px; transition: box-shadow .2s; }
.nav-logo img:hover { box-shadow: 0 0 0 2px var(--accent); }
.nav-logo .logo-text { color: var(--white); font-size: 1.35rem; font-weight: 700; letter-spacing: 1px; }
.nav-logo .logo-sub { color: var(--accent); font-size: .75rem; display: block; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { color: rgba(255,255,255,.88); padding: 8px 14px; font-size: .92rem; border-radius: 4px; transition: all .2s; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(255,255,255,.08); }
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--primary-dark); border-top: 2px solid var(--accent); min-width: 200px; box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); z-index: 100; }
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 10px 18px; color: rgba(255,255,255,.82); font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-dropdown a:hover { color: var(--accent); background: rgba(255,255,255,.06); }
.lang-switcher { display: flex; gap: 4px; margin-left: 16px; }
.lang-btn { padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.7); font-size: .82rem; cursor: pointer; transition: all .2s; background: transparent; }
.lang-btn.active, .lang-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* ===== 首页 Hero ===== */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #1a5276 60%, #117a65 100%);
  position: relative; overflow: hidden; padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .22;
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-badge { display: inline-block; background: var(--accent); color: var(--white); padding: 5px 16px; border-radius: 20px; font-size: .85rem; font-weight: 600; margin-bottom: 20px; letter-spacing: 1px; }
.hero-title { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1.25; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1rem, 2vw, 1.25rem); color: rgba(255,255,255,.85); margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.hero-stat .label { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ===== 优势模块 ===== */
.adv-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; text-align: center; box-shadow: var(--shadow); border-top: 4px solid var(--accent); transition: transform .2s; }
.adv-card:hover { transform: translateY(-6px); }
.adv-icon { width: 64px; height: 64px; margin: 0 auto 18px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.adv-card h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 10px; font-weight: 700; }
.adv-card p { color: var(--text-light); font-size: .95rem; line-height: 1.65; }

/* ===== 产品卡片 ===== */
.prod-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-6px); }
.prod-img { height: 240px; overflow: hidden; background: #e8edf2; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--primary-dark); margin: 8px 0; }
.prod-body p { color: var(--text-light); font-size: .92rem; flex: 1; margin-bottom: 20px; }
.prod-body .btn { align-self: flex-start; }

/* ===== 出口地图 ===== */
#map-section { background: var(--primary-dark); color: var(--white); }
#map-section .section-title { color: var(--white); }
#map-section .section-sub { color: rgba(255,255,255,.7); }
.country-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.country-badge { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 10px 22px; border-radius: 30px; font-size: .95rem; display: flex; align-items: center; gap: 8px; }
.country-badge span { font-size: 1.3rem; }

/* ===== 页内 Banner（非首页）===== */
.page-banner { background: linear-gradient(135deg, var(--primary-dark), #1a5276); padding: 100px 0 60px; color: var(--white); text-align: center; }
.page-banner h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.page-banner p { color: rgba(255,255,255,.8); font-size: 1.1rem; }

/* ===== 产品详情页 ===== */
.pd-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: var(--radius); overflow: hidden; }
.pd-gallery img { width: 100%; height: 280px; object-fit: cover; cursor: pointer; }
.pd-main-img { grid-column: 1 / -1; height: 380px !important; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: .95rem; }
.spec-table th { background: var(--bg-light); font-weight: 600; color: var(--primary-dark); width: 40%; }
.spec-table tr:hover td { background: #fafbfc; }
.adv-list li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 12px; }
.adv-list li::before { content: "✓"; color: var(--green); font-weight: 700; font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.market-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.market-badge { background: var(--bg-light); border: 1px solid var(--border); padding: 6px 16px; border-radius: 20px; font-size: .9rem; color: var(--primary); font-weight: 600; }
.pd-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.video-btn { display: inline-flex; align-items: center; gap: 8px; }
.video-btn::before { content: "▶"; display: inline-block; width: 32px; height: 32px; background: var(--accent); border-radius: 50%; text-align: center; line-height: 32px; font-size: .75rem; color: var(--white); }

/* ===== 视频弹窗 ===== */
#video-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 9999; align-items: center; justify-content: center; }
#video-modal.open { display: flex; }
#video-modal video, #video-modal iframe { max-width: 90vw; max-height: 80vh; border-radius: var(--radius); }
.modal-close { position: absolute; top: 20px; right: 28px; color: var(--white); font-size: 2rem; cursor: pointer; line-height: 1; }

/* ===== 工厂页 ===== */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.cert-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow); }
.cert-card img { height: 80px; object-fit: contain; margin: 0 auto 12px; }
.cert-card p { font-size: .9rem; color: var(--text-light); font-weight: 600; }

/* ===== Certificate wall ===== */
.cw-group-title { text-align: center; color: var(--primary-dark); font-size: 1.1rem; font-weight: 700; margin: 44px 0 6px; }
.cw-group-sub { text-align: center; color: var(--text-light); font-size: .88rem; margin-bottom: 22px; }
.cw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.cw-grid.cw-wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.cw-item { background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.cw-item .cw-img { background: #f3f5f8; padding: 10px; display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 3; }
.cw-grid.cw-wide .cw-item .cw-img { aspect-ratio: 3 / 2; }
.cw-item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: zoom-in; transition: transform .25s; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.cw-item:hover img { transform: scale(1.03); }
.cw-item .cw-cap { padding: 10px 8px 12px; text-align: center; font-size: .86rem; line-height: 1.5; color: var(--primary-dark); font-weight: 600; }
.cw-item .cw-cap small { display: block; font-weight: 400; color: var(--text-light); font-size: .76rem; }
.cw-note { text-align: center; color: var(--text-light); font-size: .78rem; margin-top: 18px; }
.pcert-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 16px; margin-top: 16px; }
.pcert-row .cw-item .cw-img { padding: 6px; }
.pcert-row .cw-item .cw-cap { font-size: .8rem; padding: 8px 4px 10px; }
@media (max-width: 768px) {
  .cw-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cw-grid.cw-wide { grid-template-columns: 1fr; }
  .pcert-row { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 案例页 ===== */
.case-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.case-card img { height: 220px; width: 100%; object-fit: cover; }
.case-body { padding: 18px 20px; }
.case-body h4 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 6px; }
.case-body p { font-size: .9rem; color: var(--text-light); }

/* ===== 联系页 ===== */
.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--primary-dark); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius); font-size: .95rem; font-family: inherit; transition: border .2s; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info-card { background: var(--primary-dark); color: var(--white); border-radius: var(--radius); padding: 40px; }
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 28px; color: var(--accent); }
.ci-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.ci-text strong { display: block; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.ci-text span { font-size: 1rem; }

/* ===== WhatsApp 悬浮按钮 ===== */
#wa-float { position: fixed; bottom: 32px; right: 32px; z-index: 999; width: 60px; height: 60px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.5); cursor: pointer; transition: transform .2s; }
#wa-float:hover { transform: scale(1.12); }
#wa-float svg { width: 32px; height: 32px; fill: var(--white); }
#wa-float .wa-tooltip { position: absolute; right: 68px; background: var(--text); color: var(--white); padding: 6px 12px; border-radius: 4px; font-size: .85rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
#wa-float:hover .wa-tooltip { opacity: 1; }

/* ===== 页脚 ===== */
#footer { background: var(--primary-dark); color: rgba(255,255,255,.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand-name { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.footer-brand .brand-en { color: var(--accent); font-size: .85rem; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: .85rem; }

/* ===== 面包屑 ===== */
.breadcrumb { padding: 14px 0; font-size: .88rem; color: rgba(255,255,255,.6); }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ===== 招商合作页 ===== */
.coop-card { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.coop-card h3 { color: var(--primary-dark); font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.coop-card p { color: var(--text-light); font-size: .95rem; }

/* ===== 行业资讯页 ===== */
.news-page-wrap {
  max-width: 860px;
  margin: 48px auto 64px;
  padding: 0 24px;
}
.news-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.news-page-sub {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 36px;
}
.news-section-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  margin: 36px 0 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.news-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #eef0f3;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s, background .18s;
}
.news-item:hover {
  box-shadow: var(--shadow);
  background: #f8fbff;
}
.news-item-source {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 2px;
  white-space: nowrap;
}
.news-item-source.policy { background: #e8f4fd; color: #1565c0; }
.news-item-source.export { background: #e8f5e9; color: #2e7d32; }
.news-item-source.market { background: #fff3e0; color: #e65100; }
.news-item-source.event  { background: #f3e5f5; color: #6a1b9a; }
.news-item-body { flex: 1; min-width: 0; }
.news-item-title {
  font-size: .96rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 5px;
}
.news-item:hover .news-item-title { color: var(--primary); }
.news-item-summary {
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 6px;
}
.news-item-meta {
  display: flex;
  gap: 16px;
  font-size: .78rem;
  color: #aaa;
}
.news-item-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 4px;
  opacity: .5;
}
.news-item:hover .news-item-arrow { opacity: 1; }
.news-note {
  margin-top: 40px;
  padding: 16px 20px;
  background: #f4f6fa;
  border-radius: var(--radius);
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.8;
}
.news-note a { color: var(--primary); }

/* ===== 360 逐帧旋转 ===== */
.spin360 { position: relative; }
#walk-360 { scroll-margin-top: 84px; }
.spin360-stage {
  position: relative;
  background: #0f1720;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  aspect-ratio: 16 / 9;
}
.spin360-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #111827;
  pointer-events: none;
}
.spin360-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(15, 37, 64, .82);
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: .02em;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.spin360-hint b { color: var(--accent); }
.spin360-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(15, 37, 64, .72);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.spin360-btn:hover { border-color: var(--accent); color: var(--accent); }
.spin360-btn.is-left { left: 10px; }
.spin360-btn.is-right { right: 10px; }
.spin360.is-dragging .spin360-hint { opacity: 0; transition: opacity .2s; }
.spin360-home {
  max-width: 880px;
  margin: 0 auto;
}
.spin360-home-cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.prod-360-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.prod-card .prod-img { position: relative; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-title { font-size: 1.6rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--primary-dark); padding: 16px; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .nav-menu.open { display: flex; }
  .nav-dropdown { position: static; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-toggle { display: flex; }
  .lang-switcher { margin-left: 0; }
  .hero-btns { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-main-img { height: 240px !important; }
  .spin360-hint { font-size: .75rem; bottom: 10px; padding: 6px 10px; }
  .spin360-btn { width: 36px; height: 36px; font-size: 18px; }
  .page-banner h1 { font-size: 1.8rem; }
  #wa-float { bottom: 20px; right: 20px; }
  .contact-form { padding: 24px; }
  .contact-info-card { padding: 28px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .hero-badge { font-size: .78rem; }
  .grid-3 { grid-template-columns: 1fr; }
}
