/* Products Page Styles */

.products-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%);
    color: white;
    text-align: center;
}

.products-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.products-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* Products Showcase Section */
.products-showcase {
    padding: 80px 0;
    background: #F9FAFB;
}

.products-grid-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-showcase-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6B46C1, #EC4899);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-showcase-card:hover::before {
    transform: scaleX(1);
}

.product-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(107, 70, 193, 0.2);
}

.product-showcase-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6B46C1, #9333EA);
}

.product-showcase-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

/* Icon color variations */
.product-showcase-icon.chat {
    background: linear-gradient(135deg, #6B46C1, #8B5CF6);
}

.product-showcase-icon.crm {
    background: linear-gradient(135deg, #EC4899, #F472B6);
}

.product-showcase-icon.bank {
    background: linear-gradient(135deg, #10B981, #34D399);
}

.product-showcase-icon.accounting {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
}

.product-showcase-icon.inventory {
    background: linear-gradient(135deg, #06B6D4, #22D3EE);
}

.product-showcase-icon.sales {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
}

.product-showcase-icon.social {
    background: linear-gradient(135deg, #EC4899, #F472B6);
}

.product-showcase-icon.hr {
    background: linear-gradient(135deg, #6B46C1, #9333EA);
}

.product-showcase-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.product-showcase-card p {
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: #F3F4F6;
    color: #6B46C1;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.product-actions .btn-primary,
.product-actions .btn-outline {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

/* Products CTA */
.products-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #111827 0%, #1F2937 100%);
    color: white;
    text-align: center;
}

.products-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.products-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.products-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-hero {
        padding: 120px 0 60px;
    }

    .products-hero h1 {
        font-size: 2rem;
    }

    .products-hero p {
        font-size: 1rem;
    }

    .products-grid-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-showcase-card {
        padding: 2rem;
    }

    .product-showcase-icon {
        width: 60px;
        height: 60px;
    }

    .product-showcase-icon svg {
        width: 30px;
        height: 30px;
    }

    .product-actions {
        flex-direction: column;
    }

    .products-cta h2 {
        font-size: 1.8rem;
    }

    .products-cta p {
        font-size: 1rem;
    }

    .products-cta .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Product Detail Page Styles */
.product-detail-hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #6B46C1 0%, #9333EA 100%);
    color: white;
}

.product-detail-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.product-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.product-hero-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.product-hero-actions {
    display: flex;
    gap: 1rem;
}

.product-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon-large {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.product-icon-large svg {
    width: 100px;
    height: 100px;
    color: white;
}

/* Features Section */
.product-features-section {
    padding: 80px 0;
    background: white;
}

.product-features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #111827;
}

.features-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-detail-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.feature-detail-card:hover {
    transform: translateY(-5px);
}

.feature-detail-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #6B46C1;
    margin-bottom: 0.8rem;
}

.feature-detail-card p {
    color: #4B5563;
    line-height: 1.6;
}

/* FAQ Section */
.product-faq-section {
    padding: 80px 0;
    background: #F9FAFB;
}

.product-faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #111827;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #F9FAFB;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: #6B46C1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

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

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: #4B5563;
    line-height: 1.7;
}

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

/* Demo Section */
.product-demo-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
}

.product-demo-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
}

.demo-placeholder {
    max-width: 1000px;
    margin: 2rem auto;
    background: white;
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.demo-placeholder h3 {
    font-size: 1.8rem;
    color: #6B46C1;
    margin-bottom: 1rem;
}

.demo-placeholder p {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .product-detail-hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-hero-content h1 {
        font-size: 2rem;
    }

    .product-hero-content p {
        font-size: 1rem;
    }

    .product-hero-actions {
        flex-direction: column;
    }

    .product-icon-large {
        width: 150px;
        height: 150px;
    }

    .product-icon-large svg {
        width: 75px;
        height: 75px;
    }

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

    .demo-placeholder {
        padding: 2rem;
    }
}
