/* ===================================
   奇和信息科技 - 页面专用样式
   基于 Logo 主色调优化
   =================================== */

/* ===================================
   页面头部
   =================================== */
.page-header {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a237e 100%);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(26, 115, 232, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(45, 127, 249, 0.15) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 10;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.breadcrumb {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
    color: var(--primary-light);
}

/* ===================================
   关于我们页面
   =================================== */
.about-intro {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image .image-placeholder {
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
}

.about-image .image-placeholder span {
    font-size: 16px;
    margin-top: 16px;
    opacity: 0.8;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-content .lead {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.about-stat {
    text-align: center;
}

.about-stat .stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.about-stat .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 企业文化 */
.culture {
    background: var(--bg-light);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.culture-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.culture-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.culture-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.culture-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.culture-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 发展历程 - 新布局 */
.timeline-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.timeline-new {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 4px;
}

.timeline-item-new {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
}

.timeline-item-new:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 0 0 8px rgba(26, 115, 232, 0.15), 0 4px 12px rgba(0,0,0,0.15);
    z-index: 2;
}

.timeline-content-new {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
    width: 42%;
}

.timeline-item-new:nth-child(odd) .timeline-content-new {
    margin-right: auto;
}

.timeline-item-new:nth-child(even) .timeline-content-new {
    margin-left: auto;
}

.timeline-content-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.timeline-year-new {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.timeline-content-new h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.timeline-content-new p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
}

/* 团队介绍 */
.team {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
}

.team-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================
   服务详情页面
   =================================== */
.services-detail {
    background: var(--bg-light);
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    padding: 60px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

.service-detail-item:last-child {
    margin-bottom: 0;
}

.service-detail-item.reverse {
    direction: rtl;
}

.service-detail-item.reverse > * {
    direction: ltr;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 24px;
}

.service-detail-info h2 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.service-lead {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.service-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
}

.service-feature i {
    color: var(--accent-color);
    font-size: 18px;
}

.service-detail-image .image-placeholder {
    height: 350px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.8);
}

/* 服务流程 */
.process-section {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 30px;
    height: 2px;
    background: var(--border-color);
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.process-step h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   案例展示页面
   =================================== */
.cases-filter-section {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.cases-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.cases-section {
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.case-image .image-placeholder {
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.8);
}

.case-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 115, 232, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-link {
    padding: 12px 28px;
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.case-link:hover {
    background: var(--text-primary);
    color: white;
}

.case-info {
    padding: 24px;
}

.case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 115, 232, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.case-info h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===================================
   新闻动态页面
   =================================== */
.news-section {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-row: span 2;
}

.news-card.featured .news-image {
    height: 300px;
}

.news-card.featured .news-content {
    padding: 30px;
}

.news-card.featured h2 {
    font-size: 24px;
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image .image-placeholder {
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(255, 255, 255, 0.8);
}

.news-content {
    padding: 20px;
}

.news-date {
    font-size: 14px;
    color: var(--text-light);
}

.news-content h2,
.news-content h3 {
    font-size: 18px;
    margin: 12px 0;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.news-link:hover {
    gap: 12px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 50%;
    color: var(--text-secondary);
    font-weight: 600;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* ===================================
   联系我们页面
   =================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 32px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.contact-lead,
.form-lead {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.contact-detail h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-detail span {
    font-size: 14px;
    color: var(--text-light);
}

.social-links-large {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* 联系表单 */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ff4d4f;
}

.error-message {
    color: #ff4d4f;
    font-size: 13px;
    margin-top: 6px;
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 16px;
}

/* 地图区域 */
.map-section {
    background: white;
    padding-bottom: 0;
}

.map-wrapper {
    height: 450px;
    background: var(--bg-light);
}

.map-placeholder {
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 80px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.map-placeholder p {
    font-size: 18px;
    margin-bottom: 8px;
}

.map-placeholder span {
    font-size: 14px;
}

/* ===================================
   响应式设计
   =================================== */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .culture-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-item {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-detail-item.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .culture-grid,
    .team-grid,
    .process-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    /* 新时间线响应式 */
    .timeline-line {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .timeline-content-new {
        width: calc(100% - 100px);
        margin-left: 80px !important;
        padding: 20px;
    }
    
    .timeline-year-new {
        font-size: 16px;
        padding: 4px 12px;
    }
    
    .timeline-content-new h3 {
        font-size: 18px;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
