/* ========== Reset & Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #D64541;
  --red-dark: #b83733;
  --red-light: #f9e8e7;
  --navy: #063d64;
  --navy-light: #0a5a8a;
  --gold: #c9a84c;
  --gold-light: #f8f3e6;
  --text: #2d2d2d;
  --text-light: #666;
  --bg: #fafaf8;
  --white: #ffffff;
  --border: #e8e5e0;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --font: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ========== Navigation ========== */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.5rem; font-weight: 700; color: var(--red);
  letter-spacing: 1px; text-decoration: none;
}
.nav-logo-img { height: 42px; width: auto; }
.nav-logo span { color: var(--navy); font-weight: 400; font-size: 0.85rem; }
.footer-logo { height: 48px; width: auto; margin-bottom: 12px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.95rem; color: var(--text); transition: color 0.2s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--text); }

/* ========== Footer ========== */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.75);
  padding: 48px 24px 24px; font-size: 0.9rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.footer h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.45);
}

/* ========== Hero ========== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a3050 100%);
  color: var(--white); text-align: center;
  padding: 80px 24px 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -60%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(214,69,65,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 16px; position: relative; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero p { font-size: 1.15rem; opacity: 0.85; max-width: 600px; margin: 0 auto 32px; position: relative; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

.btn {
  display: inline-block; padding: 12px 32px; border-radius: 6px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: all 0.25s; border: none; text-align: center;
}
.btn-red, .product-table .btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(214,69,65,0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.15); }

/* ========== Sections ========== */
.section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-title {
  text-align: center; margin-bottom: 48px;
}
.section-title h2 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.section-title p { color: var(--text-light); font-size: 1rem; }

/* ========== Series Cards ========== */
.series-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.series-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; box-shadow: var(--shadow);
  border: 1px solid var(--border); transition: all 0.3s;
  text-align: center;
}
.series-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.series-icon { font-size: 2.4rem; margin-bottom: 12px; }
.series-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 6px; }
.series-card p { font-size: 0.88rem; color: var(--text-light); }

/* ========== Product Table ========== */
.product-filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 20px; border: 1px solid var(--border); border-radius: 20px;
  background: var(--white); font-size: 0.9rem; cursor: pointer;
  transition: all 0.2s; font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red); color: #fff; border-color: var(--red);
}

.product-table-wrap { overflow-x: auto; }
.product-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.product-table th {
  background: var(--navy); color: #fff; padding: 14px 16px;
  font-size: 0.9rem; text-align: left; font-weight: 600;
}
.product-table td { padding: 12px 16px; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.product-table tr:hover td { background: var(--red-light); }
.product-table a { color: var(--red); font-weight: 500; }
.product-table a:hover { text-decoration: underline; }

/* ========== Product Detail ========== */
.product-detail { padding: 48px 24px 72px; }
.product-detail-inner { max-width: 800px; margin: 0 auto; }
.product-detail .breadcrumb { font-size: 0.88rem; color: var(--text-light); margin-bottom: 32px; }
.product-detail .breadcrumb a { color: var(--red); }
.product-detail .breadcrumb a:hover { text-decoration: underline; }
.product-detail h1 { font-size: 2rem; color: var(--navy); margin-bottom: 8px; }
.product-detail .series-tag {
  display: inline-block; background: var(--gold-light); color: var(--gold);
  padding: 3px 12px; border-radius: 12px; font-size: 0.82rem;
  font-weight: 600; margin-bottom: 24px;
}
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; }
.detail-card {
  background: var(--white); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.detail-card h3 { font-size: 0.82rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.detail-card .value { font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.detail-card .value.price { color: var(--red); }
.product-gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin: 32px 0;
}
.product-gallery img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); object-fit: cover;
  aspect-ratio: 1/1; background: var(--white);
}
.product-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1/1; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 2px dashed var(--border);
  color: var(--text-light);
}
.product-placeholder span { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.product-placeholder small { font-size: 0.82rem; margin-top: 4px; }
.usage-box {
  background: var(--gold-light); border-radius: var(--radius); padding: 24px;
  margin-top: 24px; border-left: 4px solid var(--gold);
}
.usage-box h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; }
.usage-box p { color: var(--text); font-size: 0.95rem; }
.scene-gallery { margin-top: 32px; }
.scene-gallery h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 16px; }
.scene-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.scene-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.2s;
}
.scene-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.scene-card img {
  width: 100%; height: 140px; object-fit: cover; display: block;
}
.scene-card .scene-label {
  padding: 8px 10px; font-size: 0.8rem; font-weight: 600;
  color: var(--navy); text-align: center; background: var(--white);
  line-height: 1.4;
}
@media (max-width: 600px) {
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== Download Center ========== */
.download-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.download-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 32px 28px; text-align: center;
  transition: transform 0.2s;
  display: flex; flex-direction: column; align-items: center;
}
.download-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.download-icon { font-size: 2.6rem; margin-bottom: 16px; }
.download-card h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.download-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; flex: 1; }
.download-meta { font-size: 0.8rem; color: #999; margin-bottom: 18px; }
.download-card .btn { margin-top: auto; }
@media (max-width: 600px) {
  .download-grid { grid-template-columns: 1fr; }
}

/* ========== Contact Social ========== */
.contact-social-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px;
}
.social-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 28px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.social-card img {
  max-width: 100%; height: auto; border-radius: 8px;
  margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.social-card h4 { font-size: 1rem; color: var(--navy); margin: 12px 0 6px; }
.social-card p { font-size: 0.88rem; color: var(--text-light); }
@media (max-width: 768px) {
  .contact-social-grid { grid-template-columns: 1fr; }
}

/* ========== Brand Page ========== */
.brand-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, var(--navy) 100%);
  color: #fff; text-align: center; padding: 80px 24px;
}
.brand-hero h1 { font-size: 2.6rem; font-weight: 700; }
.brand-story { max-width: 800px; margin: 0 auto; padding: 48px 24px; }
.brand-story p { margin-bottom: 20px; font-size: 1.05rem; line-height: 2; }
.brand-story blockquote {
  border-left: 4px solid var(--red); padding: 16px 24px;
  margin: 32px 0; background: var(--red-light); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--navy);
}
.color-swatch { display: inline-flex; gap: 12px; align-items: center; }
.color-dot { width: 48px; height: 48px; border-radius: 50%; display: inline-block; border: 2px solid var(--border); }
.color-dot.red { background: #D64541; }
.color-dot.navy { background: #063d64; }
.partner-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px; margin-top: 12px;
}
.partner-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  padding: 24px 16px; text-align: center;
  transition: transform 0.2s;
}
.partner-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.partner-item img { width: 100%; height: 80px; object-fit: contain; margin-bottom: 12px; }
.partner-item span { font-size: 0.88rem; font-weight: 600; color: var(--navy); }

/* ========== Contact Page ========== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; max-width: 1000px; margin: 0 auto;
}
.contact-info h3 { font-size: 1.05rem; color: var(--navy); margin: 20px 0 8px; }
.contact-info p { color: var(--text-light); }
.contact-map {
  background: var(--white); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--border);
}

/* ========== Stats ========== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 24px; }
.stat-num { font-size: 2.2rem; font-weight: 700; color: var(--red); }
.stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 4px; }

/* ========== Trust Banner ========== */
.trust { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-item .icon { font-size: 1.6rem; margin-bottom: 4px; }
.trust-item span { display: block; font-size: 0.85rem; color: var(--text-light); }

/* ========== Back to top ========== */
.back-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; background: var(--red); color: #fff;
  border: none; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 4px 12px rgba(214,69,65,0.3);
  transition: all 0.3s; opacity: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 16px 24px;
    box-shadow: var(--shadow); border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .series-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.5rem; }
  .section-title h2 { font-size: 1.4rem; }
}
