/* Easy Cable Sizing Popup Advertisement Styles */
.ecs-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ecs-popup-container {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.ecs-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.ecs-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.ecs-popup-content {
    display: flex;
    flex-direction: column;
    padding: 40px 30px 30px;
    color: white;
}

.ecs-logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.ecs-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: brightness(1.1);
}

.ecs-text-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
    color: white;
}

.ecs-subtitle {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 500;
}

.ecs-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.ecs-features li {
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    opacity: 0.95;
}

.ecs-features li::before {
    content: "✓";
    color: #4ade80;
    font-weight: bold;
    margin-right: 10px;
    font-size: 16px;
}

.ecs-cta-section {
    text-align: center;
    margin-top: 20px;
}

.ecs-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
    border: 2px solid transparent;
}

.ecs-cta-button:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.ecs-cta-subtitle {
    margin-top: 10px;
    font-size: 12px;
    opacity: 0.8;
}

/* Button Styles */
.ecs-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

.ecs-btn-primary {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
    border: 2px solid transparent;
    display: inline-block;
}

.ecs-btn-primary:hover {
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.ecs-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
}

.ecs-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.ecs-content-section {
    text-align: center;
}

.ecs-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.ecs-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
    text-align: left;
}

.ecs-feature {
    display: flex;
    align-items: center;
    font-size: 14px;
    opacity: 0.95;
}

.ecs-icon {
    margin-right: 8px;
    font-size: 16px;
}

.ecs-description {
    font-size: 14px;
    margin: 20px 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ecs-popup-container {
        width: 95%;
        margin: 20px;
        border-radius: 15px;
    }
    
    .ecs-popup-content {
        padding: 30px 20px 20px;
    }
    
    .ecs-logo {
        max-width: 250px;
    }
    
    .ecs-text-section h2 {
        font-size: 20px;
    }
    
    .ecs-cta-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ecs-popup-container {
        width: 98%;
        margin: 10px;
    }
    
    .ecs-logo {
        max-width: 200px;
    }
    
    .ecs-text-section h2 {
        font-size: 18px;
    }
    
    .ecs-features li {
        font-size: 13px;
    }
} 