/**
 * 公司介绍页样式 - 烽云科技
 * Author: Bruce (ID: 19314067)
 * 创建时间: 2026-02-28
 * 描述: 公司介绍页面专属样式，包含公司简介、烽云文化、发展历程、联系我们四个模块
 */


/* ==================== 选项卡导航 ==================== */
.about-tabs-section {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-tabs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.about-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.about-tabs::-webkit-scrollbar {
    display: none;
}

.about-tab {
    display: flex;
    align-items: center;
    padding: 20px 32px;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.about-tab:hover {
    color: #1a72b3;
    background: rgba(26, 114, 179, 0.05);
}

.about-tab.active {
    color: #1a72b3;
    border-bottom-color: #1a72b3;
    font-weight: 600;
}

/* ==================== 通用区块样式 ==================== */
.about-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-section:nth-child(even) {
    background: #f8fafc;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-en {
    font-size: 36px;
    font-weight: 700;
    color: #1a72b3;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-title-cn {
    font-size: 24px;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a72b3, #0ea5e9);
    margin: 0 auto;
    border-radius: 2px;
}

/* ==================== 公司简介区域 ==================== */
.company-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.company-intro-image {
    position: relative;
}

.image-frame {
    position: relative;
    z-index: 2;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 400px;
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
}

.image-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid #1a72b3;
    border-radius: 12px;
    z-index: 1;
}

.company-intro-text {
    padding: 20px 0;
}

.intro-paragraph {
    font-size: 16px;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 20px;
    text-align: justify;
    white-space: pre-line;
}

/* ==================== 烽云文化区域 ==================== */
.culture-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.culture-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.culture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(26, 114, 179, 0.15);
    border-color: #1a72b3;
}

.culture-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.culture-card:hover .culture-icon-wrapper {
    background: linear-gradient(135deg, #1a72b3 0%, #0ea5e9 100%);
}

.culture-icon {
    width: 36px;
    height: 36px;
    color: #1a72b3;
    transition: all 0.3s ease;
}

.culture-card:hover .culture-icon {
    color: #ffffff;
}

.culture-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.culture-card-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #64748b;
}

/* ==================== 发展历程区域 ==================== */
.history-section {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}

/* 发展历程背景图 */
.history-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* 白色半透明遮罩层 */
.history-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

/* 发展历程内容层 - 确保在遮罩之上 */
.history-content {
    position: relative;
    z-index: 2;
}

/* 阶段筛选标签 - 简洁无框设计 */
.history-phases {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.phase-tag {
    padding: 10px 20px;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.phase-tag:hover {
    color: #1a72b3;
}

.phase-tag.active {
    color: #1a72b3;
    font-weight: 600;
}

.phase-tag.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #1a72b3 0%, #0ea5e9 100%);
    border-radius: 1px;
}

/* 横向时间轴容器 */
.history-timeline-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 50px;
    padding: 0 50px;
}

/* 滑动导航按钮 - 极简设计 */
.timeline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.timeline-nav svg {
    width: 24px;
    height: 24px;
    color: #cbd5e1;
    transition: all 0.3s ease;
}

.timeline-nav:hover svg {
    color: #1a72b3;
}

.timeline-nav.prev {
    left: 0;
}

.timeline-nav.next {
    right: 0;
}

.timeline-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.timeline-nav:disabled:hover svg {
    color: #cbd5e1;
}

/* 时间轴轨道容器 */
.timeline-track-container {
    overflow: hidden;
    padding: 20px 0;
}

.timeline-track {
    display: flex;
    align-items: center;
    position: relative;
    padding: 30px 0;
    gap: 0;
    transition: transform 0.4s ease;
}

/* 时间轴进度条背景 */
.timeline-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 4px;
    background: #e2e8f0;
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 0;
}

/* 时间轴进度条 */
.timeline-progress {
    position: absolute;
    left: 0;
    top: 50%;
    height: 4px;
    background: linear-gradient(90deg, #1a72b3 0%, #0ea5e9 100%);
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 1;
    transition: width 0.4s ease;
}

/* 时间轴节点 - 极简线条设计 */
.timeline-node {
    flex: 0 0 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.node-dot {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.node-dot.highlight {
    width: 10px;
    height: 10px;
    background: #1a72b3;
}

.node-dot.current {
    width: 12px;
    height: 12px;
    background: #0ea5e9;
}

.node-year {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.timeline-node:hover .node-dot {
    background: #1a72b3;
    transform: scale(1.2);
}

.timeline-node:hover .node-year {
    color: #64748b;
}

.timeline-node.active .node-dot {
    background: #1a72b3;
    transform: scale(1.3);
}

.timeline-node.active .node-year {
    color: #1a72b3;
    font-weight: 600;
    font-size: 15px;
}

/* 发展历程详情卡片 - 极简无框设计 */
.history-detail-cards {
    max-width: 700px;
    margin: 0 auto;
    min-height: 180px;
}

.history-card {
    display: none;
    padding: 20px 0;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}

.history-card.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-year-badge {
    display: inline-block;
    font-size: 48px;
    font-weight: 200;
    color: #1a72b3;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.card-year-badge.current {
    color: #0ea5e9;
}

.card-phase-tag {
    display: inline-block;
    padding: 4px 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-phase-tag.highlight {
    color: #1a72b3;
}

.card-phase-tag.current {
    color: #0ea5e9;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.card-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #64748b;
    max-width: 550px;
    margin: 0 auto;
}

/* 旧时间轴样式 - 保留用于兼容 */
.history-timeline {
    display: none;
}

/* ==================== 联系我们区域 ==================== */
.contact-section {
    background: #ffffff;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26, 114, 179, 0.12);
    border-color: #1a72b3;
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon-wrapper {
    background: linear-gradient(135deg, #1a72b3 0%, #0ea5e9 100%);
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: #1a72b3;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    color: #ffffff;
}

.contact-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.contact-card-value {
    font-size: 16px;
    color: #1a72b3;
    font-weight: 500;
    margin-bottom: 8px;
    word-break: break-all;
}

.contact-card-note {
    font-size: 13px;
    color: #94a3b8;
}

/* 商务微信二维码样式 */
.contact-card-qrcode {
    margin: 8px auto;
}

.contact-card-qrcode img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

/* 地图区域 */
.contact-map {
    margin-top: 40px;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    border: 2px dashed #cbd5e1;
}

.map-placeholder svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 16px;
}

/* ==================== 动画效果 ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleX {
    from {
        transform: translateX(-50%) scaleY(0);
    }
    to {
        transform: translateX(-50%) scaleY(1);
    }
}

/* ==================== 响应式设计 ==================== */
/* 平板端 (768px - 1199px) */
@media (max-width: 1199px) {
    .about-banner {
        height: 420px;
    }
    
    .about-banner-title {
        font-size: 40px;
    }
    
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .company-intro-content {
        gap: 40px;
    }
}

/* 移动端 (< 768px) */
@media (max-width: 767px) {
    .about-banner {
        height: 350px;
        margin-top: 60px;
    }
    
    .about-banner-title {
        font-size: 32px;
    }
    
    .about-banner-subtitle {
        font-size: 16px;
        letter-spacing: 4px;
    }
    
    .about-tabs-section {
        top: 60px;
    }
    
    .about-tab {
        padding: 16px 20px;
        font-size: 14px;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .section-title-en {
        font-size: 28px;
    }
    
    .section-title-cn {
        font-size: 20px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* 公司简介移动端 */
    .company-intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-frame img {
        min-height: 280px;
    }
    
    .image-decoration {
        display: none;
    }
    
    .intro-paragraph {
        font-size: 15px;
    }
    
    /* 烽云文化移动端 */
    .culture-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .culture-card {
        padding: 30px 20px;
    }
    
    /* 发展历程移动端 */
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        margin-left: 0;
        padding-left: 60px;
        padding-right: 0;
        text-align: left;
    }
    
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 10px;
        right: auto;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-year {
        font-size: 18px;
    }
    
    .timeline-text {
        font-size: 14px;
    }
    
    .timeline-end {
        left: 2px;
        transform: none;
    }
    
    /* 新时间轴移动端适配 - 简洁风格 */
    .history-phases {
        gap: 4px;
        margin-bottom: 30px;
    }
    
    .phase-tag {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .history-timeline-wrapper {
        padding: 0 36px;
    }
    
    .timeline-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .timeline-node {
        flex: 0 0 60px;
    }
    
    .node-year {
        font-size: 11px;
    }
    
    .timeline-node.active .node-year {
        font-size: 13px;
    }
    
    .card-year-badge {
        font-size: 36px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-desc {
        font-size: 15px;
    }
    
    /* 联系我们移动端 */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .map-placeholder {
        height: 250px;
    }
}

/* 小屏移动端 (< 480px) */
@media (max-width: 480px) {
    .about-container {
        padding: 0 16px;
    }
    
    .about-tabs-container {
        padding: 0 16px;
    }
    
    .about-tab {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .section-title-en {
        font-size: 24px;
    }
    
    .section-title-cn {
        font-size: 18px;
    }
}
