/* OKR页面主样式文件 - 合并精简版 */

:root {
    /* 主色调 */
    --primary: #2563eb;
    --secondary: #1e40af;
    --accent: #f97316;
    
    /* 中性色 */
    --white: #ffffff;
    --light: #f8fafc;
    --light-gray: #e2e8f0;
    --gray: #64748b;
    --dark: #0f172a;
    
    /* 效果 */
    --border-radius: 15px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(37, 99, 235, 0.15);
    --transition: all 0.3s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9fafb;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.cta-button, .btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.cta-button {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.cta-button:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    z-index: 10;
}

/* OKR页面专用按钮样式优化 */
.hero .btn-group .jx-btn {
    padding: 16px 35px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 第一个按钮使用紫色渐变背景 */
.hero .btn-group .jx-btn:first-child {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4) !important;
}

.hero .btn-group .jx-btn:first-child:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.6) !important;
}

/* 第二个按钮使用主色调边框 */
.hero .btn-group .jx-btn:last-child {
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    box-shadow: none !important;
}

.hero .btn-group .jx-btn:last-child:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

/* 英雄区域 */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(120deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 0;
}

/* 增加装饰元素 */
.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
    justify-content: space-between;
}

.hero-text {
    flex: 0 0 50%;
    padding-right: 20px;
    max-width: 600px;
    text-align: left;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--dark);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.hero h1 span {
    color: var(--primary);
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 550px;
    line-height: 1.7;
    font-weight: 400;
    text-align: left;
}

.hero-image {
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    max-width: 800px;
    min-width: 0;
}

.hero-image img {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    width: 100%;
}

.hero-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.hero-right-image {
    object-fit: contain;
    max-width: 100%;
    height: auto;
    min-width: 0;
}

.highlight {
    background: linear-gradient(120deg, rgba(249, 115, 22, 0.1) 0%, rgba(249, 115, 22, 0) 100%);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* 统计数据 */
.stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

/* OKR价值区域 */
.okr-benefits {
    background: linear-gradient(to right, #4f46e5, #7c3aed);
    color: white;
    padding: 80px 0;
    border-radius: 0 0 50px 50px;
}

.okr-benefits .section-title h2 {
    color: white;
}

.okr-benefits .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.benefits-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit-item {
    flex: 1 1 300px;
    text-align: center;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-item p {
    opacity: 0.9;
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 20px auto 0;
    font-size: 1.1rem;
}

/* 功能特点区域 */
.features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* 交替展示区域 */
.alternate-section {
    padding: 100px 0;
    background: var(--light);
}

.alternate-block {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
}

.alternate-block:nth-child(even) {
    flex-direction: row-reverse;
}

.alternate-image {
    width: 620px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: auto;
    object-fit: contain;
    max-height: 500px;
}

.alternate-content {
    flex: 0 0 calc(100% - 660px);
    padding: 0;
}

.alternate-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.alternate-content p {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
}

.feature-list li {
    padding: 8px 0;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 全宽大图区域 */
.full-width-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

/* 图文布局样式 - 复刻测试页面 */
.image-left-container {
    display: flex;
    gap: 100px;
    align-items: center;
    margin-bottom: 30px;
}

.image-left {
    width: 620px;
    height: auto;
    object-fit: contain;
    max-height: 500px;
    border-radius: 8px;
}

.content-right {
    flex: 1;
    max-width: 400px;
}

.content-left {
    flex: 1;
    max-width: 400px;
}

/* 内容区域样式 */
.content-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.content-section p {
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* 特殊样式类 */
.contain-fit {
    object-fit: contain;
}

.cover-fit {
    object-fit: cover;
}

.auto-height {
    height: auto;
}

.fixed-height {
    height: 300px;
}

.full-width-header {
    margin-bottom: 50px;
}

.full-width-header h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.full-width-header p {
    color: var(--gray);
    font-size: 1.2rem;
}

.full-width-image {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    height: auto;
    object-fit: contain;
    max-height: 600px;
}

/* 客户区域 */
.clients {
    padding: 100px 0;
    background: var(--light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-card {
    background: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-card img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-card:hover img {
    filter: grayscale(0);
}

.client-card h4 {
    margin-top: 15px;
    font-size: 1rem;
    color: var(--gray);
}

/* 动画 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 响应式设计 - 移动端适配 */

/* 平板设备适配 (992px以下) */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero p {
        max-width: 100%;
        margin: 0 0 30px 0;
        text-align: left;
    }
    
    .hero-image {
        width: 100%;
        max-width: 650px;
        margin: 0 auto;
        min-width: 0;
    }
    
    .hero-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        object-fit: contain;
        min-height: 350px;
    }
    
    /* 图片容器适配 */
    .image-left-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .image-left {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        height: auto;
    }
    
    .content-right {
        max-width: 100%;
        text-align: center;
    }
    
    .full-width-image {
        max-height: 400px;
        width: 100%;
        height: auto;
    }
    
    /* 交替区块适配 */
    .alternate-block {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .alternate-block:nth-child(even) {
        flex-direction: column;
    }
    
    .alternate-image {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        height: auto;
    }
    
    .alternate-content {
        flex: 0 0 100%;
    }
}

/* 手机设备适配 (768px以下) */
@media (max-width: 768px) {
    /* 优化移动端按钮样式 */
    .hero .btn-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 12px;
    }
    
    .hero .btn-group .jx-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 16px;
    }
    
    /* 优化移动端标题和文字 */
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    /* 基础样式重置 */
    body {
        font-size: 16px;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* 英雄区域适配 */
    .hero {
        padding: 100px 0 50px !important;
        margin-bottom: 0 !important;
    }
    
    .hero .container {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .hero-content {
        margin-bottom: 0 !important;
        flex-direction: column;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    .hero-image {
        margin-top: 30px !important;
        animation: none !important;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .hero-image img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* 按钮组适配 */
    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 10px;
    }
    
    .cta-button, .btn {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
    
    /* OKR价值区域适配 */
    .okr-benefits {
        margin-top: -40px !important;
        border-radius: 0 !important;
        padding: 60px 0 40px !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .okr-benefits .container {
        position: relative !important;
        z-index: 2 !important;
    }
    
    .benefits-container {
        gap: 20px;
    }
    
    .benefit-item {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    
    /* 通用区块样式适配 */
    .section-title {
        margin-bottom: 40px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    /* 功能特点区域适配 */
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    /* 交替展示区域适配 */
    .alternate-section {
        padding: 40px 0 20px 0; /* 减少上下内边距 */
    }
    
    .alternate-block {
        flex-direction: column !important;
        gap: 30px;
        margin-bottom: 40px; /* 减少区块间距 */
        background-color: white !important; /* 设置白色背景 */
        padding: 20px !important; /* 添加内边距 */
        border-radius: 8px !important; /* 添加圆角 */
    }
    
    .alternate-block:nth-child(even) {
        flex-direction: column !important;
    }
    
    .alternate-image {
        width: 100% !important;
        max-width: 400px !important; /* 扩大图片尺寸 */
        height: auto !important;
        margin: 0 auto;
        object-fit: contain !important;
    }
    
    .alternate-content {
        flex: 0 0 100% !important;
        text-align: left;
        padding: 0 10px;
    }
    
    .alternate-content h3 {
        font-size: 1.8rem;
    }
    
    /* 图文布局适配 - 重点修复空白问题和调整顺序 */
    .image-left-container {
        flex-direction: column-reverse !important; /* 强制垂直布局，文字在前图片在后 */
        gap: 25px !important; /* 减少内容与图片间距 */
        margin-bottom: 40px !important; /* 强制覆盖内联样式的120px */
        display: flex !important;
        align-items: center !important;
        background-color: white !important; /* 设置白色背景 */
        padding: 20px !important; /* 添加内边距 */
        border-radius: 8px !important; /* 添加圆角 */
    }
    
    /* 修复智能目标制定与拆解区块空白 */
    .image-left-container[style*="margin-bottom: 120px"] {
        margin-bottom: 40px !important; /* 强制覆盖内联样式 */
    }
    
    .image-left-container > div[style*="position: relative"] {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .image-left {
        width: 100% !important;
        max-width: 400px !important; /* 扩大图片尺寸 */
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
    
    .content-right,
    .content-left {
        max-width: 100% !important;
        text-align: left !important;
        padding: 0 10px;
    }
    
    .content-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .content-section h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .content-section p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    /* 全宽大图适配 */
    .full-width-section {
        padding: 40px 0 20px 0; /* 减少上下内边距 */
    }
    
    .full-width-header {
        margin-bottom: 30px; /* 减少标题与图片间距 */
    }
    
    .full-width-image {
        max-height: 220px !important; /* 适当减小高度 */
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* 客户区域适配 - 优化典型客户案例显示 */
    .clients {
        padding: 40px 0 60px 0;
    }
    
    .clients-grid {
        grid-template-columns: 1fr; /* 手机端单列显示 */
        gap: 12px; /* 减小间距 */
    }
    
    .client-card {
        height: auto; /* 自适应高度 */
        min-height: 80px;
        padding: 15px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    .client-card h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        font-weight: 600;
    }
    
    .client-card p {
        font-size: 0.95rem;
        margin-bottom: 0;
    }
    
    /* 保持颜色区分 */
    .client-card:nth-child(1) {
        background-color: rgba(135, 206, 250, 0.1);
        border-left: 4px solid #87CEFA;
    }
    
    .client-card:nth-child(2) {
        background-color: rgba(144, 238, 144, 0.1);
        border-left: 4px solid #90EE90;
    }
    
    .client-card:nth-child(3) {
        background-color: rgba(255, 182, 193, 0.1);
        border-left: 4px solid #FFB6C1;
    }
    
    .client-card:nth-child(4) {
        background-color: rgba(255, 215, 0, 0.1);
        border-left: 4px solid #FFD700;
    }
    
    .client-card:nth-child(5) {
        background-color: rgba(192, 192, 192, 0.1);
        border-left: 4px solid #C0C0C0;
    }
    
    /* 列表适配 */
    .feature-list {
        text-align: left;
        padding-left: 15px;
        margin-bottom: 20px;
    }
    
    .feature-list li {
        padding-left: 20px;
        font-size: 0.95rem;
        padding: 6px 0 6px 20px;
    }
    
    /* 隐藏不适合小屏幕的元素 */
    .floating-mobile,
    .size-label,
    [style*="position: absolute; top: 0; left: 0; background-color:"] {
        display: none !important;
    }
    
    /* 强制图片响应式 - 覆盖HTML中的固定尺寸 */
    img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* 移除图片的固定尺寸属性影响 */
    img[width], img[height] {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
    }
    
    /* 确保所有区块间距合理 */
    section {
        overflow: hidden;
    }
}

/* 超小屏幕适配 (480px以下) */
@media (max-width: 480px) {
    /* 进一步优化英雄区域 */
    .hero {
        padding: 80px 0 40px !important;
    }
    
    .hero h1 {
        font-size: 1.8rem !important;
        padding: 0 8px !important;
    }
    
    /* 进一步减小区块间距 */
    .alternate-block,
    .image-left-container {
        margin-bottom: 30px !important;
        gap: 20px !important;
    }
    
    /* 减小图片尺寸 */
    .hero-image,
    .image-left,
    .alternate-image {
        max-width: 280px !important;
    }
    
    .full-width-image {
        max-height: 200px !important;
    }
    
    /* 优化字体大小 */
    /* 优化所有标题文字大小 */
    .section-title h2,
    .alternate-content h3,
    .content-section h3 {
        font-size: 1.5rem !important;
    }
    
    /* 优化"OKR与绩效管理联动"等大标题 */
    .full-width-header h2,
    .image-left-container h3 {
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
    }
    
    /* 减小按钮尺寸 */
    .cta-button, .btn {
        max-width: 250px !important;
        padding: 10px 16px !important;
        font-size: 0.95rem !important;
    }
    
    /* 减小客户卡片高度 */
    .client-card {
        height: 80px !important;
        padding: 12px 8px !important;
    }
    
    /* 减小全宽大图区域内边距 */
    .full-width-section {
        padding: 30px 0 15px 0 !important;
    }
    
    /* 确保图片完全响应式 */
    img {
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
    }
    
    /* 超小屏幕上进一步减小标题 */
    .full-width-header h2,
    .image-left-container h3 {
        font-size: 1.3rem !important;
    }
}