/* ============================================
   Hero Section Styles - 统一的页面头部样式
   适用于所有页面的 Hero 区域
   ============================================ */

/* 基础 Hero 样式 */
.hero,
.page-hero,
.products-hero,
.contact-hero,
.mobile-hero,
.solutions-hero,
.cases-hero,
.company-hero,
.faq-hero,
.support-hero {
    background: var(--gradient-hero);
    padding: 6rem 0 4rem;
    color: #334155;
    text-align: center !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.hero > .container,
.page-hero > .container,
.products-hero > .container,
.contact-hero > .container,
.mobile-hero > .container,
.solutions-hero > .container,
.cases-hero > .container,
.company-hero > .container,
.faq-hero > .container,
.support-hero > .container {
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    margin: 0 auto !important;
}

/* Hero 背景装饰 - 几何图案 */
.hero::before,
.page-hero::before,
.products-hero::before,
.contact-hero::before,
.mobile-hero::before,
.solutions-hero::before,
.cases-hero::before,
.company-hero::before,
.faq-hero::before,
.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23008B8B' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

/* Hero 内容容器 */
.hero-content,
.products-hero-content,
.contact-hero-content,
.mobile-hero-content,
.solutions-hero-content,
.cases-hero-content,
.company-hero-content,
.faq-hero-content,
.support-hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

/* Hero 标题 */
.hero h1,
.page-hero h1,
.products-hero h1,
.contact-hero h1,
.mobile-hero h1,
.solutions-hero h1,
.cases-hero h1,
.company-hero h1,
.faq-hero h1,
.support-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #334155;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
    letter-spacing: -0.5px;
}

/* Hero 描述文字 */
.hero p,
.page-hero p,
.products-hero p,
.contact-hero p,
.mobile-hero p,
.solutions-hero p,
.cases-hero p,
.company-hero p,
.faq-hero p,
.support-hero p {
    font-size: 1.25rem;
    opacity: 0.85;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.8;
    color: #475569;
    text-align: center;
}

/* Hero 副标题 */
.hero h2,
.page-hero h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #475569;
    position: relative;
    z-index: 1;
}

/* Hero 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero 变体 - 大尺寸 */
.hero-large {
    padding: 8rem 0 6rem;
}

.hero-large h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-large p {
    font-size: 1.5rem;
}

/* Hero 变体 - 小尺寸 */
.hero-small {
    padding: 4rem 0 3rem;
}

.hero-small h1 {
    font-size: 2.5rem;
}

.hero-small p {
    font-size: 1.125rem;
}

/* Hero 按钮组 */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero 面包屑导航 */
.hero-breadcrumb {
    display: flex;
    justify-content: flex-start;
    align-self: flex-start;
    width: 100%;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
    position: relative;
    z-index: 1;
}

.hero-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-breadcrumb a:hover {
    color: var(--primary-color, #008B8B);
}

.hero-breadcrumb span {
    color: #94a3b8;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero h1,
    .page-hero h1,
    .products-hero h1,
    .contact-hero h1,
    .mobile-hero h1,
    .solutions-hero h1,
    .cases-hero h1,
    .company-hero h1,
    .faq-hero h1,
    .support-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p,
    .page-hero p,
    .products-hero p,
    .contact-hero p,
    .mobile-hero p,
    .solutions-hero p,
    .cases-hero p,
    .company-hero p,
    .faq-hero p,
    .support-hero p {
        font-size: 1.125rem;
    }
    
    .hero-large h1 {
        font-size: 3rem;
    }
    
    .hero-large p {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero,
    .page-hero,
    .products-hero,
    .contact-hero,
    .mobile-hero,
    .solutions-hero,
    .cases-hero,
    .company-hero,
    .faq-hero,
    .support-hero {
        padding: 4rem 0 3rem;
    }
    
    .hero h1,
    .page-hero h1,
    .products-hero h1,
    .contact-hero h1,
    .mobile-hero h1,
    .solutions-hero h1,
    .cases-hero h1,
    .company-hero h1,
    .faq-hero h1,
    .support-hero h1 {
        font-size: 2rem;
    }
    
    .hero p,
    .page-hero p,
    .products-hero p,
    .contact-hero p,
    .mobile-hero p,
    .solutions-hero p,
    .cases-hero p,
    .company-hero p,
    .faq-hero p,
    .support-hero p {
        font-size: 1rem;
    }
    
    .hero-large {
        padding: 5rem 0 4rem;
    }
    
    .hero-large h1 {
        font-size: 2.5rem;
    }
    
    .hero-large p {
        font-size: 1.125rem;
    }
    
    .hero-small {
        padding: 3rem 0 2rem;
    }
    
    .hero-small h1 {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* 打印样式 */
@media print {
    .hero::before,
    .page-hero::before,
    .products-hero::before,
    .contact-hero::before,
    .mobile-hero::before,
    .solutions-hero::before,
    .cases-hero::before,
    .company-hero::before,
    .faq-hero::before,
    .support-hero::before {
        display: none;
    }
    
    .hero,
    .page-hero,
    .products-hero,
    .contact-hero,
    .mobile-hero,
    .solutions-hero,
    .cases-hero,
    .company-hero,
    .faq-hero,
    .support-hero {
        padding: 2rem 0;
        background: white !important;
    }
}
