/* 首页样式 */

.hero {
    text-align: center;
    padding: 80px 20px 60px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 搜索框 */
.search-box {
    max-width: 600px;
    margin: 40px auto;
}

.search-box-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    outline: none;
}

.search-box input:focus {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.search-btn {
    background: #fff;
    color: rgba(0,157,217,1);
    padding: 18px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    background: rgba(0,157,217,1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* 标题样式 */
.section-title {
    color: #fff;
    font-size: 32px;
    text-align: center;
    margin: 60px 0 40px;
    font-weight: 600;
}

.bottom-section .section-title {
    color: #303133;
}

.organizer-section .section-title {
    color: #303133;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* 会议卡片 */
.conference-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.conference-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid #ebeef5;
    display: flex;
    flex-direction: column;
}

.conference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.card-banner {
    height: 200px;
    background: linear-gradient(135deg, rgba(0,157,217,1) 0%, #667eea 100%);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.status-筹备中 { background: #409eff; }
.status-进行中 { background: #67c23a; }
.status-已结束 { background: #909399; }

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #303133;
    margin-bottom: 12px;
    line-height: 1.4;
    flex-shrink: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
    max-height: 56px;
}

.card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
    color: #606266;
    font-size: 14px;
    flex-shrink: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.meta-item:nth-child(1) {
    flex: 0 0 auto;
}

.meta-item:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-desc {
    color: #606266;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44.8px;
    max-height: 44.8px;
    flex-shrink: 0;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
    gap: 12px;
    flex-shrink: 0;
    margin-top: auto;
}

.attendee-count {
    color: #909399;
    font-size: 14px;
    flex-shrink: 0;
}

.btn-register {
    background: rgba(0,157,217,1);
    color: #fff;
    padding: 10px 28px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-register:hover {
    background: #0099d6;
    transform: translateY(-2px);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 16px;
    margin: 0 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.empty-state h3 {
    font-size: 20px;
    color: #606266;
    margin-bottom: 15px;
    font-weight: 500;
}

.empty-state p {
    font-size: 14px;
    color: #909399;
}

/* 组织者专区 */
.organizer-section {
    background: #fff;
    padding: 80px 0;
}

.organizer-intro {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro-content {
    text-align: center;
    margin-bottom: 60px;
}

.intro-content h2 {
    font-size: 36px;
    color: #303133;
    margin-bottom: 15px;
    font-weight: 600;
}

.intro-content p {
    font-size: 18px;
    color: #606266;
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    color: #303133;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    color: #606266;
    line-height: 1.6;
}

/* 数据展示 */
.stats-showcase {
    background: #f5f7fa;
    padding: 60px 0;
    margin-top: 0;
}

.stats-row {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-showcase-item {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 200px;
    flex: 1;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-showcase-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
    color: rgba(0,157,217,1);
    font-family: 'DIN Alternate', 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    line-height: 1.2;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-showcase-item .stat-label {
    font-size: 14px;
    color: #606266;
    text-align: center;
    line-height: 1.4;
}

/* 用户评价 */
.testimonials-section {
    margin: 60px 0;
}

.section-title-white {
    color: #303133;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

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

.testimonial-card {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 15px;
    color: #606266;
    line-height: 1.8;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
}

.author-name {
    font-weight: 600;
    color: #303133;
    font-size: 15px;
    line-height: 1.4;
}

.author-title {
    font-size: 13px;
    color: #909399;
    line-height: 1.4;
    margin: 0;
}

/* 价格方案 */
.pricing-section {
    margin: 60px 0;
}

/* 帮助中心 */
.help-section {
    background: #f5f7fa;
    padding: 60px 0;
}

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

.help-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #ebeef5;
    text-decoration: none;
    color: inherit;
    display: block;
}

.help-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.help-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.help-card h3 {
    font-size: 18px;
    color: #303133;
    margin-bottom: 10px;
    font-weight: 600;
}

.help-card p {
    font-size: 14px;
    color: #909399;
}

/* 行动号召 */
.cta-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    padding: 15px 50px;
    background: #fff;
    color: #667eea;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-note {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

.cta-note a {
    color: #fff;
    text-decoration: underline;
}

.cta-note a:hover {
    text-decoration: none;
}

/* 底部区域 */
.bottom-section {
    background: #f5f7fa;
    padding-top: 60px;
}

.bottom-section .section-title {
    margin-top: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .intro-content h2 {
        font-size: 22px;
    }

    .intro-content p {
        font-size: 14px;
    }

    .cta-section h2 {
        font-size: 22px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .search-box-form {
        flex-direction: column;
        gap: 15px;
    }

    .search-box input {
        width: 100%;
    }

    .search-btn {
        width: 100%;
        padding: 15px 20px;
    }

    .conference-grid {
        grid-template-columns: 1fr;
    }

    /* 数据展示响应式 */
    .stats-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }

    .stat-showcase-item {
        min-width: 140px;
        max-width: 48%;
        width: calc(50% - 10px);
        padding: 20px 15px;
        flex: 0 0 auto;
    }

    .stat-number {
        font-size: 28px;
        min-height: 40px;
    }

    /* 用户评价响应式 */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* 确保悬浮球显示 */
.zhike-chat-widget,
#zhike-chat-widget,
[class*="chat-widget"],
[id*="chat-widget"] {
    position: fixed !important;
    z-index: 9999 !important;
}
