/* 首页样式 - 大胆精致设计 */

/* ==================== Hero Banner ==================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: 105px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 2px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.hero-cta-group .btn {
    padding: 16px 42px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
}

.hero-cta-group .btn-primary {
    background: #fff;
    color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(255,255,255,0.3);
}

.hero-cta-group .btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
    box-shadow: 0 10px 40px rgba(255,255,255,0.4);
    transform: translateY(-3px);
}

.hero-cta-group .btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
}

.hero-cta-group .btn-outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* Hero分页器 */
.hero-swiper .swiper-pagination {
    bottom: 40px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255,255,255,0.4);
    opacity: 1;
    transition: all 0.4s;
    border-radius: 50%;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 40px;
    border-radius: 7px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ==================== 产品大类 - 固定背景滚动 ==================== */
.products-hero-section {
    position: relative;
    padding: 120px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.products-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.92) 100%);
    backdrop-filter: blur(8px);
}

.section-header-dark {
    position: relative;
    text-align: center;
    margin-bottom: 70px;
}

.section-header-dark h2 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

.section-header-dark .subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    letter-spacing: 2px;
}

.section-header-dark .divider {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 30px auto 0;
    border-radius: 2px;
}

/* 产品卡片网格 */
.products-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-hero-card {
    position: relative;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    group: product-card;
}

.product-hero-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.product-hero-card .card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.product-hero-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-hero-card:hover .card-image img {
    transform: scale(1.1);
}

.product-hero-card .card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, transparent 100%);
}

.product-hero-card .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    text-align: center;
}

.product-hero-card .card-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.product-hero-card .card-body .card-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.product-hero-card .card-body .card-btn {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.4s;
}

.product-hero-card:hover .card-body .card-btn {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* ==================== 工艺优势 ==================== */
.craft-section {
    padding: 40px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.section-header .subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 1px;
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 30px auto 0;
    border-radius: 2px;
}

.craft-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.craft-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.craft-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.craft-item .craft-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.craft-item .craft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.craft-item:hover .craft-image img {
    transform: scale(1.08);
}

.craft-item .craft-content {
    padding: 30px 25px;
}

.craft-item .craft-content .craft-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
}

.craft-item .craft-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
}

/* ==================== 工艺优势 - 全新设计 ==================== */
.craft-showcase {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 德国坚弗漆特性展示 */
.craft-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.craft-feature .feature-image {
    position: relative;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.craft-feature .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.craft-feature:hover .feature-image img {
    transform: scale(1.05);
}

.craft-feature .feature-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f3 100%);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    width: fit-content;
}

.feature-badge i {
    font-size: 18px;
}

.craft-feature h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.feature-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 35px;
}

.feature-issues {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-issues .issue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-issues .issue-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.feature-issues .issue-item i {
    color: #e74c3c;
    font-size: 18px;
}

.feature-issues .issue-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

/* 服务承诺区域 */
.service-promise {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 60px;
    color: #fff;
}

.promise-header {
    text-align: center;
    margin-bottom: 50px;
}

.promise-icon-main {
    width: 90px;
    height: 90px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 45px;
    border: 2px solid rgba(255,255,255,0.3);
}

.promise-header h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.promise-header p {
    font-size: 17px;
    opacity: 0.9;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.promise-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.promise-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.promise-card .promise-img {
    height: 180px;
    overflow: hidden;
}

.promise-card .promise-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.promise-card:hover .promise-img img {
    transform: scale(1.1);
}

.promise-card .promise-info {
    padding: 30px 25px;
    text-align: center;
}

.promise-info .p-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: #fff;
    font-size: 26px;
    position: relative;
}

.promise-info .p-icon.shield-icon {
    position: relative;
}

.promise-info .p-icon.shield-icon .f-mark {
    position: absolute;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.promise-info h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.promise-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 991px) {
    .craft-feature {
        grid-template-columns: 1fr;
    }
    
    .craft-feature .feature-image {
        min-height: 300px;
    }
    
    .craft-feature .feature-content {
        padding: 40px 30px;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
    }
    
    .service-promise {
        padding: 40px 25px;
    }
}

@media (max-width: 768px) {
    .craft-feature h3 {
        font-size: 28px;
    }
    
    .feature-issues {
        grid-template-columns: 1fr;
    }
    
    .promise-header h3 {
        font-size: 28px;
    }
}

.craft-item .craft-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== 新闻资讯 - 大胆设计 ==================== */
.news-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.news-title-group .news-label {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.news-title-group h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.news-title-group p {
    font-size: 17px;
    color: var(--text-light);
}

.news-more {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    transition: all 0.3s;
}

.news-more:hover {
    background: var(--primary-color);
    color: #fff;
}

.news-more i {
    transition: transform 0.3s;
}

.news-more:hover i {
    transform: translateX(5px);
}

/* 新闻展示布局 */
.news-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 35px;
}

/* 头条新闻 */
.news-featured {
    height: 100%;
}

.featured-card {
    display: block;
    position: relative;
    height: 100%;
    min-height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 50px;
    color: #fff;
}

.featured-tag {
    display: inline-block;
    background: var(--accent-color);
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.featured-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-content > p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.7;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.featured-meta .date {
    font-size: 14px;
    opacity: 0.8;
}

.featured-meta .date i {
    margin-right: 8px;
}

.featured-meta .read-more {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.featured-card:hover .read-more {
    gap: 15px;
}

/* 新闻列表 */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-list-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 25px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s;
    border: 1px solid var(--border-color);
}

.news-list-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.news-list-item .item-image {
    height: 100%;
    min-height: 140px;
    overflow: hidden;
}

.news-list-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-list-item:hover .item-image img {
    transform: scale(1.1);
}

.news-list-item .item-content {
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-content .item-date {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-light);
    padding: 5px 14px;
    border-radius: 15px;
    font-size: 13px;
    margin-bottom: 12px;
    width: fit-content;
}

.item-content h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.5;
    transition: color 0.3s;
}

.news-list-item:hover .item-content h4 {
    color: var(--primary-color);
}

.item-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 991px) {
    .news-showcase {
        grid-template-columns: 1fr;
    }
    
    .featured-card {
        min-height: 400px;
    }
    
    .featured-content {
        padding: 35px;
    }
    
    .featured-content h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        text-align: center;
        align-items: center;
    }
    
    .news-title-group h2 {
        font-size: 32px;
    }
    
    .news-list-item {
        grid-template-columns: 1fr;
    }
    
    .news-list-item .item-image {
        min-height: 180px;
    }
    
    .news-list-item .item-content {
        padding: 25px;
    }
}

/* ==================== 产品系列 - 简洁网格 ==================== */
.products-section {
    padding: 80px 0;
    background: #eeeeee;
}

.products-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.products-section .section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.products-section .section-title p {
    font-size: 16px;
    color: #888;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 6px;
    font-weight: 600;
}

.card-content p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* 辅料卡片 - 纯色背景 */
.card-accessory {
    background: linear-gradient(135deg, #09b6aa 0%, #088a82 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 284px;
}

.card-accessory .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-accessory .card-icon i {
    font-size: 28px;
    color: #fff;
}

.card-accessory .card-content {
    padding: 0;
    background: transparent;
}

.card-accessory .card-content h3,
.card-accessory .card-content p {
    color: #fff;
}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .card-image {
        height: 180px;
    }
    
    .card-accessory {
        min-height: 260px;
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: 60px 0;
    }
    
    .product-grid {
        gap: 16px;
    }
    
    .card-image {
        height: 150px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .card-content h3 {
        font-size: 16px;
    }
    
    .card-accessory {
        min-height: 220px;
    }
}

/* ==================== 新闻资讯 ==================== */
.news-section {
    padding: 60px 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.news-item .news-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.news-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-item:hover .news-image img {
    transform: scale(1.08);
}

.news-item .news-content {
    padding: 25px 20px;
}

.news-item .news-content .news-date {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(10, 143, 133, 0.1);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 15px;
}

.news-item .news-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-item .news-content h4 a {
    color: var(--text-color);
    transition: color 0.3s;
}

.news-item .news-content h4 a:hover {
    color: var(--primary-color);
}

.news-item .news-content .news-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== 案例展示 ==================== */
.case-section {
    padding: 60px 0;
    background: url('../images/case_fixed_bg.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.case-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(8px);
    z-index: -1;
}

.case-section .section-header h2 {
    color: #fff;
}

.case-section .section-header .subtitle {
    color: rgba(255,255,255,0.7);
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.case-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.case-item:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 25px 20px;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-overlay h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.4s;
}

.case-item:hover .case-overlay h4 {
    transform: translateY(0);
}

/* ==================== CTA ==================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 35px;
    font-weight: 300;
}

.cta-content .cta-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #fff;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: all 0.4s;
}

.cta-content .cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1199px) {
    .hero-content h1 {
        font-size: 52px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .section-header h2,
    .section-header-dark h2 {
        font-size: 38px;
    }

    .products-hero-grid,
    .craft-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 62px;
        min-height: 650px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-cta-group .btn {
        padding: 14px 32px;
        font-size: 15px;
    }

    .products-hero-section,
    .craft-section,
    .news-section,
    .case-section,
    .cta-section {
        padding: 40px 0;
    }

    .section-header,
    .section-header-dark {
        margin-bottom: 50px;
    }

    .products-hero-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .craft-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 56px;
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 280px;
    }

    .section-header h2,
    .section-header-dark h2 {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .section-header .subtitle,
    .section-header-dark .subtitle {
        font-size: 16px;
    }

    .products-hero-section,
    .craft-section,
    .news-section,
    .case-section,
    .cta-section {
        padding: 50px 0;
    }

    .products-hero-grid,
    .craft-grid,
    .news-grid,
    .case-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .craft-item .craft-image,
    .news-item .news-image {
        height: 200px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content p {
        font-size: 16px;
    }
}
