﻿/* products.css - Unified styling for all product pages */
/* ===== BASE STYLES ===== */
.product-hero {
    color: white;
    padding: 130px 20px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

    .product-hero h1 {
        font-size: 3.2rem;
        margin-bottom: 20px;
        font-weight: 700;
    }

    .product-hero p {
        font-size: 1.3rem;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.7;
        font-weight: 300;
    }

.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.product-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        color: #2c3e50;
        font-size: 2.5rem;
        margin-bottom: 20px;
        font-weight: 600;
        position: relative;
        display: inline-block;
    }

        .section-header h2:after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            border-radius: 2px;
        }

    .section-header p {
        font-size: 1.2rem;
        color: #7f8c8d;
        max-width: 800px;
        margin: 30px auto 0;
        line-height: 1.6;
    }

/* ===== FEATURE CARDS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: white;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    }

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: inline-block;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.feature-card h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* ===== PRICING CARDS ===== */
.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
}

    .pricing-card.popular {
        transform: scale(1.03);
        border: 2px solid;
    }

        .pricing-card.popular:before {
            content: "MOST POPULAR";
            position: absolute;
            top: 0;
            right: 0;
            color: white;
            padding: 5px 15px;
            font-size: 0.8rem;
            font-weight: 600;
            border-radius: 0 0 0 12px;
        }

.plan-name {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.plan-price {
    font-size: 2.5rem;
    margin: 20px 0;
    font-weight: 700;
}

    .plan-price span {
        font-size: 1rem;
        color: #7f8c8d;
        font-weight: normal;
    }

.plan-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

    .plan-features li {
        padding: 10px 0;
        border-bottom: 1px solid #f1f2f6;
        display: flex;
        align-items: center;
    }

        .plan-features li:before {
            content: "✓";
            font-weight: bold;
            margin-right: 10px;
        }

.plan-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

    .plan-button:hover {
        background: #c0392b;
    }

/* ===== CUSTOMIZATION SECTION ===== */
.customization-section {
    padding: 60px;
    border-radius: 15px;
    margin: 60px 0;
    text-align: center;
}

.customization-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== DEMO SECTION ===== */
.demo-section {
    text-align: center;
    margin: 60px 0;
}

.demo-button {
    display: inline-block;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

/* ===== STATS SECTION ===== */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* ===== SUCCESS STORIES ===== */
.success-stories {
    padding: 60px;
    border-radius: 15px;
    margin: 60px 0;
}

.story-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.story-content {
    font-style: italic;
    color: #34495e;
    margin-bottom: 20px;
    line-height: 1.6;
}

.story-author {
    font-weight: 600;
}

/* ===== PRODUCT-SPECIFIC THEMES ===== */
/* ANVOICE Theme (Blue) */
.product-anvoice .product-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.product-anvoice .section-header h2:after {
    background: #3498db;
}

.product-anvoice .feature-card {
    border-top-color: #3498db;
}

.product-anvoice .feature-icon {
    color: #3498db;
    background: rgba(52, 152, 219, 0.1);
}

.product-anvoice .pricing-card.popular {
    border-color: #3498db;
}

    .product-anvoice .pricing-card.popular:before {
        background: #3498db;
    }

.product-anvoice .plan-price {
    color: #3498db;
}

.product-anvoice .plan-features li:before {
    color: #3498db;
}

.product-anvoice .customization-section {
    background: #eef5ff;
}

.product-anvoice .demo-button {
    background: #3498db;
}

    .product-anvoice .demo-button:hover {
        background: #2980b9;
    }

.product-anvoice .stat-number {
    color: #3498db;
}

/* ENROLLS Theme (Green) */
.product-enrolls .product-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #27ae60 100%);
}

.product-enrolls .section-header h2:after {
    background: #27ae60;
}

.product-enrolls .feature-card {
    border-top-color: #27ae60;
}

.product-enrolls .feature-icon {
    color: #27ae60;
    background: rgba(39, 174, 96, 0.1);
}

.product-enrolls .pricing-card.popular {
    border-color: #27ae60;
}

    .product-enrolls .pricing-card.popular:before {
        background: #27ae60;
    }

.product-enrolls .plan-price {
    color: #27ae60;
}

.product-enrolls .plan-features li:before {
    color: #27ae60;
}

.product-enrolls .customization-section {
    background: #eafaf1;
}

.product-enrolls .demo-button {
    background: #27ae60;
}

    .product-enrolls .demo-button:hover {
        background: #219653;
    }

.product-enrolls .stat-number {
    color: #27ae60;
}

/* SHUKRAAH Theme (Purple) */
.product-shukraah .product-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #9b59b6 100%);
}

.product-shukraah .section-header h2:after {
    background: #9b59b6;
}

.product-shukraah .feature-card {
    border-top-color: #9b59b6;
}

.product-shukraah .feature-icon {
    color: #9b59b6;
    background: rgba(155, 89, 182, 0.1);
}

.product-shukraah .pricing-card.popular {
    border-color: #9b59b6;
}

    .product-shukraah .pricing-card.popular:before {
        background: #9b59b6;
    }

.product-shukraah .plan-price {
    color: #9b59b6;
}

.product-shukraah .plan-features li:before {
    color: #9b59b6;
}

.product-shukraah .customization-section {
    background: #f4ecf7;
}

.product-shukraah .demo-button {
    background: #9b59b6;
}

    .product-shukraah .demo-button:hover {
        background: #8e44ad;
    }

.product-shukraah .stat-number {
    color: #9b59b6;
}

.product-shukraah .story-author {
    color: #9b59b6;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .product-hero {
        padding: 100px 15px;
    }

        .product-hero h1 {
            font-size: 2.5rem;
        }

    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
    }

    .customization-section, .success-stories {
        padding: 40px 30px;
    }

    .stats-container {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .product-hero h1 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .feature-card, .pricing-card {
        padding: 25px 20px;
    }

    .stat-item {
        flex: 0 0 100%;
    }
}
