/* 快手营销页面主样式 */
:root {
    --ks-primary: #FF2E4D;    /* 快手红色 */
    --ks-secondary: #FFDC00;  /* 快手金黄色 */
    --ks-dark: #333333;
    --ks-light: #f5f5f5;
    --ks-gradient: linear-gradient(45deg, var(--ks-primary), #FF6232);  /* 红色渐变 */
    --ks-shadow: 0 8px 20px rgba(255, 46, 77, 0.2);
    --ks-transition: all 0.3s ease;
    --ks-text-light: rgba(255, 255, 255, 0.9);
    --ks-bg-dark: #0c0c0c;
}

/* 基础样式 - 保留overflow-x hidden以避免水平滚动 */
.ks-page html, .ks-page body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* 确保快手页面的样式不影响导航 */
.ks-page .nav-icon,
.ks-page .nav-menu,
.ks-page .nav-item {
    color: inherit;
    background: none;
    box-shadow: none;
}

/* 重置可能影响导航的样式 */
.ks-page a:not(.ks-btn),
.ks-page i:not(.ks-icon) {
    color: inherit;
    background: none;
    box-shadow: none;
    transform: none;
}

/* 整体页面样式 - 居中布局 */
.ks-page {
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: var(--ks-dark);
    overflow-x: hidden;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

/* 通用部分 */
.ks-section-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.ks-section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ks-dark);
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.ks-section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.ks-title-underline {
    width: 80px;
    height: 4px;
    background: var(--ks-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* 按钮样式 */
.ks-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--ks-transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
    letter-spacing: 0.5px;
}

.ks-btn-primary {
    background: var(--ks-gradient);
    color: white;
    box-shadow: var(--ks-shadow);
}

.ks-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 46, 77, 0.35);
}

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

.ks-btn-outline:hover {
    background: rgba(255, 46, 77, 0.1);
    transform: translateY(-3px);
}

/* 基础布局 */
section {
    padding: 100px 0;
    position: relative;
}

/* 共享组件 */
.ks-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--ks-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: var(--ks-shadow);
    position: relative;
    overflow: hidden;
}

.ks-card-icon:before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
}

.ks-card-icon i {
    color: white;
    font-size: 36px;
    position: relative;
    z-index: 2;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .ks-section-title {
        font-size: 36px;
    }
    
    .ks-section-subtitle {
        font-size: 16px;
    }
    
    section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .ks-section-title {
        font-size: 30px;
    }
    
    .ks-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
    
    section {
        padding: 60px 0;
    }
}

/* 容器样式 */
.ks-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* 面板布局 */
.ks-panel {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    padding: 50px;
    margin-bottom: 40px;
    transition: var(--ks-transition);
    border: 1px solid rgba(255, 46, 77, 0.1);
}

.ks-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 46, 77, 0.2);
}

/* 动画元素 */
.ks-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.ks-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* 数据统计样式 */
.ks-stat-item {
    text-align: center;
    padding: 25px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 15px;
    transition: var(--ks-transition);
    border: 1px solid rgba(255, 46, 77, 0.1);
}

.ks-stat-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(255, 46, 77, 0.15);
}

.ks-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--ks-primary);
    margin-bottom: 5px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ks-stat-number span {
    font-size: 24px;
    margin-left: 2px;
}

.ks-stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* 通用标题样式 */
.ks-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.ks-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--ks-gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.ks-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 60px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 通用卡片样式 */
.ks-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: var(--ks-transition);
    height: 100%;
}

.ks-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ks-card-body {
    padding: 30px;
}

.ks-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.ks-card-text {
    color: #666;
    line-height: 1.6;
}

/* 图标容器 */
.ks-icon-container {
    width: 70px;
    height: 70px;
    background: var(--ks-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(255, 46, 77, 0.2);
}

/* 通用按钮样式 */
.ks-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--ks-gradient);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--ks-transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 46, 77, 0.2);
}

.ks-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 46, 77, 0.3);
}

.ks-button-outline {
    background: transparent;
    border: 2px solid var(--ks-primary);
    color: var(--ks-primary);
    box-shadow: none;
}

.ks-button-outline:hover {
    background: rgba(255, 46, 77, 0.1);
}

/* 通用动画类 */
.ks-fade-in {
    animation: fadeIn 1s ease forwards;
}

.ks-fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

.ks-fade-in-left {
    animation: fadeInLeft 1s ease forwards;
}

.ks-fade-in-right {
    animation: fadeInRight 1s ease forwards;
}

/* 动画延迟类 */
.ks-delay-100 {
    animation-delay: 0.1s;
}

.ks-delay-200 {
    animation-delay: 0.2s;
}

.ks-delay-300 {
    animation-delay: 0.3s;
}

.ks-delay-400 {
    animation-delay: 0.4s;
}

.ks-delay-500 {
    animation-delay: 0.5s;
}

/* 动画关键帧 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .ks-title {
        font-size: 36px;
    }
    
    .ks-container {
        padding: 70px 40px;
    }
}

@media (max-width: 992px) {
    .ks-title {
        font-size: 32px;
    }
    
    .ks-subtitle {
        font-size: 16px;
    }
    
    .ks-container {
        padding: 60px 30px;
    }
}

@media (max-width: 768px) {
    .ks-title {
        font-size: 28px;
    }
    
    .ks-card-title {
        font-size: 20px;
    }
    
    .ks-container {
        padding: 50px 20px;
    }
}

@media (max-width: 576px) {
    .ks-title {
        font-size: 26px;
    }
    
    .ks-subtitle {
        font-size: 15px;
    }
    
    .ks-container {
        padding: 40px 15px;
    }
} 