/* 公司简介页面样式 - GitHub 风格 */

/* 整体背景 - GitHub 深色主题 */
body {
    background: linear-gradient(180deg, #0d1117 0%, #010409 50%, #0d1117 100%);
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 背景光晕效果 */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite;
}

/* 第二层光晕 */
body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

body > * {
    position: relative;
    z-index: 1;
}

.about-main {
    background: transparent;
    min-height: 100vh;
    padding: 3rem 0 3rem;
    padding-top: calc(66px + 3rem);
}

.about-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 公司标题和介绍 - GitHub 风格 */
.company-header {
    text-align: center;
    margin-bottom: 5rem;
    padding: 2rem 0;
}

.company-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, rgba(139, 92, 246, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.company-description {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin: 0 auto;
}

/* 时间线包装器 */
.timeline-wrapper {
    margin: 4rem 0;
}

/* 时间线项目 - GitHub 风格 */
.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2.5rem;
    padding-bottom: 4rem;
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.3), 
                0 0 24px rgba(59, 130, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

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

/* 时间线文本内容 */
.timeline-text {
    color: #ffffff;
}

.timeline-year {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.timeline-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #c7d0e0;
    margin-bottom: 1rem;
}

.timeline-highlight {
    font-size: 1rem;
    line-height: 1.8;
    color: #c7d0e0;
    margin-top: 1rem;
}

.timeline-features {
    margin-top: 1.5rem;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.feature-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #c7d0e0;
}

/* 时间线图片 - GitHub 风格 */
.timeline-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.timeline-image:hover {
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.4);
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.timeline-image:hover img {
    transform: scale(1.05);
}

/* 其他产品展示 - GitHub 风格 */
.other-products {
    margin-top: 5rem;
    padding: 3rem 2.5rem;
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.products-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 1.5rem;
}

.product-icon {
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(5px);
}

.product-icon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4),
                0 0 16px rgba(59, 130, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

.product-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(8, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .company-title {
        font-size: 2.2rem;
    }
    
    .other-products {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 768px) {
    .about-main {
        padding: 2rem 0 2rem;
        padding-top: calc(66px + 2rem);
    }

    .company-header {
        margin-bottom: 3rem;
        padding: 1.5rem 0;
    }

    .company-title {
        font-size: 2rem;
    }

    .company-description {
        font-size: 1rem;
    }

    .timeline-item {
        margin-bottom: 3rem;
        padding: 1.8rem;
        padding-bottom: 3rem;
    }

    .timeline-year {
        font-size: 1.2rem;
    }

    .timeline-desc,
    .timeline-highlight,
    .feature-text {
        font-size: 0.95rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
    
    .other-products {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .about-main {
        padding: 2rem 0 2rem;
        padding-top: calc(56px + 2rem);
    }

    .about-main .container {
        padding: 0 1rem;
    }

    .company-title {
        font-size: 1.6rem;
    }

    .timeline-item {
        gap: 1.5rem;
        padding: 1.5rem;
        padding-bottom: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .other-products {
        padding: 1.5rem 1rem;
    }
}
