/* ============================================
   真空脱泡机 FC-500PRO 落地页
   深圳市方程精密机械
   移动优先响应式
   ============================================ */

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- 设计 token ---------- */
:root {
    --c-primary: #1e40af;       /* 深蓝：主色 */
    --c-primary-dark: #1e3a8a;
    --c-primary-light: #3b82f6;
    --c-accent: #f59e0b;        /* 琥珀：CTA 强调 */
    --c-text: #0f172a;          /* 标题色 */
    --c-text-2: #334155;        /* 正文色 */
    --c-text-3: #64748b;        /* 辅助色 */
    --c-bg: #ffffff;
    --c-bg-alt: #f8fafc;        /* 区块交替背景 */
    --c-border: #e2e8f0;
    --c-success: #16a34a;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
    --radius: 8px;
    --radius-lg: 12px;
    --container: 1200px;
}

/* ---------- 通用 ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.d-n { display: none; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}
.btn-primary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(30, 64, 175, 0.25);
}
.btn-primary:hover {
    background: var(--c-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.35);
}
.btn-ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn-block { display: flex; width: 100%; }

/* ---------- 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo a { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: var(--c-primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}
.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}
.logo-text { font-weight: 700; color: var(--c-text); font-size: 16px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
    color: var(--c-text-2);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.15s;
}
.nav a:hover { color: var(--c-primary); }
.nav-cta {
    background: var(--c-primary);
    color: #fff !important;
    padding: 8px 18px;
    border-radius: 6px;
}
.nav-cta:hover { background: var(--c-primary-dark); }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 64, 175, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--c-primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}
.hero-title {
    font-size: 44px;
    line-height: 1.2;
    color: var(--c-text);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero-title .hl {
    background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 18px;
    color: var(--c-text-2);
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero-sub strong { color: var(--c-primary); font-size: 22px; font-weight: 700; }
.hero-points {
    margin-bottom: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}
.hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--c-text-2);
    font-size: 14px;
}
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--c-success);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.hero-trust {
    display: flex;
    gap: 24px;
    color: var(--c-text-3);
    font-size: 13px;
    flex-wrap: wrap;
}
.hero-visual { display: flex; justify-content: center; }
.hero-img-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-text-3);
    font-size: 15px;
    text-align: center;
    padding: 20px;
}
.hero-img-placeholder small {
    font-size: 12px;
    color: var(--c-text-3);
    margin-top: 8px;
}
.hero-img {
    width: 100%;
    max-width: 460px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: #ffffff;
    padding: 16px;
}

/* ---------- 信任数据条 ---------- */
.trust-bar {
    background: var(--c-primary);
    color: #fff;
    padding: 32px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.trust-num {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}
.trust-label {
    font-size: 14px;
    opacity: 0.9;
}

/* ---------- 区块通用 ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head {
    text-align: center;
    margin-bottom: 50px;
}
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-sub {
    font-size: 16px;
    color: var(--c-text-3);
}

/* ---------- 核心优势 ---------- */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.adv-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    transition: all 0.25s ease;
}
.adv-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 14px auto 0;
    border-radius: 8px;
    display: block;
    background: #FAFAF8;
}
.adv-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-primary-light);
}
.adv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
    color: #fff;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}
.adv-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
}
.adv-card p {
    font-size: 14px;
    color: var(--c-text-2);
    line-height: 1.7;
}

/* ---------- 应用行业 ---------- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
}
.app-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s;
}
.app-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--c-primary-light);
}
.app-emoji {
    font-size: 36px;
    margin-bottom: 12px;
}
.app-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 6px;
}
.app-card p {
    font-size: 12px;
    color: var(--c-text-3);
    line-height: 1.5;
}

/* ---------- 技术参数 ---------- */
.specs-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
.specs-table {
    width: 100%;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border-collapse: collapse;
}
.specs-table tr { border-bottom: 1px solid var(--c-border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td {
    padding: 16px 24px;
    text-align: left;
    font-size: 15px;
}
.specs-table th {
    background: var(--c-bg-alt);
    color: var(--c-text);
    font-weight: 600;
    width: 35%;
}
.specs-table td { color: var(--c-text-2); }
.specs-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: var(--radius);
    padding: 20px 24px;
    color: #9a3412;
    font-size: 14px;
    line-height: 1.8;
}
.specs-note strong { color: #7c2d12; }

/* ---------- 客户案例 ---------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.2s;
}
.case-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(30, 64, 175, 0.08);
    color: var(--c-primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 14px;
}
.case-card h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 12px;
}
.case-card p {
    color: var(--c-text-2);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 14px;
    font-style: italic;
}
.case-meta {
    color: var(--c-text-3);
    font-size: 12px;
}

/* ---------- CTA 表单 ---------- */
.section-cta { background: var(--c-primary); color: #fff; }
.section-cta .section-title { color: #fff; }
.section-cta .section-sub { color: rgba(255, 255, 255, 0.85); }
.cta-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.cta-text h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}
.cta-text p {
    font-size: 16px;
    margin-bottom: 24px;
    opacity: 0.95;
}
.cta-list li {
    padding: 8px 0;
    font-size: 15px;
}
.cta-contact {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 2;
    font-size: 15px;
}
.cta-contact a { color: #fff; text-decoration: underline; }
.cta-form {
    background: #fff;
    color: var(--c-text);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.cta-form h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--c-text);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.cta-form label {
    display: block;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
}
.cta-form input,
.cta-form select,
.cta-form textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    margin-top: 6px;
    border: 1px solid var(--c-border);
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    color: var(--c-text);
    transition: border-color 0.15s;
}
.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.cta-form textarea { resize: vertical; min-height: 80px; }
.req { color: #dc2626; }
.form-tip {
    margin-top: 12px;
    font-size: 12px;
    color: var(--c-text-3);
    text-align: center;
}

/* ---------- 页脚 ---------- */
.site-footer .logo-text {
    color: #ffffff;
}
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 50px 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}
.footer-col h5 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-col ul li {
    padding: 4px 0;
    font-size: 14px;
}
.footer-col p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.8;
}
.footer-licence li { font-family: monospace; font-size: 12px; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 13px;
    color: #94a3b8;
    text-align: center;
}

/* ============================================
   响应式：平板
   ============================================ */
@media (max-width: 1024px) {
    .hero-title { font-size: 36px; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .app-grid { grid-template-columns: repeat(4, 1fr); }
    .case-grid { grid-template-columns: 1fr; }
    .specs-wrap { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   响应式：手机（关键断点）
   ============================================ */
@media (max-width: 768px) {
    .container { padding: 0 16px; }

    .nav { display: none; }
    .header-inner { height: 56px; }

    .hero { padding: 36px 0 50px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-title { font-size: 30px; }
    .hero-sub { font-size: 16px; }
    .hero-sub strong { font-size: 18px; }
    .d-n { display: inline; }
    .hero-points {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn { padding: 14px 20px; }
    .hero-trust { flex-direction: column; gap: 8px; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .trust-num { font-size: 28px; }

    .section { padding: 50px 0; }
    .section-title { font-size: 24px; }
    .section-sub { font-size: 14px; }

    .adv-grid { grid-template-columns: 1fr; gap: 16px; }
    .adv-card { padding: 24px 20px; }

    .app-grid { grid-template-columns: repeat(2, 1fr); }
    .app-card { padding: 20px 12px; }
    .app-emoji { font-size: 28px; }

    .specs-table th, .specs-table td { padding: 12px 16px; font-size: 14px; }

    .cta-wrap { grid-template-columns: 1fr; gap: 30px; }
    .cta-form { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .cta-text h2 { font-size: 24px; }

    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ============================================
   打印友好
   ============================================ */
@media print {
    .site-header, .section-cta, .site-footer, .btn { display: none; }
    .section { padding: 20px 0; }
}

.hero-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    padding: 14px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-product-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #f8fafc;
    border-radius: 6px;
    padding: 4px;
    transition: transform 0.3s ease;
}

.hero-product-grid img:hover {
    transform: scale(1.05);
}

/* Tablet: 3 列 */
@media (max-width: 1024px) {
    .hero-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 10px;
    }
}

/* Mobile: 4 列一行 */
@media (max-width: 640px) {
    .hero-product-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
}

.cta-wechat {
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    text-align: center;
}
.cta-wechat img {
    width: 140px;
    height: auto;
    border-radius: 8px;
}
.cta-wechat-label {
    font-size: 13px;
    color: var(--c-text-2);
    margin: 8px 0 0;
}
