/* machinery-site - product.css */
:root {
    --primary: #0a2540;
    --accent: #ff6b1a;
    --light: #f5f7fa;
    --border: #e0e6ed;
    --gray: #666;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; color: #1a1a1a; background: #fff; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

header { background: var(--primary); position: fixed; top: 0; width: 100%; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { color: #fff; font-size: 22px; font-weight: 700; }
.logo span { color: var(--accent); }
nav ul { display: flex; list-style: none; gap: 36px; }
nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 15px; }
.header-cta { background: var(--accent); color: #fff; padding: 10px 24px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; }

.breadcrumb { margin-top: 96px; padding: 16px 0; font-size: 14px; color: var(--gray); }
.breadcrumb a { color: var(--primary); text-decoration: none; }

.product-hero { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); margin: 32px 0; aspect-ratio: 16/9; }
.product-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info h1 { font-size: 36px; color: var(--primary); margin-bottom: 16px; line-height: 1.2; }

.section { margin: 48px 0; }
.section h2 { font-size: 28px; color: var(--primary); margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--accent); }
.section p { margin-bottom: 16px; }
.section ul { padding-left: 24px; margin: 16px 0; }
.section li { margin-bottom: 12px; }

.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; min-width: 400px; }
th, td { border: 1px solid var(--border); padding: 14px 16px; text-align: left; }
th { background: var(--light); font-weight: 600; color: var(--primary); }

.cta { background: linear-gradient(135deg, var(--primary), #1a4480); color: #fff; padding: 48px; border-radius: 8px; text-align: center; margin: 48px 0; }
.cta h3 { font-size: 28px; margin-bottom: 16px; }
.cta p { opacity: 0.9; margin-bottom: 24px; }
.btn { display: inline-block; padding: 14px 36px; background: var(--accent); color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600; }

.related { margin: 64px 0; }
.related h2 { font-size: 28px; color: var(--primary); margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.related-card-img { width: 100%; aspect-ratio: 1; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; }
.related-card-info { padding: 16px; }
.related-card-info h4 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.related-card-info a { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 500; }

footer { background: var(--primary); color: rgba(255,255,255,0.7); padding: 48px 0 24px; margin-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 14px; }

@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    nav ul { display: none; }
}

/* ---- SEO 深度内容块 ---- */
.product-subtitle { font-size: 18px; color: var(--gray); margin: -8px 0 16px; }
.toc-links { margin: 0 0 24px; font-size: 14px; line-height: 2; }
.toc-links a { color: var(--accent); margin-right: 18px; text-decoration: none; }
.toc-links a:hover { text-decoration: underline; }
.feature-grid, .app-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 24px 0; }
.feature-card { border: 1px solid var(--border); border-radius: 8px; padding: 24px; }
.feature-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; }
.feature-card p { font-size: 15px; margin: 0; }
.app-item { background: var(--light); border-radius: 8px; padding: 20px; }
.app-item h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.app-item p { font-size: 14px; margin: 0; }
.faq details { border: 1px solid var(--border); border-radius: 8px; padding: 16px 20px; margin-bottom: 12px; }
.faq summary { font-weight: 600; color: var(--primary); cursor: pointer; }
.faq details p { margin: 12px 0 0; font-size: 15px; }
.spec-table { font-size: 15px; }
.spec-table td:first-child { width: 55%; color: var(--gray); }
.note { font-size: 14px; color: var(--gray); }
@media (max-width: 768px) {
    .feature-grid, .app-list { grid-template-columns: 1fr; }
    .product-info h1 { font-size: 26px; }
}

/* WhatsApp contact */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    z-index: 1200;
    transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:focus-visible { outline: 3px solid #0a2540; outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.btn-email { background: transparent; border: 2px solid rgba(255,255,255,0.85); color: #fff; }
.btn-email:hover { background: rgba(255,255,255,0.15); }
.cta .btn { margin: 6px; }
.widget-contact { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.85); }
.widget-contact a { color: #fff; }
.cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-white-outline:hover { background: rgba(255,255,255,0.15); }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

.footer-bottom a { color: rgba(255,255,255,0.9); }
