@charset "utf-8";
/* ----- 全局重置（加强版）----- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: #1e293b;
    background-color: #fafbfc;
}

.container-1480 {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

/* ===== 工业风 Banner（顶部无间隙）===== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 350px;                /* 电脑端固定高度 */
    margin: 0;                    /* 确保无外边距 */
    padding: 0;                   /* 确保无内边距 */
    background-size: cover;       /* 覆盖容器，不变形 */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;          /* 内容垂直居中（若需文字贴顶，改为 flex-start） */
    color: white;
    overflow: hidden;
}

/* 手机端：高度200px，背景依然cover */
@media (max-width: 768px) {
    .hero-banner {
        height: 200px;
    }
}

.banner-content {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 1480px;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cta-button, .Cta-Button{
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 16px 36px;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 20px -5px rgba(37,99,235,0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(37,99,235,0.4);
}

/* ===== 以下为原样式（保持不变）===== */
.main-content{
    padding: 0 0 60px 0;   /* 上 0，下 60px（可根据需要调整底部数值） */
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(37,99,235,0.15);
    border-color: rgba(37,99,235,0.1);
}

.card-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: #f8fafc;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

.card-info {
    padding: 24px 20px 20px;
    text-align: center;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-view {
    display: inline-block;
    background: #f1f5f9;
    color: #2563eb;
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.product-card:hover .btn-view {
    background: #2563eb;
    color: white;
}

.category-intro {
    background: white;
    padding: 35px 40px;
    border-radius: 24px;
    margin: 30px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.7;
}

.pagination-wrap {
    margin: 50px 0 20px;
    text-align: center;
}

.fenye {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.fenye a, .fenye span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    background: white;
    border: 1px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.fenye a:hover {
    background: #f1f5f9;
    border-color: #2563eb;
    color: #2563eb;
}

.fenye .current {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.inquiry-section {
    background: linear-gradient(135deg, #0b1e33 0%, #102a44 100%);
    padding: 70px 0;
    color: white;
}

.inquiry-container {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.1);
}

.inquiry-header {
    text-align: center;
    margin-bottom: 40px;
}

.inquiry-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.inquiry-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-full {
    grid-column: span 2;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    font-size: 1rem;
    color: white;
    transition: all 0.3s;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

.btn-submit-main {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-submit-main:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37,99,235,0.4);
}

/* ===== 响应式布局 ===== */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .container-1480 {
        padding: 0 20px;
    }

    .banner-content {
        display: none !important;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 30px 0;
    }

    .card-info {
        padding: 16px 12px 12px;
    }

    .product-name {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .btn-view {
        padding: 6px 16px;
        font-size: 0.85rem;
    }

    .category-intro {
        padding: 25px 20px;
        font-size: 0.95rem;
    }

    .inquiry-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-full {
        grid-column: span 1;
    }

    .inquiry-header h2 {
        font-size: 1.8rem;
    }

    .btn-submit-main {
        width: 100%;
        padding: 16px 20px;
    }
}

@media (max-width: 400px) {
    .product-grid {
        gap: 10px;
    }
    .card-info {
        padding: 12px 8px 8px;
    }
    .product-name {
        font-size: 0.9rem;
    }
    .btn-view {
        padding: 4px 12px;
        font-size: 0.75rem;
    }
}