﻿/* HERO ACQUISTA */
.hero-acquista {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: #1e293b;
    padding: 4rem 0;
    text-align: center;
}

.hero-acquista h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-acquista p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* PIANI ACQUISTA */
.piani-acquista {
    padding: 4rem 0;
    background: var(--light);
}

.pricing-cards-acquista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card-acquista {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card-acquista:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.pricing-card-acquista.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.badge-featured {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-header h2 {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.card-header .subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.price-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.payment-option {
    color: var(--text-light);
    font-size: 0.9rem;
}

.card-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    flex-grow: 1;
}

.card-features {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    font-size: 0.95rem;
}

.feature-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
}

.feature-item .icon:contains("✓") {
    background: var(--success);
    color: white;
}

.feature-item:has(.icon:contains("✗")) .icon {
    background: #e5e7eb;
    color: #9ca3af;
}

.btn-block {
    margin-bottom: 0.75rem;
}

/* CARATTERISTICHE ACQUISTA */
.caratteristiche-acquista {
    padding: 4rem 0;
}

.caratteristiche-acquista h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.feature-section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: var(--light);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.feature-section:hover {
    box-shadow: var(--shadow-lg);
}

.feature-section.alternate {
    background: white;
    border: 1px solid var(--border);
}

.feature-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-content > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-list li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text);
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* ACCESSORI */
.accessori-section {
    padding: 4rem 0;
    background: var(--light);
}

.accessori-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.accessorio-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.accessorio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.accessorio-card h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.accessorio-card .price {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.accessorio-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

/* CONFRONTO TABELLA */
.confronto-section {
    padding: 4rem 0;
}

.confronto-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table thead {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: white;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.comparison-table tbody tr:hover {
    background: var(--light);
}

.comparison-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.comparison-table strong {
    color: var(--primary);
}

/* SEZIONE QUALE SCEGLIERE */
.quale-scegliere {
    padding: 4rem 0;
    background: var(--light);
}

.quale-scegliere h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.quale-scegliere .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.comparison-table thead {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: #1e293b;
}

.comparison-table th {
    padding: 1.5rem;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--primary);
}

.comparison-table tbody tr:hover {
    background: #fafbfc;
}

.comparison-table tbody tr:nth-child(even) {
    background: white;
}

.comparison-table small {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.25rem;
}

.comparison-cta {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid var(--primary);
}

.comparison-cta p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}

.comparison-cta .btn-primary {
    display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .quale-scegliere h2 {
        font-size: 1.75rem;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .comparison-table th {
        font-size: 0.85rem;
    }
}
.cta-finale {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    color: #1e293b;
    text-align: center;
}

.cta-finale h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-finale > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.cta-buttons .btn-primary {
    background: #1e293b;
    color: #fcd34d;
}

.cta-buttons .btn-primary:hover {
    background: var(--light);
}

.cta-buttons .btn-secondary {
    background: transparent;
    border-color: #1e293b;
    color: #1e293b;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-acquista h1 {
        font-size: 1.75rem;
    }

    .pricing-card-acquista.featured {
        transform: scale(1);
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-acquista h1 {
        font-size: 1.5rem;
    }

    .pricing-cards-acquista {
        gap: 1rem;
    }

    .pricing-card-acquista {
        padding: 1.5rem;
    }

    .feature-section {
        padding: 1.5rem;
    }

    .accessori-grid {
        grid-template-columns: 1fr;
    }

    .cta-finale h2 {
        font-size: 1.75rem;
    }
}
