/* CCBONLINE 首页Hero区域优化样式 */

/* Hero区域变量系统 */
:root {
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --hero-accent: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --hero-text-primary: #ffffff;
    --hero-text-secondary: #cbd5e1;
    --hero-gold: #f59e0b;
    --hero-red: #ef4444;
    --hero-green: #10b981;
}

/* 主Hero容器优化 */
.business-hero {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景装饰效果 */
.business-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* 动态网格背景 */
.business-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Hero内容容器 */
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 公司品牌标识优化 */
.company-brand {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.company-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hero-text-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.company-logo i {
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

/* 主标题优化 */
.hero-main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: var(--hero-text-primary);
    margin: 1.5rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* 强调文字渐变效果 */
.hero-main-title .highlight {
    background: var(--hero-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 副标题优化 */
.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--hero-text-secondary);
    margin-bottom: 2.5rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 服务概要优化 */
.services-summary {
    margin: 3rem 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.services-text {
    font-size: 1.1rem;
    color: var(--hero-text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.service-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    color: var(--hero-text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    display: none; /* 隐藏分隔符，改用flexbox布局 */
}

/* 业务数据展示优化 */
.business-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--hero-text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--hero-text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA按钮组优化 */
.hero-actions {
    margin: 3rem 0 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.hero-cta-primary {
    background: var(--hero-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hero-cta-primary:hover::before {
    left: 100%;
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.hero-cta-secondary {
    background: transparent;
    color: var(--hero-text-primary);
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 信任指标 */
.trust-indicators {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--hero-text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item i {
    color: var(--hero-green);
    font-size: 1.1rem;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .business-hero {
        padding: 4rem 0 3rem;
        min-height: 100vh;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-main-title {
        font-size: 2.5rem;
        margin: 1rem 0;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-item {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .business-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }
    
    .business-stats {
        grid-template-columns: 1fr;
    }
    
    .company-logo {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* 性能优化 */
@media (prefers-reduced-motion: reduce) {
    .business-hero::after,
    .company-logo i,
    .hero-main-title,
    .hero-subtitle,
    .services-summary,
    .business-stats,
    .hero-actions,
    .trust-indicators {
        animation: none;
    }
    
    .hero-cta-primary:hover,
    .hero-cta-secondary:hover,
    .stat-item:hover,
    .service-item:hover {
        transform: none;
    }
}

/* 高对比度支持 */
@media (prefers-contrast: high) {
    .business-hero {
        background: #000;
    }
    
    .service-item,
    .business-stats {
        border-color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }
}