/* ==========================================
   WAX Product Page Specific Styles
========================================== */

/* Hero Section for WAX */
.wax-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    overflow: hidden;
}

.wax-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.wax-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.wax-hero-subtitle {
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    opacity: 0.9;
}

.wax-hero-title {
    font-family: var(--font-secondary);
    font-size: 64px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.2;
}

.wax-hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
}

.wax-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Problems Section */
.wax-problems {
    padding: 80px 0;
    background: var(--secondary-color);
}

.wax-problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.wax-problem-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.wax-problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.wax-problem-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.wax-problem-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.wax-problem-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Features Section */
.wax-features {
    padding: 80px 0;
    background: var(--white);
}

.wax-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.wax-feature-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
}

.wax-feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 139, 108, 0.15);
}

.wax-feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.wax-feature-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.wax-feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.wax-feature-card > p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.wax-feature-points {
    list-style: none;
    padding: 0;
}

.wax-feature-points li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 14px;
}

.wax-feature-points li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Results Section */
.wax-results {
    padding: 80px 0;
    background: var(--secondary-color);
}

.wax-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.wax-result-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.wax-result-image {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.wax-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wax-result-card:hover .wax-result-image img {
    transform: scale(1.05);
}

.wax-result-card p {
    padding: 20px;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.6;
}

/* Product Detail Section */
.wax-product-detail {
    padding: 80px 0;
    background: var(--white);
}

.wax-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.wax-product-image .image-placeholder {
    background: var(--secondary-color);
    aspect-ratio: 1/1;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.wax-product-image .image-placeholder i {
    font-size: 64px;
    margin-bottom: 15px;
}

.wax-product-info h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.wax-product-specs,
.wax-product-recommend {
    margin-bottom: 30px;
    padding: 25px;
    background: var(--secondary-color);
    border-radius: 10px;
}

.wax-product-specs h3,
.wax-product-recommend h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.wax-product-specs h3 i,
.wax-product-recommend h3 i {
    color: var(--primary-color);
    margin-right: 8px;
}

.wax-product-specs ul,
.wax-product-recommend ul {
    list-style: none;
    padding: 0;
}

.wax-product-specs ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.wax-product-specs ul li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 10px;
}

.spec-value {
    color: var(--text-gray);
}

.wax-product-recommend ul li {
    padding: 8px 0;
    color: var(--text-gray);
}

.wax-product-recommend ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.wax-product-info .btn {
    margin-top: 20px;
}

/* Developer Section */
.wax-developer {
    padding: 80px 0;
    background: var(--secondary-color);
}

.wax-developer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.wax-developer-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.wax-developer-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 1.4;
}

.wax-developer-text p {
    margin-bottom: 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

.wax-developer-text blockquote {
    background: var(--white);
    padding: 25px 30px;
    border-left: 4px solid var(--primary-color);
    border-radius: 5px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
}

.wax-developer-text blockquote i {
    color: var(--primary-color);
    opacity: 0.5;
}

.wax-developer-signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.developer-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.developer-title {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 3px;
}

/* FAQ Section */
.wax-faq {
    padding: 80px 0;
    background: var(--white);
}

.wax-faq-list {
    max-width: 900px;
    margin: 50px auto 0;
}

.wax-faq-item {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.wax-faq-item:hover {
    border-color: var(--primary-color);
}

.wax-faq-question {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.wax-faq-question:hover {
    color: var(--primary-color);
}

.wax-faq-question i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.wax-faq-item.active .wax-faq-question i {
    transform: rotate(180deg);
}

.wax-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wax-faq-item.active .wax-faq-answer {
    max-height: 300px;
}

.wax-faq-answer p {
    padding: 0 25px 20px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Active nav link */
.nav-list a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wax-hero-title {
        font-size: 52px;
    }
    
    .wax-product-grid,
    .wax-developer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .wax-hero {
        min-height: 500px;
        height: 70vh;
    }
    
    .wax-hero-title {
        font-size: 42px;
    }
    
    .wax-hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .wax-hero-buttons .btn {
        width: 100%;
    }
    
    .wax-problems-grid,
    .wax-results-grid {
        grid-template-columns: 1fr;
    }
    
    .wax-features-grid {
        grid-template-columns: 1fr;
    }
    
    .wax-faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }
    
    .wax-faq-answer p {
        padding: 0 20px 15px;
        font-size: 14px;
    }
}