/* 历史介绍区域 */
.history-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.history-text {
    line-height: 1.8;
    color: #e0e0e0;
}

.history-text strong {
    color: #FF6A00;
}

.history-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-item {
    background: var(--surface-primary);
    color: var(--primary-orange);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--primary-orange);
    border-left: 4px solid var(--primary-orange);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--primary-orange-light), var(--primary-orange));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.9;
}

/* 相机展示区域 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-btn {
    background: #2a2a2a;
    color: #e0e0e0;
    border: 2px solid #444;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #FF6A00;
    color: #FF6A00;
}

.tab-btn.active {
    background: var(--surface-primary);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    border-width: 2px;
    font-weight: 600;
}

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

.camera-card {
    background: var(--surface-primary);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.camera-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 30%, var(--border-light) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.camera-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-hard);
    border-color: var(--border-medium);
}

.camera-card:hover::before {
    opacity: 1;
}

.camera-card.hidden {
    display: none;
}

.camera-image {
    height: 240px;
    background: var(--surface-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.camera-image .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    transition: opacity 0.3s ease;
}

.camera-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
    filter: brightness(1) contrast(1);
}

.camera-card:hover .camera-image img {
    transform: scale(1.05);
    opacity: 1;
}

/* 图片加载动画 */
.camera-image.loading {
    background: var(--surface-secondary);
}

.camera-image.loading::before {
    content: '📷';
    font-size: 4rem;
    color: var(--primary-orange);
    opacity: 0.3;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.camera-year {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.camera-content {
    padding: 24px;
}

.camera-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 12px;
    line-height: 1.3;
}

.camera-alternate {
    font-size: 1rem;
    font-weight: 400;
    color: #a0a0a0;
    font-style: italic;
    margin-bottom: 16px;
}

.camera-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(255, 106, 0, 0.05);
    color: var(--primary-orange);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--primary-orange);
    box-shadow: 0 1px 4px rgba(255, 106, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.feature-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 106, 0, 0.1), transparent);
    transition: left 0.3s ease;
}

.feature-tag:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
}

.feature-tag:hover::before {
    left: 100%;
}

.camera-specs {
    background: var(--surface-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.camera-specs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-light));
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:hover {
    padding-left: 8px;
    background: linear-gradient(90deg, var(--border-light), transparent);
    margin: 0 -8px;
    padding-left: 16px;
    padding-right: 8px;
}

.spec-label {
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.spec-value {
    color: var(--text-primary);
    text-align: right;
    font-weight: 500;
    background: linear-gradient(90deg, var(--primary-orange-light), var(--primary-orange));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.market-info,
.historical-info,
.target-users {
    margin-bottom: 16px;
}

.info-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FF6A00;
    margin-bottom: 8px;
}

.info-text {
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 0.875rem;
}

.user-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.user-tag {
    background: rgba(255, 106, 0, 0.05);
    color: var(--primary-orange);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--primary-orange);
}

/* 时间线 */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--border-medium), var(--border-light), var(--border-medium));
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.1);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 24px;
    width: 14px;
    height: 14px;
    background: var(--surface-primary);
    border: 3px solid var(--primary-orange);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.2);
    animation: pulse-timeline 2s ease-in-out infinite;
}

@keyframes pulse-timeline {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 106, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 106, 0, 0.3);
        transform: scale(1.1);
    }
}

.timeline-year {
    min-width: 100px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-right: 32px;
    padding-top: 12px;
    text-align: center;
    background: linear-gradient(135deg, var(--surface-primary), var(--surface-secondary));
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: var(--surface-primary);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.timeline-event {
    font-size: 1.25rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 12px;
}

.timeline-models {
    font-size: 0.875rem;
    color: #a0a0a0;
}

.model-tag {
    display: inline-block;
    background: rgba(255, 106, 0, 0.05);
    color: var(--primary-orange);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 4px;
    border: 1px solid var(--primary-orange);
}

/* 机型对比 */
.comparison-controls {
    text-align: center;
    margin-bottom: 48px;
}

.model-selector {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.model-selector label {
    font-weight: 600;
    color: #e0e0e0;
}

.model-select {
    padding: 12px 16px;
    border: 2px solid #444;
    border-radius: 8px;
    font-size: 1rem;
    background: #2a2a2a;
    color: #e0e0e0;
    min-width: 200px;
}

.vs-text {
    font-weight: 700;
    color: #FF6A00;
    font-size: 1.25rem;
}

.comparison-result {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
}

.comparison-result.has-content {
    display: block;
    color: #e0e0e0;
    min-height: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: #333;
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 16px;
    border-bottom: 1px solid #444;
    vertical-align: top;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.model-name {
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 4px;
}

.model-alternate {
    font-size: 0.875rem;
    color: #a0a0a0;
    font-style: italic;
}

.comparison-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.comparison-feature {
    background: rgba(255, 106, 0, 0.05);
    color: var(--primary-orange);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-block;
    border: 1px solid var(--primary-orange);
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-primary);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
    border-color: var(--border-medium);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-question {
    background: var(--surface-primary);
    color: var(--primary-orange);
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border: 2px solid var(--primary-orange);
    border-left: 4px solid var(--primary-orange);
}

.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-question.expanded::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 24px;
    line-height: 1.7;
    color: #e0e0e0;
    border-top: 1px solid rgba(255, 106, 0, 0.2);
    display: none;
}

.faq-answer.show {
    display: block;
}

.related-models {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #444;
}

.related-models strong {
    color: #FF6A00;
    font-weight: 600;
}

.faq-model-tag {
    display: inline-block;
    background: rgba(255, 106, 0, 0.1);
    color: #FF6A00;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 8px;
    margin-bottom: 4px;
}

/* 加载动画状态 */
.camera-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #a0a0a0;
}

.camera-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #333;
    border-top: 3px solid #FF6A00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 16px;
}