/*
 * Dudes Marketplace — Product Detail
 * Product hero, pricing card, long description, back link, responsive
 */

.product-hero {
    padding: 140px 5% 60px;
    text-align: center;
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 60%);
}
.product-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 16px 0;
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.product-hero .product-version {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.product-hero .product-short-desc {
    font-size: 18px;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.7;
}
.product-hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.product-hero-cta .btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-buy {
    background: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.39);
}
.btn-buy:hover {
    background: #2563eb;
    transform: translateY(-2px);
}
.btn-docs {
    background: rgba(255,255,255,0.05);
    color: #fff;
    border: 1px solid #334155;
}
.btn-docs:hover {
    background: rgba(255,255,255,0.1);
}

/* Product Content */
.product-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 5%;
}
.product-content .long-desc {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.8;
}
.product-content .long-desc h2,
.product-content .long-desc h3,
.product-content .long-desc h4 {
    color: #f1f5f9;
    margin-top: 32px;
    margin-bottom: 12px;
}
.product-content .long-desc h2 { font-size: 28px; }
.product-content .long-desc h3 { font-size: 22px; }
.product-content .long-desc h4 { font-size: 18px; }
.product-content .long-desc ul,
.product-content .long-desc ol {
    padding-left: 24px;
    margin: 12px 0;
}
.product-content .long-desc li {
    margin-bottom: 8px;
    color: #94a3b8;
}
.product-content .long-desc p {
    margin: 12px 0;
}
.product-content .long-desc a {
    color: #60a5fa;
    text-decoration: none;
}
.product-content .long-desc a:hover {
    text-decoration: underline;
}
.product-content .long-desc code {
    background: rgba(30, 41, 59, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
    color: #a78bfa;
}
.product-content .long-desc pre {
    background: #1e293b;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 16px 0;
    border: 1px solid #334155;
}
.product-content .long-desc pre code {
    background: none;
    padding: 0;
}

/* Pricing Sidebar / CTA Section */
.product-pricing-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5% 60px;
}
.product-pricing-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
.product-pricing-card .pricing-info h3 {
    font-size: 22px;
    margin: 0 0 8px 0;
}
.product-pricing-card .pricing-info .price {
    font-size: 40px;
    font-weight: 800;
    margin: 0;
}
.product-pricing-card .pricing-info .price span {
    font-size: 16px;
    color: #94a3b8;
    font-weight: 500;
}
.product-pricing-card .pricing-info .plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 0 0;
}
.product-pricing-card .pricing-info .plan-features li {
    color: #94a3b8;
    padding: 5px 0;
    font-size: 14px;
}
.product-pricing-card .pricing-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}
.product-pricing-card .pricing-actions .btn {
    display: block;
    text-align: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-whatsapp-sm {
    background: #25D366;
    color: #fff;
}
.btn-whatsapp-sm:hover {
    background: #1da851;
    transform: translateY(-2px);
}

/* No Description State */
.no-description {
    text-align: center;
    padding: 40px;
    color: #64748b;
    font-size: 15px;
}

/* Back Link */
.back-link {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}
.back-link a {
    color: #60a5fa;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.back-link a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .product-hero {
        padding: 120px 5% 40px;
    }
    .product-hero h1 {
        font-size: 28px;
    }
    .product-hero .product-short-desc {
        font-size: 15px;
    }
    .product-hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .product-hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    .product-pricing-card {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }
    .product-pricing-card .pricing-info .price {
        font-size: 32px;
    }
    .product-pricing-card .pricing-actions {
        width: 100%;
    }
    .product-content {
        padding: 40px 5%;
    }
}
