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

/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 页面内容容器 */
.page-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* ONES容器样式 */
.ones-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ONES 顶部横幅 */
.ones-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 160px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.ones-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,192L48,186.7C96,181,192,171,288,181.3C384,192,480,224,576,218.7C672,213,768,171,864,160C960,149,1056,171,1152,186.7C1248,203,1344,213,1392,218.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.ones-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.ones-banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.ones-banner-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 400;
}

/* ONES 通用部分样式 */
.ones-overview,
.ones-values,
.ones-advantages {
    padding: 80px 0;
    background-color: #fff;
}

.ones-values {
    background-color: #fafafa;
}

.ones-join {
    padding: 80px 0;
    background: linear-gradient(135deg, #1677FF 0%, #005FD8 100%);
    color: #fff;
}

/* ONES 通用标题样式 */
.ones-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.5px;
}

.ones-values .ones-section-title,
.ones-advantages .ones-section-title {
    color: #1D2129;
}

.ones-join .ones-join-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.5px;
    color: #fff;
}

/* ONES 分隔线样式 */
.ones-section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto 60px;
    border-radius: 2px;
}

/* ONES 公司概况样式 */
.ones-overview-content {
    max-width: 1200px;
    margin: 0 auto;
}

.ones-story-content {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 20px;
}

.ones-story-text {
    flex: 1;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
}

.ones-story-text p {
    margin-bottom: 24px;
}

.ones-story-image {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ones-image-placeholder {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.125rem;
    color: #666;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ones-image-placeholder::after {
    content: '580px × 320px 图片位置';
}

/* ONES 核心价值样式 */
.ones-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.ones-value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
}

.ones-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #e8eaf6;
}

.ones-value-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: block;
}

.ones-value-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1D2129;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.ones-value-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* ONES 公司优势样式 */
.ones-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.ones-advantage-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ones-advantage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transition: all 0.5s ease;
    z-index: 1;
}

/* 为每个优势项设置不同的背景渐变 */
.ones-advantage-item:nth-child(1) .ones-advantage-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ones-advantage-item:nth-child(2) .ones-advantage-bg {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.ones-advantage-item:nth-child(3) .ones-advantage-bg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.ones-advantage-item:nth-child(4) .ones-advantage-bg {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.ones-advantage-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    text-align: center;
    transition: all 0.5s ease;
    z-index: 3;
    color: #fff;
}

.ones-advantage-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    letter-spacing: -0.2px;
    color: #fff;
    transition: all 0.5s ease;
}

.ones-advantage-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    margin-top: 16px;
}

/* 悬停效果 */
.ones-advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.ones-advantage-item:hover .ones-advantage-bg {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.ones-advantage-item:hover .ones-advantage-content {
    padding: 40px 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.ones-advantage-item:hover .ones-advantage-desc {
    opacity: 1;
    max-height: 100px;
}

.ones-advantage-item:hover .ones-advantage-title {
    margin-bottom: 16px;
}

/* ONES 加入我们样式 */
.ones-join-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ones-join-subtitle {
    font-size: 1.125rem;
    margin-bottom: 60px;
    opacity: 0.9;
    line-height: 1.6;
}

.ones-join-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ones-join-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.ones-join-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.ones-join-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.ones-join-card-desc {
    font-size: 1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.5;
    color: #fff;
}

/* ONES 按钮样式 */
.ones-btn-primary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: #1677FF;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ones-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 119, 255, 0.3);
    background: #fff;
    color: #005FD8;
}

.ones-btn-primary:active {
    transform: translateY(0);
}

.ones-btn-primary:focus {
    outline: 2px solid #005FD8;
    outline-offset: 2px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .ones-story-content {
        gap: 40px;
    }
    
    .ones-image-placeholder {
        width: 500px;
        height: 280px;
    }
}

@media (max-width: 1024px) {
    .ones-banner-title {
        font-size: 2.5rem;
    }
    
    .ones-section-title,
    .ones-join .ones-join-title {
        font-size: 2rem;
    }
    
    .ones-values-grid,
    .ones-advantages-grid,
    .ones-join-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .ones-story-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .ones-story-text {
        text-align: center;
    }
    
    .ones-image-placeholder {
        width: 100%;
        max-width: 580px;
        height: auto;
        aspect-ratio: 580 / 320;
    }
    
    .ones-advantage-item {
        height: 250px;
    }
    
    .ones-advantage-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .ones-banner {
        padding: 80px 0;
    }
    
    .ones-banner-title {
        font-size: 2rem;
    }
    
    .ones-banner-subtitle {
        font-size: 1.125rem;
    }
    
    .ones-section-title,
    .ones-join .ones-join-title {
        font-size: 1.75rem;
    }
    
    .ones-overview,
    .ones-values,
    .ones-advantages,
    .ones-join {
        padding: 60px 0;
    }
    
    .ones-values-grid,
    .ones-advantages-grid,
    .ones-join-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .ones-overview-content,
    .ones-join-content {
        padding: 0 20px;
    }
    
    .ones-section-divider {
        margin-bottom: 40px;
    }
    
    .ones-value-card,
    .ones-advantage-item,
    .ones-join-card {
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .ones-banner {
        padding: 60px 0;
    }
    
    .ones-banner-title {
        font-size: 1.75rem;
    }
    
    .ones-banner-subtitle {
        font-size: 1rem;
    }
    
    .ones-section-title,
    .ones-join .ones-join-title {
        font-size: 1.5rem;
    }
    
    .ones-story {
        font-size: 1rem;
        text-align: left;
    }
    
    .ones-value-icon {
        font-size: 2.5rem;
    }
    
    .ones-value-title {
        font-size: 1.25rem;
    }
    
    .ones-btn-primary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ones-overview,
.ones-values,
.ones-advantages,
.ones-join {
    animation: fadeIn 0.8s ease-out;
}

.ones-values-grid > *, 
.ones-advantages-grid > *, 
.ones-join-grid > * {
    animation: fadeInUp 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.ones-values-grid > *:nth-child(1),
.ones-advantages-grid > *:nth-child(1),
.ones-join-grid > *:nth-child(1) {
    animation-delay: 0.1s;
}

.ones-values-grid > *:nth-child(2),
.ones-advantages-grid > *:nth-child(2),
.ones-join-grid > *:nth-child(2) {
    animation-delay: 0.2s;
}

.ones-values-grid > *:nth-child(3),
.ones-advantages-grid > *:nth-child(3),
.ones-join-grid > *:nth-child(3) {
    animation-delay: 0.3s;
}

.ones-values-grid > *:nth-child(4),
.ones-advantages-grid > *:nth-child(4) {
    animation-delay: 0.4s;
}

/* 强调文本样式 */
.ones-story strong {
    color: #1D2129;
    font-weight: 600;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
.ones-banner-content,
.ones-overview-content,
.ones-values .ones-section-title,
.ones-advantages .ones-section-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.ones-banner-content {
    animation-delay: 0.2s;
}

.ones-overview-content {
    animation-delay: 0.4s;
}

.ones-values .ones-section-title {
    animation-delay: 0.6s;
}

.ones-advantages .ones-section-title {
    animation-delay: 0.8s;
}

/* 交互反馈 */
button, a {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 渐变文本 */
.ones-gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 卡片悬停效果增强 */
.ones-value-card:hover .ones-value-title,
.ones-advantage-item:hover .ones-advantage-title {
    color: #667eea;
    transition: color 0.3s ease;
}

/* 分隔线 */
.ones-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 50%, transparent 100%);
    margin: 60px auto;
    max-width: 800px;
}

/* 优势部分背景文字样式 */
.advantage-background-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    text-align: center;
    white-space: nowrap;
    z-index: 2;
}

.big-letter {
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.chinese-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 8px;
    font-weight: normal;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}
