/* ========================================
   内页通用样式
   ======================================== */

/* 页面标题区域 */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--soft-beige) 0%, #fff 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(232, 141, 103, 0.05) 0%, rgba(139, 111, 92, 0.03) 100%);
    clip-path: polygon(0 0, 100% 0, 70% 100%);
    border-radius: 30px;
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-title {
    font-size: 48px;
    color: var(--earth-brown);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 18px;
    color: var(--warm-brown);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    font-size: 14px;
    color: var(--warm-brown);
}

.breadcrumb a {
    color: var(--primary-orange);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--earth-brown);
}

.breadcrumb span {
    opacity: 0.5;
}

/* 内容区块 */
.content-block {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--light-shadow);
    margin-bottom: 40px;
}

.content-block h3 {
    font-size: 28px;
    color: var(--earth-brown);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.content-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--warm-brown));
    border-radius: 2px;
}

.content-block p {
    color: #666;
    line-height: 2;
    margin-bottom: 20px;
}

/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--light-shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--medium-shadow);
}

.product-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    background: var(--primary-orange);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 13px;
    color: var(--primary-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-title {
    font-size: 20px;
    color: var(--earth-brown);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.product-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--warm-brown);
    padding-top: 15px;
    border-top: 1px solid var(--soft-beige);
}

/* 研发成果卡片 */
.research-card {
    background: linear-gradient(135deg, #fef9f5 0%, white 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--light-shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-orange);
}

.research-card:hover {
    transform: translateX(10px);
    box-shadow: var(--medium-shadow);
}

.research-year {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-orange);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -20px;
}

.research-card h3 {
    font-size: 22px;
    color: var(--earth-brown);
    margin-bottom: 15px;
}

.research-card p {
    color: #666;
    line-height: 1.8;
}

/* 合作流程 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--light-shadow);
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--medium-shadow);
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--warm-brown) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.process-step h4 {
    font-size: 18px;
    color: var(--earth-brown);
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 联系表单 */
.contact-form {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--light-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--earth-brown);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--soft-beige);
    border-radius: 10px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(232, 141, 103, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* 联系信息卡片 */
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--warm-brown) 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    color: white;
    margin-bottom: 30px;
}

.contact-info-card h4 {
    font-size: 22px;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text h5 {
    font-size: 16px;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* 新闻列表页样式 */
.news-list-page {
    background: var(--cream-white);
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
}

.news-list-item {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--light-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-list-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--medium-shadow);
}

.news-list-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition);
}

.news-list-item:hover .news-list-img {
    transform: scale(1.05);
}

.news-list-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list-date {
    font-size: 13px;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-list-title {
    font-size: 20px;
    color: var(--earth-brown);
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.news-list-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--soft-beige);
}

.news-list-more {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.news-list-more:hover {
    gap: 10px;
}

/* 新闻详情页样式 */
.news-detail-page {
    background: var(--cream-white);
}

.news-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-detail-header {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: var(--light-shadow);
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--warm-brown);
}

.news-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-title {
    font-size: 36px;
    color: var(--earth-brown);
    line-height: 1.4;
    margin-bottom: 30px;
}

.news-detail-cover {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.news-detail-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--light-shadow);
    margin-bottom: 40px;
}

.news-detail-content p {
    color: #4a4a4a;
    line-height: 2;
    margin-bottom: 25px;
    font-size: 16px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 10px;
    margin: 30px 0;
}

/* 相关新闻 */
.related-news {
    background: white;
    border-radius: var(--border-radius);
    padding: 50px;
    box-shadow: var(--light-shadow);
}

.related-news h3 {
    font-size: 26px;
    color: var(--earth-brown);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related-news h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--warm-brown));
    border-radius: 2px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式 */
@media (max-width: 992px) {
    .page-header {
        padding: 140px 0 80px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .content-block {
        padding: 35px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .news-detail-title {
        font-size: 26px;
    }
    
    .news-detail-header,
    .news-detail-content {
        padding: 30px;
    }
    
    .contact-form {
        padding: 30px;
    }
}
