/**
 * Page Hero Styles - 统一页面头部样式
 * 
 * @package Saifeng
 * @since 1.1.0
 */

/* ===== PAGE HERO BASE ===== */
.page-hero {
    position: relative;
    min-height: 480px;
    background: linear-gradient(135deg, #1e50e6 0%, #0a1628 60%, #0d2040 100%);
    display: flex;
    align-items: flex-end;
    padding: 140px 80px 80px;
    overflow: hidden;
}

/* ===== PAGE HERO PATTERN ===== */
.page-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(37, 189, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 189, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* ===== PAGE HERO GLOW ===== */
.page-hero-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    top: -300px;
    right: -200px;
    background: radial-gradient(circle, rgba(30, 80, 230, 0.3) 0%, rgba(0, 212, 255, 0.15) 40%, transparent 70%);
    pointer-events: none;
}

/* ===== PAGE HERO CONTENT ===== */
.page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* ===== PAGE HERO TITLE ===== */
.page-hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* ===== PAGE HERO DESCRIPTION ===== */
.page-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 680px;
    line-height: 1.8;
}

/* ===== PREMIUM BREADCRUMB ===== */
.breadcrumb-wrapper {
    position: relative;
    margin-bottom: 40px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

.breadcrumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(30, 80, 230, 0.1) 0%, rgba(0, 212, 255, 0.05) 50%, rgba(37, 189, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.breadcrumb:hover::before {
    opacity: 1;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.breadcrumb-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.breadcrumb-link:hover svg {
    transform: scale(1.1);
}

.breadcrumb-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: rgba(255, 255, 255, 0.25);
    position: relative;
}

.breadcrumb-separator svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.breadcrumb-separator::before {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--cyan-glow);
    border-radius: 50%;
    opacity: 0;
    animation: separatorPulse 2s ease-in-out infinite;
}

@keyframes separatorPulse {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.6; transform: scale(1); }
}

.breadcrumb-current {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(30, 80, 230, 0.3), rgba(0, 212, 255, 0.2));
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.breadcrumb-current::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.breadcrumb-current-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 6px;
    position: relative;
}

.breadcrumb-current-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--cyan-glow);
    stroke-width: 2;
    fill: none;
}

/* 面包屑链接图标 */
.breadcrumb-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-link-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.breadcrumb-link:hover .breadcrumb-link-icon {
    opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .page-hero {
        padding: 120px 40px 60px;
    }
    
    .breadcrumb-wrapper {
        margin-bottom: 32px;
    }
}

@media (max-width: 992px) {
    .page-hero {
        padding: 100px 40px 60px;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 20px 40px;
        min-height: auto;
    }
    
    .page-hero-title {
        font-size: clamp(28px, 5vw, 40px);
        margin-bottom: 16px;
    }
    
    .page-hero-desc {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .breadcrumb-wrapper {
        margin-bottom: 24px;
    }
    
    .breadcrumb {
        padding: 12px 20px;
    }
    
    .breadcrumb-link,
    .breadcrumb-current {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .breadcrumb-separator {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 90px 16px 32px;
        min-height: auto;
    }
    
    .page-hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .page-hero-desc {
        font-size: 13px;
    }
    
    .breadcrumb {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .breadcrumb-link svg {
        width: 14px;
        height: 14px;
    }
    
    .breadcrumb-current-icon {
        width: 18px;
        height: 18px;
    }
    
    .breadcrumb-current-icon svg {
        width: 12px;
        height: 12px;
    }
}
