/* 自动对焦相机页面专属样式 - 优化版 */

/* Hero区域 */
.af-hero {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.af-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: url('/assets/images/camera-pattern.svg') no-repeat center;
    opacity: 0.1;
    transform: rotate(15deg);
}

.af-hero-content {
    position: relative;
    z-index: 2;
}

.af-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.af-hero .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.af-hero .summary {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 2.5rem;
}

/* 特性卡片 */
.features-section {
    padding: 100px 0;
    background: var(--bg-section);
}

.feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    height: 100%;
    border: 1px solid var(--primary-alpha-10);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-size: 2.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* 核心特点表格 */
.core-features {
    padding: 80px 0;
    background: var(--bg-white);
}

.features-table {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.features-table .table {
    margin: 0;
    border: none;
}

.features-table .table th {
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
    font-size: 1.1rem;
}

.features-table .table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.features-table .table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-section);
}

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

/* 系列选型 */
.selection-guide {
    padding: 100px 0;
    background: var(--bg-section);
}

.selection-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.selection-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.selection-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.selection-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.selection-card .series {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.selection-card .difference {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.selection-card .reason {
    background: var(--bg-section);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 应用场景 */
.applications {
    padding: 100px 0;
    background: var(--bg-white);
}

.app-card {
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    color: var(--text-white);
    height: 100%;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-alpha-10) 0%, transparent 70%);
    transition: var(--transition-normal);
}

.app-card:hover {
    transform: translateY(-8px);
}

.app-card:hover::before {
    transform: scale(1.2);
}

.app-card:nth-child(2) .app-card {
    background: linear-gradient(135deg, var(--danger-color) 0%, var(--primary-light) 100%);
}

.app-card:nth-child(3) .app-card {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-color) 100%);
}

.app-card:nth-child(4) .app-card {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-light) 100%);
}

.app-card:nth-child(5) .app-card {
    background: linear-gradient(135deg, var(--danger-color) 0%, var(--warning-color) 100%);
}

.app-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.app-card .examples {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.app-card .highlights {
    font-size: 0.9rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

/* CTA按钮 */
.cta-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-white);
    text-align: center;
}

.cta-btn {
    background: var(--text-white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition-normal);
    border: 2px solid var(--text-white);
}

.cta-btn:hover {
    background: transparent;
    color: var(--text-white);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .af-hero h1 {
        font-size: 2.5rem;
    }

    .af-hero .subtitle {
        font-size: 1.2rem;
    }

    .features-section,
    .core-features,
    .selection-guide,
    .applications {
        padding: 60px 0;
    }

    .feature-card,
    .selection-card {
        margin-bottom: 2rem;
    }

    .features-table .table th,
    .features-table .table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* 动画效果 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 数字标签样式 */
.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 1rem;
}