/*
 * 关于我们页面专用样式
 * 志创互动官网 - About Us Page
 */

/* Hero Banner */
.about-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e8f0fe 30%, #dbeafe 60%, #ffffff 100%);
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.about-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.about-hero-subtitle {
    font-size: 20px;
    color: #64748b;
    margin-top: 16px;
}

/* 公司简介 */
.about-intro {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.about-intro-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.about-intro-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 24px;
}

.about-intro-desc {
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.about-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: #eff6ff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
}

.about-intro-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-img {
    max-width: 300px;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

/* 核心数据 */
.about-stats-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.about-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.about-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 16px;
    color: #64748b;
}

/* 发展历程 */
.about-timeline {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e2e8f0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 40px;
}

.timeline-item:nth-child(odd) {
    padding-right: 40px;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    width: 16px;
    height: 16px;
    background-color: #2563eb;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px #2563eb;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.timeline-year {
    display: inline-block;
    padding: 4px 12px;
    background-color: #2563eb;
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 12px;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* 企业文化 */
.about-culture {
    padding: 80px 0;
    background-color: #f8fafc;
}

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

.culture-card {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.culture-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.culture-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 8px;
}

.culture-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.culture-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* 团队介绍 */
.about-team {
    padding: 80px 0;
    background-color: #ffffff;
}

.team-org {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.team-org-item {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.team-org-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.team-org-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.team-org-item p {
    font-size: 14px;
    color: #64748b;
}

.team-members-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #1e293b;
}

.team-members-scroll {
    overflow: hidden;
    width: 100%;
    margin-top: 32px;
}

.team-members-track {
    display: flex;
    width: max-content;
    animation: scroll 60s linear infinite;
}

.team-members-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    99.99% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.team-member-card {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
    min-width: 200px;
    width: 200px;
    height: 200px;
    margin-right: 24px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.team-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.team-member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.team-member-role {
    font-size: 14px;
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-member-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

/* 技术实力 */
.about-tech {
    padding: 80px 0;
    background-color: #f8fafc;
}

.tech-stack-section {
    background-color: white;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}

.tech-stack-section h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    color: #1e293b;
}

.tech-stack-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.tech-stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    min-width: 80px;
}

.tech-stack-icon {
    font-size: 32px;
}

.tech-stack-item span {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

.tech-advantages-section h3 {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    color: #1e293b;
}

.tech-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tech-advantage-item {
    background-color: white;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.tech-advantage-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tech-advantage-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.tech-advantage-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* CTA */
.about-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
    color: white;
}

.about-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.about-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
    color: #bfdbfe;
}

.about-cta .btn-primary {
    background-color: white;
    color: #2563eb;
}

.about-cta .btn-primary:hover {
    background-color: #f8fafc;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background-color: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1d4ed8;
    transform: translateY(-4px);
    color: white;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-intro-image {
        order: -1;
    }
    
    .about-hero h1 {
        font-size: 32px;
    }
    
    .about-hero-subtitle {
        font-size: 16px;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    .team-org {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .team-org-item {
        padding: 12px 8px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-grid {
        gap: 16px;
    }
    
    .tech-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        margin-left: 0;
    }
    
    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 100px 0 40px;
    }
    
    .about-hero h1 {
        font-size: 28px;
    }
    
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}
