/* 功能详解页面特定样式 */

/* 功能详解头部 */
.features-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    text-align: center;
}

.features-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 1.5rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

/* 主要功能 */
.main-features {
    padding: 80px 0;
    background: white;
}

.feature-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-detail.reverse {
    direction: rtl;
}

.feature-detail.reverse .feature-content {
    direction: ltr;
}

.feature-image {
    position: relative;
}

.feature-mockup {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.feature-mockup:hover {
    transform: translateY(-10px);
}

.feature-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.feature-description {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #475569;
    font-size: 1.125rem;
}

.feature-list i {
    color: #10b981;
    font-size: 1.25rem;
}

.feature-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 4px;
}

.violation-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.violation-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.violation-type:hover {
    background: #e0f2fe;
    transform: translateY(-4px);
}

.violation-type i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.violation-type span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    text-align: center;
}

.feature-note {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
    margin-top: 16px;
    padding: 12px;
    background: #f1f5f9;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

/* 高级功能 */
.advanced-features {
    padding: 80px 0;
    background: #f8fafc;
}

.advanced-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.advanced-feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advanced-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.advanced-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 2rem;
}

.advanced-feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 16px;
}

.advanced-feature-description {
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.6;
}

.advanced-feature-list {
    list-style: none;
}

.advanced-feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    color: #64748b;
}

.advanced-feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* 技术规格 */
.tech-specs {
    padding: 80px 0;
    background: white;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.spec-card {
    background: #f8fafc;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.spec-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.spec-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.spec-label {
    color: #475569;
    font-weight: 500;
}

.spec-value {
    color: #0f172a;
    font-weight: 600;
}

/* 功能对比 */
.feature-comparison {
    padding: 80px 0;
    background: #f8fafc;
}

.comparison-table {
    overflow-x: auto;
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.comparison-table th {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.comparison-table th:first-child {
    border-radius: 16px 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 16px 0 0;
}

.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

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

.comparison-table tr:nth-child(even) {
    background: #f8fafc;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #0f172a;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .feature-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-detail.reverse {
        direction: ltr;
    }

    .violation-types {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-title {
        font-size: 2.5rem;
    }

    .features-subtitle {
        font-size: 1.25rem;
    }

    .feature-title {
        font-size: 2rem;
    }

    .advanced-features-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .features-header {
        padding: 120px 0 60px;
    }

    .features-title {
        font-size: 2rem;
    }

    .features-subtitle {
        font-size: 1.125rem;
    }

    .violation-types {
        grid-template-columns: 1fr;
    }

    .feature-stats {
        flex-direction: column;
        gap: 20px;
    }

    .advanced-feature-card {
        padding: 24px;
    }
}