/* ========================================
   博创远航黄金回收 - 首页专属样式
   ======================================== */

/* 价格展示栏 */
.price-bar {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.price-item {
    text-align: center;
    color: var(--black-rich);
}

.price-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.price-value {
    font-size: 28px;
    font-weight: 900;
}

.price-unit {
    font-size: 14px;
    opacity: 0.7;
    margin-left: 5px;
}

/* 服务类型网格 */
.service-types-section {
    background: linear-gradient(180deg, var(--black-deep) 0%, var(--black-rich) 100%);
}

.service-type-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 350px;
    cursor: pointer;
}

.service-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    z-index: 1;
}

.service-type-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-type-card:hover .service-type-img {
    transform: scale(1.1);
}

.service-type-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.service-type-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.service-type-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white-pure);
    margin-bottom: 10px;
}

.service-type-desc {
    color: var(--white-soft);
    opacity: 0.8;
    font-size: 15px;
}

/* 流程步骤 */
.process-section {
    background: linear-gradient(180deg, var(--black-rich) 0%, var(--black-deep) 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.process-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    font-weight: 900;
    color: var(--black-rich);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.process-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.process-desc {
    color: var(--white-soft);
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.7;
}

/* CTA 区块 */
.cta-section {
    background: linear-gradient(135deg, var(--red-luxury), var(--black-deep));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    transform: rotate(30deg);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(32px, 5vw, 55px);
    font-weight: 900;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    color: var(--white-soft);
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.8;
}

/* 新闻列表 */
.news-section {
    background: linear-gradient(180deg, var(--black-deep) 0%, var(--black-rich) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.news-card {
    background: linear-gradient(145deg, var(--black-deep), var(--black-soft));
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-gold);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-primary);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--white-soft);
    opacity: 0.8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 15px;
}

.news-link:hover {
    gap: 15px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
    }

    .service-type-card {
        height: 300px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-type-card {
        height: 250px;
    }
}
