/* 首页Hero部分样式 */
.hero-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0;
    position: relative;
}

.hero-content {
    color: #ffffff;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 30px;
}

/* 统计数据部分 - 修复居中问题 */
.stats-container {
    display: flex !important;
    justify-content: center !important;
    padding: 0 20px 170px !important;
    position: relative;
    z-index: 10;
    margin-top: -100px;
    margin-bottom: -100px;
}

.stats-grid.uk-grid {
    width: 1200px !important;
    height: 175px !important;
    max-width: 1200px !important;
}


.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.stat-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

/* 分割线 - 来自原始style.css */
.topgus-divider {
    width: 80px;
    height: 6px;
    margin: auto;
    background: linear-gradient(90deg, #F8C786 0%, #D7D3E7 48%, #95D6F6 100%);
}

/* 品牌部分 */
.brand-section {
    padding: 60px 0;
    background: #ffffff;
}

/* 品牌Logo网格 - 来自原始style.css */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-segment:hover {
    transform: scale(1.05);
}

.logo-segment img {
    max-width: 140px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-segment:hover img {
    filter: grayscale(0%);
}
/* 服务卡片 */
.service-card {
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

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

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 渐变标题 */
.gradient-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin: 40px 0;
}

/* 四项核心产品标题和其他h2标题 */
.section-title,
h2.uk-text-center.uk-text-bold {
    font-size: 36px !important;
    font-weight: bold !important;
    text-align: center;
    color: #333;
}

/* 产品卡片容器 */
.products-container {
    padding: 40px 0;
}

/* 自定义手风琴样式 */
.custom-accordion {
    max-width: 100%;
    margin: 0 auto;
}

.custom-accordion-item {
    margin-bottom: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.custom-accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.custom-accordion-title {
    padding: 20px 25px;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
}

.custom-accordion-title:hover {
    background: #e8e8e8;
}

.custom-accordion-title::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.custom-accordion-item.active .custom-accordion-title::after {
    transform: rotate(45deg);
}

.custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
    background: #fafafa;
    color: #666;
    line-height: 1.8;
}

.custom-accordion-item.active .custom-accordion-content {
    max-height: 500px;
    padding: 20px 25px 25px;
}

/* UIKit覆盖样式 - 已移到critical CSS中避免CLS */

.uk-section {
    padding: 60px 0;
}



/* 修复uk-margin间距 */
[uk-margin] > * {
    margin-top: 20px !important;
}

[uk-margin] > *:first-child {
    margin-top: 0 !important;
}

.uk-margin-small-right {
    margin-right: 15px !important;
}

.uk-margin-medium-bottom {
    margin-bottom: 40px !important;
}

.uk-margin-large-bottom {
    margin-bottom: 70px !important;
}

.uk-margin-small-top {
    margin-top: 15px !important;
}

.uk-margin-medium-top {
    margin-top: 40px !important;
}

.uk-margin-large-top {
    margin-top: 70px !important;
}

/* 图标和文字对齐 */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 带图标的列表项对齐 */
.seo-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px !important;
}

.seo-list li span {
    line-height: 1.5;
}

/* 勾选图标样式 - 只修复垂直对齐 */
.topgus-icon.uk-icon {
    color: #4CAF50;
    vertical-align: text-bottom !important;
}

.topgus-icon.uk-icon svg {
    width: 18px;
    height: 18px;
}

/* p[uk-margin]段落底部间距 */
p[uk-margin] {
    margin-bottom: 20px !important;
}

/* 减小"只有专一才能专业"下面的间距 */
.gradient-title + p.uk-text-center {
    margin-top: 10px !important;
    margin-bottom: 30px !important;
}

/* 修复slider显示问题 - 确保一次只显示一个卡片 */
.uk-slider-container-offset {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.uk-slider-container-offset .uk-position-relative {
    overflow: hidden !important;
    max-width: 100%;
}

.uk-slider-container-offset .uk-slider-items {
    margin-left: 0 !important;
}

.uk-slider-container-offset .uk-slider-items > * {
    width: 100% !important;
    max-width: 100% !important;
}

/* SEO会议轮播特定修复 */
.uk-slider-container-offset.uk-light .uk-slider-items {
    width: 100% !important;
}

.uk-slider-container-offset.uk-light .uk-card {
    max-width: 1200px;
    margin: 0 auto;
}

/* 隐藏UIKit自带的slider导航按钮 */
.uk-slider .uk-slidenav-previous,
.uk-slider .uk-slidenav-next,
.uk-slider .uk-position-center-left,
.uk-slider .uk-position-center-right,
.uk-slidenav {
    display: none !important;
}

/* 响应式调整 */
@media (max-width: 959px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .gradient-title {
        font-size: 24px;
    }
    
    .stats-grid {
        margin-top: 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin: 40px 0 30px;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
}