/* ===== home.css - 首页专用样式 ===== */

/* ===== Hero区域 ===== */
.hero-section {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215,23,24,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.trust-item i {
    color: var(--primary);
    font-size: 1rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ===== 通用标题 ===== */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ===== 产品区域 ===== */
.featured-products {
    padding: 60px 0;
    background: white;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 30px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    z-index: 1;
}

.product-badge.bestseller { background: #28a745; }
.product-badge.hot { background: #ffc107; color: var(--text); }
.product-badge.new { background: #17a2b8; }
.product-badge.lightweight { background: var(--primary); }

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/2;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.product-info h3 a {
    color: var(--text);
    text-decoration: none;
}

.product-info h3 a:hover {
    color: var(--primary);
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.product-specs i {
    color: var(--primary);
    width: 18px;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.feature {
    font-size: 0.75rem;
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--text-light);
}

.product-footer {
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.btn-details, .btn-inquire {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-details {
    background: var(--bg-light);
    color: var(--text);
}

.btn-details:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.btn-inquire {
    background: var(--primary);
    color: white;
}

.btn-inquire:hover {
    background: var(--primary-dark);
}

.view-all {
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-view-all:hover {
    background: var(--primary);
    color: white;
    gap: 12px;
}

/* ===== 优势区域 ===== */
.advantages {
    padding: 60px 0;
    background: var(--bg-light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}

.advantage-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: justify;
    text-transform: capitalize
}

/* ===== 工厂区域 ===== */
.factory-showcase {
    padding: 60px 0;
    background: white;
}

.factory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.factory-content .section-title {
    text-align: left;
}

.factory-content .section-title::after {
    left: 0;
    transform: none;
}

.factory-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.factory-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.factory-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.factory-features i {
    color: var(--primary);
}

.factory-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

.factory-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ===== 客户评价 ===== */
.testimonials {
    padding: 60px 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--text);
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-lighter);
}

/* ===== 询盘区域 ===== */
.inquiry-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    text-align: center;
}

.cta-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-wrapper p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .factory-grid {
        grid-template-columns: 1fr;
    }

    .factory-content .section-title {
        text-align: center;
    }

    .factory-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .factory-stats {
        justify-content: center;
    }

    .factory-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .product-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        text-align: center;
    }
}

/* ===== Banner幻灯片样式 - 优化版 ===== */
.banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;  /* 16:9 比例，与YouTube视频一致 */
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.slider-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* 视频包装器 */
.video-wrapper,
.image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumb img,
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 播放按钮 */
.play-button-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(215, 23, 24, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}

.play-button-large i {
    color: white;
    font-size: 2rem;
    margin-left: 5px;
}

.play-button-large:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 视频播放状态样式 */
.video-wrapper.video-playing .video-thumb {
    display: none;
}

.video-wrapper.video-playing .video-container {
    display: block !important;
}

/* Banner内容叠加层 */
.banner-content {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 10;
    padding: 0 20px;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease;
}

.banner-subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.banner-btn {
    display: inline-block;
    padding: 12px 35px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.banner-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(215,23,24,0.4);
}

/* ===== 幻灯片导航 - 优化版 ===== */
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 20;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    pointer-events: auto;
    z-index: 21;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary);
    transform: scale(1.1);
    border-color: var(--primary);
}

/* 幻灯片圆点导航 - 保持在底部 */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .play-button-large {
        width: 60px;
        height: 60px;
    }

    .play-button-large i {
        font-size: 1.5rem;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .slider-container {
        aspect-ratio: 16 / 10;
    }

    .banner-title {
        font-size: 1.5rem;
    }

    .banner-subtitle {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .banner-btn {
        padding: 8px 25px;
        font-size: 0.9rem;
    }

    .slider-nav {
        padding: 0 12px;
    }

    .slider-prev,
    .slider-next {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .slider-dots {
        bottom: 15px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 20px;
    }

    .play-button-large {
        width: 50px;
        height: 50px;
    }

    .play-button-large i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .banner-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .banner-subtitle {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .banner-btn {
        padding: 6px 20px;
        font-size: 0.8rem;
    }

    .slider-nav {
        padding: 0 8px;
    }

    .slider-prev,
    .slider-next {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
}

.site-footer{
    margin-top: 0;
}

/* ===== 新增模块样式 - 与现有home.css风格统一 ===== */

/* 认证专区 */
.certification-showcase {
    padding: 60px 0;
    background: var(--bg-light);
}
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.cert-card {
    text-align: center;
    padding: 30px 25px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.cert-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.cert-icon i {
    font-size: 2rem;
    color: var(--primary);
}
.cert-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text);
}
.cert-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
    text-transform: capitalize
}
.cert-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* OEM流程模块 */
.oem-process {
    padding: 60px 0;
    background: white;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.step-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--bg-light);
    border-radius: 16px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}
.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}
.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text);
}
.step-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: justify;
    text-transform: capitalize
}

/* 技术对比表 */
.tech-comparison {
    padding: 60px 0;
    background: #1a1a2e;
    color: white;
}
.tech-comparison .section-title {
    color: white;
}
.tech-comparison .section-subtitle {
    color: rgba(255,255,255,0.7);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #16213e;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 40px;
}
.comparison-table th,
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #2a3a5e;
}
.comparison-table th {
    background: #0f3460;
    font-size: 1rem;
    font-weight: 600;
}
.comparison-table td:first-child {
    font-weight: 600;
    background: #0f3460;
    text-align: left;
}
.comparison-table tr:hover td {
    background: #1e2a4a;
}
.check-icon {
    color: #4ade80;
    margin-left: 5px;
}
.comparison-note {
    text-align: center;
    color: rgba(255,255,255,0.6);
    margin-top: 25px;
    font-size: 0.85rem;
}

/* ===== 产品网格增强 - 4列布局（用于Gravel产品展示） ===== */
/* 修改：正方形图片 + 徽章覆盖层 */
.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.product-card-custom {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}
.product-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 图片包装器 - 正方形比例 */
.product-card-custom .product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;  /* 正方形 */
    overflow: hidden;
    background: var(--bg-light);
}

/* 兼容不支持 aspect-ratio 的旧浏览器 */
@supports not (aspect-ratio: 1/1) {
    .product-card-custom .product-image-wrapper {
        padding-bottom: 100%;
        height: 0;
        position: relative;
    }
    .product-card-custom .product-image-wrapper .product-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.product-card-custom .product-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-custom .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 覆盖正方形，可按需改为 contain */
    transition: transform 0.5s;
}
.product-card-custom:hover .product-image img {
    transform: scale(1.05);
}

/* 徽章覆盖层（放置在图片左上角） */
.product-card-custom .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 徽章样式类（与原有 badge-xxx 保持一致） */
.product-badge.badge-race { background: var(--primary); }
.product-badge.badge-adventure { background: #2c7da0; }
.product-badge.badge-xc { background: #2e8b57; }
.product-badge.badge-custom { background: #9b59b6; }
.product-badge.badge-default { background: #6c757d; }

/* 产品信息区域 */
.product-card-custom .product-info {
    padding: 20px;
}
.product-card-custom .product-info h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}
.product-card-custom .product-specs {
    color: var(--text-lighter);
    font-size: 0.85rem;
    margin: 10px 0;
    line-height: 1.4;
}
.product-card-custom .product-action {
    margin-top: 12px;
}
.product-card-custom .btn-details {
    display: inline-block;
    width: auto;
    padding: 6px 16px;
    background: var(--bg-light);
    color: var(--text);
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}
.product-card-custom .btn-details:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* 兼容旧结构（如果模板中没有 product-image-wrapper） */
.product-card-custom .product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--bg-light);
    padding: 0;
}
.product-card-custom .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 徽章在 .product-image 内时的定位 */
.product-card-custom .product-image .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

/* 保留原来的徽章类用于其他地方 */
.product-badge-custom {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.badge-race { background: var(--primary); color: white; }
.badge-adventure { background: #2c7da0; color: white; }
.badge-xc { background: #2e8b57; color: white; }
.badge-custom { background: #9b59b6; color: white; }

/* FAQ折叠样式 */
.faq-section {
    padding: 60px 0;
    background: var(--bg-light);
}
.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}
.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}
.faq-question:hover {
    background: var(--bg-light);
}
.faq-question i {
    color: var(--text-lighter);
    transition: transform 0.3s;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 20px 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    display: none;
    border-top: 1px solid var(--border);
}
.faq-item.active .faq-answer {
    display: block;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .product-grid-4 {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .cert-grid {
        grid-template-columns: 1fr;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}

/* Banner 标题链接样式 */
.banner-title-link {
    text-decoration: none;
    display: inline-block;
}

.banner-title-link:hover .banner-title {
    text-decoration: underline;
}

/* 移除不需要的字体相关样式 */
.banner-content {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    transition: text-decoration 0.3s;
}

@media (max-width: 992px) {
    .banner-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .banner-title {
        font-size: 1.5rem;
    }
}
/* FAQ Section - 侧边栏布局 */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-layout {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* 左侧导航 */
.faq-nav {
    width: 280px;
    background: #f8f9fa;
    padding: 30px 0;
    border-right: 1px solid var(--border);
}

.faq-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.faq-nav-item i {
    width: 24px;
    color: var(--text-lighter);
    font-size: 1.1rem;
}

.faq-nav-item span {
    color: var(--text-light);
    font-weight: 500;
}

.faq-nav-item:hover {
    background: white;
    border-left-color: var(--primary-light);
}

.faq-nav-item.active {
    background: white;
    border-left-color: var(--primary);
}

.faq-nav-item.active i,
.faq-nav-item.active span {
    color: var(--primary);
}

/* 右侧答案区域 */
.faq-answers {
    flex: 1;
    padding: 40px;
}

.faq-answer-item {
    display: none;
}

.faq-answer-item.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-answer-item h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text);
}

.faq-answer-item p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.faq-cta {
    margin-top: 20px;
}

.btn-small {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-small:hover {
    background: var(--primary);
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .faq-layout {
        flex-direction: column;
    }

    .faq-nav {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 15px;
        display: flex;
        overflow-x: auto;
    }

    .faq-nav-item {
        flex-shrink: 0;
        padding: 10px 20px;
    }

    .faq-answers {
        padding: 30px 20px;
    }
}

/* ===== 底部CTA区域样式 - 简洁版 ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.cta-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-wrapper h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.cta-wrapper p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.cta-buttons .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.cta-buttons .btn-outline {
    background: transparent;
    color: white;
    padding: 14px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.cta-buttons .btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-3px);
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 响应式 */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }

    .cta-wrapper h2 {
        font-size: 1.6rem;
    }

    .cta-wrapper p {
        font-size: 0.95rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        padding: 12px 28px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-trust {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* OEM 案例卡片 - 移动端单列布局 */
@media (max-width: 768px) {
    .oem-case-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}