/* 防伪教程页面样式 - 优化版本 */

:root {
    --brand-red: #C10715;
    --neutral-100: #FFFFFF;
    --neutral-600: #6B7280;
    --neutral-700: #374151;
    --neutral-800: #1F2937;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xxl: 48px;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--neutral-100);
    color: var(--neutral-700);
    line-height: 1.6;
    font-family: var(--font-family);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* 英雄区域 */
.hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--neutral-100);
    cursor: pointer;
    z-index: 10;
    text-align: center;
}

.scroll-icon {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--neutral-100);
    border-radius: 15px;
    position: relative;
    margin: 0 auto 8px;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--neutral-100);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translate(-50%, 0); opacity: 1; }
    80% { transform: translate(-50%, 20px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

/* 面包屑导航 */
.chinese-breadcrumb {
    background-color: var(--neutral-100);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(193, 7, 21, 0.1);
}

.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 16px;
}

.breadcrumb-wrapper::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--brand-red);
    border-radius: 50%;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.breadcrumb-link {
    color: var(--neutral-600);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.breadcrumb-link:hover {
    color: var(--brand-red);
}

.breadcrumb-divider {
    margin: 0 0.5rem;
    color: var(--neutral-600);
    display: flex;
    align-items: center;
}

.breadcrumb-current {
    color: var(--brand-red);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-right: 16px;
}

.breadcrumb-current::after {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: var(--brand-red);
    border-radius: 50%;
    margin-left: 10px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 标题区域 */
.verification-header {
    text-align: center;
    padding: calc(var(--spacing-xxl) * 1.5) 0 var(--spacing-md);
    position: relative;
}

.verification-header::before {
    content: '';
    position: absolute;
    top: calc(var(--spacing-xxl) * 0.8);
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--brand-red), transparent);
}

.verification-main-title {
    font-size: 2rem;
    color: var(--neutral-800);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.verification-main-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--brand-red);
    border-radius: 2px;
}

.verification-main-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 教程图片样式 */
.tutorial-images {
    padding: var(--spacing-lg) 0;
}

.tutorial-image {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 1180px;
    transition: transform 0.3s ease;
}

.tutorial-image:not(:last-child) {
    margin-bottom: 0;
}

.tutorial-image:hover {
    transform: translateY(-2px);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .chinese-breadcrumb,
    .scroll-indicator {
        display: none;
    }
    
    .verification-header {
        padding: var(--spacing-lg) 0 var(--spacing-md);
    }
    
    .verification-main-title {
        font-size: 1.5rem;
    }
    
    .verification-main-subtitle {
        font-size: 1rem;
        padding: 0 var(--spacing-md);
    }
    
    .hero-section {
        height: 50vw;
        max-height: 400px;
        min-height: 200px;
    }
    
    .tutorial-image {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 45vw;
        min-height: 180px;
    }
    
    .tutorial-image {
        border-radius: 4px;
    }
}

