/*
 * DENTCOMM - ESTILOS PÁGINA DE PRODUTOS
 * Versão: 1.1
 */

.products-comparison {
    padding: var(--section-padding);
    background: var(--bg-card);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 3rem;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .comparison-table-wrapper {
    border-color: rgba(255,255,255,0.1);
}

.comparison-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(22, 254, 237, 0.1);
    vertical-align: middle;
}

.feature-column {
    text-align: left !important;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--bg-light);
    width: 25%;
    padding-left: 2rem;
}

.product-column {
    background: var(--bg-card);
    position: relative;
}

.product-column.featured {
    background: rgba(22, 254, 237, 0.05);
    border-left: 3px solid var(--primary-cyan);
    border-right: 3px solid var(--primary-cyan);
    transform: scale(1.02);
}

.product-header {
    margin-top: 1rem;
}

.product-header .badge {
    position: relative;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.product-header .price {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: var(--font-primary);
    color: var(--primary-cyan);
}

.feature-check {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-cyan);
}

.feature-cross {
    font-size: 1.25rem;
    color: var(--primary-gray);
    opacity: 0.5;
}

.cta-row td {
    border-bottom: none;
    padding-top: 2rem;
}

.products-list {
    padding: var(--section-padding);
}

.products-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-summary-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(22, 254, 237, 0.1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.product-summary-card--fullwidth {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.product-summary-card--fullwidth .product-summary-card__content {
    flex-basis: 50%;
}
.product-summary-card--fullwidth .product-summary-card__cta-wrapper {
    flex-basis: 30%;
    text-align: right;
}

.product-summary-card.featured {
    border-color: var(--primary-cyan);
    background: rgba(22, 254, 237, 0.02);
}

.product-summary-card.premium {
    background: linear-gradient(135deg, rgba(22, 254, 237, 0.05) 0%, rgba(33, 33, 33, 0.02) 100%);
}

.product-summary-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.product-summary-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-summary-card__objective {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
    flex-grow: 1;
}

.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.highlight-item {
    font-size: 0.875rem;
}

.product-price {
    margin-bottom: 2rem;
}

.price-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.price-period {
    font-size: 1rem;
    opacity: 0.7;
}

.product-summary-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-cyan);
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.product-summary-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.product-summary-card:hover .product-summary-card__cta {
    gap: 1rem;
}

.faq {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(22, 254, 237, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: left;
}

.faq-icon {
    transition: var(--transition-smooth);
    color: var(--primary-cyan);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.8;
}

.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
}

.cta-content {
    text-align: center;
}

.cta-title, .cta-subtitle {
    color: var(--primary-dark);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .product-summary-card--fullwidth {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .product-summary-card--fullwidth .product-summary-card__cta-wrapper {
        text-align: center;
    }
}

/* CORREÇÃO DARK MODE FAQ */
[data-theme="dark"] .faq-question {
    color: var(--primary-dark);
}