/* Specifications Page Styling */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header Section */
.page-header {
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 3rem 1rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff4d4d, #ff9933);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 1rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-value {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: #ff9933;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Engine Specifications Section */
.specs-section {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specs-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #ff9933;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spec-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.spec-details {
    display: grid;
    gap: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.spec-label {
    font-weight: 500;
    color: #666;
}

.spec-value {
    font-weight: bold;
    color: #333;
}

/* Modification Stages */
.mod-stage {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.mod-stage:hover {
    transform: translateY(-5px);
}

.mod-stage h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff9933;
}

.mod-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mod-components, .performance-gains {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.mod-components h4, .performance-gains h4 {
    color: #ff4d4d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.mod-components ul, .performance-gains ul {
    list-style: none;
    padding: 0;
}

.mod-components li, .performance-gains li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mod-components li:last-child, .performance-gains li:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .mod-details {
        grid-template-columns: 1fr;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.specs-section, .mod-stage {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Interactive Elements */
.spec-card, .mod-stage {
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.spec-card::after, .mod-stage::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.spec-card:hover::after, .mod-stage:hover::after {
    transform: translateX(100%);
}