/* Hero Section */
.solutions-page .hero-section {
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-dark) 100%);
    color: white;
    padding: 160px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 50vh;
}

.solutions-page .hero-section h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
    animation: fadeUp 0.6s ease forwards;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.solutions-page .hero-subtitle {
    font-size: 24px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUp 0.6s ease forwards 0.2s;
    line-height: 1.5;
}

/* Solutions Grid */
.solutions-overview {
    padding: 20px 0;
    background: var(--background-light);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: scaleIn 0.6s ease forwards;
    display: flex;
    flex-direction: column;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.solution-card.featured {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary-color);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 500;
}

.solution-header {
    text-align: center;
    margin-bottom: 30px;
}

.solution-header h2 {
    font-size: 32px;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.solution-subtitle {
    color: var(--charcoal-light);
    font-size: 18px;
    margin-bottom: 20px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 20px;
    color: var(--charcoal-light);
}

.solution-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--charcoal);
}

.solution-content p {
    color: var(--charcoal-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.solution-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: var(--charcoal);
    line-height: 1.4;
}

.solution-features li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.feature-detail {
    flex: 1;
}

.feature-title {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.feature-description {
    color: var(--charcoal-light);
    font-size: 0.95em;
    line-height: 1.5;
}

.value-highlight {
    background: var(--background-light);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.value-highlight h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.value-highlight h4 i {
    margin-right: 10px;
}

.value-highlight ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-highlight li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.value-highlight li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 0.9em;
}

.solution-cta {
    margin-top: auto;
    padding-top: 30px;
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-cta .btn {
    width: 90%;
    padding: 16px 30px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(234, 72, 80, 0.1);
}

.solution-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(234, 72, 80, 0.2);
    background: #ff4f57;
}

.solution-cta .btn i {
    font-size: 1.2em;
}

.solution-cta .calendly-link {
    color: var(--charcoal);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.solution-cta .calendly-link:hover {
    color: var(--primary-color);
}

.solution-cta .calendly-link i {
    font-size: 1.1em;
}

/* Value Proposition */
.value-proposition {
    padding: 100px 0;
    background: white;
}

.value-proposition h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--charcoal);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--background-light);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    animation: scaleIn 0.6s ease forwards;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--charcoal);
}

.value-card p {
    color: var(--charcoal-light);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: #F3E7E3;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #424B54;
}

.cta-content p {
    font-size: 24px;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #333333;
}

.cta-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(234, 72, 80, 0.1);
    font-size: 18px;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
    background: #ff4f57;
    box-shadow: 0 8px 15px rgba(234, 72, 80, 0.2);
}

.cta-buttons .btn i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .solutions-page .hero-section {
        padding: 120px 0 80px;
        min-height: 40vh;
    }

    .solutions-page .hero-section h1 {
        font-size: 36px;
        margin-bottom: 16px;
        padding: 0 20px;
    }

    .solutions-page .hero-subtitle {
        font-size: 18px;
        padding: 0 24px;
        line-height: 1.4;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solution-card {
        padding: 25px;
        padding-bottom: 90px;
    }

    .solution-cta {
        position: absolute;
        bottom: 0;
        padding: 15px;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    }

    .solution-cta .btn {
        padding: 18px 24px;
        font-size: 16px;
        border-radius: 10px;
        font-weight: 700;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-proposition {
        padding: 60px 0;
    }

    .value-proposition h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 32px;
        padding: 0 20px;
        margin-bottom: 16px;
    }

    .cta-content p {
        font-size: 18px;
        padding: 0 20px;
        margin-bottom: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        padding: 0 20px;
        gap: 16px;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 14px 24px;
    }

    .solution-features {
        margin-bottom: 60px;
    }
    
    .value-highlight {
        padding: 15px;
    }
}

/* Stili specifici per desktop */
@media (min-width: 769px) {
    .solution-card {
        padding: 40px;
        padding-bottom: 100px;
    }

    .solution-cta {
        position: absolute;
        bottom: 0;
        margin: 0;
        border-radius: 0 0 15px 15px;
    }

    .solution-cta .btn {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Package Details Popup */
.package-details-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.package-details-popup.active {
    display: flex;
    opacity: 1;
}

.package-details-content {
    background: white;
    width: 95%;
    max-width: 1200px;
    max-height: 90vh;
    border-radius: 24px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.package-details-popup.active .package-details-content {
    transform: translateY(0);
}

.package-details-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.package-details-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .package-details-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .package-details-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

.package-details-header {
    text-align: center;
    padding: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.package-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(234, 72, 80, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.package-details-header h2 {
    font-size: 3rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.package-tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 25px;
}

.price-container {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.price {
    display: inline-flex;
    align-items: baseline;
    background: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price .period {
    font-size: 1.2rem;
    color: #666;
    margin-left: 4px;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
}

.header-benefits {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.benefit-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: var(--charcoal);
}

.benefit-tag i {
    color: var(--primary-color);
}

.package-details-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 0 40px 40px;
}

.details-sidebar {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.sidebar-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    color: white;
}

.sidebar-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    opacity: 0.9;
}

.features-list li i {
    color: white;
    opacity: 0.8;
}

.sidebar-cta {
    text-align: center;
    margin-top: 30px;
}

.sidebar-cta .btn {
    width: 100%;
    padding: 16px 24px;
    background: white;
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.sidebar-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.sidebar-cta .btn i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .package-details-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .details-sidebar {
        position: static;
    }

    .feature-group h4 {
        font-size: 1.2rem;
    }

    .feature-group ul li strong {
        font-size: 1rem;
    }

    .feature-details span {
        font-size: 0.8rem;
    }

    .package-details-header {
        padding: 30px 20px;
    }

    .package-details-header h2 {
        font-size: 2rem;
    }

    .price .amount {
        font-size: 2.5rem;
    }

    .sidebar-section {
        margin-top: 20px;
        padding: 20px;
    }

    .sidebar-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .features-list li {
        font-size: 14px;
    }

    .sidebar-cta {
        margin-top: 20px;
    }

    .sidebar-cta .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
}

.details-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    padding: 12px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 90%;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(234, 72, 80, 0.2);
    background: rgba(234, 72, 80, 0.05);
}

.details-btn:hover {
    transform: translateY(-2px);
    background: rgba(234, 72, 80, 0.1);
    border-color: rgba(234, 72, 80, 0.3);
    box-shadow: 0 4px 12px rgba(234, 72, 80, 0.1);
}

.details-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
    background: white;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(234, 72, 80, 0.15);
}

.details-btn:hover i {
    transform: rotate(90deg);
    background: var(--primary-color);
    color: white;
}

.feature-group {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
}

.feature-group h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.feature-group h4 i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 1.4rem;
}

.feature-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-group ul li {
    margin-bottom: 25px;
}

.feature-group ul li:last-child {
    margin-bottom: 0;
}

.feature-group ul li strong {
    display: block;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.feature-group ul li p {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.feature-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-details span {
    padding: 6px 12px;
    background: rgba(234, 72, 80, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.package-details {
    display: none;
}

.package-details.active {
    display: block;
}

.details-section {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff6b6b 100%);
    color: white;
}

.section-header i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 20px;
}

.section-header h3 {
    font-size: 20px;
    margin: 0;
    font-weight: 600;
}

.section-content {
    padding: 25px;
}

.section-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.section-content li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-content li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.section-content li strong {
    font-size: 18px;
    color: var(--charcoal);
    display: block;
}

.section-content li p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.feature-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.feature-details span {
    padding: 8px 16px;
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(234, 72, 80, 0.1);
}

@media (max-width: 768px) {
    .section-header {
        padding: 15px 20px;
    }

    .section-content {
        padding: 20px;
    }

    .section-content li {
        padding: 15px;
    }

    .section-content li strong {
        font-size: 16px;
    }

    .feature-details span {
        padding: 6px 12px;
        font-size: 12px;
    }
} 