/* 关于页面专用样式 */

/* 页面横幅样式 */
.about-hero {
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.7)), 
                url('../images/about-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.about-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(15, 118, 110, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* 公司简介区域 */
.company-intro {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.intro-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.intro-highlight {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-text h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.highlight-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.intro-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.intro-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 118, 110, 0.2));
    z-index: 1;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* 发展历程区域 - 现代时间轴设计 */
.company-timeline {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.company-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.company-timeline .section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.company-timeline .section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-timeline .section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 现代时间轴容器 */
.modern-timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

/* 时间轴中心线 */
.modern-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--primary-color) 10%, 
        var(--primary-color) 90%, 
        transparent 100%);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

/* 时间轴节点 */
.timeline-node {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1),
                0 4px 12px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.timeline-node:hover {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.2),
                0 6px 20px rgba(14, 165, 233, 0.4);
    background: var(--primary-color);
    cursor: pointer;
}

.timeline-node.active {
    background: var(--primary-color);
    transform: translateX(-50%) scale(1.3);
    box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.3),
                0 8px 25px rgba(14, 165, 233, 0.5);
    animation: pulse 2s infinite;
}

/* 时间轴卡片高亮效果 */
.timeline-card.highlight .timeline-card-content {
    animation: highlightPulse 3s ease;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.3),
                var(--shadow-lg);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.3),
                    0 8px 25px rgba(14, 165, 233, 0.5);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(14, 165, 233, 0.2),
                    0 12px 35px rgba(14, 165, 233, 0.6);
    }
    100% {
        box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.3),
                    0 8px 25px rgba(14, 165, 233, 0.5);
    }
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.3),
                    var(--shadow-lg);
    }
    50% {
        box-shadow: 0 0 50px rgba(14, 165, 233, 0.5),
                    0 25px 60px rgba(14, 165, 233, 0.3);
    }
    100% {
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.3),
                    var(--shadow-lg);
    }
}

/* 时间轴卡片容器 */
.timeline-cards-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    position: relative;
}

/* 时间轴卡片 */
.timeline-card {
    width: calc(50% - 60px);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.timeline-card:nth-child(odd) {
    align-self: flex-start;
    margin-right: auto;
    padding-right: 60px;
}

.timeline-card:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
    padding-left: 60px;
}

/* 卡片连接线 */
.timeline-card:before {
    content: '';
    position: absolute;
    top: 30px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 1px;
}

.timeline-card:nth-child(odd):before {
    right: 0;
}

.timeline-card:nth-child(even):before {
    left: 0;
}

/* 卡片内容 */
.timeline-card-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.timeline-card-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
    border-color: rgba(14, 165, 233, 0.2);
}

/* 卡片头部 */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
    flex-shrink: 0;
}

.card-year {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 卡片标题 */
.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* 卡片描述 */
.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* 卡片标签 */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 动画定义 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .modern-timeline:before {
        left: 30px;
    }
    
    .timeline-node {
        left: 30px;
    }
    
    .timeline-card {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        padding-left: 40px !important;
        padding-right: 0 !important;
    }
    
    .timeline-card:nth-child(odd):before,
    .timeline-card:nth-child(even):before {
        left: -40px;
        right: auto;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .card-year {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .company-timeline {
        padding: 4rem 0;
    }
    
    .company-timeline .section-header h2 {
        font-size: 2.2rem;
    }
    
    .timeline-cards-container {
        gap: 3rem;
    }
    
    .timeline-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        padding-left: 30px !important;
    }
    
    .timeline-card-content {
        padding: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

/* 核心价值观区域 */
.company-values {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.company-values .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.company-values .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.company-values .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: white;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(10deg);
}

.value-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* 团队介绍区域 */
.company-team {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.company-team .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.company-team .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.company-team .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.team-avatar {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
}

.team-avatar:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(30, 58, 138, 0.3) 100%);
    z-index: 1;
}

.team-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.team-position {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* 荣誉资质区域 */
.company-honors {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.company-honors .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.company-honors .section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.company-honors .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.honor-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.honor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background: white;
}

.honor-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.honor-card:hover .honor-icon {
    transform: rotateY(180deg);
}

.honor-card h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.honor-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

/* 联系我们区域 */
.company-contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-text p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: white;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-family: var(--font-family);
    font-size: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.contact-form .btn-primary {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    margin-top: 1rem;
}

.contact-form .btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline:before {
        left: 0;
    }
    
    .timeline-item {
        flex-direction: row !important;
        margin-left: 2rem;
        gap: 1rem;
    }
    
    .timeline-year {
        flex: 0 0 70px;
        font-size: 1rem;
        padding: 0.6rem;
        min-height: 70px;
        margin-right: 1rem !important;
        margin-left: 0 !important;
    }
    
    .timeline-content {
        margin: 0 !important;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.25rem;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .intro-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        margin: 0 auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .honors-grid {
        grid-template-columns: 1fr;
    }
    
    .company-timeline .section-header h2,
    .company-values .section-header h2,
    .company-team .section-header h2,
    .company-honors .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    
    .intro-highlight {
        padding: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item {
    animation: fadeIn 0.6s ease-out forwards;
}

.value-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }
.value-card:nth-child(5) { animation-delay: 0.5s; }
.value-card:nth-child(6) { animation-delay: 0.6s; }

.team-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.team-card:nth-child(1) { animation-delay: 0.1s; }
.team-card:nth-child(2) { animation-delay: 0.2s; }
.team-card:nth-child(3) { animation-delay: 0.3s; }
.team-card:nth-child(4) { animation-delay: 0.4s; }

.honor-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.honor-card:nth-child(1) { animation-delay: 0.1s; }
.honor-card:nth-child(2) { animation-delay: 0.2s; }
.honor-card:nth-child(3) { animation-delay: 0.3s; }
.honor-card:nth-child(4) { animation-delay: 0.4s; }
.honor-card:nth-child(5) { animation-delay: 0.5s; }
.honor-card:nth-child(6) { animation-delay: 0.6s; }