/* ==========================================================================
   福达未来产品详情页独立样式表 标准化架构
   ========================================================================== */

:root {
  --primary-blue: #004098;
  --dark-navy: #0e2a56;
  --accent-red: #e40615;
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --border-color: #cbd5e1;
}

/* Page Hero */
.p-hero {
  background: linear-gradient(135deg, #071b4a 0%, #0e2a56 60%, #173873 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.p-hero::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 6, 21, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.p-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.p-hero .breadcrumb {
  font-size: 13.5px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.p-hero .breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.p-hero .breadcrumb a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.p-hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.p-hero .p-hero-lead {
  font-size: 16px;
  color: #e2e8f0;
  max-width: 860px;
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.p-hero .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.p-hero .badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #f8fafc;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 500;
}

.p-hero .badge.highlight {
  background: rgba(228, 6, 21, 0.85);
  border-color: #e40615;
  color: #ffffff;
  font-weight: 600;
}

.p-hero .p-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  display: inline-block;
  background: #e40615;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 12px rgba(228, 6, 21, 0.3);
}

.btn-primary:hover {
  background: #cc0513;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Sections Common */
.sec {
  padding: 60px 0;
  background: #ffffff;
}

.sec-alt {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.sec-heading {
  margin-bottom: 36px;
}

.sec-heading p {
  font-size: 12.5px;
  font-weight: 700;
  color: #004098;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 6px 0;
}

.sec-heading h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* Overview Section (g2 grid) */
.g2-overview {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.overview-text p {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
  margin: 0 0 16px 0;
}

.overview-text strong {
  color: #0f172a;
}

.overview-highlights {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.overview-highlights li {
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.overview-highlights li::before {
  content: '✓';
  color: #004098;
  font-weight: 800;
  margin-right: 10px;
}

.overview-img-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

.overview-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.overview-img-caption {
  font-size: 13px;
  color: #64748b;
  padding: 10px 14px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

/* Technical Specification Table */
.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th, .spec-table td {
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  vertical-align: top;
  line-height: 1.6;
}

.spec-table th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  text-align: left;
}

.spec-table tr:hover {
  background: #f8fafc;
}

.spec-table td:first-child {
  font-weight: 600;
  color: #004098;
  width: 25%;
}

.spec-note {
  margin-top: 14px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

/* Core Advantages Grid (g4) */
.g4-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.adv-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.adv-card:hover {
  transform: translateY(-3px);
  border-color: #004098;
  box-shadow: 0 8px 20px rgba(0, 64, 152, 0.08);
}

.adv-icon {
  font-size: 26px;
  color: #e40615;
  margin-bottom: 12px;
}

.adv-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.4;
}

.adv-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Applications Grid (g3) */
.g3-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.app-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px 22px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s, border-color 0.2s;
}

.app-card:hover {
  transform: translateY(-3px);
  border-color: #004098;
}

.app-badge {
  display: inline-block;
  background: #eff6ff;
  color: #004098;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid #bfdbfe;
}

.app-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.app-card p {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #004098;
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
  line-height: 1.4;
}

.faq-item p {
  font-size: 14px;
  color: #334155;
  line-height: 1.7;
  margin: 0;
}

/* Related Products Grid (g4) */
.rel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.rel-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.rel-card:hover {
  transform: translateY(-3px);
  border-color: #004098;
  box-shadow: 0 6px 16px rgba(0, 64, 152, 0.08);
}

.rel-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #004098;
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rel-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* CTA Section */
.p-cta-sec {
  background: linear-gradient(135deg, #071b4a 0%, #0e2a56 100%);
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.p-cta-sec h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #ffffff;
}

.p-cta-sec p {
  font-size: 15px;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.p-cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.p-cta-phone {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.p-cta-phone:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 1024px) {
  .g2-overview {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .g4-cards, .rel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .g3-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .p-hero h1 {
    font-size: 26px;
  }
  .g4-cards, .g3-cards, .rel-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sec {
    padding: 40px 0;
  }
  .faq-item {
    padding: 16px;
  }
}
