:root {
    --primary-color: #0056b3;
    --secondary-color: #28a745;
    --accent-color: #ffc107;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.alex-aboutwy-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.alex-aboutwy-section {
    margin-bottom: 80px;
    position: relative;
}

.alex-aboutwy-section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 2.5rem;
    position: relative;
}

.alex-aboutwy-section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* 公司简介部分 */
.alex-aboutwy-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.alex-aboutwy-intro-img {
    flex: 1 1 300px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.alex-aboutwy-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.alex-aboutwy-intro-img:hover img {
    transform: scale(1.05);
}

.alex-aboutwy-intro-content {
    flex: 1 1 300px;
}

.alex-aboutwy-intro-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.alex-aboutwy-intro-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.alex-aboutwy-intro-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 创始人简介部分 */
.alex-aboutwy-founder {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.alex-aboutwy-founder-img {
    flex: 1 1 300px;
    order: 2;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.alex-aboutwy-founder-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.alex-aboutwy-founder-img:hover img {
    transform: scale(1.05);
}

.alex-aboutwy-founder-content {
    flex: 1 1 300px;
    order: 1;
}

.alex-aboutwy-founder-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.alex-aboutwy-founder-subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.alex-aboutwy-founder-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.alex-aboutwy-founder-quote {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    margin-top: 25px;
    font-style: italic;
    color: #666;
    line-height: 1.7;
}

/* 发展历程部分 - 修复版 */
.alex-aboutwy-timeline-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* 时间轴容器 - 支持水平滚动 */
.alex-aboutwy-timeline-container {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.alex-aboutwy-timeline {
    display: flex;
    position: relative;
    overflow-x: auto;
    padding: 40px 0 20px; /* 增加上边距，让时间线经过圆点中心 */
    scrollbar-width: thin;
    scrollbar-color: #ccc #f5f5f5;
    cursor: grab;
}

.alex-aboutwy-timeline:active {
    cursor: grabbing;
}

/* 自定义滚动条样式 */
.alex-aboutwy-timeline::-webkit-scrollbar {
    height: 6px;
}

.alex-aboutwy-timeline::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.alex-aboutwy-timeline::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.alex-aboutwy-timeline::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* 修复：时间线经过圆点中心 */
.alex-aboutwy-timeline-line {
    position: absolute;
    top: 50px; /* 调整top值，使时间线经过圆点中心 */
    left: 20px;
    right: 20px;
    height: 2px;
    background: #000; /* 黑色细线 */
    z-index: 1;
}

.alex-aboutwy-timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
    flex-shrink: 0;
    padding: 0 15px;
}

.alex-aboutwy-timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.alex-aboutwy-timeline-item.active .alex-aboutwy-timeline-dot,
.alex-aboutwy-timeline-dot:hover {
    background: var(--accent-color);
    transform: scale(1.3);
    border-color: var(--accent-color);
}

.alex-aboutwy-timeline-year {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.alex-aboutwy-timeline-item.active .alex-aboutwy-timeline-year {
    color: var(--accent-color);
    font-size: 1.3rem;
}

/* 发展历程内容区域 - 修复版 */
.alex-aboutwy-timeline-content-wrapper {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

/* 修复：所有内容块使用绝对定位，避免切换时位置偏移 */
.alex-aboutwy-timeline-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.alex-aboutwy-timeline-content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative; /* 激活的内容使用相对定位，保持在正常文档流中 */
}

.alex-aboutwy-timeline-img {
    flex: 1 1 300px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.alex-aboutwy-timeline-content.active .alex-aboutwy-timeline-img {
    opacity: 1;
    transform: translateX(0);
}

.alex-aboutwy-timeline-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alex-aboutwy-timeline-details {
    flex: 1 1 300px;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.alex-aboutwy-timeline-content.active .alex-aboutwy-timeline-details {
    opacity: 1;
    transform: translateX(0);
}

.alex-aboutwy-timeline-details-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.alex-aboutwy-timeline-details-text {
    color: #555;
    line-height: 1.8;
}

/* 企业文化部分 */
.alex-aboutwy-culture {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.alex-aboutwy-culture-item {
    flex: 1 1 300px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.alex-aboutwy-culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.alex-aboutwy-culture-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.alex-aboutwy-culture-item:hover .alex-aboutwy-culture-icon {
    background: var(--primary-color);
    color: white;
}

.alex-aboutwy-culture-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.alex-aboutwy-culture-text {
    color: #555;
    line-height: 1.7;
    flex-grow: 1;
}

/* 页脚 */
.alex-aboutwy-footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
    color: #666;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .alex-aboutwy-intro, 
    .alex-aboutwy-founder,
    .alex-aboutwy-timeline-section {
        padding: 25px;
    }
    
    .alex-aboutwy-section-title {
        font-size: 2rem;
    }
    
    .alex-aboutwy-timeline-line {
        left: 10px;
        right: 10px;
        top: 45px; /* 移动端调整时间线位置 */
    }
    
    .alex-aboutwy-timeline {
        padding: 35px 0 15px; /* 移动端调整时间轴内边距 */
    }
    
    .alex-aboutwy-timeline-item {
        min-width: 120px;
        padding: 0 10px;
    }
    
    .alex-aboutwy-founder-img {
        order: 1;
    }
    
    .alex-aboutwy-founder-content {
        order: 2;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alex-aboutwy-animated {
    animation: fadeInUp 0.8s ease forwards;
}