/* ===== Variables ===== */
:root {
  --primary: #0A2540;
  --primary-light: #14385C;
  --primary-dark: #06182A;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --cyan: #06B6D4;
  --cyan-light: #E0F7FA;
  --bg: #FFFFFF;
  --bg-alt: #F6F9FC;
  --text: #1F2937;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --success: #10B981;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(10,37,64,0.05);
  --shadow: 0 10px 30px rgba(10,37,64,0.10);
  --shadow-lg: 0 20px 50px rgba(10,37,64,0.15);
  --max-width: 1280px;
  --header-height: 72px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }

/* ===== Utilities ===== */
.container { width: 92%; max-width: var(--max-width); margin: 0 auto; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; line-height: 1.2; }
.section-subtitle { font-size: 1.125rem; color: var(--text-muted); max-width: 700px; }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }
.mt-2 { margin-top: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.75rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--bg-alt); color: var(--primary); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }

/* ===== Header ===== */
.header, .site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-height);
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo img { height: 52px; width: auto; }
.logo span { font-weight: 700; font-size: 1.25rem; color: var(--primary); letter-spacing: -0.5px; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-weight: 500; color: var(--text); font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); transition: 0.3s; }

/* ===== Mobile Nav ===== */
@media (max-width: 1024px) {
  .nav { display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; padding: 2rem; gap: 1.5rem; }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .logo img { height: 42px; }
}

@media (max-width: 480px) {
  .logo img { height: 34px; }
}

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 720px; display: flex; align-items: center;
  background: linear-gradient(135deg, rgba(10,37,64,0.92) 0%, rgba(6,24,42,0.88) 100%), url('../img/hero-bg2-opt.jpg');
  background-size: cover; background-position: center; color: #fff; padding-top: var(--header-height);
}
.hero-content { max-width: 720px; }
.hero-kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.875rem; margin-bottom: 1rem; }
.hero h1 { font-size: 3.25rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 1.25rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 600px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; }
.hero-stat { text-align: center; }
.hero-stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.hero-stat span { font-size: 0.875rem; color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* ===== Breadcrumb ===== */
.breadcrumb { background: var(--bg-alt); padding: 100px 0 24px; }
.breadcrumb .container { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }
/* 面包屑紧跟在 page-header 之后时，不需要为固定头部预留 100px */
.page-header + .breadcrumb { padding-top: 20px; }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { height: 200px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-tag { display: inline-block; padding: 0.25rem 0.75rem; background: var(--cyan-light); color: var(--cyan); font-size: 0.75rem; font-weight: 700; border-radius: 999px; margin-bottom: 0.75rem; text-transform: uppercase; }
.card h3 { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.card-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.25rem; }
.card-spec { font-size: 0.8rem; color: var(--text-muted); }
.card-spec strong { display: block; color: var(--text); font-weight: 600; }

/* ===== Feature Blocks ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.feature { display: flex; gap: 1rem; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.5rem;
}
.feature h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.35rem; }
.feature p { font-size: 0.95rem; color: var(--text-muted); }

/* ===== Applications ===== */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 280px; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.app-card:hover img { transform: scale(1.05); }
.app-card-overlay {
  position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.9) 0%, rgba(10,37,64,0.2) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: #fff;
}
.app-card-overlay h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.35rem; }
.app-card-overlay p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* ===== Trust Section ===== */
.trust-strip { background: var(--primary); color: #fff; padding: 48px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; text-align: center; }
.trust-item i { font-size: 2rem; color: var(--accent); margin-bottom: 0.5rem; }
.trust-item strong { display: block; font-size: 1.1rem; }
.trust-item span { font-size: 0.85rem; opacity: 0.8; }

/* ===== CTA Section ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; padding: 80px 0; }
.cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; max-width: 600px; }

/* ===== Footer ===== */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.75); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 3rem; margin-bottom: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo img { height: 58px; }
.footer-logo span { font-weight: 700; font-size: 1.25rem; color: #fff; }
.footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.footer a { display: block; color: rgba(255,255,255,0.7); margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; font-size: 0.85rem; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff;
  padding: 140px 0 80px;
}
.page-header h1 { font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; }
.page-header p { font-size: 1.125rem; color: rgba(255,255,255,0.85); max-width: 700px; }

/* ===== Product Detail ===== */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.product-hero-img { background: var(--bg-alt); border-radius: var(--radius); padding: 2rem; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.product-hero-img svg { max-width: 100%; height: auto; }
/* 真实照片版主图 */
.product-hero-img.photo-stage {
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem 1.75rem 1.25rem;
  background: radial-gradient(115% 105% at 50% 12%, #12263C 0%, #08131F 58%, #04090F 100%);
  border: 1px solid rgba(255,255,255,0.06);
}
.product-hero-img .hero-photo {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  mix-blend-mode: lighten;
}
.product-hero-img .hero-photo.sm { max-width: 320px; }
.product-hero-img .stage-caption {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.62);
  text-align: center;
}
.product-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.product-meta span { padding: 0.35rem 0.9rem; background: var(--cyan-light); color: var(--cyan); font-size: 0.8rem; font-weight: 600; border-radius: 999px; }
.product-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.product-hero p { color: var(--text-muted); margin-bottom: 1.5rem; }
.product-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; }
}

/* ===== Specs Table ===== */
.specs-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.specs-table th, .specs-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.specs-table th { background: var(--bg-alt); font-weight: 600; color: var(--primary); width: 35%; }
.specs-table tr:last-child td { border-bottom: none; }

/* ===== Exploded View ===== */
.exploded-wrap { background: linear-gradient(135deg, #0A2540 0%, #14385C 100%); border-radius: var(--radius); padding: 3rem 2rem; color: #fff; }
.exploded-wrap h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.exploded-wrap > p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }
.exploded-stages { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.exploded-svg { display: flex; justify-content: center; }
.exploded-svg svg { width: 100%; max-width: 420px; height: auto; }
.exploded-list li { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: background 0.2s; border-radius: 8px; }
.exploded-list li:hover, .exploded-list li.active { background: rgba(255,255,255,0.08); }
.exploded-list li strong { display: block; color: var(--accent); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem; }
.exploded-list li span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
@media (max-width: 900px) { .exploded-stages { grid-template-columns: 1fr; } }

/* ===== Application Circuit Exploded ===== */
.circuit-stage { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 2rem; }
.circuit-svg { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.circuit-svg svg { width: 100%; max-width: 720px; height: auto; }
.circuit-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.circuit-item { display: flex; align-items: center; gap: 0.75rem; }
.circuit-dot { width: 14px; height: 14px; border-radius: 50%; }

/* ===== Inquiry Form ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; color: var(--primary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245,158,11,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ===== Filter Tabs ===== */
.filter-tabs { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-tabs button { padding: 0.6rem 1.25rem; border: 1px solid var(--border); background: #fff; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--text-muted); }
.filter-tabs button.active, .filter-tabs button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366;
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; box-shadow: var(--shadow-lg); z-index: 999; transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.linkedin-float {
  position: fixed; bottom: 92px; right: 24px; width: 56px; height: 56px; background: #0A66C2;
  color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 800; box-shadow: var(--shadow-lg); z-index: 999; transition: transform 0.2s;
}
.linkedin-float:hover { transform: scale(1.08); color: #fff; }

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Two-column split block ===== */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split-2 img { border-radius: var(--radius); border: 1px solid var(--border); }
@media (max-width: 900px) { .split-2 { grid-template-columns: 1fr; gap: 2rem; } }

/* ===== About Page ===== */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-story img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; } }

.timeline { position: relative; padding-left: 2rem; border-left: 2px solid var(--border); }
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.6rem; top: 0.25rem; width: 14px; height: 14px;
  background: var(--accent); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item strong { color: var(--primary); display: block; margin-bottom: 0.25rem; }

/* ---------- FAQ section ---------- */
.faq-section { border-top: 1px solid var(--border); }
.faq-head { max-width: 900px; margin: 0 auto 32px; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.faq-item[open] { border-color: #CBD5E1; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--text-muted);
  transition: color .2s ease;
}
.faq-item[open] summary::after { content: '\2212'; color: var(--accent); }
.faq-item summary:hover { color: var(--primary-light); }
.faq-item summary:hover::after { color: var(--accent); }
.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.9688rem;
  line-height: 1.75;
  color: var(--text);
}
.faq-answer p { margin: 0 0 11px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--primary); font-weight: 600; }
@media (max-width: 760px) {
  .faq-head { margin-bottom: 24px; }
  .faq-item summary { padding: 16px 48px 16px 18px; font-size: 1rem; }
  .faq-answer { padding: 0 18px 18px; font-size: 0.9375rem; }
}
