/*
Theme Name: YUEDONG FLOOR
Theme URI: https://racingfloors.com
Author: YUEDONG
Description: Professional sports flooring landing page. Edit logo, banners, contact, products, news, videos & SEO from the WordPress admin. EN/FR/RU/ES multilingual, responsive, SEO-ready with WhatsApp float button.
Version: 3.0
License: GNU GPL v2 or later
Text Domain: yuedong-floor
*/

/* ==========================================================================
   跃动地板 · 营销网站样式
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #1657d6;
  --primary-dark: #0d3fa3;
  --primary-light: #eaf1ff;
  --accent: #ff6b2c;
  --accent-dark: #e85515;
  --dark: #0b1b33;
  --dark-2: #132446;
  --text: #1e293b;
  --text-2: #475569;
  --muted: #94a3b8;
  --border: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --shadow-sm: 0 4px 16px rgba(15, 40, 90, .06);
  --shadow-md: 0 12px 36px rgba(15, 40, 90, .1);
  --shadow-lg: 0 24px 60px rgba(15, 40, 90, .16);
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0; font-weight: 800; }
p { margin: 0; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 700;
  border: 2px solid transparent; transition: all var(--transition); white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 87, 214, .3); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(255, 107, 44, .28); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 107, 44, .4); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }

/* ---------- 顶部快捷条 ---------- */
.topbar { background: var(--dark); color: #cbd5e1; font-size: 13px; height: 38px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 28px; }
.topbar-item, .topbar-phone { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg, .topbar-phone svg { color: #7ea6ff; }
.topbar-phone { color: #fff; font-weight: 600; }

/* 语言切换器 */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 8px; background: rgba(255, 255, 255, .06); }
.lang-btn {
  border: 0; background: transparent; color: #a9bdd8; font-size: 12px; font-weight: 800;
  letter-spacing: .5px; padding: 3px 9px; border-radius: 5px; transition: all var(--transition); line-height: 1.4;
}
.lang-btn:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-btn.active { background: #fff; color: var(--primary); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }

/* ---------- 导航栏 ---------- */
.header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px); border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: flex; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 20px; font-weight: 800; color: var(--dark); letter-spacing: .5px; }
.logo-text small { font-size: 9px; letter-spacing: 1.4px; color: var(--muted); font-weight: 700; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 15px; font-weight: 600; color: var(--text-2); position: relative; transition: color var(--transition); padding: 6px 0; }
.nav-link::after { content: ""; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: width var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link.active::after, .nav-link:hover::after { width: 100%; }
.nav-cta { padding: 10px 20px; font-size: 14px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--transition); }

/* ---------- 首屏 ---------- */
.hero { position: relative; min-height: 660px; display: flex; flex-direction: column; overflow: hidden; color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/images/hero-basketball.png") center center / cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 24, 52, .94) 0%, rgba(8, 24, 52, .78) 38%, rgba(8, 24, 52, .28) 72%, rgba(8, 24, 52, .12) 100%);
}
.hero-content { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding: 80px 0 70px; }
.hero-text { max-width: 660px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 50px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.14; letter-spacing: -1px; margin-bottom: 24px; }
.hero h1 .hl { color: var(--accent); position: relative; }
.hero-desc { font-size: 17px; color: #d5e0f0; max-width: 560px; margin-bottom: 36px; line-height: 1.85; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 42px; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-avatars { display: flex; }
.hero-avatars span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 700; color: #fff; border: 2px solid rgba(255, 255, 255, .85);
  margin-left: -10px; background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.hero-avatars span:first-child { margin-left: 0; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.hero-avatars span:nth-child(3) { background: linear-gradient(135deg, #10b981, #047857); }
.hero-avatars span:nth-child(4) { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.hero-trust-text .stars { color: #fbbf24; font-size: 14px; letter-spacing: 1px; }
.hero-trust-text .stars b { color: #fff; margin-left: 6px; }
.hero-trust-text p { font-size: 13px; color: #b9c8de; margin-top: 2px; }

.hero-stats { position: relative; z-index: 2; background: rgba(8, 24, 52, .55); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .12); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { text-align: center; padding: 28px 12px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat-item:last-child { border-right: 0; }
.stat-num { font-size: 34px; font-weight: 800; color: #fff; line-height: 1; }
.stat-label { font-size: 14px; color: #b9c8de; margin-top: 8px; }

/* ---------- 合作伙伴 ---------- */
.partners { padding: 34px 0; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.partners-title { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 18px; letter-spacing: 1px; }
.partners-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 46px; }
.partners-list span { font-size: 15px; font-weight: 700; color: #8a97ab; display: inline-flex; align-items: center; gap: 46px; }
.partners-list span:not(:last-child)::after { content: ""; width: 1px; height: 18px; background: var(--border); margin-left: 26px; }

/* ---------- 通用区块 ---------- */
.section { padding: 100px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; max-width: 720px; }
.section-tag { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 800; letter-spacing: 1.2px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--dark); letter-spacing: -.5px; margin-bottom: 18px; }
.section-head p { font-size: 16px; color: var(--text-2); line-height: 1.85; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #b9c8de; }
.section-head.light .section-tag { color: #7ea6ff; }

/* ---------- 产品中心 ---------- */
.products { background: var(--bg); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-card {
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: all var(--transition);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.product-img { position: relative; height: 300px; overflow: hidden; background: var(--bg-soft); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 18px; left: 18px; padding: 7px 14px; border-radius: 50px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 700;
}
.product-badge.badge-blue { background: var(--primary); }
.product-body { padding: 32px; }
.product-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: #fff1ea; color: var(--accent); margin-bottom: 20px;
}
.product-icon.icon-blue { background: var(--primary-light); color: var(--primary); }
.product-body h3 { font-size: 23px; color: var(--dark); margin-bottom: 12px; }
.product-body > p { color: var(--text-2); font-size: 15px; line-height: 1.85; margin-bottom: 20px; }
.feature-list { display: grid; gap: 11px; margin-bottom: 26px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); font-weight: 600; }
.feature-list svg { color: var(--primary); flex-shrink: 0; }
.product-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 15px; }
.product-link svg { transition: transform var(--transition); }
.product-link:hover svg { transform: translateX(5px); }

/* ---------- 应用场景 ---------- */
.applications { background: var(--bg-soft); }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene-card {
  position: relative; border-radius: var(--radius); overflow: hidden; height: 330px;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.scene-card:nth-child(1) { grid-column: span 2; }
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scene-img { position: absolute; inset: 0; }
.scene-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.scene-card:hover .scene-img img { transform: scale(1.08); }
.scene-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 18, 40, .88) 100%); }
.scene-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 28px; color: #fff; }
.scene-body h3 { font-size: 24px; margin-bottom: 8px; }
.scene-body p { font-size: 14px; color: #d5e0f0; max-width: 360px; }

/* ---------- 核心优势 ---------- */
.advantages {
  background: radial-gradient(circle at 15% 20%, #16336b 0%, var(--dark) 45%), var(--dark);
  position: relative; overflow: hidden;
}
.advantages::before {
  content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, .18), transparent 70%);
  top: -200px; right: -100px;
}
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.advantage-item {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 34px 30px; transition: all var(--transition);
}
.advantage-item:hover { background: rgba(255, 255, 255, .09); transform: translateY(-6px); border-color: rgba(126, 166, 255, .4); }
.adv-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(30, 107, 255, .3), rgba(30, 107, 255, .12));
  color: #7ea6ff; margin-bottom: 22px;
}
.advantage-item h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.advantage-item p { color: #a9bbd4; font-size: 14px; line-height: 1.8; }

/* ---------- 产品参数 ---------- */
.specs { background: var(--bg); }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.spec-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.spec-table th, .spec-table td { padding: 18px 24px; text-align: center; border-bottom: 1px solid var(--border); font-size: 15px; }
.spec-table thead th { background: var(--primary); color: #fff; font-weight: 700; font-size: 16px; }
.spec-table thead th:first-child { background: var(--dark); text-align: left; }
.spec-table tbody td:first-child { text-align: left; font-weight: 700; color: var(--dark); background: var(--bg-soft); }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover td { background: #f9fbff; }
.spec-table tbody tr:hover td:first-child { background: var(--primary-light); }
.spec-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }

/* ---------- 工程案例 ---------- */
.cases { background: var(--bg-soft); }
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 260px); gap: 22px; }
.case-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.case-large { grid-row: span 2; }
.case-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-item:hover img { transform: scale(1.07); }
.case-overlay {
  position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 35%, rgba(6, 18, 40, .9) 100%); color: #fff;
}
.case-tag { align-self: flex-start; padding: 5px 12px; border-radius: 50px; background: var(--accent); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.case-overlay h3 { font-size: 21px; margin-bottom: 6px; }
.case-overlay p { font-size: 13px; color: #d5e0f0; }

/* ---------- 服务流程 ---------- */
.process { background: var(--bg); }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary), #bfd4f7); z-index: 0; }
.process-item { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--primary); color: var(--primary);
  font-size: 22px; font-weight: 800; box-shadow: 0 0 0 8px var(--bg); transition: all var(--transition);
}
.process-item:hover .step-num { background: var(--primary); color: #fff; transform: scale(1.08); }
.process-item h3 { font-size: 17px; color: var(--dark); margin-bottom: 6px; }
.process-item p { font-size: 13px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: all var(--transition); }
.faq-item.open { border-color: #bfd4f7; box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px; background: none; border: 0; text-align: left;
  font-size: 16px; font-weight: 700; color: var(--dark);
}
.faq-q svg { flex-shrink: 0; color: var(--primary); transition: transform var(--transition); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--text-2); font-size: 15px; line-height: 1.85; }

/* ---------- 联系表单 ---------- */
.contact { background: linear-gradient(135deg, #0d3fa3 0%, var(--dark) 100%); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 44, .12), transparent 70%);
  bottom: -220px; left: -120px;
}
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; }
.light-tag { color: #7ea6ff; }
.contact-info h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 20px; line-height: 1.25; }
.contact-info > p { color: #b9c8de; font-size: 16px; line-height: 1.85; max-width: 440px; margin-bottom: 36px; }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: #7ea6ff; flex-shrink: 0; }
.contact-list strong { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.contact-list span:not(.contact-ico) { font-size: 15px; color: #b9c8de; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 38px; color: var(--text); box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 22px; color: var(--dark); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.form-group label span { color: var(--accent); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 9px;
  font-size: 14px; color: var(--text); background: #fbfcfe; transition: all var(--transition);
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(22, 87, 214, .1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #b3bfd0; }
.form-group textarea { resize: vertical; min-height: 84px; }
.form-group.invalid input { border-color: #ef4444; }
.error-msg { display: block; color: #ef4444; font-size: 12px; margin-top: 5px; min-height: 0; }
.form-tip { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- 页脚 ---------- */
.footer { background: #071326; color: #94a3b8; padding: 70px 0 0; }
.footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo-text strong { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.85; max-width: 300px; margin-top: 20px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 12px; transition: color var(--transition); }
.footer-col a:hover { color: #7ea6ff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; font-size: 13px;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--primary); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; top: 90px; left: 50%; transform: translate(-50%, -20px);
  background: #10b981; color: #fff; padding: 14px 24px; border-radius: 12px;
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-lg); z-index: 200; opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 滚动淡入动画 ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }
.product-card:nth-child(2), .advantage-item:nth-child(2), .scene-card:nth-child(2), .process-item:nth-child(2) { transition-delay: .08s; }
.product-card:nth-child(3), .advantage-item:nth-child(3), .scene-card:nth-child(3), .process-item:nth-child(3) { transition-delay: .16s; }
.advantage-item:nth-child(4), .scene-card:nth-child(4), .process-item:nth-child(4) { transition-delay: .24s; }
.advantage-item:nth-child(5), .scene-card:nth-child(5), .process-item:nth-child(5) { transition-delay: .32s; }
.advantage-item:nth-child(6) { transition-delay: .4s; }

/* ==========================================================================
   响应式设计
   ========================================================================== */
@media (max-width: 992px) {
  .section { padding: 76px 0; }
  .nav { gap: 18px; }
  .nav-link { font-size: 14px; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-card:nth-child(1) { grid-column: span 2; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process-grid::before { display: none; }
  .contact-wrap { gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 66px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .hide-sm { display: none; }
  .topbar { height: auto; min-height: 38px; }
  .topbar-inner { justify-content: center; padding: 6px 0; }
  .topbar-left { display: none; }
  .topbar-right { gap: 16px; white-space: nowrap; }
  .nav-inner { height: 66px; }
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    padding: 10px 18px 20px; transform-origin: top; transform: scaleY(0); opacity: 0;
    visibility: hidden; transition: all var(--transition);
  }
  .nav.open { transform: scaleY(1); opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 4px; border-bottom: 1px solid var(--border); font-size: 15px; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 16px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: 600px; }
  .hero-content { padding: 64px 0 50px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(8, 24, 52, .93), rgba(8, 24, 52, .72)); }
  .hero h1 { font-size: clamp(36px, 9vw, 52px); }
  .hero-desc { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 8px; }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .stat-num { font-size: 28px; }

  .product-grid { grid-template-columns: 1fr; }
  .product-img { height: 250px; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-card, .scene-card:nth-child(1) { grid-column: span 1; height: 260px; }
  .advantage-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .case-item { height: 240px; }
  .case-large { grid-row: span 1; height: 300px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

@media (max-width: 480px) {
  .topbar { font-size: 12px; }
  .topbar-left, .topbar-right { gap: 12px; }
  .topbar-phone { font-size: 12px; }
  .topbar-phone svg { display: none; }
  .lang-btn { padding: 3px 7px; font-size: 11px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .partners-list { gap: 14px 20px; }
  .partners-list span { font-size: 13px; gap: 0; }
  .partners-list span:not(:last-child)::after { display: none; }
  .back-to-top { right: 16px; bottom: 16px; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   v2.0 新增：自定义 Logo / Banner 轮播 / 关于我们 / 视频 / 新闻 / WhatsApp / 灯箱
   ========================================================================== */

/* 后台上传的 Logo 图片 */
.logo-img { max-height: 46px; width: auto; display: block; }
.footer-brand .logo-img { filter: brightness(0) invert(1); max-height: 42px; }

/* Banner 多图轮播 */
.hero-bg { opacity: 0; transition: opacity 1s ease; }
.hero-bg.active { opacity: 1; }
.hero-dot-nav {
  position: absolute; z-index: 4; top: 45%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5);
  background: rgba(8,24,52,.35); color: #fff; font-size: 30px; line-height: 1;
  display: grid; place-items: center; cursor: pointer; transition: var(--transition);
  left: 18px; backdrop-filter: blur(6px);
}
.hero-dot-nav.next { left: auto; right: 18px; }
.hero-dot-nav:hover { background: var(--primary); border-color: var(--primary); }

/* 产品卡片视频按钮 */
.product-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; border: 0; color: #fff;
  background: rgba(255,107,44,.92); display: grid; place-items: center;
  cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: var(--transition);
}
.product-play:hover { background: var(--accent-dark); transform: translate(-50%, -50%) scale(1.1); }
.product-video-link {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 20px;
  background: none; border: 0; padding: 0; color: var(--accent); font-weight: 700; font-size: 15px; cursor: pointer;
}
.product-video-link:hover { color: var(--accent-dark); }

/* ---------- 关于我们 ---------- */
.about { background: var(--bg); }
.about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 460px; object-fit: cover; }
.about-text h2 { font-size: clamp(28px, 3.4vw, 42px); color: var(--dark); margin-bottom: 20px; }
.about-text p { font-size: 16px; color: var(--text-2); line-height: 1.9; margin-bottom: 28px; }

/* ---------- 视频区 ---------- */
.videos { background: var(--bg-soft); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; display: block; width: 100%; height: 210px; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--primary);
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: var(--transition);
}
.video-thumb:hover .video-play { background: var(--accent); color: #fff; transform: translate(-50%,-50%) scale(1.08); }
.video-body { padding: 22px 24px; }
.video-body h3 { font-size: 19px; color: var(--dark); }
.video-body p { font-size: 14px; color: var(--text-2); margin-top: 8px; }

/* ---------- 新闻区 ---------- */
.news { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; transition: var(--transition); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.news-img { display: block; height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 24px; }
.news-body time { font-size: 13px; color: var(--primary); font-weight: 700; }
.news-body h3 { font-size: 19px; color: var(--dark); margin: 10px 0; }
.news-body h3 a:hover { color: var(--primary); }
.news-body p { font-size: 14px; color: var(--text-2); line-height: 1.75; }
.news-more { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; font-size: 14px; }

/* ---------- WhatsApp 悬浮按钮（右侧中间） ---------- */
.whatsapp-float {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 95;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: var(--transition);
}
.whatsapp-float:hover { background: #20bd5a; transform: translateY(-50%) scale(1.08); }
.whatsapp-float .wa-bubble {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--dark); font-size: 13px; font-weight: 700; white-space: nowrap;
  padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transition: var(--transition); pointer-events: none;
}
.whatsapp-float .wa-bubble::after { content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #fff; }
.whatsapp-float:hover .wa-bubble { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: waPulse 2.4s infinite; }
@keyframes waPulse { 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- 视频灯箱 ---------- */
.video-lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(4,12,28,.92);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  backdrop-filter: blur(6px);
}
.video-lightbox[hidden] { display: none; }
.lb-inner { width: min(100%, 1000px); }
.lb-title { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.lb-media { position: relative; width: 100%; padding-top: 56.25%; background: #000; border-radius: 12px; overflow: hidden; }
.lb-media iframe, .lb-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lb-close {
  position: absolute; top: 20px; right: 28px; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; transition: var(--transition);
}
.lb-close:hover { background: var(--accent); }

/* ---------- 新增区块响应式 ---------- */
@media (max-width: 992px) {
  .about-wrap { gap: 40px; }
  .about-img img { height: 380px; }
  .video-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .about-wrap { grid-template-columns: 1fr; }
  .about-img img { height: 300px; }
  .video-grid, .news-grid { grid-template-columns: 1fr; }
  .whatsapp-float { right: 16px; width: 52px; height: 52px; }
  .whatsapp-float .wa-bubble { display: none; }
  .hero-dot-nav { width: 36px; height: 36px; font-size: 24px; }
}

/* ==========================================================================
   v3.0 新增：导航二级下拉 / 产品类目卡片 / 买家评价 / 分类页 / 产品详情页
   ========================================================================== */

/* ---------- 导航栏二级下拉 ---------- */
.nav-item { position: relative; display: inline-flex; align-items: center; gap: 3px; }
.sub-caret {
  background: none; border: 0; padding: 2px; color: var(--text-2); font-size: 12px;
  cursor: pointer; line-height: 1; transition: var(--transition);
}
.nav-item:hover .sub-caret, .nav-item.open .sub-caret { color: var(--primary); transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 230px; background: #fff; list-style: none; margin: 0; padding: 8px 0;
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: var(--transition); z-index: 120;
}
.nav-item:hover > .nav-sub, .nav-item.open > .nav-sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-sub li a { display: block; padding: 9px 20px; font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.nav-sub li a:hover { color: var(--primary); background: var(--bg-soft); }
.nav-sub li.sub-child a { padding-left: 34px; font-size: 13px; color: var(--muted); }
.nav-sub li.sub-child a::before { content: "↳"; margin-right: 7px; color: var(--primary); }

/* ---------- 产品类目卡片 ---------- */
.cat-grid .product-img { height: 240px; }
.cat-img-link { display: block; }
.cat-card .product-body h3 a:hover { color: var(--primary); }
.cat-sub-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.cat-sub-tags a {
  font-size: 12px; font-weight: 700; color: var(--primary); background: var(--primary-light);
  padding: 5px 11px; border-radius: 50px; transition: var(--transition);
}
.cat-sub-tags a:hover { background: var(--primary); color: #fff; }

/* ---------- 买家评价 ---------- */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: var(--transition);
  display: flex; flex-direction: column;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.testi-stars { color: #fbbf24; font-size: 19px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-quote { font-size: 15px; color: var(--text-2); line-height: 1.85; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.testi-author img, .testi-avatar-ph {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.testi-author strong { display: block; font-size: 15px; color: var(--dark); }
.testi-author small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ---------- 内页通用（分类页 / 产品页） ---------- */
.inner-page { min-height: 60vh; }
.page-hero {
  background: linear-gradient(135deg, #0d3fa3 0%, var(--dark) 100%);
  color: #fff; padding: 70px 0 66px;
}
.page-hero .section-tag { color: #7ea6ff; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); margin: 12px 0 14px; }
.page-hero p { color: #b9c8de; font-size: 17px; max-width: 720px; line-height: 1.85; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: #93a9c9; margin-bottom: 26px; }
.breadcrumb a { color: #cbd9ee; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: #fff; font-weight: 700; }
.subcat-section { background: var(--bg-soft); }
.cat-products { background: var(--bg); }
.inner-cta { background: var(--bg-soft); text-align: center; }
.inner-cta-box { max-width: 720px; margin: 0 auto; }
.inner-cta-box h2 { font-size: clamp(26px, 3.2vw, 38px); color: var(--dark); margin-bottom: 14px; }
.inner-cta-box p { color: var(--text-2); font-size: 16px; margin-bottom: 26px; }

/* 产品详情 */
.product-detail { background: var(--bg); }
.pd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-soft); }
.pd-media img { width: 100%; height: 440px; object-fit: cover; }
.pd-badge { position: static; display: inline-block; margin-bottom: 20px; }
.pd-features { margin-bottom: 24px; }
.pd-content { font-size: 16px; color: var(--text-2); line-height: 1.9; margin-bottom: 28px; }
.pd-content img { border-radius: 12px; margin: 18px 0; }
.pd-body .btn { margin: 0 12px 12px 0; }
.pd-back { display: inline-block; margin-top: 10px; color: var(--primary); font-weight: 700; font-size: 14px; }

/* ---------- v3 响应式 ---------- */
@media (max-width: 992px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-wrap { gap: 36px; }
  .pd-media img { height: 360px; }
}
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; }
  .cat-grid .product-img { height: 210px; }
  .page-hero { padding: 50px 0 46px; }
  .pd-wrap { grid-template-columns: 1fr; }
  .pd-media img { height: 280px; }

  /* 移动端：二级菜单改为点击展开 */
  .nav-item { display: block; width: 100%; }
  .nav-item > .nav-link { display: inline-block; }
  .sub-caret { float: right; margin-top: 14px; font-size: 16px; padding: 6px 10px; }
  .nav-sub {
    position: static; transform: none; min-width: 0; width: 100%; box-shadow: none;
    border: 0; border-radius: 0; background: var(--bg-soft); padding: 0;
    max-height: 0; overflow: hidden; opacity: 1; visibility: visible; transition: max-height .3s ease;
  }
  .nav-item.open > .nav-sub { transform: none; max-height: 600px; padding: 6px 0; }
  .nav-sub li a { padding: 10px 14px; }
  .nav-sub li.sub-child a { padding-left: 28px; }
}

