/* Footer Popup Modal Styles 
   NOTE: z-index must be higher than consent banner (999999) to display above it
   when privacy policy is opened from consent banner
   
   Corporate Color Palette:
   Primary: #2563eb (Professional Blue)
   Secondary: #1e40af (Dark Blue)
   Accent: #3b82f6 (Light Blue)
   Text: #1e293b (Slate)
   Text Light: #475569
   Background: #f8fafc
   Border: #e2e8f0
*/

/* Icon Styles for Footer Popups */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

/* Icon styles for feature items and list items */
.feature-item .icon,
.footer-popup-content li .icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: text-top;
    flex-shrink: 0;
}

/* Icon wrapper for inline icons */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* List items with icons */
.footer-popup-content ul.icon-list {
    list-style: none;
    padding-left: 0;
}

.footer-popup-content ul.icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.footer-popup-content ul.icon-list li .icon {
    margin-top: 2px;
    color: #5fc73e;
}

.benefit-item h3 {
    display: flex;
    align-items: center;
    color: #1e293b;
    margin-bottom: 0.875rem;
}

.benefit-item h3 .icon {
    color: #5fc73e;
    margin-right: 12px;
    flex-shrink: 0;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin: 0.5rem 0;
}

.contact-info .icon {
    color: #5fc73e;
    margin-right: 10px;
}
.footer-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1000000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.footer-popup-modal {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    max-height: 90vh;
    width: 90%;
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #e2e8f0;
}

.footer-popup-overlay.active .footer-popup-modal {
    transform: scale(1) translateY(0);
}

.footer-popup-header {
    background: #ffffff;
    color: #1e293b;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e2e8f0;
}

.footer-popup-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.footer-popup-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 300;
}

.footer-popup-close:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.footer-popup-body {
    padding: 2.5rem;
    max-height: calc(90vh - 130px);
    overflow-y: auto;
    background: #ffffff;
}

/* Content Styling - Corporate Clean Design */
.footer-popup-content h1 {
    color: #1e293b;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    font-weight: 700;
    border-bottom: 3px solid #5fc73e;
    padding-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.footer-popup-content h2 {
    color: #1e293b;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.footer-popup-content h3 {
    color: #1e293b;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.footer-popup-content h4 {
    color: #1e293b;
    margin: 1.25rem 0 0.625rem 0;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.footer-popup-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-popup-content .lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 2rem;
    line-height: 1.6;
    padding: 1.25rem;
    background: #f8fafc;
    border-radius: 6px;
}

.footer-popup-content ul {
    color: #475569;
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.footer-popup-content li {
    color: #475569;
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.footer-popup-content li strong {
    color: #1e293b;
    font-weight: 600;
}

.footer-popup-content a {
    color: #5fc73e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.footer-popup-content a:hover {
    color: #4ab02f;
    border-bottom-color: #4ab02f;
}

/* Contact Info Styling */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact-section:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
}

.contact-section h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Clean Section Styling - Corporate */
.about-sections,
.help-sections,
.privacy-sections,
.terms-sections {
    margin: 2rem 0;
}

.about-section,
.help-section,
.privacy-section,
.terms-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.about-section:hover,
.help-section:hover,
.privacy-section:hover,
.terms-section:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.about-section h3,
.help-section h3,
.privacy-section h3,
.terms-section h3 {
    margin-top: 0;
    margin-bottom: 0.875rem;
    color: #1e293b;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Hero sections */
.about-hero,
.help-intro,
.packages-intro {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* FAQ styling */
.faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.625rem;
    color: #5fc73e;
    font-weight: 600;
    font-size: 1.125rem;
}

/* Packages Grid - Corporate */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.package-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.25s ease;
    position: relative;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
}

.package-card.featured {
    border-color: #2563eb;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2);
}

.package-card:hover:not(.featured) {
    border-color: #2563eb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.package-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: inherit;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.package-price {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #5fc73e;
    letter-spacing: -0.025em;
}

.package-card.featured .package-price {
    color: white;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.625rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9375rem;
}

.package-card.featured .package-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.package-features li:last-child {
    border-bottom: none;
}

/* Segmentation Info */
.segmentation-info .seg-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.seg-section h3 {
    margin-top: 0;
    color: #1e293b;
    font-weight: 600;
}

/* Campaign Info */
.campaigns-info .campaign-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.campaign-section h3 {
    margin-top: 0;
    color: #1e293b;
    font-weight: 600;
}

/* Call to Action Styling */
.contact-sales, .campaign-cta {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 1.75rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.related-links {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-sales p, .campaign-cta p {
    margin: 0;
    font-size: 1.0625rem;
    color: #475569;
}

/* CTA buttons - Corporate */
.cta-button {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.cta-button:hover {
    background: #1e40af;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

/* Status badges - Corporate */
.status-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.status-badge.success {
    background: #dcfce7;
    color: #15803d;
    border-color: #86efac;
}

.status-badge.warning {
    background: #fef3c7;
    color: #b45309;
    border-color: #fde047;
}

.coming-soon {
    text-align: center;
    margin-top: 2rem;
    padding: 1.25rem;
    background: #fefce8;
    border: 1px solid #fde047;
    border-radius: 8px;
}

.coming-soon em {
    color: #b45309;
    font-style: italic;
    font-weight: 500;
}

/* Responsive Design - Corporate */
@media (max-width: 768px) {
    .footer-popup-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 8px;
    }
    
    .footer-popup-header {
        padding: 1.25rem 1.5rem;
    }
    
    .footer-popup-header h2 {
        font-size: 1.25rem;
    }
    
    .footer-popup-close {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
    }
    
    .footer-popup-body {
        padding: 1.75rem;
    }
    
    .footer-popup-content h1 {
        font-size: 1.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .package-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .footer-popup-header {
        padding: 1rem 1.25rem;
    }
    
    .footer-popup-header h2 {
        font-size: 1.125rem;
    }
    
    .footer-popup-body {
        padding: 1.25rem;
    }
    
    .footer-popup-content h1 {
        font-size: 1.375rem;
    }
    
    .footer-popup-content h2 {
        font-size: 1.25rem;
    }
    
    .contact-section, 
    .help-section, 
    .about-section,
    .terms-section, 
    .privacy-section, 
    .seg-section, 
    .campaign-section {
        padding: 1.25rem;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
}